/* Global Variable Styling */
:root {
  --primary: #6C63FF;
  --primary-light: #8B84FF;
  --primary-dark: #4E45D8;
  --accent: #00F2FE;
  
  --dark-bg: #0C091A;
  --dark-card: #141226;
  --dark-border: #262444;
  
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

/* ── Typebot bubble: prevent horizontal overflow on mobile ── */
typebot-bubble,
typebot-bubble * {
  box-sizing: border-box !important;
  max-width: 100vw !important;
}

typebot-bubble {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  left: auto !important;
  z-index: 999 !important;
}




/* Typography */
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Common Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(12, 9, 26, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
}

.nav-wrapper {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent);
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(10, 132, 255, 0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .logo-img {
  box-shadow: 0 0 28px rgba(10, 132, 255, 0.6);
  transform: scale(1.06);
}

.logo-spark {
  animation: logoPulse 2s infinite ease-in-out;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

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

nav a.nav-admin-btn {
  background-color: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--primary-light);
}

nav a.nav-admin-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 15px rgba(108, 99, 255, 0.4);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.18;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  top: 10%;
  left: -5%;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background-color: var(--accent);
  bottom: 10%;
  right: -5%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  background-color: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.store-btn {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 12px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-btn:hover {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.store-icon {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-text span {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-text strong {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  width: 100%;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-item strong {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Hero Mockup Animation Frame */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-ring {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 60%);
  z-index: 0;
  animation: pulseRing 4s infinite alternate ease-in-out;
}

.mockup-frame {
  width: 290px;
  height: 590px;
  background-color: #000;
  border: 10px solid #1E1A34;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(108, 99, 255, 0.25);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.mockup-screen {
  background-color: var(--dark-bg);
  width: 100%;
  height: 100%;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}

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

.app-header span {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 15px;
}

.app-user-avatar {
  width: 28px;
  height: 28px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
}

/* simulated stats card inside the mockup app screen */
.app-stats-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(108, 99, 255, 0.3);
}

.app-stat-subcard {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-stat-subcard.highlighted {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.14);
}

.app-stat-icon {
  font-size: 14px;
  margin-bottom: 4px;
}

.app-stat-subcard strong {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
}

.app-stat-subcard label {
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  margin-top: 1px;
}

.app-recent-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.app-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-action-item {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-emoji {
  font-size: 16px;
}

.action-details {
  flex-grow: 1;
}

.action-details strong {
  font-size: 11px;
  display: block;
  margin-bottom: 1px;
}

.action-details p {
  font-size: 8px;
  color: var(--text-muted);
}

.action-arrow {
  font-size: 11px;
  color: var(--text-muted);
}

/* Features Grid Section */
.features-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
}

.section-header h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 32px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 99, 255, 0.35);
  box-shadow: 0 16px 32px rgba(108, 99, 255, 0.08);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.02);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Pricing Grid Showcase */
.pricing-section {
  padding: 100px 0 140px 0;
  position: relative;
}

.pricing-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background-color: rgba(108, 99, 255, 0.1);
  filter: blur(140px);
  top: 30%;
  left: 30%;
  z-index: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 40px;
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, #181535 0%, var(--dark-card) 100%);
  position: relative;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: #0C091A;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.price {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.price span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-desc {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 32px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.plan-features li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li:contains("✗") {
  color: var(--text-muted);
}

.plan-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.pricing-card.popular .plan-btn {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.pricing-card.popular .plan-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.plan-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Footer Section */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 0;
  background-color: #080612;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

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

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

/* ======================================================== */
/* NEW FEATURES & CREATIVE EXTENSIONS */
/* ======================================================== */

/* Roadmap Section */
.roadmap-section {
  padding: 100px 0;
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.roadmap-step {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 40px 32px;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.roadmap-step:hover {
  transform: translateY(-5px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.step-num {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  opacity: 0.85;
}

.roadmap-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.roadmap-step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Playground Section */
.playground-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.playground-wrapper {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 32px;
  margin-top: 48px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.playground-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 24px;
}

.play-tab-btn {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--dark-border);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.play-tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
}

.playground-display-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.play-pane {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.play-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.play-pane h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Pane Split (OCR / Side-by-side) */
.pane-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pane-side {
  display: flex;
  flex-direction: column;
}

.simulated-image-slide {
  background: linear-gradient(135deg, #1A1836 0%, #0F0E22 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.simulated-image-slide p {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 16px;
  margin-bottom: 12px;
}

.simulated-image-slide ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.simulated-image-slide li {
  font-size: 12px;
  color: #BAC2DE;
  display: flex;
  align-items: center;
  gap: 8px;
}

.simulated-image-slide li::before {
  content: '•';
  color: var(--primary-light);
  font-weight: bold;
}

.simulated-text-box {
  background-color: #080612;
  border: 1px solid var(--dark-border);
  color: #10B981;
  font-family: monospace;
  font-size: 12px;
  padding: 18px;
  border-radius: 16px;
  height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  line-height: 1.5;
}

/* Summary Simulation styles */
.simulated-summary-box {
  background-color: #0E0C1F;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
}

.simulated-summary-box h5 {
  font-family: var(--font-title);
  font-size: 16px;
  color: white;
  margin-bottom: 16px;
}

.simulated-summary-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.simulated-summary-box li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.simulated-summary-box li strong {
  color: var(--primary-light);
}

/* RAG note chat simulation */
.simulated-chat-box {
  background-color: #080612;
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 320px;
  overflow-y: auto;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-msg.user {
  background-color: var(--primary-dark);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.assistant {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-msg.assistant strong {
  color: var(--accent);
}

/* Simulated Quiz styles */
.simulated-quiz-box {
  background-color: #0E0C1F;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px;
  max-width: 600px;
  margin: 0 auto;
}

.quiz-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-option-btn {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--dark-border);
  color: var(--text-secondary);
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.quiz-option-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.quiz-option-btn.correct-choice {
  background-color: rgba(16, 185, 129, 0.12) !important;
  border-color: #10B981 !important;
  color: #10B981 !important;
}

.quiz-option-btn.incorrect-choice {
  background-color: rgba(239, 68, 68, 0.12) !important;
  border-color: #EF4444 !important;
  color: #EF4444 !important;
}

.quiz-feedback {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  animation: fadeIn 0.3s ease-in;
}

/* Flashcards Container and 3D flipping styles */
.simulated-flashcard-container {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.simulated-flashcard {
  width: 320px;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-front {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.card-back {
  background: linear-gradient(135deg, #0A0915 0%, #15132D 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent);
  transform: rotateY(180deg);
}

.simulated-flashcard.flipped .card-front {
  transform: rotateY(180deg);
}

.simulated-flashcard.flipped .card-back {
  transform: rotateY(360deg);
}

.card-face span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 12px;
}

.card-face p {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.card-face small {
  font-size: 10px;
  opacity: 0.65;
}

/* Science Section */
.science-section {
  padding: 100px 0;
  position: relative;
  background-color: #070511;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.science-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  opacity: 0.08;
  filter: blur(120px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.science-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.science-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.science-badge {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.science-text h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.science-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.science-text p strong {
  color: white;
}

.science-illustration {
  display: flex;
  justify-content: center;
}

.curve-chart-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.curve-header {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
}

.simulated-chart-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-group span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.bar-fill {
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 11px;
  font-weight: bold;
  color: #0C091A;
  transition: width 1s ease-in-out;
}

.bar-fill.red {
  background: linear-gradient(90deg, #F87171, #EF4444);
  color: white;
}

.bar-fill.green {
  background: linear-gradient(90deg, #34D399, #10B981);
  color: white;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 48px auto 0 auto;
}

.faq-item {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(108, 99, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.01);
}

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

.faq-question h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-toggle-icon {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s ease;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(108, 99, 255, 0.35);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.04);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 16px;
}

.faq-item.active .faq-toggle-icon {
  color: var(--accent);
}

/* ======================================================== */
/* CTA BANNER SECTION */
/* ======================================================== */
.cta-section {
  padding: 100px 0 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(20, 18, 38, 0.95) 100%);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 28px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(108, 99, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Simulated glowing ambient backdrop inside card */
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: pulseRing 6s infinite alternate ease-in-out;
}

.cta-card h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-weight: 800;
  background: linear-gradient(135deg, #FFF 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-store-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

/* Adjust store button specific overrides inside CTA for elevated look */
.cta-card .store-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-card .store-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

/* Keyframe Animations */
@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0, 242, 254, 0)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.8)); }
}

@keyframes pulseRing {
  0% { transform: scale(0.95) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.05) rotate(5deg); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 40px;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .roadmap-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }
  
  .science-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .science-text {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 38px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-wrapper {
    flex-direction: row;
    height: 64px;
    padding: 0;
    gap: 0;
  }

  .desktop-nav {
    display: none !important;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .playground-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pane-split {
    grid-template-columns: 1fr;
  }
  
  .quiz-options {
    grid-template-columns: 1fr;
  }
  
  .cta-store-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .cta-card {
    padding: 60px 24px;
  }
  
  .cta-card h2 {
    font-size: 30px;
  }
}

/* ======================================================== */
/* NEW LOGO SVG STYLES                                       */
/* ======================================================== */
.logo-icon-svg {
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(10, 132, 255, 0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .logo-icon-svg {
  box-shadow: 0 0 28px rgba(10, 132, 255, 0.6);
  transform: scale(1.06);
}

/* ======================================================== */
/* APP SCREENSHOTS SECTION                                   */
/* ======================================================== */
.screenshots-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.screenshots-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.screenshots-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
}

.ss-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
}

.ss-tab:hover {
  color: var(--text-primary);
  border-color: rgba(10, 132, 255, 0.3);
  background: rgba(10, 132, 255, 0.06);
}

.ss-tab.active {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.25), rgba(79, 168, 255, 0.15));
  border-color: rgba(10, 132, 255, 0.6);
  color: #4FA8FF;
  box-shadow: 0 0 20px rgba(10, 132, 255, 0.2);
}

.screenshots-showcase {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

/* Left context panel */
.ss-context-panel {
  position: relative;
}

.ss-context-item {
  display: none;
  animation: fadeInLeft 0.45s ease-out forwards;
}

.ss-context-item.active {
  display: block;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ss-badge {
  display: inline-block;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.3);
  color: #4FA8FF;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ss-context-item h3 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: var(--font-title);
}

.ss-context-item > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.ss-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ss-feature-list li {
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.ss-feature-list li:hover {
  background: rgba(10, 132, 255, 0.05);
  border-color: rgba(10, 132, 255, 0.2);
  transform: translateX(4px);
}

/* Right phone mockup */
/* Right phone mockup */
.ss-phone-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ss-phone-ring {
  position: absolute;
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.08) 0%, transparent 65%);
  animation: pulseRing 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.ss-phone-wrapper {
  position: relative;
  width: 290px;
  height: 565px; /* Adjusted to perfectly match 506x1024 screenshot aspect ratio */
  transition: all 0.3s ease;
}

.ss-phone-frame {
  width: 100%;
  height: 100%;
  background: #000;
  border: 11px solid #1C2333;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.75),
    0 0 0 2px rgba(255, 255, 255, 0.06),
    0 0 0 4px #0C091A,
    0 0 60px rgba(10, 132, 255, 0.15);
}

/* Dynamic Island (Hidden because screenshots already have it) */
.ss-phone-frame::before {
  display: none;
}

/* Home Indicator Line */
.ss-phone-frame::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  z-index: 10;
}

/* Screen Glare Overlay */
.ss-phone-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.02) 100%);
  z-index: 9;
  pointer-events: none;
}

/* Outer physical buttons on the device */
.ss-phone-button {
  position: absolute;
  background: #1C2333;
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.ss-phone-button.volume-up {
  width: 4px;
  height: 45px;
  left: -4px;
  top: 130px;
  border-radius: 3px 0 0 3px;
}

.ss-phone-button.volume-down {
  width: 4px;
  height: 45px;
  left: -4px;
  top: 190px;
  border-radius: 3px 0 0 3px;
}

.ss-phone-button.power {
  width: 4px;
  height: 60px;
  right: -4px;
  top: 160px;
  border-radius: 0 3px 3px 0;
}

.ss-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* Prevent any zooming or cropping */
  object-position: top center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ss-img.active {
  opacity: 1;
}

/* ======================================================== */
/* TESTIMONIALS SECTION                                      */
/* ======================================================== */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.02) 0%, transparent 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card.featured-testimonial {
  border-color: rgba(10, 132, 255, 0.4);
  background: linear-gradient(160deg, rgba(10, 132, 255, 0.06) 0%, var(--dark-card) 100%);
  box-shadow: 0 0 40px rgba(10, 132, 255, 0.08);
}

.testimonial-stars {
  font-size: 18px;
  color: #F59E0B;
  letter-spacing: 3px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ======================================================== */
/* RESPONSIVE — SCREENSHOTS & TESTIMONIALS                   */
/* ======================================================== */
@media (max-width: 1024px) {
  .screenshots-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ss-phone-carousel {
    order: -1;
  }

  .ss-phone-wrapper {
    width: 240px;
    height: 486px;
  }

  .ss-phone-button {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .screenshots-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ss-tab {
    padding: 10px 18px;
    font-size: 13px;
  }

  .ss-context-item h3 {
    font-size: 28px;
  }

  .ss-phone-wrapper {
    width: 210px;
    height: 426px;
  }
}

/* ======================================================== */
/* UNIVERSITY TRUST BADGES                                  */
/* ======================================================== */
.uni-trust-container {
  margin-top: 48px;
  width: 100%;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.uni-trust-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.uni-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.uni-logo {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.uni-logo span {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  opacity: 0.65;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.uni-logo:hover {
  background: rgba(108, 99, 255, 0.08);
  border-color: rgba(108, 99, 255, 0.25);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.15);
  transform: translateY(-2px);
}

.uni-logo:hover span {
  color: var(--text-primary);
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================== */
/* CHECKOUT BRIDGE MODAL                                    */
/* ======================================================== */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 4, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

.checkout-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(135deg, var(--dark-card) 0%, #17142E 100%);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 28px;
  padding: 40px;
  z-index: 2;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(108, 99, 255, 0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.checkout-modal.active .checkout-modal-content {
  transform: scale(1) translateY(0);
}

.checkout-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkout-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.checkout-modal-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: inline-block;
  animation: checkoutIconFloat 3s infinite ease-in-out;
}

@keyframes checkoutIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.checkout-modal-content h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #00F2FE, #8B84FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.checkout-modal-subtitle {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.checkout-modal-instructions {
  background: rgba(12, 9, 26, 0.4);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.checkout-modal-instructions p {
  font-size: 13.5px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.5;
}

.checkout-modal-instructions ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-modal-instructions li {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checkout-modal-instructions li strong {
  color: var(--text-primary);
}

.checkout-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.checkout-modal-buttons .store-btn.primary-btn {
  flex: 1;
  justify-content: center;
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.checkout-modal-buttons .store-btn.primary-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.checkout-modal-deeplink {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.deeplink-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  transition: all 0.2s ease;
  position: relative;
}

.deeplink-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.deeplink-btn:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.deeplink-btn:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  background-color: var(--text-primary);
}

/* Modal Responsive adjustments */
@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 32px auto;
    gap: 12px;
  }
  
  .hero-buttons .store-btn {
    justify-content: center;
    width: 100%;
  }

  .checkout-modal-content {
    padding: 30px 20px;
    margin: 16px;
    border-radius: 20px;
  }
  
  .checkout-modal-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .checkout-modal-instructions {
    padding: 16px;
  }
}

/* ======================================================== */
/* INFINITE SLIDER SECTION                                  */
/* ======================================================== */
.app-slider-section {
  padding: 80px 0 120px;
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 30px;
  width: max-content;
  margin-top: 60px;
  animation: scrollSlider 35s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slider-item {
  flex-shrink: 0;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.slider-item:hover {
  transform: scale(0.95);
  z-index: 10;
}

.slide-img.static-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* Snap perfectly edge-to-edge */
  object-position: top center;
  opacity: 1;
  animation: none;
}

@keyframes scrollSlider {
  0% { transform: translateX(0); }
  /* 10 items per set * (290px width + 30px gap) = 3200px */
  100% { transform: translateX(-3200px); }
}

/* ======================================================== */
/* HAMBURGER BUTTON                                          */
/* ======================================================== */

/* Hidden by default on desktop */
.hamburger {
  display: none;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  transform-origin: center;
}

/* Animate bars to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================== */
/* MOBILE NAV OVERLAY                                       */
/* ======================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 4, 14, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: linear-gradient(160deg, #12102A 0%, #0C091A 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav-overlay.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.mobile-nav-link {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
  display: block;
}

.mobile-nav-link:hover {
  color: #ffffff;
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.2);
  padding-left: 22px;
}

/* ======================================================== */
/* MOBILE — show hamburger, activate overlay                 */
/* ======================================================== */
@media (max-width: 768px) {
  /* Show hamburger button with all its layout properties here */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .hamburger:hover {
    background: rgba(10, 132, 255, 0.15);
    border-color: rgba(10, 132, 255, 0.4);
  }
}
