/* ==========================================================================
   FITSYNC LANDING PAGE DESIGN SYSTEM (fitsync.in)
   Matched to FitSync Product Design Tokens (Amber / Golden Flame & Slate Dark)
   ========================================================================== */

:root {
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;

  /* FitSync Core Product Color Palette */
  --bg-dark: #080b11;
  --bg-card: #0f131d;
  --bg-card-hover: #161c2b;
  --border-color: #1a2130;
  --border-active: rgba(217, 119, 6, 0.5);

  --accent-primary: #d97706;       /* Warm Amber Primary */
  --accent-amber: #f59e0b;         /* Bright Amber Accent */
  --accent-gold: #b45309;          /* Deep Flame Gold */
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-purple: #8B5CF6;
  --accent-rose: #F43F5E;

  --text-main: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-sub: #64748B;

  --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --gradient-dark: linear-gradient(180deg, rgba(15, 19, 29, 0.8) 0%, rgba(8, 11, 17, 1) 100%);
  --shadow-glow: 0 0 30px rgba(217, 119, 6, 0.25);
}

/* Accessibility & SEO Navigation Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: 0.5rem;
  font-weight: 700;
  transition: top 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--accent-amber);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-secondary);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.gradient-text {
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-amber);
  background: rgba(217, 119, 6, 0.12);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(217, 119, 6, 0.3);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gradient-amber);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(8, 11, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-family: var(--font-primary);
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(217, 119, 6, 0.3);
}

.logo-accent {
  color: var(--accent-amber);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-amber);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  color: var(--text-main);
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 9rem 0 6rem 0;
  background: radial-gradient(circle at 50% 10%, rgba(217, 119, 6, 0.12) 0%, transparent 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-amber);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-amber);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border-color);
}

/* Glass Browser Window Controls & Address Bar */
.glass-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-color);
}

.glass-dots {
  display: flex;
  gap: 6px;
}

.glass-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.glass-dots .dot-red { background: #FF5F56; }
.glass-dots .dot-yellow { background: #FFBD2E; }
.glass-dots .dot-green { background: #27C93F; }

.glass-address-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: monospace;
}

/* Hero Screenshot Visual */
.hero-card-glass {
  background: rgba(15, 19, 29, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), var(--shadow-glow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-screenshot-wrapper {
  position: relative;
  overflow: hidden;
  background: #080b11;
}

.hero-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-card-glass:hover .hero-screenshot-img {
  transform: scale(1.02);
}

.screenshot-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-amber);
  color: var(--accent-amber);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Admin Screenshot Showcase */
.admin-showcase-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 1.75rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-tab {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-align: left;
  transition: all 0.3s ease;
}

.showcase-tab .tab-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.showcase-tab .tab-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.showcase-tab .tab-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(217, 119, 6, 0.3);
}

.showcase-tab.active {
  background: rgba(217, 119, 6, 0.12);
  border-color: var(--accent-amber);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.2);
}

.showcase-tab.active .tab-icon {
  background: var(--gradient-amber);
  color: #FFFFFF;
}

.showcase-display {
  display: flex;
  flex-direction: column;
}

.browser-window {
  background: #080B11;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.showcase-img-frame {
  max-height: 440px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.showcase-caption-bar {
  padding: 1.25rem 0.5rem 0 0.5rem;
}

.showcase-caption-bar h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.showcase-caption-bar p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.bg-amber { background: rgba(217, 119, 6, 0.15); color: var(--accent-amber); }
.bg-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.bg-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.bg-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.bg-rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }
.bg-blue { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Member App Screenshots Grid */
.member-app-section {
  background: var(--gradient-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.app-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1080px;
  margin: 2rem auto 0 auto;
  align-items: stretch;
}

.phone-mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  height: 100%;
}

.phone-mockup-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), var(--shadow-glow);
}

.phone-mockup-card.highlight {
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(15, 19, 29, 0.95);
}

.phone-img-container {
  width: 100%;
  max-width: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-screen-img {
  width: 100%;
  max-height: 480px;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.phone-mockup-card:hover .phone-img-container {
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.25);
}

.phone-mockup-card:hover .phone-screen-img {
  transform: scale(1.02);
}

.phone-card-info {
  text-align: center;
  width: 100%;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.phone-card-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.phone-card-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Demo Screenshot Preview Tab styling */
.demo-screenshot-container {
  background: #080b11;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  padding: 1.25rem;
}

.screenshot-header-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-amber);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.demo-screenshot-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

.demo-mobile-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 620px;
  margin: 0 auto;
  align-items: flex-start;
}

.demo-mobile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.demo-mobile-img {
  width: 100%;
  max-width: 270px;
  max-height: 480px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.demo-mobile-img:hover {
  transform: translateY(-4px);
}

.demo-mobile-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}


.meter-text-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.phone-weight-stats {
  display: flex;
  justify-content: space-between;
}

.weight-item {
  display: flex;
  flex-direction: column;
}

.w-label { font-size: 0.65rem; color: var(--text-muted); }
.w-val { font-size: 0.85rem; font-weight: 700; }
.w-val.amber { color: var(--accent-amber); }

.active-plan-card {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(15, 19, 29, 0.8) 100%);
  border-color: rgba(217, 119, 6, 0.35);
}

.plan-name { font-weight: 700; font-size: 0.85rem; }
.plan-days { font-size: 0.7rem; color: var(--accent-amber); }

/* Interactive Demo */
.demo-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
}

.demo-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn.active {
  background: rgba(217, 119, 6, 0.15);
  color: var(--accent-amber);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.crowd-simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.sim-controls h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.sub-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.time-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.time-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-align: left;
  font-weight: 600;
  transition: all 0.2s;
}

.time-btn:hover, .time-btn.active {
  border-color: var(--accent-amber);
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-amber);
}

.sim-preview-box {
  background: rgba(8, 11, 17, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.sim-header {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.gauge-display {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gauge-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: background 0.5s ease;
}

.gauge-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-value {
  font-size: 2.2rem;
  font-weight: 800;
}

.gauge-status {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.sim-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Admin Demo Table & Cards */
.admin-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.summary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.summary-card .lbl { font-size: 0.8rem; color: var(--text-muted); }
.summary-card .val { font-size: 1.5rem; font-weight: 800; margin: 0.4rem 0; }
.summary-card .val.amber { color: var(--accent-amber); }
.summary-card .sub { font-size: 0.75rem; color: var(--accent-amber); }

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th, .custom-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.custom-table th {
  color: var(--text-muted);
  font-weight: 600;
}

.rating-badge {
  color: var(--accent-amber);
  font-weight: 700;
}

.status-chip.active {
  background: rgba(217, 119, 6, 0.2);
  color: var(--accent-amber);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  color: var(--text-main);
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-amber);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* CTA Banner */
.cta-section {
  padding-bottom: 6rem;
}

.cta-box {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.18) 0%, rgba(15, 19, 29, 0.9) 100%);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: #05070c;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-amber);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-amber);
  color: #FFFFFF;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}

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

/* Responsive Media Queries for Mobile & Tablet */
@media (max-width: 1024px) {
  .hero-container, .app-container { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-showcase-container { grid-template-columns: 1fr; }
  .app-screenshots-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll / cropping globally */
  html, body {
    overflow-x: hidden !important;
    width: 100%;
  }

  /* Layout & Section Spacing */
  .section { padding: 3.25rem 0; }
  .hero-section { padding: 6rem 0 3rem 0; }
  .container { padding: 0 1rem; width: 100%; max-width: 100%; }

  /* Mobile Navigation Drawer */
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: rgba(15, 19, 29, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    gap: 0.6rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 1001;
  }
  .nav-links.active a {
    font-size: 0.95rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    display: block;
    color: var(--text-main);
  }
  .nav-links.active a:hover {
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent-amber);
  }
  .nav-actions { display: none; }
  .mobile-toggle { display: block; cursor: pointer; }

  /* Typography Scaling for Phone View */
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 0.85rem;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .badge-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .section-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }
  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 0.65rem;
    word-break: break-word;
  }
  .section-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Buttons & CTA Alignment */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
    border-radius: 12px;
  }

  /* Hero Screenshot Visual */
  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .hero-card-glass {
    padding: 0.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
  }

  /* Stats Row Alignment */
  .hero-stats-row {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0.75rem;
    padding: 1rem 0.75rem;
    width: 100%;
  }
  .stat-divider { display: none; }
  .stat-item {
    text-align: center;
    flex: 1 1 28%;
    min-width: 80px;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }

  /* Admin Suite Showcase & Container Fixes */
  .admin-showcase-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem 0.85rem;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .showcase-tabs {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .showcase-tab {
    padding: 0.85rem 0.75rem;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    align-items: center;
  }
  .tab-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .showcase-tab .tab-text {
    flex: 1;
    min-width: 0;
  }
  .showcase-tab .tab-text strong {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .showcase-tab .tab-text span {
    font-size: 0.74rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .showcase-display {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .browser-window {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
  }

  .glass-header {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    justify-content: space-between;
  }
  .glass-dots {
    flex-shrink: 0;
  }
  .glass-address-bar {
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    flex-shrink: 1;
  }

  .showcase-img-frame {
    max-height: 320px;
    width: 100%;
    overflow: hidden;
  }
  .showcase-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .showcase-caption-bar {
    padding: 1rem 0.25rem 0 0.25rem;
  }
  .showcase-caption-bar h4 {
    font-size: 1rem;
  }
  .showcase-caption-bar p {
    font-size: 0.82rem;
  }

  /* Feature & Member App Grids */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }
  .feature-card {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .feature-card h3 {
    font-size: 1.05rem;
  }
  .feature-card p {
    font-size: 0.85rem;
  }

  .pc-only-card {
    display: none !important;
  }

  .app-screenshots-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
  .phone-mockup-card {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
  }
  .phone-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .phone-screen-img {
    max-width: 100%;
    height: auto;
  }
  .phone-card-info h3 {
    font-size: 1.05rem;
  }

  /* FAQ Alignment & Text */
  .faq-list {
    width: 100%;
  }
  .faq-item {
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .faq-question {
    font-size: 0.92rem;
    padding: 1rem 1rem;
    gap: 0.5rem;
    text-align: left;
  }
  .faq-question span {
    flex: 1;
  }
  .faq-answer {
    padding: 0 1rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }
  .faq-answer p {
    font-size: 0.85rem;
  }

  /* CTA Section Box */
  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 1.75rem 1rem;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .cta-content h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  .cta-content p {
    font-size: 0.88rem;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
  }
  .footer-brand p {
    font-size: 0.85rem;
  }

  /* Modal Dialog */
  .modal-box {
    width: 90%;
    max-width: 380px;
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }
  .modal-header h3 {
    font-size: 1.15rem;
  }
  .modal-header p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  /* Extra Small Phone View Improvements */
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .section-desc {
    font-size: 0.82rem;
  }
  .glass-address-bar {
    font-size: 0.65rem;
    max-width: 180px;
  }
  .stat-num {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .admin-showcase-container {
    padding: 0.75rem 0.6rem;
  }
  .showcase-tab {
    padding: 0.75rem 0.6rem;
  }
}



