/* ========================================
   ethlit.in — Anthropic-Inspired
   ======================================== */

:root {
  --font: 'Inter', -apple-system, system-ui, sans-serif;

  --bg: #faf9f6;
  --bg-tint: #f0ede7;
  --bg-card: #ffffff;
  --bg-dark: #191919;

  --text: #191919;
  --text-secondary: #6b6b80;
  --text-muted: #9a9aad;

  --accent: #cc5b2d;
  --accent-hover: #b94e24;
  --accent-light: rgba(204, 91, 45, 0.08);

  --border: #e5e2dc;
  --border-light: #eceae5;

  --radius: 8px;
}

/* Reset */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }

/* Typography */

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

/* Layout */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 120px 0;
}

.section-tinted {
  background: var(--bg-tint);
}

.section-intro {
  max-width: 560px;
  margin-bottom: 64px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
}

.label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }
.btn-primary svg { display: inline; }

.btn-full { width: 100%; justify-content: center; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}

.btn-link:hover { gap: 10px; }
.btn-link svg { display: inline; }

/* ========================================
   Nav
   ======================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.625rem;
  color: var(--text);
  letter-spacing: 0.02em;
  padding: 4px 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 20px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.toggle-bar {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active .toggle-bar:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle.active .toggle-bar:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
}

/* ========================================
   Hero
   ======================================== */

.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 700;
  color: var(--text);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.03em;
  user-select: none;
}

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

/* ========================================
   Laptop Opening Animation
   ======================================== */

.laptop-section {
  overflow: hidden;
}

.imac-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.imac-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Monitor */
.imac-monitor {
  width: 100%;
  background: linear-gradient(180deg, #e8e8e8 0%, #d4d4d4 100%);
  border-radius: 16px 16px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.imac-bezel {
  background: #1a1a1a;
  border-radius: 10px 10px 0 0;
  padding: 8px 8px 0;
}

.imac-screen {
  background: var(--bg-card);
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.imac-chin {
  background: linear-gradient(180deg, #e0e0e0 0%, #cccccc 100%);
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 10px 10px;
  margin-top: 0;
}

.imac-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}

/* Stand */
.imac-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imac-neck {
  width: 80px;
  height: 48px;
  background: linear-gradient(180deg, #c8c8c8 0%, #b0b0b0 100%);
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.imac-foot {
  width: 180px;
  height: 10px;
  background: linear-gradient(180deg, #b8b8b8 0%, #a8a8a8 100%);
  border-radius: 0 0 50% 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* App UI inside screen */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.app-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-logo-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.app-logo-text {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text);
}

.app-student-name {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.app-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 300px;
}

.app-sidebar {
  padding: 14px 10px;
  border-right: 1px solid var(--border-light);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.6875rem;
  color: var(--text-secondary);
  cursor: default;
}

.app-nav-item svg { display: inline; flex-shrink: 0; }

.app-nav-item.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 500;
}

.app-nav-item.ai {
  color: var(--accent);
  font-weight: 500;
}

.app-main {
  padding: 16px;
}

.app-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.app-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
}

.app-card-label {
  display: block;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.app-card-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.app-card-value.green { color: #059669; }
.app-card-value.orange { color: var(--accent); }

.app-card-sub {
  display: block;
  font-size: 0.5625rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.app-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.app-timetable,
.app-ai-tutor {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
}

.app-section-title {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.app-period {
  display: flex;
  gap: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  margin-bottom: 2px;
}

.period-time {
  color: var(--text-muted);
  min-width: 32px;
}

.period-subj {
  color: var(--text);
  font-weight: 500;
}

.active-period {
  background: var(--accent-light);
}

.active-period .period-subj { color: var(--accent); }

.ai-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.6875rem;
  line-height: 1.5;
  margin-bottom: 6px;
  max-width: 90%;
}

.student-bubble {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  margin-left: auto;
  border-bottom-right-radius: 3px;
}

.tutor-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text);
  border-bottom-left-radius: 3px;
}

.ai-input-mock {
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.625rem;
  color: var(--text-muted);
  background: var(--bg-card);
}

/* Content fade-in after lid opens */
.laptop-screen .app-header,
.laptop-screen .app-body {
  opacity: 0;
  transition: opacity 0.6s ease 1s;
}

.laptop.open .laptop-screen .app-header,
.laptop.open .laptop-screen .app-body {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .app-body { grid-template-columns: 1fr; }
  .app-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 10px;
  }
  .app-nav-item { white-space: nowrap; }
  .app-cards-row { grid-template-columns: 1fr; }
  .app-bottom-row { grid-template-columns: 1fr; }
  .laptop-base { padding: 8px 20px 12px; }
  .key-row span { width: 18px; height: 10px; }
  .trackpad { width: 80px; height: 36px; }
}

/* Video Section */
.video-section {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.site-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Dashboard Mockup */

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.dashboard-mockup {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.4s, box-shadow 0.4s;
}

.dashboard-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.mockup-chrome {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 280px;
}

.mockup-sidebar {
  padding: 16px 12px;
  border-right: 1px solid var(--border-light);
  background: var(--bg);
}

.mockup-school {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.school-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: background 0.4s, opacity 0.3s;
}

.school-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  transition: opacity 0.3s;
}

.mockup-nav { display: flex; flex-direction: column; gap: 2px; }

.mnav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

.mnav svg { display: inline; flex-shrink: 0; }
.mnav.active { background: var(--accent-light); color: var(--accent); }

.mockup-main { padding: 16px; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mstat {
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg);
}

.mstat.accent {
  background: var(--accent-light);
  border-color: rgba(204, 91, 45, 0.15);
  transition: background 0.4s, border-color 0.4s;
}

.mstat-label {
  display: block;
  font-size: 0.5625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.mstat-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  transition: opacity 0.3s;
}

.mockup-chart {
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg);
}

.chart-label {
  font-size: 0.5625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  opacity: 0.6;
  position: relative;
  transition: background 0.4s;
}

.bar:nth-child(2), .bar:nth-child(4) { opacity: 0.9; }

.bar span {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5625rem;
  color: var(--text-muted);
}

/* ========================================
   Metrics
   ======================================== */

.metrics {
  padding: 56px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-num {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ========================================
   Features
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  padding: 44px 40px;
  background: var(--bg-card);
}

.feature h3 { margin-bottom: 10px; }

.feature p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================
   Steps
   ======================================== */

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

.step-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.step h3 { margin-bottom: 12px; font-size: 1.5rem; }

.step p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ========================================
   Technology
   ======================================== */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Tech Section Headline */
.tech-headline {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
}

.tech-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: techWordIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused;
}

.tech-headline.visible .tech-word {
  animation-play-state: running;
}

.tech-word:nth-child(1) { animation-delay: 0s; }
.tech-word:nth-child(2) { animation-delay: 0.1s; }
.tech-word:nth-child(3) { animation-delay: 0.2s; }
.tech-word:nth-child(4) { animation-delay: 0.35s; }

.tech-word-accent {
  color: var(--accent);
}

@keyframes techWordIn {
  to { opacity: 1; transform: translateY(0); }
}

.tech {
  padding: 48px 40px;
  background: var(--bg-card);
}

.tech h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.tech p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  transition: color 0.3s ease;
}

/* Tech card number */
.tech-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

/* Tech card hover — the big deal */
.tech {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease;
}

.tech:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(204, 91, 45, 0.1), 0 8px 24px rgba(0,0,0,0.06);
  background: var(--bg-card);
  z-index: 2;
}

.tech:hover .tech-number {
  opacity: 0.6;
  transform: translateY(-4px) scale(1.15);
  color: var(--accent);
}

.tech:hover h3 {
  color: var(--accent);
}

.tech:hover p {
  color: var(--text);
}

/* Accent bar that slides in from bottom on hover */
.tech::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech:hover::before {
  transform: scaleX(1);
}

/* Glow orb behind card on hover */
.tech::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 91, 45, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tech:hover::after {
  opacity: 1;
}

/* ========================================
   CTA
   ======================================== */

.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 32px;
}

.cta-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.cta-links a:hover { color: var(--accent); }

/* Form */

.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder { color: var(--text-muted); }

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-dark);
  padding: 64px 0 0;
  color: #aaa;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { color: #fff; padding: 0; }
.footer-brand p { font-size: 0.875rem; margin-top: 8px; color: #777; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #777;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: #aaa;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #555;
}

/* ========================================
   Page Hero (shared across subpages)
   ======================================== */

.page-hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 { max-width: 640px; margin-bottom: 20px; }

.page-hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
}

.nav-link.active { color: var(--text); }

/* Split Hero (Features page) */
.page-hero-split {
  padding-bottom: 120px;
  overflow: visible;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.hero-split-visual {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

/* Interactive Dashboard */
.idash {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 480px;
  width: 100%;
  max-width: 100%;
}

.idash-sidebar {
  background: var(--bg);
  border-right: 1px solid var(--border-light);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
}

.idash-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.idash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.idash-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.6875rem;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: none;
  background: none;
  font-family: var(--font);
  width: 100%;
}

.idash-btn svg { display: inline; flex-shrink: 0; }

.idash-btn:hover {
  background: rgba(204, 91, 45, 0.06);
  color: var(--text);
  transform: translateX(3px);
}

.idash-btn.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 500;
}

.idash-main {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Panels */
.idash-panel {
  display: none;
  animation: panelIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.idash-panel.active {
  display: block;
}

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

.idash-btn {
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.idash-btn.active {
  transition: background 0.2s ease, color 0.2s ease;
}

.idash-panel {
  animation-duration: 0.3s;
}

.idash-panel h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.idash-panel > p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Demo Stats */
.idash-demo {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.demo-stat {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.demo-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.demo-num.green { color: #059669; }
.demo-num.orange { color: var(--accent); }

.demo-label {
  display: block;
  font-size: 0.5625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Demo List */
.demo-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: background 0.2s, transform 0.2s;
}

.demo-row:hover {
  background: var(--accent-light);
  transform: translateX(4px);
}

.dot-green, .dot-orange, .dot-grey, .dot-blue {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: #059669; }
.dot-orange { background: var(--accent); }
.dot-grey { background: #aaa; }
.dot-blue { background: #3b82f6; }

/* Demo Chat */
.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.demo-chat .ai-bubble {
  font-size: 0.75rem;
}

/* Demo Notifications */
.demo-notif {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: transform 0.2s;
}

.notif-item:hover { transform: translateX(4px); }

.notif-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.notif-dot.green { background: #059669; }
.notif-dot.orange { background: var(--accent); }
.notif-dot.blue { background: #3b82f6; }

.notif-item strong { color: var(--text); }

/* Timetable */
.tt-time {
  font-size: 0.6875rem;
  color: var(--text-muted);
  min-width: 36px;
  font-weight: 500;
}

.active-tt {
  background: var(--accent-light) !important;
  color: var(--accent) !important;
  font-weight: 500;
}

/* Branding */
.demo-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 6px;
}

.brand-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-val {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}

.brand-colors {
  display: flex;
  gap: 6px;
}

.brand-colors span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
}

@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .idash { grid-template-columns: 1fr; min-height: auto; }
  .idash-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 12px;
  }
  .idash-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
  }
  .idash-btn { white-space: nowrap; }
  .idash-demo { flex-direction: column; }
}

/* ========================================
   Features Page
   ======================================== */

/* Spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.spotlight-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.spotlight-desc em {
  font-style: italic;
  color: var(--accent);
  transition: background 0.3s ease, padding 0.3s ease;
  border-radius: 3px;
}

.spotlight-desc em:hover {
  background: var(--accent);
  color: #fff;
  padding: 0 4px;
}

.check-list { display: flex; flex-direction: column; gap: 12px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: default;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.check-list li:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(6px);
}

.check-list li svg {
  display: inline;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
  transition: color 0.3s ease;
}

.check-list li:hover svg {
  color: #fff;
}

/* Chat Mockup */
.chat-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
}

.chat-name { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.chat-status { font-size: 0.6875rem; color: var(--accent); }

.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.chat-msg.student {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.tutor {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--border-light);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  align-self: flex-start;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingDot 1.4s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* Custom Platform Mockup */
.custom-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.custom-mockup-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.custom-school-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1e3a5f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.5s ease;
}

.custom-school-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: opacity 0.4s;
}

.custom-school-tag {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.custom-mockup-body {
  padding: 24px;
}

.custom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.custom-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 14px 16px;
}

.custom-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.custom-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: opacity 0.4s;
}

.custom-colors {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transition: background 0.5s ease;
}

.custom-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.custom-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  animation: barGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes barGrow {
  from { width: 0; }
}

.custom-bar-label {
  font-size: 0.6875rem;
  color: var(--accent);
  font-weight: 500;
}

.custom-mockup-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.6875rem;
  color: var(--text-muted);
  background: var(--bg);
}

.custom-mockup-footer svg {
  display: inline;
  flex-shrink: 0;
  color: var(--accent);
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.module {
  padding: 40px 36px;
  background: var(--bg-card);
}

.module-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 16px;
}

.module-icon svg { display: inline; }

.module h3 { margin-bottom: 8px; }

.module p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Callout */
.callout {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.callout p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 16px;
}

/* ========================================
   About Page
   ======================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.about-block {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.about-block:hover {
  transform: translateY(-4px);
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.about-block h2 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  transition: color 0.3s ease;
}

.about-block:hover h2 {
  color: var(--accent);
}

.about-block p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-block p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.value {
  padding: 40px 36px;
  background: var(--bg-card);
}

.value h3 { margin-bottom: 10px; }

.value p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Founder */
.founder-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.founder-role {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.founder-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.founder-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 20px;
}

.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-meta span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ========================================
   Contact Page
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 8px; }

.contact-form-sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: var(--font);
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.info-block h3 { margin-bottom: 16px; }

.info-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.info-item:hover { color: var(--accent); }
.info-item svg { display: inline; flex-shrink: 0; color: var(--accent); }

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.next-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.next-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.next-step strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 2px;
}

.next-step p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-highlight {
  background: var(--accent-light);
  border-color: rgba(204, 91, 45, 0.12);
}

.info-highlight h3 { color: var(--accent); }

.info-highlight p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Animations
   ======================================== */

/* ========================================
   Splash Screen
   ======================================== */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash.shrink {
  animation: splashShrink 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes splashShrink {
  0% {
    opacity: 1;
    transform: scale(1);
    border-radius: 0;
  }
  60% {
    opacity: 1;
    transform: scale(0.4);
    border-radius: 24px;
  }
  100% {
    opacity: 0;
    transform: scale(0.15);
    border-radius: 50px;
    visibility: hidden;
    pointer-events: none;
  }
}

.splash.done {
  display: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: scale(0.85);
  animation: splashIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.splash-name {
  font-family: var(--font);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
}

.splash-dot {
  color: var(--accent);
}

.splash-tagline {
  font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: splashTagline 0.5s ease 0.8s forwards;
}

@keyframes splashIn {
  to { opacity: 1; transform: scale(1); }
}

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

/* Page hidden during splash */
body.splash-active main,
body.splash-active .nav,
body.splash-active .footer {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

body.splash-exiting main,
body.splash-exiting .nav,
body.splash-exiting .footer {
  opacity: 1;
  transform: scale(1);
}

body.splash-active {
  overflow: hidden;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered delays for grid children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal:nth-child(8) { transition-delay: 0.56s; }
.reveal:nth-child(9) { transition-delay: 0.64s; }
.reveal:nth-child(10) { transition-delay: 0.72s; }

/* Hero Entrance Animation */
.hero-text > * {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.25s; }
.hero-text > *:nth-child(3) { animation-delay: 0.4s; }
.hero-text > *:nth-child(4) { animation-delay: 0.55s; }

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Page Hero Entrance */
.page-hero > .container > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-hero > .container > *:nth-child(1) { animation-delay: 0.1s; }
.page-hero > .container > *:nth-child(2) { animation-delay: 0.2s; }
.page-hero > .container > *:nth-child(3) { animation-delay: 0.3s; }

/* Dashboard Mockup Float */
.hero-visual {
  opacity: 0;
  animation: mockupEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes mockupEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dashboard-mockup {
  animation: gentleFloat 6s ease-in-out infinite;
}

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

.dashboard-mockup:hover {
  animation-play-state: paused;
}

/* Metric Counter Animation */
.metric-num {
  transition: transform 0.3s ease;
}

.metric:hover .metric-num {
  transform: scale(1.08);
  color: var(--accent);
}

/* Card Hover Lift */
.feature,
.module,
.tech,
.value {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.feature:hover,
.module:hover,
.tech:hover,
.value:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Button Press Effect */
.btn-primary {
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(204, 91, 45, 0.2);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Link Arrow Slide */
.btn-link svg {
  transition: transform 0.25s ease;
}

.btn-link:hover svg {
  transform: translateX(4px);
}

/* Nav Entrance */
.nav {
  animation: navSlideDown 0.5s ease forwards;
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Nav hide/show on scroll */
.nav { transition: transform 0.35s ease, background 0.3s; }
.nav.nav-hidden { transform: translateY(-100%); }

/* Scroll Line Pulse */
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Chat Typing Dots */
@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.7); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* Founder Avatar Pulse */
.founder-avatar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px var(--accent-light);
}

/* Info Block Hover */
.info-block {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.info-block:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Form Input Focus Animation */
.field input,
.contact-form textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.field input:focus,
.contact-form textarea:focus {
  transform: translateY(-1px);
}

/* Module Icon Hover */
.module-icon {
  transition: background 0.3s ease, transform 0.3s ease;
}

.module:hover .module-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

/* Check List Item Entrance */
.check-list li {
  opacity: 0;
  transform: translateX(-12px);
  animation: checkSlide 0.5s ease forwards;
}

.check-list li:nth-child(1) { animation-delay: 0.6s; }
.check-list li:nth-child(2) { animation-delay: 0.72s; }
.check-list li:nth-child(3) { animation-delay: 0.84s; }
.check-list li:nth-child(4) { animation-delay: 0.96s; }

@keyframes checkSlide {
  to { opacity: 1; transform: translateX(0); }
}

/* Smooth Section Borders */
.section-tinted {
  position: relative;
}

/* Step Number Hover */
.step-num {
  transition: color 0.3s ease, transform 0.3s ease;
}

.step:hover .step-num {
  transform: scale(1.15);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: center; }
  .dashboard-mockup { max-width: 480px; }
  .cta-layout { grid-template-columns: 1fr; gap: 48px; }
  .spotlight { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-section { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .page-hero { padding: 110px 0 56px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 110px 0 64px; }

  .metrics-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .tech-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .mockup-nav { flex-direction: row; overflow-x: auto; }
  .mnav { white-space: nowrap; }
  .mockup-stats { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .feature { padding: 32px 24px; }
  .module { padding: 28px 20px; }
  .value { padding: 28px 20px; }
  .tech { padding: 28px 20px; }
  .form { padding: 28px 20px; }
  .info-block { padding: 20px; }
  .founder-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
