/* ── Colors & Design Tokens ── */
:root {
  --bg-dark: #0D0B12;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  
  --primary: #B740FF;   /* Brand Purple */
  --secondary: #D1F4FF; /* Cyan Accents */
  --accent: #EADAF5;    /* Soft Purple */
  
  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Jost', sans-serif;
  
  --radius-lg: 20px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .logo {
  font-family: var(--font-display);
}

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

/* ── Typography & Gradients ── */
.gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-bg {
  background: linear-gradient(135deg, rgba(183, 64, 255, 0.2) 0%, rgba(209, 244, 255, 0.1) 100%);
}

.text-center { text-align: center; }

/* ── Setup Classes ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(13, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--text-main);
}

/* ── Buttons ── */
.btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary {
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--bg-dark);
}
.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-btn:hover {
  background: var(--primary);
}
.shadow-glow {
  box-shadow: 0 8px 25px rgba(183, 64, 255, 0.4);
}

/* ── Glassmorphism ── */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(183,64,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.hero-content {
  flex: 1;
  padding-left: 10%;
  z-index: 2;
}

.chip {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(209, 244, 255, 0.1);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 450px;
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-screenshot {
  max-width: 90%;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(183,64,255,0.4);
  border: 4px solid rgba(255,255,255,0.1);
  background: #fff; /* fallback */
}
.main-screen {
  max-width: 320px;
}

.split-section {
  padding: 100px 0;
  position: relative;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.reverse .split-grid {
  grid-template-columns: 1fr 1fr;
}
.reverse .split-text {
  order: 2;
}
.reverse .split-visual {
  order: 1;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}
.feature-list li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--accent);
}

.card-inline-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.streak-badge {
  position: absolute;
  bottom: 15%;
  left: 10%;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 6s ease-in-out infinite reverse;
}
.badge-icon {
  font-size: 2rem;
}
.badge-text strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-display);
}
.badge-text small {
  color: var(--text-muted);
}

/* ── Features ── */
.features {
  padding: 120px 0;
  position: relative;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
}

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

.card {
  padding: 40px 30px;
  border-radius: var(--radius-xl);
  text-align: left;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.interactive-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(209, 244, 255, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
}
.cyan-glow { text-shadow: 0 0 20px rgba(209, 244, 255, 0.4); }
.purple-glow { text-shadow: 0 0 20px rgba(183, 64, 255, 0.4); }
.pink-glow { text-shadow: 0 0 20px rgba(255, 105, 180, 0.4); }

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Banner ── */
.cta-section {
  padding: 60px 5%;
}
.cta-banner {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(183, 64, 255, 0.2);
}
.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.cta-banner p {
  color: var(--accent);
  margin-bottom: 30px;
}

/* ── Footer ── */
.footer {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 250px;
}
.footer-links h4 {
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-main);
}

/* ── Animations ── */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}
.float-anim {
  animation: float 8s ease-in-out infinite;
}
.float-anim-delayed {
  animation: float 9s ease-in-out infinite 2s;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards ease-out;
}
.slide-in {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideIn 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ── Responsive ── */
@media(max-width: 900px) {
  .split-grid, .reverse .split-grid {
    grid-template-columns: 1fr;
  }
  .reverse .split-text { order: 1; }
  .reverse .split-visual { order: 2; }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  .hero-content {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
  }
  .cta-group { justify-content: center; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 10px auto; }
}
