/* Epic Plane Evolution - view-fair.com - 2026 */
:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.15);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --font: 'Outfit', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg-dark); color: var(--text); line-height: 1.6; overflow-x: hidden; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(15,23,42,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: background 0.3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 36px; width: auto; }
.logo span { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-muted); font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.btn-play { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--bg-dark) !important; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; transition: background 0.2s, transform 0.2s; }
.btn-play:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-game { padding: 0; background: transparent !important; }
.btn-game:hover { background: transparent !important; transform: translateY(-2px); }
.btn-play img { height: 28px; width: auto; }
.btn-play .badge-play { height: 40px; width: auto; }
.nav .badge-play { height: 24px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 24px 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.hero-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-image::before { content: ''; position: absolute; inset: -3px; background: linear-gradient(135deg, #f59e0b, #ec4899); border-radius: calc(var(--radius-lg) + 3px); z-index: -1; opacity: 0.6; }
.hero-image img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; background: linear-gradient(135deg, #fff, var(--text-muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns .btn-play { padding: 14px 28px; font-size: 1rem; }

/* Section */
.section { padding: 80px 24px; }
.section-alt { background: linear-gradient(180deg, var(--bg-dark) 0%, #1e293b 50%, var(--bg-dark) 100%); }
.section-header { text-align: center; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--bg-card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); transition: all 0.3s; }
.card:hover { background: var(--bg-card-hover); border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; background: var(--accent-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Feature blocks */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; }
.feature-block:nth-child(even) .feature-image { order: 2; }
.feature-block:nth-child(even) .feature-content { order: 1; }
.feature-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: auto; display: block; }
.feature-content h3 { font-size: 1.8rem; margin-bottom: 16px; }
.feature-content ul { list-style: none; }
.feature-content li { padding: 10px 0; padding-left: 28px; position: relative; color: var(--text-muted); }
.feature-content li::before { content: '✈'; position: absolute; left: 0; color: var(--accent); font-size: 1rem; }
.feature-content .btn-play { margin-top: 20px; }

/* Download section */
.download-section { padding: 100px 24px; }
.download-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.download-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; position: relative; }
.download-card:hover { transform: scale(1.02); border-color: var(--accent); }
.download-card img { width: 100%; height: 200px; object-fit: cover; }
.download-card-center { background: rgba(30,41,59,0.8); backdrop-filter: blur(16px); border: 2px solid var(--accent); }
.download-card-center .card-body { padding: 32px; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.store-links { display: flex; gap: 12px; flex-wrap: wrap; }
.store-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-dark); border-radius: 8px; color: var(--text); font-size: 0.9rem; }
.store-links a:hover { background: var(--accent); color: var(--bg-dark); }

/* CTA section */
.cta-section { text-align: center; padding: 80px 24px; background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%); border-radius: var(--radius-lg); margin: 0 24px 80px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.cta-section h2 { font-size: 2rem; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: var(--bg-card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.review-card .stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card .text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.6; }
.review-card .author { font-weight: 600; color: var(--accent); }

/* Footer */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 60px 24px 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; }
.footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-muted); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--text-muted); font-size: 0.95rem; }
.footer a:hover { color: var(--accent); }
.footer-newsletter input { width: 100%; padding: 12px 16px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.95rem; margin-bottom: 12px; }
.footer-newsletter input::placeholder { color: var(--text-muted); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-card); border-top: 1px solid var(--accent); padding: 20px 24px; z-index: 9999; display: none; box-shadow: 0 -4px 24px rgba(0,0,0,0.3); }
.cookie-banner.show { display: block; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-banner p { color: var(--text-muted); font-size: 0.95rem; flex: 1; min-width: 250px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; }
.cookie-btns button { padding: 10px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.95rem; transition: all 0.2s; }
.cookie-accept { background: var(--accent); color: var(--bg-dark); border: none; }
.cookie-accept:hover { background: var(--accent-hover); }
.cookie-decline { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.cookie-decline:hover { border-color: var(--text-muted); color: var(--text); }

/* Legal pages */
.legal-page { padding: 120px 24px 80px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.35rem; margin: 32px 0 16px; color: var(--accent); }
.legal-page p, .legal-page li { color: var(--text-muted); margin-bottom: 12px; }
.legal-page ul { margin-left: 24px; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block:nth-child(even) .feature-image { order: 1; }
  .feature-block:nth-child(even) .feature-content { order: 2; }
  .download-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); padding: 24px; gap: 16px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
}
