/* ==========================================================================
   PhonePad Landing Page Stylesheet
   Adapting App Brand Colors (Indigo #4855CE, Slate #595D72, Violet #7550A9)
   ========================================================================== */

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

:root {
  /* Dark Theme (Default - PhonePad Brand Palette) */
  --bg-primary: #131318;
  --bg-surface: #1B1B21;
  --bg-surface-elevated: #1F1F25;
  --bg-surface-high: #2A292F;
  --bg-surface-highest: #35343B;

  --primary: #4855CE;
  --primary-hover: #5B68E5;
  --primary-active: #3B47B8;
  --primary-light: #BCC3FF;
  --primary-container: #35409F;
  --on-primary-container: #DEE1FF;

  --secondary: #C2C5DD;
  --secondary-container: #42465B;

  --tertiary: #DFB9FF;
  --tertiary-container: #5D368D;

  --text-main: #E4E1E9;
  --text-muted: #91909A;
  --text-subtle: #C7C5D1;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(72, 85, 206, 0.4);

  --success: #6DD58C;
  --success-bg: rgba(21, 93, 54, 0.35);
  --success-border: #155D36;

  --warning: #FFB74D;
  --warning-bg: rgba(255, 183, 77, 0.15);

  --glass-bg: rgba(27, 27, 33, 0.75);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-card: rgba(31, 31, 37, 0.65);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(72, 85, 206, 0.3);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

[data-theme="light"] {
  --bg-primary: #FBF8FF;
  --bg-surface: #F5F3FC;
  --bg-surface-elevated: #EFEDF7;
  --bg-surface-high: #E9E7F1;
  --bg-surface-highest: #E3E1EC;

  --primary: #4855CE;
  --primary-hover: #3744B9;
  --primary-active: #2B389E;
  --primary-light: #4855CE;
  --primary-container: #DEE1FF;
  --on-primary-container: #00105C;

  --secondary: #595D72;
  --secondary-container: #DEE1F9;

  --tertiary: #7550A9;
  --tertiary-container: #F2DAFF;

  --text-main: #1B1B21;
  --text-muted: #595D72;
  --text-subtle: #46464F;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(72, 85, 206, 0.25);

  --success: #188038;
  --success-bg: rgba(196, 238, 208, 0.5);
  --success-border: #81C995;

  --warning: #F57C00;
  --warning-bg: rgba(245, 124, 0, 0.1);

  --glass-bg: rgba(251, 248, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-card: rgba(239, 237, 247, 0.7);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(72, 85, 206, 0.12);
  --shadow-glow: 0 0 25px rgba(72, 85, 206, 0.15);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

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

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

code, kbd {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary-container) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(72, 85, 206, 0.4);
  color: #FFFFFF;
}

.version-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

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

.detected-os-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-high);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 85, 206, 0.22) 0%, rgba(117, 80, 169, 0.12) 40%, rgba(19, 19, 24, 0) 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
}

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

.badge-announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(72, 85, 206, 0.15);
}

.badge-announcement svg {
  color: var(--primary);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary-light) 70%, var(--tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Download Buttons */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3B47B8 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(72, 85, 206, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(72, 85, 206, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--bg-surface-high);
  border-color: var(--primary-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: var(--bg-surface);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-subtext-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Interactive Demo / Sandbox */
.interactive-showcase {
  margin-top: 60px;
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}

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

.showcase-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

.showcase-mode-tabs {
  display: flex;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 600;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Phone Component Simulation */
.phone-mockup {
  background: var(--bg-surface);
  border: 3px solid var(--bg-surface-highest);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  user-select: none;
}

.phone-screen {
  background: var(--bg-primary);
  border-radius: 26px;
  height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 6px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.phone-pad-area {
  flex: 1;
  margin: 8px;
  background: radial-gradient(circle at center, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--border-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: crosshair;
  touch-action: none;
}

.phone-pad-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  pointer-events: none;
  text-align: center;
  padding: 12px;
}

.phone-buttons-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px 12px 12px;
}

.phone-pad-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.15s ease;
  text-align: center;
}

.phone-pad-btn:active, .phone-pad-btn.pressed {
  background: var(--primary);
  color: #FFFFFF;
}

/* PC Display Simulation */
.pc-mockup {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 420px;
}

.pc-window-titlebar {
  background: var(--bg-surface-high);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

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

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

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

.window-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pc-viewport {
  flex: 1;
  background: #0E0E13;
  position: relative;
  overflow: hidden;
}

/* Simulated Canvas & Pointer */
#pcCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.simulated-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: transform 0.05s linear;
}

.simulated-cursor svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
}

.live-sync-indicator {
  position: absolute;
  bottom: 12px;
  right: 16px;
  background: rgba(27, 27, 33, 0.85);
  border: 1px solid var(--border-glow);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Feature Showcase Grid */
.features-section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(72, 85, 206, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-container);
  color: var(--on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.feature-item svg {
  color: var(--primary-light);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Downloads Section */
.download-section {
  padding: 100px 0;
  background: radial-gradient(circle at bottom center, var(--bg-surface-elevated) 0%, var(--bg-primary) 70%);
}

.download-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.download-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(72, 85, 206, 0.25);
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary-container) 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.platform-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.platform-logo svg {
  width: 28px;
  height: 28px;
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.platform-version {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.platform-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.download-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.install-command-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-light);

}

.copy-btn {
  color: var(--text-muted);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: var(--text-main);
}

.specs-list {
  list-style: none;
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* How It Works Section */
.workflow-section {
  padding: 90px 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-container);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Security & Protocol Box */
.security-banner {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 868px) {
  .security-banner {
    grid-template-columns: 1fr;
  }
}

.security-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.security-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.security-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sec-pill {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-pill svg {
  color: var(--success);
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-light);
}

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

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  padding: 60px 0 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;

}

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

.footer-links a:hover {
  color: var(--primary-light);
}

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

/* Modal styles for Android QR Code */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.qr-placeholder {
  background: #FFFFFF;
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 20px auto;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .nav-links {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}
