/* ======================================================
   NIZAM LANDING PAGE — STYLES
   ====================================================== */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --color-primary: #4F46E5;
  --color-primary-dark: #3730A3;
  --color-primary-light: #6366F1;
  --color-secondary: #7C3AED;
  --color-accent: #F59E0B;
  --color-red: #EF4444;
  --color-green: #10B981;
  --color-teal: #14B8A6;
  --color-amber: #F59E0B;

  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F3F4F6;

  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;

  --color-border: #E5E7EB;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-glow: 0 0 40px rgba(79,70,229,.25);

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;

  --nav-height: 72px;
  --container-max: 1200px;
  --section-py: 96px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
cite { font-style: normal; }

/* ---- ACCESSIBILITY ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--color-primary);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; outline: 3px solid var(--color-accent); }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- UTILITY ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(79,70,229,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--color-text);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--color-primary);
  background: rgba(79,70,229,.06);
}

.btn-outline {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  color: white;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,.1);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--color-primary); background: rgba(79,70,229,.06); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(160deg, #F0F0FF 0%, #FAF5FF 50%, #FAFAFA 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--color-primary);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--color-secondary);
  bottom: -100px; left: -100px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: var(--color-accent);
  top: 50%; left: 40%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: fadeUp .8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  color: var(--color-text);
}

.hero-subheading {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}
.trust-item span { font-size: .8rem; color: var(--color-text-muted); }
.trust-divider {
  width: 1px; height: 36px;
  background: var(--color-border);
}

/* Dashboard Mockup */
.hero-visual {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 45vw);
  z-index: 1;
  animation: floatUp 1s .3s ease both;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(calc(-50% + 40px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.dashboard-mockup {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(79,70,229,.15);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #F9FAFB;
  border-bottom: 1px solid var(--color-border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red    { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green  { background: #10B981; }
.mockup-url {
  margin-left: 8px;
  font-size: .75rem;
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
  padding: 2px 12px;
  border-radius: 4px;
  flex: 1;
  text-align: center;
}

.mockup-body {
  display: flex;
  height: 320px;
}

.mockup-sidebar {
  width: 130px;
  background: #1E1B4B;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all var(--transition);
}
.sidebar-item.active {
  background: rgba(255,255,255,.15);
  color: white;
}
.sidebar-item:hover:not(.active) {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
}

.mockup-main {
  flex: 1;
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-cards {
  display: flex;
  gap: 8px;
}
.stat-card {
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-card.stat-blue  { background: #EEF2FF; }
.stat-card.stat-green { background: #ECFDF5; }
.stat-card.stat-orange{ background: #FFF7ED; }
.stat-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  font-weight: 700;
}
.stat-blue  .stat-icon { background: #C7D2FE; color: #4338CA; }
.stat-green .stat-icon { background: #A7F3D0; color: #059669; }
.stat-orange .stat-icon { background: #FED7AA; color: #D97706; }
.stat-num { font-size: .75rem; font-weight: 700; color: var(--color-text); }
.stat-lbl { font-size: .6rem; color: var(--color-text-muted); }

.mockup-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-sm);
}
.chart-bar {
  flex: 1;
  background: #C7D2FE;
  border-radius: 4px 4px 0 0;
  transition: height .6s ease;
}
.chart-bar.active { background: var(--color-primary); }

.mockup-notification {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #FFF5F5;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-sm);
  font-size: .7rem;
  color: #991B1B;
  font-weight: 500;
}
.notif-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}

/* ---- SOCIAL PROOF STRIP ---- */
.social-proof {
  padding: 36px 0;
  border-bottom: 1px solid var(--color-border);
  background: white;
}
.proof-label {
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.proof-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.proof-tag {
  padding: 6px 16px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--color-text);
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- FEATURES SECTION ---- */
.features { background: white; }

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

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,.04), rgba(124,58,237,.04));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: span 1;
}
.feature-card--large:first-of-type { grid-column: 1; grid-row: 1 / 3; }
.feature-card--large:last-of-type  { grid-column: 3; grid-row: 1 / 3; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-icon--indigo { background: #EEF2FF; color: var(--color-primary); }
.feature-icon--purple { background: #F5F3FF; color: var(--color-secondary); }
.feature-icon--red    { background: #FFF5F5; color: var(--color-red); }
.feature-icon--amber  { background: #FFFBEB; color: var(--color-amber); }
.feature-icon--teal   { background: #F0FDFA; color: var(--color-teal); }
.feature-icon--green  { background: #F0FDF4; color: var(--color-green); }

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.feature-desc {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.feature-list li {
  font-size: .875rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

.features-cta { text-align: center; margin-top: 56px; }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: linear-gradient(160deg, #F0F0FF 0%, #FAF5FF 100%); }

.steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.step {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 220px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
  text-align: center;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  font-size: 1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(79,70,229,.4);
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}
.step-desc { font-size: .875rem; color: var(--color-text-muted); line-height: 1.6; }

.step-arrow {
  color: var(--color-text-light);
  flex-shrink: 0;
}

/* ---- FOR WHOM ---- */
.for-whom { background: white; }

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.role-card {
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 2px solid var(--color-border);
  transition: all var(--transition-slow);
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.role-admin {
  background: linear-gradient(160deg, #F0F0FF 0%, #F5F3FF 100%);
  border-color: #C7D2FE;
}
.role-resident {
  background: linear-gradient(160deg, #F0FDF4 0%, #ECFDF5 100%);
  border-color: #A7F3D0;
}

.role-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  background: white;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
}
.role-resident .role-icon { color: var(--color-green); }

.role-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}
.role-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.role-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.role-perks li {
  font-size: .9375rem;
  color: var(--color-text-muted);
  padding-left: 24px;
  position: relative;
}
.role-perks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.role-resident .role-perks li::before { color: var(--color-green); }

/* ---- STATS BANNER ---- */
.stats-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4C1D95 100%);
  padding: 72px 0;
}
.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 48px;
}
.stat-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-suffix { font-size: 1.5rem; font-weight: 700; color: var(--color-accent); }
.stat-name {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--color-bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.testi-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #1E1B4B, #312E81);
  border-color: transparent;
  padding: 48px;
}
.testi-featured .testi-text { color: rgba(255,255,255,.9); font-size: 1.0625rem; }
.testi-featured .author-name { color: white; }
.testi-featured .author-role { color: rgba(255,255,255,.6); }

.testi-quote {
  font-size: 5rem;
  line-height: .8;
  color: rgba(255,255,255,.15);
  font-family: Georgia, serif;
  position: absolute;
  top: 20px;
  left: 32px;
}

.testi-text {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-avatar--purple { background: linear-gradient(135deg, #7C3AED, #9333EA); }
.author-avatar--green  { background: linear-gradient(135deg, #10B981, #059669); }
.author-avatar--amber  { background: linear-gradient(135deg, #F59E0B, #D97706); }

.author-name { font-size: .9375rem; font-weight: 700; display: block; }
.author-role { font-size: .8125rem; color: var(--color-text-muted); display: block; }

/* ---- FAQ ---- */
.faq { background: white; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:has([aria-expanded="true"]) { box-shadow: var(--shadow-md); border-color: #C7D2FE; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  background: white;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: #F9FAFB; }

.faq-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
  font-weight: 400;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item:has([aria-expanded="true"]) .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 20px;
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.faq-answer[hidden] { display: none; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 60%, #BE185D 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}
.cta-badge { font-size: 3rem; margin-bottom: 20px; }
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.cta-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---- FOOTER ---- */
.footer {
  background: #0F172A;
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo .logo-text {
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.social-link:hover { background: var(--color-primary); color: white; }

.footer-nav-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: white;
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-nav a:hover { color: white; }

.footer-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  transition: all var(--transition);
}
.app-badge:hover { background: rgba(255,255,255,.15); color: white; }

.footer-bottom {
  padding: 24px 0;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.4); }
.footer-tagline-small { font-size: .8125rem; color: rgba(255,255,255,.3); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 99;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp .6s ease both;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--large:first-of-type,
  .feature-card--large:last-of-type {
    grid-column: span 2;
    grid-row: auto;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-links, .nav-actions {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 16px 0;
  }
  .nav-links.open, .nav-actions.open { display: flex; }

  .nav-toggle { display: flex; }

  .navbar {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--nav-height);
    padding: 12px 0;
  }
  .nav-container { flex-wrap: wrap; }

  .hero { padding: 64px 0 48px; }
  .hero-heading { font-size: 2.25rem; }

  .hero-trust {
    gap: 16px;
  }
  .trust-divider { display: none; }

  .steps {
    flex-direction: column;
    align-items: stretch;
  }
  .step { width: 100%; max-width: 360px; margin: 0 auto; }
  .step-arrow { transform: rotate(90deg); }

  .roles-grid { grid-template-columns: 1fr; }
  .role-card { padding: 32px 24px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testi-featured { grid-column: span 1; padding: 32px; }
  .testi-quote { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large:first-of-type,
  .feature-card--large:last-of-type { grid-column: span 1; }

  .stats-container { gap: 32px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
