/* ============================================
   DOODLBEE.APP — STYLES
   Dark theme | Gold accent | Mobile-first
   ============================================ */

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

:root {
  --bg-dark: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.1);
  --gold: #ffba00;
  --gold-dim: rgba(255, 186, 0, 0.15);
  --gold-glow: rgba(255, 186, 0, 0.3);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;
  --navy: #0d1117;
  --navy-light: #161b22;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: #ffd54f;
}

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

ul {
  list-style: none;
}

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

.gold {
  color: var(--gold);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: linear-gradient(135deg, rgba(255, 186, 0, 0.08), rgba(255, 186, 0, 0.02));
  border-bottom: 1px solid var(--gold-dim);
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: linear-gradient(135deg, rgba(255, 186, 0, 0.08), rgba(255, 186, 0, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gold-dim);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

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

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    background: rgba(13, 17, 23, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid var(--border-glass);
  }

  .nav-links.open {
    right: 0;
  }

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.25rem 3rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 75%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-supporting {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  width: clamp(420px, 63vw, 700px);
}

.hero-bee {
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
  transition: transform 0.5s var(--ease-spring), filter 0.5s ease;
}

.hero-bee:hover {
  transform: scale(1.05) translateY(-4px);
  filter: drop-shadow(0 15px 40px rgba(0,0,0,0.6));
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0f;
}

.btn-primary:hover {
  background: #ffd54f;
  color: #0a0a0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-dim);
}

.btn-outline {
  border: 1.5px solid var(--border-glass);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

/* --- Transition Section --- */
.transition-section {
  padding: 4rem 1.25rem;
}

.transition-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.transition-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.transition-text {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
}

/* --- Sections (General) --- */
.section {
  padding: 5rem 0;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

/* --- Mission Section --- */
.mission {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--navy) 100%);
}

.mission-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.mission-body p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.mission-accent {
  color: var(--gold) !important;
  font-weight: 500;
  font-size: 1.1rem !important;
  margin-top: 1rem;
}

/* --- Services Section --- */
.services {
  background: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(255, 186, 0, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* --- Apps Section --- */
.apps {
  background: linear-gradient(180deg, var(--navy) 0%, var(--bg-dark) 100%);
}

.apps-scroll {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .apps-scroll {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app-card {
  perspective: 800px;
}

.app-card-inner {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-out);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-card:hover .app-card-inner {
  border-color: var(--gold-dim);
  background: var(--bg-card-hover);
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
  box-shadow: 0 12px 50px rgba(255, 186, 0, 0.1);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.app-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.app-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.app-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.app-highlights {
  margin-bottom: 1.5rem;
  flex: 1;
}

.app-highlights li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.app-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* --- Apps Intro --- */
.apps-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* --- Learn More Link --- */
.app-learn-more {
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out);
}

.app-learn-more:hover {
  opacity: 1;
}

/* --- App Modal --- */
.app-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.app-modal-overlay.active {
  display: flex;
}

.app-modal {
  position: relative;
  width: 780px;
  max-width: 95vw;
  height: 85vh;
  max-height: 90vh;
  background: var(--navy-light);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.app-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.app-modal-close:hover {
  color: var(--gold);
}

.app-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.app-modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.app-modal-body .gold {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* --- MyCalTrack modal content --- */
.mct-modal {
  color: var(--text-secondary);
}

.mct-head {
  text-align: center;
  margin-bottom: 2rem;
}

.mct-head h3 {
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
}

.mct-head .gold {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.mct-hero {
  margin: 0 0 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.mct-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.mct-block {
  margin-bottom: 2.25rem;
}

.mct-block h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.mct-block p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.mct-block p:last-child {
  margin-bottom: 0;
}

.mct-block strong {
  color: var(--text-primary);
  font-weight: 600;
}

.mct-accent {
  color: var(--gold) !important;
  font-weight: 500;
  font-size: 1rem !important;
  margin-top: 0.5rem !important;
}

.mct-philosophy {
  background: linear-gradient(135deg, rgba(255, 186, 0, 0.06), rgba(255, 186, 0, 0.01));
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  padding: 1.5rem 1.5rem;
}

.mct-philosophy h4 {
  color: var(--gold);
}

/* Features grid */
.mct-features {
  margin-bottom: 2.25rem;
}

.mct-features > h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.mct-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
}

.mct-feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.mct-feature-text h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

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

.mct-feature-img {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.mct-feature-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.mct-feature-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 700px) {
  .mct-feature-reverse {
    direction: rtl;
  }
  .mct-feature-reverse > * {
    direction: ltr;
  }
}

/* Mobile phone row */
.mct-mobile h4 {
  text-align: center;
}

.mct-mobile p {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.mct-phone-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mct-phone-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mct-close p:last-of-type {
  text-align: center;
}

/* CTA */
.mct-cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  margin-top: 1.5rem;
}

.mct-cta .btn {
  display: block;
  width: 100%;
  max-width: none;
  white-space: nowrap;
}

/* Mobile tuning */
@media (max-width: 640px) {
  .mct-feature {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mct-feature-img {
    order: -1;
  }

  .mct-philosophy {
    padding: 1.25rem 1rem;
  }

  .mct-head h3 {
    font-size: 1.5rem;
  }

  .mct-block h4,
  .mct-features > h4 {
    font-size: 1.15rem;
  }

  .app-modal-body {
    padding: 2rem 1.25rem;
  }
}

/* --- Philosophy Section --- */
.philosophy {
  background: var(--bg-dark);
}

.philosophy-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-body p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.philosophy-accent {
  color: var(--gold) !important;
  font-weight: 500;
  font-size: 1.1rem !important;
  margin-top: 1rem;
}

/* --- Process Section --- */
.process {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--navy) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.process-step {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.35s var(--ease-out);
}

.process-step:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Doodles / YouTube Section --- */
.doodles {
  background: var(--bg-dark);
}

.doodles-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.doodles-hero-img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--gold-dim);
  box-shadow: 0 8px 32px rgba(255, 186, 0, 0.08);
}

.doodles-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.doodles-body p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.doodles-accent {
  color: var(--gold) !important;
  font-weight: 500;
  font-size: 1.1rem !important;
  margin-top: 1rem;
}

.doodles-body .btn {
  margin-top: 1.5rem;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--navy);
  padding: 5rem 0;
}

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 186, 0, 0.08), rgba(255, 186, 0, 0.02));
  border: 1px solid var(--gold-dim);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--gold-dim), transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* --- Contact Section --- */
.contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.contact-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--gold);
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--gold-dim);
  border-radius: 50px;
  transition: all 0.35s var(--ease-out);
}

.contact-email:hover {
  background: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 186, 0, 0.15);
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-glass);
  padding: 2.5rem 1.25rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

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

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

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

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

/* --- Responsive Fine-tuning --- */
@media (max-width: 480px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .hero {
    padding: 5rem 1rem 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

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

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .transition-section {
    padding: 2.5rem 1rem;
  }
}

@media (min-width: 769px) {
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 0 2rem 0 4rem;
    gap: 0;
  }

  .hero-content {
    flex: 1;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-image {
    margin-top: 0;
    margin-left: -12rem;
    flex-shrink: 0;
  }

  .hero-subtitle,
  .hero-supporting {
    margin-left: 0;
    margin-right: 0;
  }

  .scroll-indicator {
    bottom: 3rem;
  }
}

/* --- Selection --- */
::selection {
  background: var(--gold);
  color: var(--bg-dark);
}

/* --- Scrollbar (webkit) --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
