/* main.css — TicketDesk Landing Page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #080B12;
  --bg-s:     #0D1117;
  --bg-card:  #111827;
  --bg-card2: #161D2C;
  --border:   rgba(139,92,246,.12);
  --border-m: rgba(139,92,246,.25);
  --purple:   #8B5CF6;
  --purple-l: #A78BFA;
  --purple-d: #6D28D9;
  --indigo:   #4F46E5;
  --green:    #10B981;
  --amber:    #F59E0B;
  --red:      #EF4444;
  --text:     #F9FAFB;
  --text-m:   #9CA3AF;
  --text-d:   #4B5563;
  --font:     'Inter', system-ui, sans-serif;
  --r:        12px;
  --r-lg:     20px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
::selection { background: rgba(139,92,246,.3); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-s); }
::-webkit-scrollbar-thumb { background: var(--purple-d); border-radius: 3px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gradient-text { background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 40%, #6366F1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── NAV ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  background: rgba(8,11,18,.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
.nav.scrolled { background: rgba(8,11,18,.95); border-color: var(--border-m); }
.nav-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 40px; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 700; color: var(--text); }
.logo-mark { display: flex; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(139,92,246,.5)); }
.nav-links { display: flex; align-items: center; gap: 32px; flex: 1; }
.nav-links a { color: var(--text-m); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav-login { color: var(--text-m); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all .15s; }
.btn-nav-login:hover { color: var(--text); background: rgba(255,255,255,.05); }
.btn-nav-cta { background: var(--purple); color: white; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 8px; transition: all .15s; box-shadow: 0 0 20px rgba(139,92,246,.3); }
.btn-nav-cta:hover { background: var(--purple-l); transform: translateY(-1px); box-shadow: 0 0 30px rgba(139,92,246,.5); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-m); border-radius: 2px; transition: all .3s; }
.nav-mobile { display: none; padding: 16px 0; border-top: 1px solid var(--border); flex-direction: column; gap: 4px; }
.nav-mobile a { color: var(--text-m); text-decoration: none; font-size: 15px; padding: 10px 0; display: block; border-radius: 8px; transition: color .15s; }
.nav-mobile a:hover { color: var(--text); }
.btn-mobile-cta { background: var(--purple) !important; color: white !important; padding: 12px 20px !important; border-radius: 10px !important; font-weight: 600 !important; text-align: center; margin-top: 8px; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 24px 80px; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero-glow-1 { width: 600px; height: 600px; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(139,92,246,.18) 0%, transparent 70%); animation: glow-pulse 4s ease-in-out infinite; }
.hero-glow-2 { width: 400px; height: 400px; top: 300px; right: -100px; background: radial-gradient(ellipse, rgba(79,70,229,.12) 0%, transparent 70%); }
@keyframes glow-pulse { 0%,100%{opacity:.6}50%{opacity:1} }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(139,92,246,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.25); border-radius: 100px; font-size: 13px; color: var(--purple-l); margin-bottom: 32px; cursor: pointer; transition: all .2s; }
.hero-badge:hover { background: rgba(139,92,246,.15); border-color: rgba(139,92,246,.4); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.4} }
.hero-title { font-size: clamp(42px, 7vw, 76px); font-weight: 900; line-height: 1.08; letter-spacing: -2px; margin-bottom: 24px; }
.hero-desc { font-size: 18px; color: var(--text-m); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--purple); color: white; text-decoration: none; font-size: 16px; font-weight: 700; padding: 14px 28px; border-radius: 12px; transition: all .2s; box-shadow: 0 0 40px rgba(139,92,246,.4), inset 0 1px 0 rgba(255,255,255,.1); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--purple-l); transform: translateY(-2px); box-shadow: 0 8px 40px rgba(139,92,246,.5); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; color: var(--text-m); text-decoration: none; font-size: 16px; font-weight: 600; padding: 14px 24px; border-radius: 12px; border: 1px solid var(--border-m); background: rgba(255,255,255,.03); transition: all .2s; }
.btn-secondary:hover { color: var(--text); border-color: var(--purple); background: rgba(139,92,246,.08); }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; }
.stat .stat-val { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.stat .stat-lbl { font-size: 13px; color: var(--text-d); margin-top: 2px; }
.stat-div { width: 1px; height: 40px; background: var(--border-m); }

/* Hero preview */
.hero-preview { position: relative; z-index: 1; margin-top: 70px; max-width: 800px; margin-left: auto; margin-right: auto; }
.preview-frame { background: var(--bg-card); border: 1px solid var(--border-m); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 60px rgba(139,92,246,.1); }
.preview-bar { background: #161D2C; padding: 10px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-m); }
.preview-dots span:nth-child(1) { background: #EF4444; }
.preview-dots span:nth-child(2) { background: #F59E0B; }
.preview-dots span:nth-child(3) { background: #10B981; }
.preview-url { flex: 1; background: rgba(255,255,255,.05); border-radius: 6px; padding: 4px 12px; font-size: 12px; color: var(--text-d); text-align: center; }
.preview-body { display: flex; height: 340px; }
.preview-sidebar { width: 52px; background: #0D1117; border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; }
.ps-logo { width: 30px; height: 30px; background: var(--purple); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: white; margin-bottom: 8px; }
.ps-item { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; transition: background .15s; cursor: pointer; }
.ps-item:hover { background: rgba(255,255,255,.05); }
.ps-item.active { background: rgba(139,92,246,.2); }
.preview-main { flex: 1; display: flex; flex-direction: column; padding: 14px; gap: 12px; overflow: hidden; }
.preview-topbar { display: flex; align-items: center; justify-content: space-between; }
.preview-title { font-size: 14px; font-weight: 700; color: var(--text); }
.preview-badge { font-size: 11px; color: var(--green); background: rgba(16,185,129,.1); padding: 3px 8px; border-radius: 100px; border: 1px solid rgba(16,185,129,.2); }
.preview-stats { display: flex; gap: 10px; }
.ps-stat { flex: 1; background: #161D2C; border-radius: 8px; padding: 10px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.ps-stat::before { content:''; position: absolute; top:0;left:0;right:0;height:2px; background: var(--c); opacity:.7; }
.pss-val { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.pss-lbl { font-size: 10px; color: var(--text-d); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.preview-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 8px; background: #161D2C; border-radius: 8px; border: 1px solid var(--border); }
.pc-bar { flex: 1; background: linear-gradient(to top, rgba(139,92,246,.8), rgba(167,139,250,.4)); border-radius: 4px 4px 0 0; height: var(--h); transition: height .3s; }
.preview-tickets { display: flex; flex-direction: column; gap: 6px; }
.pt-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #161D2C; border-radius: 8px; border: 1px solid var(--border); }
.pt-id { font-size: 11px; font-weight: 700; color: var(--purple-l); font-family: monospace; }
.pt-cat { flex: 1; font-size: 12px; color: var(--text-m); }
.pt-badge { font-size: 10px; padding: 2px 8px; border-radius: 100px; font-weight: 600; }
.pt-badge.open { background: rgba(139,92,246,.15); color: var(--purple-l); border: 1px solid rgba(139,92,246,.2); }
.pt-badge.closed { background: rgba(16,185,129,.1); color: var(--green); border: 1px solid rgba(16,185,129,.15); }

/* ── TRUST ────────────────────────────────────────────────────────────── */
.trust { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.01); }
.trust .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; }
.trust-label { font-size: 13px; color: var(--text-d); }
.trust-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-logos span { font-size: 14px; font-weight: 600; color: var(--text-d); opacity: .6; }

/* ── SECTIONS ─────────────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-s); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple-l); margin-bottom: 16px; }
.section-label::before { content:''; width: 20px; height: 1.5px; background: var(--purple); }
.section-title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 18px; }
.section-desc { font-size: 17px; color: var(--text-m); max-width: 560px; line-height: 1.7; margin-bottom: 60px; }

/* ── FEATURES GRID ────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; transition: all .2s; position: relative; overflow: hidden; }
.feature-card::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at top left, rgba(139,92,246,.05) 0%, transparent 60%); pointer-events:none; }
.feature-card:hover { border-color: var(--border-m); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.feature-large { grid-column: span 2; }
.feature-icon-wrap { width: 46px; height: 46px; background: rgba(139,92,246,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; border: 1px solid rgba(139,92,246,.15); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.feature-card p { font-size: 14px; color: var(--text-m); line-height: 1.7; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature-tags span { font-size: 12px; font-weight: 600; color: var(--purple-l); background: rgba(139,92,246,.1); padding: 4px 10px; border-radius: 100px; border: 1px solid rgba(139,92,246,.2); }
.premium-tag { font-size: 11px; font-weight: 700; background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(139,92,246,.2)); color: var(--amber); padding: 2px 7px; border-radius: 100px; border: 1px solid rgba(245,158,11,.2); vertical-align: middle; margin-left: 4px; }
.feature-preview-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 20px; opacity: .7; }
.fpc-bar { flex: 1; border-radius: 3px 3px 0 0; opacity: .6; transition: height .3s; }

/* ── SHOWCASE ─────────────────────────────────────────────────────────── */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-text h2 { font-size: 40px; font-weight: 900; letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 18px; }
.showcase-text p { font-size: 16px; color: var(--text-m); line-height: 1.8; }
.showcase-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.showcase-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-m); }
.showcase-list li span:first-child { color: var(--purple-l); font-weight: 700; flex-shrink: 0; }
.showcase-visual { position: relative; }
.sv-card { background: var(--bg-card2); border: 1px solid var(--border-m); border-radius: 14px; padding: 18px; }
.sv-card-1 { margin-bottom: 12px; }
.sv-card-2 { margin-bottom: 12px; }
.sv-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sv-icon { font-size: 18px; }
.sv-title { font-size: 14px; font-weight: 600; }
.sv-stats { display: flex; gap: 20px; }
.sv-num { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.sv-lbl { font-size: 11px; color: var(--text-d); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.sv-member { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sv-member:last-child { margin-bottom: 0; }
.sv-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: white; flex-shrink: 0; }
.sv-mname { font-size: 13px; font-weight: 600; }
.sv-mstat { font-size: 11px; color: var(--text-d); }
.sv-mbadge { margin-left: auto; font-size: 16px; }
.sv-tag { display: inline-block; font-size: 11px; color: var(--purple-l); background: rgba(139,92,246,.1); padding: 3px 8px; border-radius: 100px; border: 1px solid rgba(139,92,246,.15); }

/* ── PRICING ──────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; position: relative; }
.pricing-featured { border-color: var(--purple); background: linear-gradient(180deg, rgba(139,92,246,.08) 0%, var(--bg-card) 100%); box-shadow: 0 0 60px rgba(139,92,246,.15); }
.pricing-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--purple); color: white; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 100px; letter-spacing: .5px; white-space: nowrap; }
.pricing-name { font-size: 14px; font-weight: 700; color: var(--text-m); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.price-num { font-size: 42px; font-weight: 900; letter-spacing: -2px; }
.price-period { font-size: 14px; color: var(--text-d); }
.pricing-desc { font-size: 14px; color: var(--text-m); margin-bottom: 24px; line-height: 1.6; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; color: var(--text-m); }
.pricing-features li.faded { color: var(--text-d); }
.btn-pricing { display: block; text-align: center; text-decoration: none; font-size: 15px; font-weight: 700; padding: 13px; border-radius: 10px; border: 1px solid var(--border-m); color: var(--text-m); transition: all .2s; }
.btn-pricing:hover { border-color: var(--purple); color: var(--purple-l); background: rgba(139,92,246,.08); }
.btn-pricing-featured { background: var(--purple); border-color: var(--purple); color: white; box-shadow: 0 4px 24px rgba(139,92,246,.4); }
.btn-pricing-featured:hover { background: var(--purple-l); border-color: var(--purple-l); color: white; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(139,92,246,.5); }

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta-section { position: relative; padding: 100px 24px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; width: 600px; height: 400px; top: -100px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(139,92,246,.2) 0%, transparent 70%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: 48px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-inner p { font-size: 18px; color: var(--text-m); margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--text-m); text-decoration: none; border: 1px solid var(--border); transition: all .15s; }
.footer-social a:hover { background: rgba(139,92,246,.15); border-color: var(--border-m); color: var(--purple-l); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.fl-col { display: flex; flex-direction: column; gap: 12px; }
.fl-title { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.fl-col a { color: var(--text-d); text-decoration: none; font-size: 14px; transition: color .15s; }
.fl-col a:hover { color: var(--purple-l); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-d); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-visual { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-mobile.open { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { gap: 24px; }
  .stat .stat-val { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .hero-preview { display: none; }
  .nav-actions { display: none; }
  .cta-inner h2 { font-size: 32px; }
  .section { padding: 70px 0; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-div { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
