/* ========== Akshay Web Development — Global Styles ========== */
:root {
  --bg: #0b0f19;
  --bg-soft: #111827;
  --card: #151c2c;
  --border: #243044;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --accent: #22d3ee;
  --success: #34d399;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title p { max-width: 620px; margin: 12px auto 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; color: var(--text); letter-spacing: -0.5px; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }
.nav-links .btn { padding: 10px 20px; color: #fff; }
.nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  font-size: 1.6rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(99, 102, 241, 0.25), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(34, 211, 238, 0.12), transparent 50%);
}
.hero .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.15); color: #a5b4fc; font-size: .85rem;
  font-weight: 600; margin-bottom: 22px; border: 1px solid rgba(99, 102, 241, 0.3);
}
.hero h1 { max-width: 800px; margin: 0 auto 20px; }
.hero h1 span { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 640px; margin: 0 auto 36px; font-size: 1.15rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 50px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 2rem; color: var(--text); }
.hero-stats div span { color: var(--muted); font-size: .95rem; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: #334155; }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(99, 102, 241, 0.15); color: #a5b4fc; font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }

/* ---------- Pricing ---------- */
.pricing-toggle { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 40px; color: var(--muted); font-weight: 500; }
.switch { position: relative; width: 52px; height: 28px; background: var(--border); border-radius: 999px; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch.on { background: var(--primary); }
.switch.on::after { transform: translateX(24px); }
.save-badge { background: rgba(52, 211, 153, 0.15); color: var(--success); padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.pricing-card { position: relative; display: flex; flex-direction: column; }
.pricing-card.popular { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.pricing-card .plan-name { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.pricing-card .price { font-size: 2.8rem; font-weight: 800; margin: 12px 0 4px; color: var(--text); }
.pricing-card .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.pricing-card .desc { margin-bottom: 24px; min-height: 48px; }
.pricing-card ul { list-style: none; margin-bottom: 30px; flex: 1; }
.pricing-card li { padding: 8px 0; color: var(--text); display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px solid var(--border); }
.pricing-card li:last-child { border-bottom: none; }
.pricing-card li::before { content: "✓"; color: var(--success); font-weight: 700; }
.pricing-card li.no { color: var(--muted); }
.pricing-card li.no::before { content: "–"; color: var(--muted); }

/* ---------- Comparison Table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-soft); font-weight: 600; }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 500; }
tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); margin-bottom: 14px; }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 24px 20px; }

/* ---------- Process / Steps ---------- */
.step { text-align: center; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
}

/* ---------- Testimonials ---------- */
.testimonial { font-style: italic; }
.testimonial .author { margin-top: 18px; font-style: normal; display: flex; align-items: center; gap: 12px; }
.testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; font-weight: 700; color: #fff; font-style: normal; }
.testimonial .author strong { display: block; color: var(--text); }
.testimonial .author span { font-size: .9rem; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.1));
  border: 1px solid var(--border); border-radius: 20px; padding: 60px 40px; text-align: center;
}
.cta h2 { margin-bottom: 14px; }
.cta p { margin-bottom: 28px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; margin-bottom: 6px; font-weight: 500; font-size: .95rem; }
input, textarea, select {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
  font-size: 1rem; font-family: inherit; transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); }
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success { display: none; padding: 16px; border-radius: 10px; background: rgba(52, 211, 153, 0.15); color: var(--success); font-weight: 600; margin-top: 18px; }

/* ---------- Contact info ---------- */
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .item .icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(99, 102, 241, 0.15); display: grid; place-items: center; font-size: 1.3rem; }
.contact-info .item strong { display: block; margin-bottom: 4px; }

/* ---------- Page header ---------- */
.page-header { padding: 70px 0 50px; text-align: center; background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.2), transparent 60%); }
.page-header p { max-width: 620px; margin: 14px auto 0; font-size: 1.1rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 20px 90px; }
.legal .updated { font-size: .9rem; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 16px 24px; color: var(--muted); }
.legal li { margin-bottom: 8px; }
.legal .toc { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 30px; }
.legal .toc strong { display: block; margin-bottom: 10px; }
.legal .toc ol { margin-bottom: 0; columns: 2; }

/* ---------- Team ---------- */
.team-member { text-align: center; }
.team-member .avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #fff; }
.team-member span { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 60px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { margin-bottom: 16px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--muted); }
.footer li a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal .toc ol { columns: 1; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 10px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 10px; text-align: center; }
  .hero { padding: 80px 0 60px; }
  .cta { padding: 40px 24px; }
}
