/* 
 * SMART SOCIETIES (smartsocieties.in)
 * Design System & Main Stylesheet (style.css)
 * Crisp Blue & White Theme matching the Society Admin Panel
 * Built by SSVL Technologies (ssvltechnologies.com)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Blue & White Color Architecture (Society Admin Panel Aligned) */
  --bg-dark: #F8FAFC;          /* Clean light slate background */
  --bg-surface: #FFFFFF;       /* Pure white surface */
  --bg-card: #FFFFFF;          /* Pure white cards */
  --bg-card-hover: #FFFFFF;
  --bg-card-alt: #F1F5F9;
  --bg-input: #FFFFFF;

  /* Primary Blue System */
  --primary: #2563EB;          /* Royal Blue */
  --primary-hover: #1D4ED8;    /* Deep Blue hover */
  --primary-dark: #1E40AF;
  --primary-light: #3B82F6;
  --primary-subtle: #EFF6FF;   /* Soft Ice Blue background for badges/active pills */
  --primary-glow: rgba(37, 99, 235, 0.16);
  --primary-glow-bright: rgba(37, 99, 235, 0.32);

  /* Secondary Accents */
  --accent-indigo: #4F46E5;
  --accent-cyan: #0284C7;
  --success: #10B981;
  --success-subtle: #ECFDF5;
  --warning: #F59E0B;
  --warning-subtle: #FFFBEB;
  --error: #EF4444;
  --error-subtle: #FEF2F2;

  /* Typography / Text Palette */
  --text-main: #0F172A;        /* Deep slate for high-contrast headlines */
  --text-sub: #475569;         /* Slate body text */
  --text-muted: #64748B;       /* Secondary details */
  --text-dim: #94A3B8;

  /* Borders */
  --border-color: #E2E8F0;
  --border-color-hover: #93C5FD;
  --border-bright: #CBD5E1;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --grad-accent: linear-gradient(135deg, #2563EB 0%, #4F46E5 50%, #0284C7 100%);
  --grad-surface: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  --grad-text: linear-gradient(135deg, #0F172A 30%, #2563EB 100%);
  --grad-badge: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);

  /* Transitions & Shadows */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -4px rgba(37, 99, 235, 0.12), 0 8px 16px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.18);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1);

  /* Dimensions */
  --container-max: 1240px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Blue & Cyan Background Light Effects */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.6;
}

.glow-1 {
  width: 600px;
  height: 600px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(219, 234, 254, 0.4) 60%, transparent 80%);
}

.glow-2 {
  width: 550px;
  height: 550px;
  top: 700px;
  right: -120px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(37, 99, 235, 0.06) 60%, transparent 80%);
}

.glow-3 {
  width: 500px;
  height: 500px;
  top: 1500px;
  left: -120px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}

/* Subtle Geometric Grid Overlay */
.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1100px;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

p {
  color: var(--text-sub);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-accent {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* -------------------------------------------------------------
 * Buttons & Badges
 * ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  text-align: center;
  position: relative;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow-bright);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.btn-outline-glow {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-weight: 600;
}

.btn-outline-glow:hover {
  background: #DBEAFE;
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 100px;
  background: var(--grad-badge);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #1E40AF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.badge-dot.pulse {
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.badge-dot.pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--success);
  animation: badge-pulse 1.8s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes badge-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* -------------------------------------------------------------
 * Navigation Header
 * ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* -------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 22px;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

/* Countdown Box in Hero */
.hero-countdown-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px 24px;
  max-width: 520px;
  box-shadow: var(--shadow-card);
}

.countdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.countdown-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
}

.countdown-status {
  font-size: 12px;
  color: var(--success);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.count-unit {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}

.count-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 4px;
}

.count-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------------
 * Hero Visual: Blue & White Platform Mockup
 * ------------------------------------------------------------- */
.hero-visual {
  position: relative;
}

.visual-container {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.visual-container:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 30px 60px -10px rgba(37, 99, 235, 0.18);
}

.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E2E8F0;
}

.window-dots span:nth-child(1) { background: #EF4444; }
.window-dots span:nth-child(2) { background: #F59E0B; }
.window-dots span:nth-child(3) { background: #10B981; }

.window-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-badge {
  background: var(--success-subtle);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

/* Dashboard Mockup Grid */
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.mockup-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
}

.mockup-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.mockup-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.mockup-sub {
  font-size: 11px;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* Resident QR Pass Mockup Card */
.mockup-qr-card {
  background: var(--primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.qr-box {
  width: 72px;
  height: 72px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  border: 1px solid #E2E8F0;
}

.qr-box img {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-details h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.qr-details p {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.qr-pill {
  display: inline-block;
  background: var(--success-subtle);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Gate Live Activity List */
.gate-activity-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
}

.gate-act-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.gate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 12px;
}

.gate-item:last-child {
  border-bottom: none;
}

.gate-user {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gate-flat {
  color: var(--primary);
  font-weight: 600;
}

.gate-status {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.gate-status.approved { background: var(--success-subtle); color: #047857; }
.gate-status.inside { background: var(--primary-subtle); color: var(--primary); }

/* -------------------------------------------------------------
 * Section Common Styles
 * ------------------------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
  background: var(--primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
}

/* -------------------------------------------------------------
 * Pillars & Core Modules (The 4 Apps)
 * ------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-card);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition-fast);
  border-radius: 20px 20px 0 0;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-hover);
}

.pillar-card:hover::before {
  background: var(--grad-primary);
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary);
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-tag {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 4px 10px;
  border-radius: 6px;
}

/* -------------------------------------------------------------
 * Metrics / Value Proposition Bar
 * ------------------------------------------------------------- */
.stats-banner {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}

/* -------------------------------------------------------------
 * Feature Highlights (Split Layouts)
 * ------------------------------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 70px;
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-visual-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-subtle);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* -------------------------------------------------------------
 * Special Launch Promotion Banner (Free for 100 Societies)
 * ------------------------------------------------------------- */
.free-launch-banner {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #0284C7 100%);
  border-radius: 24px;
  padding: 48px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25);
  margin-bottom: 60px;
}

.free-launch-banner::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.launch-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.launch-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.launch-title {
  font-size: 2.4rem;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 14px;
}

.launch-desc {
  font-size: 15px;
  color: #DBEAFE;
  line-height: 1.6;
  margin-bottom: 22px;
}

.launch-counter-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.counter-num {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.counter-progress-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  overflow: hidden;
  margin: 16px 0 10px;
}

.counter-fill {
  width: 42%;
  height: 100%;
  background: #34D399;
  border-radius: 100px;
}

/* -------------------------------------------------------------
 * Pricing Tables (Market Comparison & Free Plan)
 * ------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 38px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 16px 40px -8px rgba(37, 99, 235, 0.22);
  transform: translateY(-8px);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.pricing-tier {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
}

.pricing-price-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-original {
  text-decoration: line-through;
  color: var(--text-dim);
  font-size: 1.1rem;
  font-weight: 500;
  margin-right: 6px;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.pricing-feature-item.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

/* -------------------------------------------------------------
 * Inquiry Form & Lead Generation Card
 * ------------------------------------------------------------- */
.inquiry-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-label .req {
  color: var(--error);
}

.form-control {
  width: 100%;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
  color: var(--text-dim);
}

textarea.form-control {
  height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.checkbox-card:hover {
  border-color: var(--border-color-hover);
  background: var(--primary-subtle);
}

.checkbox-card input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-error-msg {
  color: var(--error);
  font-size: 12px;
  display: none;
}

.form-group.has-error .form-control {
  border-color: var(--error);
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-footer {
  margin-top: 24px;
  text-align: center;
}

.form-privacy-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* -------------------------------------------------------------
 * Toast Notification & Feedback Alerts
 * ------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--error);
}

.toast-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.toast-message {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* -------------------------------------------------------------
 * FAQ Accordion
 * ------------------------------------------------------------- */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-color-hover);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * Standard Content / Policy Pages (About, Terms, Privacy)
 * ------------------------------------------------------------- */
.policy-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--text-main);
}

.policy-content h3 {
  font-size: 1.2rem;
  margin: 22px 0 10px;
  color: var(--text-main);
}

.policy-content p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-sub);
}

.policy-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #FFFFFF;
  padding: 70px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-sub);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 15px;
}

/* -------------------------------------------------------------
 * Responsive Media Queries
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-countdown-box {
    margin: 0 auto;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .launch-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .pricing-card.featured {
    transform: none;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-split.reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

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

  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .inquiry-wrapper, .policy-card {
    padding: 28px 20px;
  }

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

  .stat-item::after {
    display: none !important;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
