/* ============================================
   EEDULA.com — Static Website
   Spoken Telugu & future applications
   ============================================ */

:root {
  /* Warm, vibrant palette — saffron, deep orange, teal accents */
  --color-saffron: #f59e0b;
  --color-saffron-light: #fbbf24;
  --color-deep-orange: #ea580c;
  --color-teal: #0d9488;
  --color-teal-dark: #0f766e;
  --color-cream: #fef7ed;
  --color-sand: #fef3c7;
  --color-charcoal: #1c1917;
  --color-stone: #44403c;
  --color-stone-light: #78716c;
  --color-white: #ffffff;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-cream);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(254, 247, 237, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-deep-orange);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-suffix {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-stone);
  margin-left: 0.35rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--color-stone);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-deep-orange);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  transition: transform 0.3s;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
    var(--color-cream);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-teal-dark);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-deep-orange);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-stone);
  max-width: 28rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-stone);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-desc strong {
  color: var(--color-teal-dark);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-deep-orange), var(--color-saffron));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.btn-secondary:hover {
  background: rgba(13, 148, 136, 0.08);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-stone-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--color-saffron), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

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

section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-stone);
  margin-bottom: 2.5rem;
}

/* ============================================
   APPS SECTION
   ============================================ */

.apps-section {
  background: var(--color-white);
  border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.app-card {
  position: relative;
  background: var(--color-cream);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}

.app-card-featured {
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-cream) 100%);
  border-color: var(--color-saffron);
}

.app-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal-dark);
  background: rgba(13, 148, 136, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.app-card-badge.coming {
  color: var(--color-stone-light);
  background: rgba(120, 113, 108, 0.15);
}

.app-card-icon {
  font-size: 2.5rem;
  color: var(--color-deep-orange);
  margin-bottom: 1rem;
  line-height: 1;
}

.app-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.app-card p {
  color: var(--color-stone);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.app-card-link {
  font-weight: 600;
  color: var(--color-deep-orange);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: gap 0.2s;
}

.app-card-link:hover {
  text-decoration: underline;
}

/* ============================================
   SPOKEN TELUGU SECTION
   ============================================ */

.spoken-section {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 50%, var(--color-cream) 100%);
}

.spoken-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.spoken-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal-dark);
  margin-bottom: 0.5rem;
}

.spoken-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.spoken-lead {
  font-size: 1.125rem;
  color: var(--color-stone);
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--color-stone);
}

.feature-icon {
  color: var(--color-saffron);
  font-size: 0.625rem;
}

.spoken-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: var(--color-charcoal);
  border-radius: 2.5rem;
  padding: 1rem;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 3px rgba(245, 158, 11, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--color-saffron) 0%, var(--color-deep-orange) 100%);
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--color-white);
}

.phone-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.phone-subtitle {
  font-size: 1.25rem;
  margin-top: 0.5rem;
  opacity: 0.95;
}

.phone-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.phone-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

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

.about-content {
  max-width: 40rem;
}

.about-content p {
  color: var(--color-stone);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.about-content strong {
  color: var(--color-teal-dark);
}

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

.cta-section {
  background: linear-gradient(135deg, var(--color-deep-orange), var(--color-saffron));
  color: var(--color-white);
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-deep-orange);
}

.cta-section .btn-primary:hover {
  background: var(--color-cream);
}

.cta-section .btn-secondary {
  border-color: var(--color-white);
  color: var(--color-white);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 3rem 0;
  background: var(--color-charcoal);
  color: var(--color-stone-light);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-saffron-light);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--color-stone-light);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-saffron-light);
}

.footer-copy {
  font-size: 0.8125rem;
  opacity: 0.8;
}

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    max-width: 280px;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    background: var(--color-cream);
    border-left: 1px solid rgba(245, 158, 11, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .spoken-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .spoken-visual {
    order: -1;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }
}

@media (max-width: 480px) {
  .hero-cta,
  .spoken-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
