/* ============================================
   GediChat Landing Page — Design System
   gedichat.com
   ============================================ */

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

/* ---------- TOKENS ---------- */
:root {
  --bg-primary: #0D0E15;
  --bg-secondary: #111322;
  --bg-card: #161828;
  --bg-card-hover: #1C1F35;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);

  --text-primary: #FFFFFF;
  --text-secondary: #C5C9D6;
  --text-muted: #7A7F96;

  --orange: #FF6B35;
  --pink: #EC4899;
  --cyan: #06B6D4;
  --indigo: #6366F1;
  --green: #10B981;

  --gradient-brand: linear-gradient(135deg, #FF6B35, #EC4899);
  --gradient-brand-reverse: linear-gradient(135deg, #EC4899, #FF6B35);
  --gradient-cyan: linear-gradient(135deg, #06B6D4, #6366F1);

  --glow-orange: 0 0 40px rgba(255,107,53,0.3);
  --glow-pink: 0 0 40px rgba(236,72,153,0.3);
  --glow-cyan: 0 0 40px rgba(6,182,212,0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ---------- RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul { list-style: none; }

/* ---------- UTILITY ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  background: rgba(13,14,21,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand .gedi { color: var(--orange); }
.nav-brand .chat { color: var(--text-primary); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-brand) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-orange);
}

.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  width: fit-content;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
}

.hero-punjabi {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-brand);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(255,107,53,0.35);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255,107,53,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

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

.hero-mockup {
  position: relative;
  z-index: 2;
}

.hero-mockup img {
  max-height: 580px;
  width: auto;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border: 2px solid rgba(255,255,255,0.08);
}

.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  z-index: -1;
  border-radius: 40px;
}

/* ---------- FEATURES ---------- */
.features { background: var(--bg-secondary); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:nth-child(1)::before { background: var(--gradient-brand); }
.feature-card:nth-child(2)::before { background: var(--gradient-cyan); }
.feature-card:nth-child(3)::before { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.feature-card:nth-child(4)::before { background: linear-gradient(135deg, var(--indigo), var(--pink)); }
.feature-card:nth-child(5)::before { background: linear-gradient(135deg, var(--orange), #F59E0B); }
.feature-card:nth-child(6)::before { background: linear-gradient(135deg, var(--pink), var(--indigo)); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(255,107,53,0.12); }
.feature-card:nth-child(2) .feature-icon { background: rgba(6,182,212,0.12); }
.feature-card:nth-child(3) .feature-icon { background: rgba(16,185,129,0.12); }
.feature-card:nth-child(4) .feature-icon { background: rgba(236,72,153,0.12); }
.feature-card:nth-child(5) .feature-icon { background: rgba(245,158,11,0.12); }
.feature-card:nth-child(6) .feature-icon { background: rgba(99,102,241,0.12); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ---------- SCREENSHOTS ---------- */
.screenshots-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 0 3rem 0;
  margin-top: 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar { display: none; }

.screenshot-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  position: relative;
  transition: var(--transition);
}

.screenshot-item:hover {
  transform: translateY(-8px);
}

.screenshot-item img {
  height: 480px;
  width: auto;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.screenshot-label {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works { background: var(--bg-secondary); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(33.33% - 1rem);
  right: calc(33.33% - 1rem);
  height: 3px;
  background: linear-gradient(to right, var(--orange), var(--pink), var(--cyan));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  box-shadow: var(--glow-orange);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- BETA CTA ---------- */
.beta-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.beta-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.beta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.beta-card .section-title {
  margin-bottom: 1rem;
}

.beta-card .section-subtitle {
  margin: 0 auto 2rem;
  text-align: center;
}

.beta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.copy-link-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.75rem 0.6rem 1.25rem;
  margin-top: 0.5rem;
  width: fit-content;
}

.copy-link-box code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
}

.copy-btn {
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  color: var(--cyan);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(6,182,212,0.2);
}

.copy-btn.copied {
  background: rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.3);
  color: var(--green);
}

/* ---------- FOUNDER ---------- */
.founder-section { background: var(--bg-secondary); }

.founder-card {
  display: block;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 800px;
  margin: 2rem auto 0;
}

.founder-quote-icon {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: -1rem;
  display: inline-block;
  opacity: 0.25;
}

.founder-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  text-align: center;
}

.founder-role {
  color: var(--pink);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.founder-quote {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  text-align: center;
  border-left: none;
  padding-left: 0;
}

.founder-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.founder-links a {
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 500;
  transition: var(--transition-fast);
}

.founder-links a:hover {
  color: var(--text-primary);
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-brand .gedi { color: var(--orange); }
.footer-brand .chat { color: var(--text-primary); }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-right {
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--text-primary); }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content { align-items: center; }
  .hero-badge { margin: 0 auto; }
  .hero-description { margin: 0 auto; }
  .hero-actions { justify-content: center; }

  .hero-mockup img {
    max-height: 420px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps-grid::before { display: none; }

  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }

  .founder-avatar { margin: 0 auto; }
  .founder-quote { border-left: none; padding-left: 0; text-align: center; }
  .founder-links { justify-content: center; }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

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

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: -2rem;
    width: 100vw;
    height: calc(100vh - 70px);
    background: rgba(13,14,21,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 1000;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    font-size: 1.3rem;
  }

  .hamburger { display: flex; }

  .beta-card { padding: 2.5rem 1.5rem; }
}

@media (max-width: 600px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-punjabi {
    font-size: 1.1rem;
  }

  .screenshot-item img {
    height: 360px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
