/* ==========================================================================
   PAK FLOW — Official Web Experience for flow.pakaitools.com
   High-Performance Dark Theme Inspired by Flowveo
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@1,500;1,600&display=swap');

:root {
  --bg-main: #08090a;
  --bg-surface: #0e1215;
  --bg-card: #12181b;
  --bg-card-hover: #162024;
  --text-primary: #f6f5f2;
  --text-secondary: #9aa1a7;
  --text-muted: #6a737d;
  
  --accent-mint: #91ffc2;
  --accent-mint-glow: rgba(145, 255, 194, 0.18);
  --accent-cyan: #4fddff;
  --accent-cyan-glow: rgba(79, 221, 255, 0.16);
  --accent-purple: #9a59ff;
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.18);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-mint: rgba(145, 255, 194, 0.28);
  --border-active: rgba(145, 255, 194, 0.55);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

img, svg {
  display: block;
  max-width: 100%;
}

/* Atmospheric Ambient Lights */
.site-shell {
  position: relative;
  min-height: 100vh;
  background: 
    radial-gradient(circle at 50% 12%, rgba(78, 255, 182, 0.09), transparent 28rem),
    radial-gradient(circle at 85% 45%, rgba(79, 221, 255, 0.05), transparent 32rem),
    linear-gradient(180deg, #0b0e11 0%, #08090a 40%, #070809 100%);
  overflow: hidden;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.ambient-mint {
  width: 36rem;
  height: 36rem;
  background: #7effb5;
  opacity: 0.11;
  top: -10rem;
  left: -15rem;
}

.ambient-cyan {
  width: 40rem;
  height: 40rem;
  background: #4fddff;
  opacity: 0.08;
  top: 45rem;
  right: -20rem;
}

.ambient-purple {
  width: 30rem;
  height: 30rem;
  background: #9a59ff;
  opacity: 0.06;
  bottom: 10rem;
  left: -10rem;
}

/* Container */
.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 9, 10, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.flow-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  background: #000000;
  border: 1px solid rgba(145, 255, 194, 0.28);
  box-shadow: 0 4px 18px rgba(145, 255, 194, 0.22);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.brand:hover .flow-logo-img {
  transform: translateY(-2px) scale(1.06);
  border-color: rgba(145, 255, 194, 0.55);
  box-shadow: 0 8px 26px rgba(145, 255, 194, 0.38);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(145, 255, 194, 0.15);
  color: var(--accent-mint);
  border: 1px solid rgba(145, 255, 194, 0.3);
}

.brand-domain {
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
}

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

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: var(--accent-mint);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-mint);
  border-radius: 2px;
}

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

/* Primary & Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #08090a;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: var(--accent-mint);
  color: #05140d;
  box-shadow: 0 8px 30px rgba(145, 255, 194, 0.35);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-mint {
  background: linear-gradient(135deg, #91ffc2, #4fddff);
  color: #061811;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(145, 255, 194, 0.3);
}

.btn-mint:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(145, 255, 194, 0.45);
}

.btn-compact {
  padding: 9px 16px;
  font-size: 12.5px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  align-items: center;
  justify-content: center;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(14, 18, 21, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 20px 24px;
  gap: 14px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 85px 0 65px;
  text-align: center;
  position: relative;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(145, 255, 194, 0.1);
  border: 1px solid rgba(145, 255, 194, 0.25);
  color: var(--accent-mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(145, 255, 194, 0.12);
}

.kicker-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(44px, 7.5vw, 98px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.96;
  max-width: 980px;
  margin: 0 auto 24px;
  color: #ffffff;
}

.hero-title span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: #b5ffce;
  background: linear-gradient(135deg, #b5ffce, #86f0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
}

.hero-badge-item svg {
  color: var(--accent-mint);
}

/* ==========================================================================
   Priority Downloads Section
   ========================================================================== */
.download-section {
  padding: 30px 0 70px;
}

.priority-downloads-box {
  background: 
    radial-gradient(circle at 12% 0%, rgba(145, 255, 194, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 100%, rgba(79, 221, 255, 0.08), transparent 28rem),
    linear-gradient(145deg, #101c18 0%, #090e10 60%, #0a0e11 100%);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.priority-downloads-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 255, 194, 0.6), transparent);
}

.priority-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.eyebrow {
  color: var(--accent-mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.priority-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.priority-head p {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 580px;
  margin-top: 4px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(145, 255, 194, 0.12);
  color: var(--accent-mint);
  border: 1px solid rgba(145, 255, 194, 0.3);
  box-shadow: 0 2px 10px rgba(145, 255, 194, 0.15);
}

.status-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 8px var(--accent-mint);
  animation: pulse 1.6s infinite;
}

/* Priority Download Cards Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.dl-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.dl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-mint), #5ca8ff);
}

.dl-card.android::before {
  background: linear-gradient(180deg, var(--accent-amber), #ff8a00);
}

.dl-card:hover {
  border-color: rgba(145, 255, 194, 0.4);
  background: linear-gradient(145deg, rgba(145, 255, 194, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.dl-card.android:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.dl-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.dl-icon-shell {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(145, 255, 194, 0.1);
  border: 1px solid rgba(145, 255, 194, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
  flex-shrink: 0;
}

.dl-card.android .dl-icon-shell {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
}

.dl-meta {
  flex-grow: 1;
}

.dl-meta small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.dl-meta h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 2px 0 4px;
}

.dl-meta em {
  font-style: normal;
  font-size: 12px;
  color: var(--accent-mint);
  display: block;
}

.dl-card.android .dl-meta em {
  color: var(--accent-amber);
}

.dl-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.dl-state-badge.ready {
  background: rgba(145, 255, 194, 0.15);
  color: var(--accent-mint);
  border: 1px solid rgba(145, 255, 194, 0.35);
}

.dl-state-badge.coming-soon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.dl-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.dl-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dl-spec-row span {
  color: var(--text-muted);
}

.dl-spec-row strong {
  color: #ffffff;
  font-weight: 600;
}

.dl-card-action {
  margin-top: 4px;
}

.btn-download-pc {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  background: #ffffff;
  color: #08090a;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-download-pc:hover {
  background: var(--accent-mint);
  box-shadow: 0 10px 28px rgba(145, 255, 194, 0.35);
  color: #06150f;
}

.btn-coming-soon {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-coming-soon:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

/* Install Footnotes */
.priority-install-note {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.priority-install-note span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.priority-install-note strong {
  color: var(--accent-mint);
}

/* ==========================================================================
   Step-by-Step Video Guide Section
   ========================================================================== */
.section {
  padding: 60px 0;
}

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

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 4px 0 8px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 15px;
}

.video-player-card {
  background: #0d1215;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

.video-player-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.troubleshooting-banner {
  background: linear-gradient(135deg, rgba(79, 221, 255, 0.08) 0%, rgba(145, 255, 194, 0.05) 100%);
  border: 1px solid rgba(79, 221, 255, 0.25);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.troubleshooting-copy {
  max-width: 720px;
}

.troubleshooting-copy strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 4px;
}

.troubleshooting-copy p {
  font-size: 13px;
  color: var(--text-secondary);
}

.vpn-tag {
  color: var(--accent-cyan);
  font-weight: 700;
  background: rgba(79, 221, 255, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   Installation Guide (SmartScreen)
   ========================================================================== */
.install-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background: #0d1215;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.guide-figure {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.guide-figure img {
  width: 100%;
  height: auto;
}

.guide-figure figcaption {
  background: #f1f5f9;
  color: #0f172a;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.guide-figure figcaption strong {
  color: #0c6fe8;
}

.install-steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.install-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: 14px;
  transition: all var(--transition-fast);
}

.install-step-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(145, 255, 194, 0.25);
  transform: translateX(4px);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(145, 255, 194, 0.12);
  color: var(--accent-mint);
  border: 1px solid rgba(145, 255, 194, 0.3);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Google 2-Step Verification Help Section
   ========================================================================== */
.signin-guide-box {
  background: linear-gradient(180deg, #0e1316 0%, #0a0e10 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.signin-steps-ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 28px 0;
}

.signin-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px;
}

.signin-step-card strong {
  display: block;
  font-size: 15px;
  color: var(--accent-mint);
  margin-bottom: 6px;
}

.signin-step-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.signin-screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.screenshot-figure {
  background: #111619;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.screenshot-figure a {
  display: block;
  overflow: hidden;
}

.screenshot-figure img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-smooth);
}

.screenshot-figure:hover img {
  transform: scale(1.02);
}

.screenshot-figure figcaption {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  background: #090c0e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.screenshot-figure figcaption a {
  color: var(--accent-mint);
  font-weight: 600;
}

/* ==========================================================================
   Features Section (Flow + Gemini AI)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(145, 255, 194, 0.3);
  transform: translateY(-4px);
  background: linear-gradient(145deg, rgba(145, 255, 194, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(145, 255, 194, 0.1);
  border: 1px solid rgba(145, 255, 194, 0.25);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
}

.faq-chevron {
  transition: transform var(--transition-fast);
  color: var(--accent-mint);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 0 22px;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 22px 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: 80px;
  border-top: 1px solid var(--border-subtle);
  background: #060708;
  padding: 50px 0 35px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-mint);
}

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

.footer-bottom a {
  color: var(--text-secondary);
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Modal Dialog (Sign In / Private Access)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #0e1215;
  border: 1px solid rgba(145, 255, 194, 0.25);
  border-radius: 20px;
  width: min(440px, 100%);
  padding: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

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

.modal-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-mint);
  background: rgba(255, 255, 255, 0.07);
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  color: var(--text-muted);
  padding: 4px;
}

.toggle-password-btn:hover {
  color: #ffffff;
}

.auth-note {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}

/* ==========================================================================
   Toast Notification Banner
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(14, 18, 21, 0.95);
  border: 1px solid rgba(145, 255, 194, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 14px 20px;
  color: #ffffff;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast.toast-amber {
  border-color: rgba(245, 158, 11, 0.5);
}

.toast-icon {
  color: var(--accent-mint);
}

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .install-guide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  
  .signin-screenshots-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .priority-downloads-box {
    padding: 22px;
  }
  
  .priority-head h2 {
    font-size: 24px;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
