/* ===================================================================
   KineMaster Pro MOD APK - Modern SaaS Download Portal Stylesheet
   Pure Vanilla CSS (Zero Frameworks, Fully Responsive, Lightweight)
   =================================================================== */

:root {
  --bg-dark: #0a0e17;
  --bg-surface: #111827;
  --bg-surface-elevated: #162032;
  --bg-surface-hover: #1e293b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-focus: rgba(255, 51, 102, 0.4);
  
  --primary: #ff3366;
  --primary-hover: #e02657;
  --primary-glow: rgba(255, 51, 102, 0.25);
  
  --secondary: #00d2ff;
  --secondary-glow: rgba(0, 210, 255, 0.2);
  
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.12);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px var(--primary-glow);
  
  --container-max: 1240px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(255, 51, 102, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(255, 51, 102, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

table {
  border-collapse: collapse;
  width: 100%;
}

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

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Top Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ff3366, #ff6b8b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-text span {
  color: var(--primary);
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  color: var(--secondary);
  letter-spacing: 0.04em;
  margin-left: 6px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}

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

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

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

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

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.mobile-nav-toggle:hover {
  background: var(--bg-surface-elevated);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px 20px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
}

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

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e02657);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff4d7d, var(--primary));
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

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

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding-top: 60px;
  padding-bottom: 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.25);
  border-radius: var(--radius-full);
  color: #ff6b8b;
  font-weight: 600;
  font-size: 0.8rem;
}

.hero-meta-dot {
  color: var(--text-subtle);
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  text-wrap: balance;
}

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

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.trust-icon {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Interactive Video Editor Mockup */
.editor-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.mockup-header {
  background: var(--bg-surface-elevated);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

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

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }

.mockup-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.mockup-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Mockup Canvas Screen */
.mockup-screen {
  background: #000;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.screen-bg.chroma-active {
  background: radial-gradient(circle at center, #0284c7 0%, #0369a1 60%, #0c4a6e 100%);
}

.screen-actor {
  position: relative;
  z-index: 2;
  text-align: center;
}

.actor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff3366, #ff9900);
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(255, 51, 102, 0.4);
}

.screen-watermark {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed rgba(239, 68, 68, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 700;
  text-decoration: line-through;
  transition: opacity 0.3s;
}

.screen-watermark.hidden {
  opacity: 0;
  pointer-events: none;
}

.screen-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: #fff;
  font-family: var(--font-mono);
}

/* Mockup Toolbar Controls */
.mockup-controls {
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mockup-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--primary-glow);
  transition: var(--transition);
}

.mockup-play-btn:hover {
  transform: scale(1.08);
}

.mockup-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-chip {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition);
}

.toggle-chip:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.toggle-chip.active {
  background: rgba(255, 51, 102, 0.15);
  border-color: var(--primary);
  color: #ff4d7d;
}

/* Timeline Tracks */
.mockup-timeline {
  padding: 14px 16px 18px 16px;
  background: #0d131f;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.timeline-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30%;
  width: 2px;
  background: #ff3366;
  z-index: 5;
  transition: left 0.1s linear;
}

.timeline-playhead::after {
  content: '';
  position: absolute;
  top: 0;
  left: -5px;
  width: 12px;
  height: 10px;
  background: #ff3366;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.track-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
}

.track-label {
  font-size: 0.65rem;
  font-weight: 700;
  width: 60px;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.track-bar {
  flex: 1;
  height: 100%;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
}

.track-video {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}
.track-overlay {
  background: linear-gradient(90deg, #ec4899, #be185d);
}
.track-audio {
  background: linear-gradient(90deg, #10b981, #047857);
}

/* Ads Section / Banner Slots */
.ad-slot-wrapper {
  margin: 40px auto;
  max-width: 760px;
  padding: 16px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  text-align: center;
}

.ad-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 8px;
  display: block;
}

.ad-placeholder {
  min-height: 90px;
  background: rgba(22, 32, 50, 0.8);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.ad-placeholder strong {
  color: var(--text-main);
}

/* Specifications Table & Grid */
.specs-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-md);
}

.specs-table {
  width: 100%;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.specs-table th,
.specs-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.925rem;
}

.specs-table th {
  width: 32%;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.015);
}

.specs-table td {
  color: var(--text-main);
  font-weight: 600;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-weight: 700;
}

.hash-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  max-width: 100%;
  word-break: break-all;
}

.copy-btn {
  color: var(--primary);
  background: transparent;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 51, 102, 0.3);
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(255, 51, 102, 0.15);
  border-color: var(--primary);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 51, 102, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-card.span-2 {
  grid-column: span 2;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
}

.feature-card:hover .feature-icon-box {
  background: rgba(255, 51, 102, 0.12);
  border-color: rgba(255, 51, 102, 0.3);
  color: #ff4d7d;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Comparison Matrix */
.comparison-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-md);
}

.comp-table th,
.comp-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.925rem;
}

.comp-table th {
  background: var(--bg-surface-elevated);
  font-weight: 700;
}

.comp-table th:first-child {
  width: 40%;
}

.comp-table th.col-pro {
  color: #ff4d7d;
  background: rgba(255, 51, 102, 0.08);
}

.comp-table td.col-pro {
  background: rgba(255, 51, 102, 0.03);
  font-weight: 600;
  color: var(--text-main);
}

.comp-cell-good {
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.comp-cell-bad {
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Steps / Installation Guide */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: rgba(255, 51, 102, 0.3);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Version Archive */
.versions-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  gap: 16px;
}

.version-row:last-child {
  border-bottom: none;
}

.version-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.version-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.version-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
  white-space: nowrap;
}

.version-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.version-tag {
  background: var(--bg-surface-elevated);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.version-tag.tag-latest {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.3);
  font-weight: 700;
}

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

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

.faq-item.active {
  border-color: rgba(255, 51, 102, 0.35);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

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

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.35s ease-in-out, padding 0.3s ease;
}

/* Download Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.download-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 51, 102, 0.2);
  overflow: hidden;
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 20px 24px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  color: var(--text-muted);
  padding: 6px;
  border-radius: var(--radius-sm);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 28px 24px;
  text-align: center;
}

.modal-app-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  margin-bottom: 24px;
}

.modal-app-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ff3366, #ff6b8b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.modal-app-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}


/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #080b12;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  padding-bottom: 40px;
}

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

.footer-brand {
  max-width: 380px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-link {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

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

.footer-disclaimer {
  max-width: 700px;
  line-height: 1.5;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card.span-2 {
    grid-column: span 2;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: inline-flex;
  }
  
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card.span-2 {
    grid-column: span 1;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-table th {
    width: 40%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .version-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .version-row .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 12px 14px;
    font-size: 0.825rem;
  }
  
  .hash-box {
    font-size: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
