/* ==========================================================================
   AquaKhata — Smart ERP for Aqua Shops
   Shared stylesheet
   ========================================================================== */

:root {
  /* Brand palette */
  --aqua-900: #062a3f;
  --aqua-800: #083a54;
  --aqua-700: #0a4c6e;
  --aqua-600: #0e6b93;
  --aqua-500: #0891b2;
  --aqua-400: #06b6d4;
  --aqua-300: #22d3ee;
  --aqua-200: #67e8f9;
  --aqua-100: #cffafe;

  --teal-500: #0d9488;
  --green-500: #10b981;
  --green-400: #34d399;

  --ink-900: #0b1f2a;
  --ink-700: #274550;
  --ink-500: #4a6572;
  --ink-400: #6b8592;

  --paper: #ffffff;
  --paper-2: #f4fafc;
  --paper-3: #eaf6f9;
  --line: #d8ebf0;

  --shadow-sm: 0 1px 3px rgba(8, 58, 84, 0.08), 0 1px 2px rgba(8, 58, 84, 0.06);
  --shadow-md: 0 8px 24px rgba(8, 58, 84, 0.10);
  --shadow-lg: 0 20px 48px rgba(8, 58, 84, 0.16);
  --shadow-glow: 0 12px 40px rgba(6, 182, 212, 0.28);

  --grad-hero: linear-gradient(135deg, #062a3f 0%, #0a4c6e 45%, #0891b2 100%);
  --grad-brand: linear-gradient(120deg, #0891b2 0%, #06b6d4 55%, #22d3ee 100%);
  --grad-green: linear-gradient(120deg, #0d9488 0%, #10b981 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-paper2 { background: var(--paper-2); }
.bg-paper3 { background: var(--paper-3); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-500);
  background: var(--aqua-100);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.28rem; }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.08rem; margin-top: 16px; }

.lead { font-size: 1.15rem; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(6,182,212,0.42); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--aqua-600); border-color: var(--aqua-300); }
.btn-outline:hover { background: var(--aqua-100); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--aqua-700); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.6rem; color: var(--ink-900); letter-spacing: -0.02em; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.brand .logo svg { width: 24px; height: 24px; }
.brand .logo-badge { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: block; box-shadow: var(--shadow-glow); }
.brand .logo-badge svg { width: 100%; height: 100%; display: block; }
.brand b { color: var(--aqua-500); }
.site-footer .brand .logo-badge { box-shadow: 0 4px 16px rgba(0,0,0,0.4); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 600; font-size: 0.98rem; color: var(--ink-700);
  padding: 9px 15px; border-radius: 10px; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--aqua-600); background: var(--aqua-100); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 22px; }
.nav-login { font-weight: 700; color: var(--ink-700); padding: 9px 8px; }
.nav-login:hover { color: var(--aqua-600); }

.lang-toggle {
  font-family: "Noto Sans Telugu", var(--font);
  font-weight: 700; font-size: 0.9rem;
  color: var(--aqua-600); background: var(--aqua-100);
  border: 1.5px solid var(--aqua-200);
  padding: 8px 15px; border-radius: var(--radius-pill);
  cursor: pointer; transition: background 0.15s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-toggle::before { content: "🌐"; font-size: 0.95em; }
.lang-toggle:hover { background: var(--aqua-200); transform: translateY(-1px); }

/* Telugu typography when active */
html[lang="te"] body { font-family: "Noto Sans Telugu", var(--font); }
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] h4 {
  font-family: "Noto Sans Telugu", var(--font); letter-spacing: 0; line-height: 1.3;
}
html[lang="te"] .eyebrow { letter-spacing: 0.02em; }

.nav-toggle { display: none; background: none; border: none; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-900); margin: 5px auto; border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(34,211,238,0.35), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(16,185,129,0.22), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { background: linear-gradient(120deg, #67e8f9, #34d399); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.18rem; color: rgba(226,247,252,0.9); margin: 22px 0 32px; max-width: 560px; }
.hero-eyebrow { color: #fff; background: rgba(255,255,255,0.14); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .stat b { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-trust .stat span { font-size: 0.9rem; color: rgba(226,247,252,0.8); }

/* Hero dashboard mockup */
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.mockup {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.mockup-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.mockup-top i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mockup-top i:nth-child(1){ background:#ff5f57;} .mockup-top i:nth-child(2){ background:#febc2e;} .mockup-top i:nth-child(3){ background:#28c840;}
.mockup-top span { margin-left: auto; font-size: 12px; color: var(--ink-400); font-weight: 600; }
.mockup-body { padding: 18px; }
.mk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.mk-stat { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mk-stat small { color: var(--ink-400); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.mk-stat b { display: block; color: var(--ink-900); font-size: 1.15rem; margin-top: 3px; }
.mk-stat.up b { color: var(--green-500); }
.mk-chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 6px 4px 0; }
.mk-chart span { flex: 1; background: var(--grad-brand); border-radius: 5px 5px 0 0; opacity: 0.9; }
.mk-list { margin-top: 14px; }
.mk-li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-700); }
.mk-li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); }
.mk-li .amt { margin-left: auto; font-weight: 700; color: var(--ink-900); }

/* ---------- Logo strip ---------- */
.strip { padding: 34px 0; border-bottom: 1px solid var(--line); }
.strip p { text-align: center; color: var(--ink-400); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
.strip-items span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-500); font-weight: 700; font-size: 0.98rem; }

/* ---------- Cards / features ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--aqua-200); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--aqua-100); color: var(--aqua-600);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 0.98rem; }
.card ul.mini { margin-top: 14px; }
.card ul.mini li { position: relative; padding-left: 22px; font-size: 0.94rem; color: var(--ink-500); margin-bottom: 6px; }
.card ul.mini li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua-100); box-shadow: inset 0 0 0 3px var(--aqua-400); }

/* Feature card variants for icon color */
.card.green .ico { background: #d1fae5; color: var(--teal-500); }
.card.blue .ico { background: #dbeafe; color: #2563eb; }
.card.violet .ico { background: #ede9fe; color: #7c3aed; }
.card.amber .ico { background: #fef3c7; color: #d97706; }
.card.rose .ico { background: #ffe4e6; color: #e11d48; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--ink-500); margin-bottom: 22px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; font-weight: 600; color: var(--ink-700); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 7px; background: var(--grad-green);
  background-image: var(--grad-green), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: cover, 14px 14px;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.split-media {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

/* Module panel visuals */
.panel {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
.panel-head { background: var(--paper-2); padding: 14px 18px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink-900); font-size: 0.95rem; }
.panel-head .pico { width: 30px; height: 30px; border-radius: 8px; background: var(--aqua-100); color: var(--aqua-600); display: grid; place-items: center; }
.panel-head .pico svg { width: 17px; height: 17px; }
.panel-body { padding: 18px; }
.prow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--paper-3); font-size: 0.92rem; }
.prow:last-child { border-bottom: none; }
.prow .av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); color:#fff; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.prow .nm { font-weight: 700; color: var(--ink-900); }
.prow .sub { color: var(--ink-400); font-size: 0.8rem; }
.prow .tag { margin-left: auto; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.paid { background: #d1fae5; color: #047857; }
.tag.due { background: #fee2e2; color: #b91c1c; }
.tag.part { background: #fef3c7; color: #b45309; }
.tag.info { background: #dbeafe; color: #1d4ed8; }

/* ---------- AI section ---------- */
.ai-band { background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden; }
.ai-band::after { content:""; position:absolute; inset:0; background: radial-gradient(500px 260px at 90% 10%, rgba(34,211,238,0.3), transparent 60%); }
.ai-band > * { position: relative; z-index: 1; }
/* Featured AI crop-stage suggestion card */
.ai-feature {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg); padding: 30px; margin-top: 34px;
}
.ai-feature-text .ai-chip {
  display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: #062a3f; background: linear-gradient(120deg,#67e8f9,#34d399);
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.ai-feature-text h3 { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.ai-feature-text p { color: rgba(226,247,252,0.86); font-size: 0.98rem; }
.ai-suggest { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-lg); }
.asc-head { font-size: 0.82rem; font-weight: 700; color: var(--ink-700); display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.asc-ai { background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 0.72rem; padding: 3px 8px; border-radius: 7px; }
.asc-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--paper-3); font-size: 0.95rem; color: var(--ink-700); }
.asc-item b { color: var(--ink-900); }
.asc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.asc-conf { font-size: 0.78rem; font-weight: 800; color: #047857; background: #d1fae5; padding: 5px 12px; border-radius: var(--radius-pill); }
.asc-btn { font-size: 0.85rem; font-weight: 700; color: #fff; background: var(--grad-green); padding: 9px 16px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
@media (max-width: 820px) { .ai-feature { grid-template-columns: 1fr; gap: 22px; } }

.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.ai-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 14px; padding: 20px; }
.ai-item .ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,0.14); display: grid; place-items: center; margin-bottom: 12px; }
.ai-item .ico svg { width: 22px; height: 22px; }
.ai-item h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.ai-item p { color: rgba(226,247,252,0.82); font-size: 0.86rem; }

/* ---------- AI Aqua Doctor chat ---------- */
.doc-online { margin-left: auto; font-size: 0.72rem; color: #047857; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.doc-online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.doc-body { display: flex; flex-direction: column; gap: 11px; padding: 16px; }
.d-bub { max-width: 88%; padding: 11px 14px; border-radius: 15px; font-size: 0.9rem; line-height: 1.5; }
.d-bub.q { align-self: flex-end; background: var(--aqua-100); color: var(--ink-900); border-bottom-right-radius: 5px; }
.d-bub.a { align-self: flex-start; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-700); border-bottom-left-radius: 5px; }
.d-rx { align-self: stretch; background: #fff; border: 1px solid var(--aqua-200); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); }
.d-rx h5 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--aqua-600); margin-bottom: 10px; font-weight: 800; }
.d-rx li { position: relative; padding-left: 20px; font-size: 0.9rem; color: var(--ink-700); margin-bottom: 8px; }
.d-rx li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua-100); box-shadow: inset 0 0 0 3px var(--aqua-400); }
.d-tip { margin-top: 8px; font-size: 0.82rem; color: var(--ink-500); background: var(--paper-3); border-radius: 9px; padding: 8px 11px; }
.d-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-top: 1px solid var(--line); }
.d-instock { color: #047857; font-weight: 700; font-size: 0.82rem; }
.d-send { background: var(--grad-green); color: #fff; font-weight: 700; padding: 8px 15px; border-radius: var(--radius-pill); font-size: 0.82rem; }
.doc-disclaimer { font-size: 0.82rem; color: var(--ink-400); margin-top: 6px; }

/* ---------- Loyalty & referral ---------- */
.loyalty-card { background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.loyalty-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(340px 180px at 90% 0%, rgba(52,211,153,0.28), transparent 60%); pointer-events: none; }
.loyalty-card > * { position: relative; z-index: 1; }
.lc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.lc-tier { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; background: linear-gradient(120deg,#fde68a,#f59e0b); color: #3b2600; padding: 6px 13px; border-radius: var(--radius-pill); }
.lc-logo { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.16); display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; }
.lc-name { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 20px; }
.lc-row { display: flex; gap: 32px; margin-bottom: 18px; }
.lc-row small { display: block; color: rgba(226,247,252,0.72); font-size: 0.78rem; margin-bottom: 2px; }
.lc-row b { font-size: 1.5rem; font-weight: 800; }
.lc-bar { height: 8px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.18); overflow: hidden; margin-bottom: 9px; }
.lc-bar span { display: block; height: 100%; background: linear-gradient(90deg,#67e8f9,#34d399); border-radius: var(--radius-pill); }
.lc-next { font-size: 0.82rem; color: rgba(226,247,252,0.85); }
.referral-chip { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; display: flex; align-items: center; gap: 13px; font-weight: 700; color: var(--ink-900); box-shadow: var(--shadow-sm); }
.referral-chip .rc-ico { width: 42px; height: 42px; border-radius: 11px; background: #fef3c7; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.referral-chip small { display: block; font-weight: 600; color: var(--ink-500); font-size: 0.82rem; margin-top: 2px; }

/* ---------- Apps ---------- */
.app-card { text-align: center; }
.app-phone {
  width: 130px; height: 210px; margin: 0 auto 22px; border-radius: 22px;
  background: var(--grad-hero); padding: 10px; box-shadow: var(--shadow-md);
  position: relative;
}
.app-phone .screen { background:#fff; border-radius: 14px; height: 100%; padding: 12px 10px; display:flex; flex-direction: column; gap: 7px; }
.app-phone .bar { height: 8px; border-radius: 4px; background: var(--paper-3); }
.app-phone .bar.w70 { width: 70%; }
.app-phone .bar.w50 { width: 50%; }
.app-phone .bar.big { height: 40px; background: var(--aqua-100); }
.app-phone .bar.accent { background: var(--grad-brand); height: 22px; }

/* ---------- Mobile billing flow ---------- */
.bill-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bill-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bill-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bill-step .n { width: 38px; height: 38px; border-radius: 11px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; box-shadow: var(--shadow-glow); }
.bill-step h4 { margin-bottom: 4px; font-size: 1.05rem; }
.bill-step p { color: var(--ink-500); font-size: 0.92rem; }
@media (max-width: 720px) { .bill-flow { grid-template-columns: 1fr; } }

/* ---------- Crop advisory timeline ---------- */
.crop-tl { padding: 2px 0; }
.crop-step { position: relative; padding: 0 0 20px 26px; border-left: 2px solid var(--line); margin-left: 7px; }
.crop-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.crop-step::before { content: ""; position: absolute; left: -8px; top: 1px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--aqua-200); }
.crop-step.done::before { background: var(--aqua-400); border-color: var(--aqua-400); }
.crop-step.now::before { background: var(--green-500); border-color: #a7f3d0; box-shadow: 0 0 0 4px #d1fae5; }
.crop-step .d { font-weight: 800; color: var(--ink-900); font-size: 0.92rem; }
.crop-step .r { color: var(--ink-500); font-size: 0.86rem; margin-top: 2px; }
.crop-step .now-tag { display: inline-block; margin-left: 8px; font-size: 0.66rem; font-weight: 800; color: #047857; background: #d1fae5; padding: 2px 9px; border-radius: 999px; vertical-align: middle; letter-spacing: 0.03em; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step .num { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand); color:#fff; display:grid; place-items:center; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; box-shadow: var(--shadow-glow); }
.step h4 { margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column;
}
.price.pop { border-color: var(--aqua-400); box-shadow: var(--shadow-lg); position: relative; transform: translateY(-6px); }
.price.pop .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color:#fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-glow); }
.price h3 { font-size: 1.25rem; }
.price .desc { color: var(--ink-400); font-size: 0.92rem; margin: 6px 0 20px; min-height: 42px; }
.price .amt { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price .amt .cur { font-size: 1.4rem; font-weight: 800; color: var(--ink-900); }
.price .amt .val { font-size: 2.8rem; font-weight: 800; color: var(--ink-900); letter-spacing: -0.03em; }
.price .amt .per { color: var(--ink-400); font-weight: 600; }
.price .note { font-size: 0.85rem; color: var(--ink-400); margin-bottom: 24px; }
.price ul { margin-bottom: 28px; flex: 1; }
.price ul li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 0.95rem; color: var(--ink-700); }
.price ul li::before { content:""; position:absolute; left:0; top:3px; width:19px; height:19px; border-radius:6px; background: var(--aqua-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat; }
.price ul li.off { color: var(--ink-400); }
.price ul li.off::before { background: var(--paper-3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0c4cc' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center; }

.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; }
.billing-toggle span { font-weight: 700; color: var(--ink-400); }
.billing-toggle span.on { color: var(--ink-900); }
.switch { width: 56px; height: 30px; border-radius: 999px; background: var(--aqua-400); border: none; position: relative; transition: background 0.2s; }
.switch::after { content:""; position:absolute; top:3px; left:3px; width: 24px; height:24px; border-radius:50%; background:#fff; transition: transform 0.2s; }
.switch.year::after { transform: translateX(26px); }
.save-pill { background: #d1fae5; color: #047857; font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; color: var(--ink-900); font-size: 1.02rem; cursor: pointer; }
.faq-q .chev { transition: transform 0.25s; color: var(--aqua-500); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-500); }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; }
.quote .stars { color: #f59e0b; margin-bottom: 12px; letter-spacing: 2px; }
.quote p { color: var(--ink-700); font-size: 1rem; margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color:#fff; display:grid; place-items:center; font-weight:800; }
.quote .who b { display:block; color: var(--ink-900); }
.quote .who span { font-size: 0.85rem; color: var(--ink-400); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--grad-hero); color:#fff; border-radius: var(--radius-lg);
  padding: 68px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 260px at 80% 20%, rgba(52,211,153,0.28), transparent 60%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color:#fff; }
.cta p { color: rgba(226,247,252,0.9); font-size: 1.12rem; margin: 16px auto 30px; max-width: 560px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:700; color: var(--ink-900); font-size: 0.9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink-900); background: var(--paper-2); transition: border 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua-400); box-shadow: 0 0 0 4px var(--aqua-100); background:#fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.85rem; color: var(--ink-400); margin-top: 6px; }
.form-success { display:none; background:#d1fae5; color:#047857; border-radius: var(--radius); padding: 16px 20px; font-weight:700; margin-bottom: 20px; }
.form-success.show { display: block; }

.contact-info li { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .ci-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--aqua-100); color: var(--aqua-600); display:grid; place-items:center; flex-shrink:0; }
.contact-info .ci-ico svg { width: 24px; height: 24px; }
.contact-info b { display:block; color: var(--ink-900); }
.contact-info span, .contact-info a { color: var(--ink-500); }
.contact-info a:hover { color: var(--aqua-600); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-hero); color:#fff; padding: 70px 0 76px; position: relative; overflow: hidden; text-align: center; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 260px at 80% 10%, rgba(34,211,238,0.3), transparent 60%); }
.page-hero .container { position: relative; z-index:1; }
.page-hero h1 { color:#fff; }
.page-hero p { color: rgba(226,247,252,0.9); font-size: 1.14rem; max-width: 640px; margin: 18px auto 0; }
.breadcrumb { font-size: 0.9rem; color: rgba(226,247,252,0.75); margin-bottom: 16px; }
.breadcrumb a:hover { color:#fff; }

/* ---------- Stat cards ---------- */
.stat-cards { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { text-align:center; padding: 30px 20px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); }
.stat-card b { display:block; font-size: 2.4rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; letter-spacing: -0.03em; }
.stat-card span { color: var(--ink-500); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--aqua-900); color: rgba(226,247,252,0.75); padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer .brand { color:#fff; margin-bottom: 16px; }
.site-footer .brand b { color: var(--aqua-300); }
.footer-about { font-size: 0.95rem; max-width: 320px; margin-bottom: 20px; }
.footer-social { display:flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.08); display:grid; place-items:center; transition: background 0.15s, transform 0.15s; }
.footer-social a:hover { background: var(--aqua-500); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; color:#fff; }
.footer-col h4 { color:#fff; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.94rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--aqua-300); }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 0.88rem; }
.footer-bottom .links { display:flex; gap: 22px; }
.footer-bottom a:hover { color: var(--aqua-300); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 480px; }
  .split, .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price.pop { transform: none; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn, .nav-login { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { padding: 13px 16px; }
  .site-header.open .nav-cta { display: flex; position: absolute; top: 100%; left:0; right:0; }
  .grid-2, .grid-3, .grid-4, .price-grid, .ai-grid, .steps, .stat-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .ai-band, .cta { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-trust { gap: 20px; }
}

/* ==========================================================================
   Glossy theme + font polish
   ========================================================================== */
:root {
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}
h1, h2, h3, h4 { font-family: var(--font-display); }
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] h4 { font-family: "Noto Serif Telugu", "Noto Sans Telugu", var(--font-display); font-weight: 600; }
.brand { font-family: var(--font-display); }

/* Glassier header */
.site-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.93), rgba(255,255,255,0.75));
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 4px 26px rgba(8,58,84,0.05);
}

/* Glossy buttons with sheen sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0) 46%), var(--grad-brand);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.55);
}
.btn-light {
  background: linear-gradient(180deg, #ffffff, #ecf6fb);
  box-shadow: var(--shadow-md), inset 0 1px 0 #fff;
}
.btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-outline { background: linear-gradient(180deg, #ffffff, #f2fbfe); }
.btn-primary::after, .btn-light::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease; pointer-events: none; z-index: -1;
}
.btn-primary:hover::after, .btn-light:hover::after { left: 130%; }

/* Glossy white cards & surfaces */
.card, .quote, .price, .form-card, .bill-step, .stat-card, .faq-item, .referral-chip, .ai-suggest {
  background: linear-gradient(180deg, #ffffff, #f6fbfe);
}
.card { box-shadow: var(--shadow-sm), inset 0 1px 0 #fff; }
.card:hover { box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; }
.panel { box-shadow: var(--shadow-md), inset 0 1px 0 #fff; }
.panel-head { background: linear-gradient(180deg, #ffffff, var(--paper-2)); }

/* Glossy top highlight on dark gradient surfaces */
.hero-card, .split-media, .ai-band, .ai-feature, .cta, .loyalty-card {
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.22);
}
.hero-card { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Subtle top light reflection on hero */
.hero::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent);
  pointer-events: none; z-index: 1;
}
