/* ============================================================================
   STREAMIO — Marketing site styles
   Inspired by premium streaming UIs : dark, cinematic, premium
   ============================================================================ */

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

:root {
  --bg-0: #060814;
  --bg-1: #0a0e1a;
  --bg-2: #111627;
  --bg-3: #1a2138;
  --fg-0: #ffffff;
  --fg-1: #e2e8f0;
  --fg-2: #94a3b8;
  --fg-3: #64748b;
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow-glow: 0 20px 60px -10px rgba(124, 58, 237, 0.4);
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--fg-1);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background ambient gradient */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}
body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -40px); }
}

main, header, footer { position: relative; z-index: 1; }

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

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

/* === HEADER === */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 20, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg-0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}
.brand-icon svg { width: 20px; height: 20px; fill: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--fg-2);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--fg-0);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: white !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
  color: white !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg-0);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-cta { display: none; }
}

/* === HERO === */

.hero {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg-0);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.6);
  color: white;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-0);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fg-0);
  transform: translateY(-2px);
}

/* App preview mockup */
.hero-preview {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}
.device-mockup {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 40px 80px -20px rgba(124, 58, 237, 0.4),
    0 20px 40px -10px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}
.device-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}
.device-screen {
  background: #0a0e1a;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

/* === SECTIONS === */

.section {
  padding: 100px 24px;
  position: relative;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 auto;
}

/* === Available on === */

.platforms {
  background: linear-gradient(180deg, transparent 0%, var(--bg-1) 50%, transparent 100%);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.platform-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s;
}
.platform-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.platform-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-0);
  transition: all 0.3s;
}
.platform-card:hover .platform-icon {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.05) rotate(-3deg);
  color: white;
}
.platform-icon svg {
  width: 26px;
  height: 26px;
}
.platform-card .name {
  font-weight: 600;
  color: var(--fg-0);
  font-size: 14px;
}
.platform-card .meta {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 4px;
}

/* === Features === */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}
.feature:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
  background: rgba(124, 58, 237, 0.05);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg-0);
  margin-bottom: 10px;
  font-weight: 600;
}
.feature p {
  color: var(--fg-2);
  line-height: 1.6;
  font-size: 15px;
}

/* === Comparison === */

.compare {
  background: var(--bg-1);
}
.compare-table {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
  background: rgba(124, 58, 237, 0.1);
  font-weight: 600;
  color: var(--fg-0);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-row .label { color: var(--fg-1); }
.compare-row .yes { color: #4ade80; text-align: center; font-weight: 600; }
.compare-row .no { color: #ef4444; text-align: center; }
.compare-row .star { color: var(--accent-cyan); text-align: center; font-weight: 700; }

/* === CTA Section === */

.cta-section {
  text-align: center;
  padding: 100px 24px;
}
.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--gradient);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M50 0v100M0 50h100' stroke='white' stroke-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: white;
  margin-bottom: 16px;
  position: relative;
}
.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 32px;
  position: relative;
}
.cta-card .btn-primary {
  background: white;
  color: var(--accent-purple);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* === FOOTER === */

.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  color: var(--fg-2);
  font-size: 14px;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--fg-0);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--fg-2);
  font-size: 14px;
}
.footer-col a:hover { color: var(--fg-0); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-3);
}

/* === DOWNLOADS PAGE === */

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.download-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}
.download-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
}
.download-card .platform-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-0);
  transition: all 0.3s;
}
.download-card:hover .platform-logo {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}
.download-card .platform-logo svg {
  width: 38px;
  height: 38px;
}
.download-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-0);
  margin-bottom: 8px;
}
.download-card .version {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.download-card p.desc {
  color: var(--fg-2);
  font-size: 14px;
  margin-bottom: 24px;
  min-height: 44px;
}
.coming-soon {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #ec4899;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  margin-top: 12px;
}

/* === TUTORIALS PAGE === */

.tutorial-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.tutorial {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}
.tutorial:hover {
  border-color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.05);
}
.tutorial-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 16px;
}
.tutorial h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--fg-0);
  margin-bottom: 10px;
}
.tutorial ol {
  color: var(--fg-2);
  font-size: 14px;
  padding-left: 20px;
  line-height: 1.8;
}

/* === SUPPORT PAGE === */

.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .support-layout { grid-template-columns: 1fr; }
}
.support-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
}
.support-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-0);
  margin-bottom: 16px;
}
.support-card p { color: var(--fg-2); margin-bottom: 16px; font-size: 15px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 14px 20px;
  border-radius: 12px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 16px;
  margin-top: 16px;
  font-family: var(--font-display);
}

.faq { margin-top: 24px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  color: var(--fg-0);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--fg-3); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  margin-top: 12px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* === LEGAL PAGE === */

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 50px;
}
.legal-content h2 {
  font-family: var(--font-display);
  color: var(--fg-0);
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  color: var(--fg-0);
  font-size: 17px;
  margin-top: 22px;
  margin-bottom: 8px;
}
.legal-content p, .legal-content ul {
  color: var(--fg-2);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content .updated {
  color: var(--fg-3);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  margin-bottom: 30px;
}

/* === Page header === */

.page-header {
  text-align: center;
  padding: 100px 24px 40px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: var(--fg-0);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-header p {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 600px;
  margin: 0 auto;
}

/* === Mini app screen (visual mockup for hero) === */

.mockup-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
}
.mockup-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mockup-logo {
  width: 24px; height: 24px;
  background: var(--gradient);
  border-radius: 6px;
}
.mockup-tabs { display: flex; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.5); }
.mockup-tabs span:first-child { color: white; font-weight: 600; }
.mockup-row { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mockup-row-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mockup-cards { display: flex; gap: 8px; overflow: hidden; }
.mockup-card {
  flex: 0 0 16%;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px 5px;
  font-size: 7px;
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.mockup-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.mockup-card > * { position: relative; z-index: 2; }
.mockup-card .mp-genre {
  font-size: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
  margin-bottom: 1px;
  font-weight: 500;
}

/* 6 styles de "posters" fictifs avec compositions différentes */
.mockup-card.mp-1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 40%),
    linear-gradient(135deg, #1e1b4b 0%, #7c3aed 50%, #ec4899 100%);
}
.mockup-card.mp-2 {
  background:
    radial-gradient(circle at 70% 60%, rgba(6,182,212,0.5) 0%, transparent 50%),
    linear-gradient(160deg, #0c4a6e 0%, #0e7490 50%, #06b6d4 100%);
}
.mockup-card.mp-3 {
  background:
    radial-gradient(circle at 50% 20%, rgba(251,191,36,0.4) 0%, transparent 40%),
    linear-gradient(180deg, #7f1d1d 0%, #dc2626 60%, #f59e0b 100%);
}
.mockup-card.mp-4 {
  background:
    radial-gradient(circle at 30% 70%, rgba(16,185,129,0.4) 0%, transparent 40%),
    linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%);
}
.mockup-card.mp-5 {
  background:
    radial-gradient(circle at 60% 30%, rgba(255,255,255,0.25) 0%, transparent 50%),
    linear-gradient(135deg, #1e293b 0%, #475569 50%, #94a3b8 100%);
}
.mockup-card.mp-6 {
  background:
    radial-gradient(circle at 40% 50%, rgba(236,72,153,0.5) 0%, transparent 50%),
    linear-gradient(135deg, #581c87 0%, #a855f7 50%, #ec4899 100%);
}

/* === PRICING === */

.pricing-section {
  background: linear-gradient(180deg, transparent 0%, var(--bg-1) 50%, transparent 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 2px solid var(--accent-purple);
  box-shadow: 0 24px 48px -12px rgba(124, 58, 237, 0.4);
  transform: scale(1.02);
}
.price-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-2);
}
.price-badge.featured {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--fg-0);
  margin-bottom: 16px;
  margin-top: 12px;
  font-weight: 600;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.price-amount .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--fg-0);
  letter-spacing: -0.02em;
}
.price-card.featured .price-amount .amount {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-amount .duration {
  font-size: 14px;
  color: var(--fg-3);
  font-weight: 500;
}
.price-desc {
  color: var(--fg-2);
  font-size: 14px;
  margin-bottom: 24px;
  min-height: 40px;
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  padding: 8px 0;
  color: var(--fg-1);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }

/* === PORTAL (login + dashboard) === */

.portal-layout {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.portal-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 48px 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(124, 58, 237, 0.4);
}
.portal-card-wide {
  max-width: 720px;
}
.portal-header {
  text-align: center;
  margin-bottom: 32px;
}
.portal-header h1 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--fg-0);
  margin-bottom: 8px;
}
.portal-header p {
  color: var(--fg-2);
  font-size: 14px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--fg-0);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.06);
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
  font-size: 13px;
}
.form-group .help {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 6px;
}

.captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.captcha-image {
  width: 100px;
  height: 44px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.3em;
  color: var(--accent-cyan);
  user-select: none;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}
.refresh-captcha {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg-2);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.refresh-captcha:hover { color: var(--fg-0); border-color: var(--accent-purple); }

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86efac;
}
.alert-info {
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--fg-1);
}

.dashboard-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .dashboard-status { grid-template-columns: 1fr; } }
.status-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.status-tile .label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.status-tile .value {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--fg-0);
  font-weight: 600;
}
.status-tile.trial .value { color: #fbbf24; }
.status-tile.active .value { color: #4ade80; }
.status-tile.expired .value { color: #ef4444; }

.tab-bar {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}
.tab-bar button {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--fg-2);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.tab-bar button.active {
  background: var(--gradient);
  color: white;
}

.portal-footer-link {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--fg-3);
}
.portal-footer-link a { color: var(--accent-cyan); }
