/* ========================================================================
   Tickit Landing Page — style.css
   Font: Plus Jakarta Sans (Google Fonts)
   ======================================================================== */

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

:root {
  --bg-0:       #080b14;
  --bg-1:       #0d1120;
  --bg-2:       #111827;
  --bg-card:    #111827cc;
  --border:     rgba(99,102,241,.18);
  --border-2:   rgba(255,255,255,.06);
  --text-1:     #f1f5f9;
  --text-2:     #94a3b8;
  --text-3:     #64748b;
  --indigo:     #6366f1;
  --indigo-lt:  #818cf8;
  --violet:     #8b5cf6;
  --cyan:       #22d3ee;
  --green:      #10b981;
  --amber:      #f59e0b;
  --red:        #ef4444;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --shadow-card: 0 0 0 1px rgba(99,102,241,.12), 0 8px 32px rgba(0,0,0,.4);
  --font:       'Plus Jakarta Sans', system-ui, sans-serif;
  --max-w:      1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,11,20,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-2);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}

.logo-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800; color: #fff;
  box-shadow: 0 0 16px rgba(99,102,241,.5);
}

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

.nav-links a {
  color: var(--text-2);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text-1); }

.btn-nav {
  padding: 8px 18px;
  border-radius: 9px;
  background: rgba(99,102,241,.15);
  color: var(--indigo-lt) !important;
  border: 1px solid rgba(99,102,241,.3);
  font-weight: 600 !important;
  font-size: .84rem !important;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-nav:hover {
  background: rgba(99,102,241,.25);
  border-color: rgba(99,102,241,.5);
  transform: translateY(-1px);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  box-shadow: 0 0 28px rgba(99,102,241,.4), 0 4px 16px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99,102,241,.6), 0 8px 24px rgba(0,0,0,.4);
}

.btn-primary-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-2);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--border-2);
  transition: color .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover {
  color: var(--text-1);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-1px);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .5;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.35) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  animation: float1 8s ease-in-out infinite;
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,.25) 0%, transparent 70%);
  top: 200px; left: 20%;
  animation: float2 10s ease-in-out infinite;
}
.glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(34,211,238,.15) 0%, transparent 70%);
  top: 100px; right: 15%;
  animation: float1 12s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-24px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

.hero-container { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  color: var(--indigo-lt);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo-lt) 0%, var(--violet) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ── App Preview Window ───────────────────────────────────────────────── */
.preview-wrapper {
  max-width: 780px;
  margin: 0 auto;
  animation: preview-in .8s cubic-bezier(.22,.61,.36,1) both;
  animation-delay: .3s;
}

@keyframes preview-in {
  from { opacity: 0; transform: translateY(32px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.preview-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-1);
  box-shadow: 0 0 0 1px rgba(99,102,241,.08), 0 32px 80px rgba(0,0,0,.6);
  overflow: hidden;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-2);
}

.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.preview-url {
  margin-left: 12px;
  font-size: .75rem;
  color: var(--text-3);
  font-family: monospace;
  background: rgba(255,255,255,.04);
  padding: 3px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-2);
}

.preview-body {
  display: flex;
  min-height: 280px;
}

.preview-sidebar {
  width: 180px;
  min-width: 180px;
  padding: 16px 12px;
  background: rgba(0,0,0,.25);
  border-right: 1px solid var(--border-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preview-brand {
  font-weight: 700;
  font-size: .85rem;
  color: var(--indigo-lt);
  padding: 6px 10px 14px;
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 8px;
}

.preview-item {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  color: var(--text-3);
  cursor: default;
  transition: background .15s, color .15s;
}
.preview-item:hover { background: rgba(255,255,255,.05); color: var(--text-2); }
.preview-item-active {
  background: rgba(99,102,241,.18);
  color: var(--indigo-lt);
  font-weight: 600;
}
.preview-item-muted { opacity: .5; font-style: italic; }

.preview-main {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.preview-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-1);
}

.preview-add-btn {
  font-size: .75rem;
  color: var(--indigo-lt);
  background: rgba(99,102,241,.15);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: default;
  border: 1px solid rgba(99,102,241,.2);
}

.preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-2);
  transition: background .15s;
}
.preview-card:hover { background: rgba(255,255,255,.055); }

.preview-card-done { opacity: .55; }

.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.check-empty {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.preview-card-urgent .check-empty { border-color: rgba(239,68,68,.4); }

.card-title {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-1);
}

.card-sub {
  font-size: .72rem;
  color: var(--text-3);
  margin-top: 2px;
}

.card-sub-urgent { color: var(--red) !important; }

/* ── Features ─────────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,.04) 50%, transparent);
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo-lt);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(12px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(99,102,241,.1);
}

.feature-live {
  border-color: rgba(16,185,129,.15);
  background: linear-gradient(135deg, rgba(16,185,129,.04), transparent);
}
.feature-live:hover { border-color: rgba(16,185,129,.35); }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.badge-live {
  background: rgba(16,185,129,.12);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.2);
}

.badge-planned {
  background: rgba(99,102,241,.1);
  color: var(--indigo-lt);
  border: 1px solid rgba(99,102,241,.2);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.feature-card p {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Roadmap / Timeline ───────────────────────────────────────────────── */
.roadmap {
  padding: 100px 0;
}

.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--indigo) 0%, rgba(99,102,241,.1) 100%);
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 32px;
}

.timeline-dot {
  position: absolute;
  left: -27px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border);
  transition: background .2s, border-color .2s;
}

.timeline-done .timeline-dot {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 12px rgba(16,185,129,.5);
}

.timeline-active .timeline-dot {
  background: var(--indigo);
  border-color: var(--indigo-lt);
  box-shadow: 0 0 16px rgba(99,102,241,.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 8px rgba(99,102,241,.5); }
  50%      { box-shadow: 0 0 20px rgba(99,102,241,.8); }
}

.timeline-phase {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.timeline-done .timeline-phase { color: var(--green); }
.timeline-active .timeline-phase { color: var(--indigo-lt); }

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.timeline-content p {
  font-size: .875rem;
  color: var(--text-2);
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-container { position: relative; z-index: 1; }

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.cta-section p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-2);
}

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

.logo-sm { font-size: .95rem; }
.logo-icon-sm {
  width: 26px; height: 26px;
  font-size: .75rem;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: .875rem;
  color: var(--text-3);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text-2); }

.footer-copy {
  font-size: .8rem;
  color: var(--text-3);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
.br-lg { display: none; }

@media (min-width: 768px) { .br-lg { display: block; } }

@media (max-width: 640px) {
  .preview-sidebar { display: none; }
  .hero { padding-top: 100px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 300px; justify-content: center; }
  .nav-links a:not(.btn-nav) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .preview-url { display: none; }
}
