/* ============================================================
   AEON DESIGN SYSTEM — AEONCAPITAL.AI BRANDING
   ============================================================
   Colors: Teal #00919A + Gradient (Red/Pink/Purple)
   Typography: Cormorant Garamond + Inter
   ============================================================ */

:root {
  /* PRIMARY BRANDING — Teal */
  --teal: #00919A;
  --teal-light: #00B4BE;
  --teal-dark: #006B73;
  
  /* GRADIENT ACCENTS */
  --red: #C0392B;
  --pink: #D4547A;
  --purple: #7B4FA0;
  
  /* NEUTRALS */
  --black: #0A0A0A;
  --charcoal: #2C2C2C;
  --mid: #6B6B6B;
  --light: #F7F7F7;
  --white: #FFFFFF;
  
  /* LEGACY (kept for compatibility) */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-700: #334155;
  --slate-900: #0f172a;
  
  /* SEMANTIC */
  --bg-light: #f8fafc;
  --text-primary: #0A0A0A;
  --text-secondary: #6B6B6B;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

/* ============================================================
   ACCENT RULE (top of page, Aeon Capital style)
   ============================================================ */

.accent-rule {
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--pink), var(--purple));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

body {
  padding-top: 4px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

h4 {
  font-size: 1.3rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Typography Utilities */
.gradient-text {
  background: linear-gradient(135deg, var(--teal), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-dark);
}

ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(4px);
  height: 80px;
  display: flex;
  align-items: center;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--black);
  transition: color 0.2s;
}

.navbar-brand:hover {
  color: var(--teal);
}

.navbar-brand .brand-text {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.navbar-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--teal);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 145, 154, 0.3);
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-secondary:hover {
  background-color: rgba(0, 145, 154, 0.05);
  border-color: var(--teal-dark);
}

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

main {
  margin-top: 80px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 84px);
  background: var(--white);
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 60px 48px;
}

.hero-logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding-right: 48px;
}

.hero-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 32px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

section {
  padding: 80px 0;
}

section.section-light {
  background: var(--white);
}

section.section-dark {
  background: var(--light);
}

.section-subtitle {
  font-size: 18px;
  color: var(--mid);
  margin-bottom: 48px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 24px rgba(0, 145, 154, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  color: var(--black);
  margin-bottom: 12px;
}

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

/* ============================================================
   HOMEWORK ANALYSIS SECTION
   ============================================================ */

.homework-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  padding: 48px;
  margin-top: 32px;
}

.homework-content h3 {
  color: var(--teal);
  margin-bottom: 24px;
}

.homework-steps {
  list-style: decimal;
  padding-left: 24px;
}

.homework-steps li {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--charcoal);
}

.homework-steps strong {
  color: var(--black);
}

.homework-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 145, 154, 0.1), rgba(212, 84, 122, 0.1));
  border-radius: 16px;
  min-height: 300px;
}

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

.placeholder-inner {
  font-size: 32px;
  color: var(--teal);
  font-weight: 600;
}

/* ============================================================
   CARDS & COMPONENTS
   ============================================================ */

.card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 24px;
    flex-direction: column;
    gap: 12px;
  }

  .navbar-links {
    gap: 16px;
    font-size: 12px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
  }

  .hero-logo-section {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-right: 0;
    padding-bottom: 32px;
  }

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

  .homework-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  section {
    padding: 48px 0;
  }

  .container {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .navbar-logo {
    height: 36px;
    width: 36px;
  }

  .btn-large {
    padding: 12px 24px;
    font-size: 14px;
  }
}
