/* ============================================================
   JYOTVIRA SecureSync — Design System
   Light professional theme | Navy + Gold | Indian SME B2B
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1A2E5E;
  --navy-dark:   #0F1D40;
  --navy-light:  #2A4080;
  --gold:        #C8A84B;
  --gold-light:  #E8C96A;
  --gold-pale:   #FDF6E3;
  --white:       #FFFFFF;
  --off-white:   #F7F8FC;
  --gray-100:    #F0F2F8;
  --gray-200:    #E2E4EF;
  --gray-400:    #9A9EB8;
  --gray-600:    #555570;
  --text:        #1A1A2E;
  --text-light:  #555570;
  --green:       #1A8C5A;
  --green-bg:    #EBF7F2;
  --red:         #C0392B;
  --shadow-sm:   0 2px 8px rgba(26,46,94,0.07);
  --shadow-md:   0 4px 20px rgba(26,46,94,0.11);
  --shadow-lg:   0 8px 40px rgba(26,46,94,0.14);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-light); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid #E8C96A44;
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.section-title { margin-bottom: 12px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 580px; margin: 0 auto 48px; }
.section-subtitle.left { margin-left: 0; }

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }
.bg-off     { background: var(--off-white); }
.bg-navy    { background: var(--navy-dark); }
.bg-gold    { background: var(--gold-pale); }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.nav-logo .logo-sub { font-size: 0.65rem; font-weight: 500; color: var(--gray-400); display: block; letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 600; color: var(--gray-600);
  padding: 6px 12px; border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-links a.active { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 700;
  padding: 12px 24px; border-radius: 10px;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); }
.btn-gold {
  background: var(--gold); color: var(--navy-dark); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-dark); }
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card-icon.gold { background: var(--gold-pale); }
.card-icon.navy { background: var(--navy); }
.card h4 { margin-bottom: 8px; font-size: 1.05rem; }
.card p { font-size: 0.92rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, #0F1D40 0%, #1A2E5E 55%, #1E3870 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(200,168,75,0.12) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.4);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.78rem; font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero-tagline {
  font-size: 1.3rem; font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.6); margin-bottom: 36px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 500;
}
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ── Phone mockup ──────────────────────────────────────────── */
.phone-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.phone-shell {
  width: 260px;
  background: #0d1525;
  border-radius: 36px;
  border: 6px solid #2A3A60;
  padding: 20px 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}
.phone-notch {
  width: 80px; height: 22px;
  background: #0d1525;
  border-radius: 0 0 16px 16px;
  margin: -20px auto 10px;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  padding: 16px;
}
.phone-status-bar {
  background: var(--navy);
  margin: -16px -16px 14px;
  padding: 10px 16px 12px;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}
.phone-status-bar .app-name { font-size: 0.85rem; font-weight: 800; }
.phone-status-bar .sub { font-size: 0.62rem; opacity: 0.7; }
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--green-bg); color: var(--green);
  border-radius: 20px; padding: 5px 12px;
  font-size: 0.72rem; font-weight: 700;
  margin-bottom: 14px;
}
.status-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stat-box {
  background: var(--off-white);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.stat-box .num { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.stat-box .lbl { font-size: 0.6rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; }
.phone-event {
  background: var(--off-white); border-radius: 8px; padding: 8px 10px;
  font-size: 0.65rem; color: var(--text-light); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.phone-event .ev-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.phone-event.warn .ev-dot { background: #E67E22; }

/* ── Pain section ──────────────────────────────────────────── */
.pain-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 24px 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-md); }
.pain-icon { font-size: 1.8rem; margin-bottom: 12px; }
.pain-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.pain-card p { font-size: 0.88rem; }

/* ── How it works ──────────────────────────────────────────── */
.step-row { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  flex-shrink: 0; margin-top: 2px;
}
.step-content h4 { margin-bottom: 6px; font-size: 1.05rem; }
.step-content p { font-size: 0.92rem; }

/* ── Scenarios ─────────────────────────────────────────────── */
.scenario-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.scenario-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.scenario-head {
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
}
.scenario-head .sc-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 6px;
}
.scenario-head h4 { color: var(--white); font-size: 1rem; }
.scenario-body { padding: 22px 24px; }
.scenario-before { margin-bottom: 14px; }
.scenario-before .sb-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--red); margin-bottom: 4px;
}
.scenario-before p { font-size: 0.88rem; }
.scenario-after .sa-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green); margin-bottom: 4px;
}
.scenario-after p { font-size: 0.88rem; color: var(--green); }

/* ── Pricing ───────────────────────────────────────────────── */
.plan-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card.featured {
  border-color: var(--navy);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-dark);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 20px;
  white-space: nowrap;
}
.plan-name { font-size: 0.82rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.plan-setup { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.plan-price {
  font-size: 2.2rem; font-weight: 800; color: var(--navy);
  line-height: 1; margin-bottom: 4px;
}
.plan-price sup { font-size: 1rem; font-weight: 700; vertical-align: super; }
.plan-price .period { font-size: 0.85rem; font-weight: 500; color: var(--gray-400); }
.plan-pcs { font-size: 0.82rem; color: var(--text-light); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--text-light);
  padding: 5px 0;
}
.plan-features li .check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.plan-features li .cross { color: var(--gray-400); flex-shrink: 0; margin-top: 2px; }

/* ── Disclosure box ────────────────────────────────────────── */
.disclosure {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.85rem; color: var(--text-light);
  margin-top: 32px;
}
.disclosure strong { color: var(--text); }

/* ── Industry tags ─────────────────────────────────────────── */
.industry-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.industry-chip:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.industry-chip .ic-icon { font-size: 1.1rem; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1rem; font-weight: 700; color: var(--navy);
  padding: 0;
}
.faq-q .arrow { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; color: var(--gold); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 14px 0 4px; font-size: 0.92rem; }

/* ── Lead form ─────────────────────────────────────────────── */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.92rem; color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 10px; }

/* ── Trust bar ─────────────────────────────────────────────── */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-stat { text-align: center; }
.trust-stat .ts-num { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.trust-stat .ts-label { font-size: 0.78rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .fb-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 1.1rem; font-weight: 800;
  margin-bottom: 14px;
}
.footer-brand .fb-logo .logo-mark { background: var(--gold); color: var(--navy-dark); width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 { color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 9px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Page header (inner pages) ─────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white); padding: 60px 0 56px;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-header p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 12px auto 0; }

/* ── Utility ───────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.text-gold  { color: var(--gold); }
.text-navy  { color: var(--navy); }
.text-green { color: var(--green); }
.fw-700 { font-weight: 700; }
.divider { height: 1px; background: var(--gray-200); margin: 40px 0; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { display: none; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 12px 24px 20px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .trust-bar { gap: 24px; }
  .form-wrap { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
