/* CSS Variables and Base Styles */
:root {
  --color-background: #080b11;
  --color-surface: #0f1219;
  --color-surface-elevated: #151a24;
  --color-border: rgba(84, 216, 196, 0.2);
  --color-border-strong: rgba(84, 216, 196, 0.4);
  --color-text-primary: #f8fafc;
  --color-text-secondary: #98a4b7;
  --color-text-muted: #5b6579;
  --color-accent: #53d3c2;
  --color-accent-soft: rgba(83, 211, 194, 0.16);
  --color-accent-strong: #21b4a3;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --max-width: 1280px;
  --page-padding: clamp(1.5rem, 5vw, 3.5rem);
  --shadow-soft: 0 30px 120px rgba(4, 9, 16, 0.6);
  --shadow-header: 0 12px 60px rgba(3, 8, 14, 0.55);
  --transition: all 180ms ease;
}

/* Reset and Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(120% 120% at 75% 10%, rgba(83, 211, 194, 0.12), transparent 55%), #080b11;
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  width: 100%;
}

/* Layout Components */
.landing-page {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding) clamp(140px, 15vh, 180px);
  display: flex;
  flex-direction: column;
  gap: clamp(140px, 15vh, 180px);
}

section {
  width: 100%;
}

/* Typography Components */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.eyebrow::before {
  content: '';
  height: 1px;
  width: 32px;
  background: var(--color-text-muted);
  opacity: 0.4;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  font-weight: 600;
}

.section-description {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
}

/* Button Components */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.button-primary {
  background: var(--color-accent);
  color: #062420;
  border-color: rgba(0, 0, 0, 0);
  box-shadow: 0 12px 40px rgba(83, 211, 194, 0.18);
}

.button-primary:hover {
  background: var(--color-accent-strong);
  color: #eafffb;
  box-shadow: 0 14px 46px rgba(83, 211, 194, 0.26);
}

.button-secondary {
  background: var(--color-accent-soft);
  color: var(--color-text-primary);
  border-color: rgba(83, 211, 194, 0.24);
}

.button-secondary:hover {
  background: rgba(83, 211, 194, 0.22);
  border-color: rgba(83, 211, 194, 0.32);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Rotating Text Animation */
.rotating-text {
  position: relative;
  display: inline-block;
  height: 1.5em;
  overflow: hidden;
  vertical-align: -0.28em;
  width: 310px;
  text-align: left;
}

.text-slide {
  position: absolute;
  top: 0.25em;
  left: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.text-slide:nth-child(1) {
  animation: slideTextFirst 6s infinite;
}

.text-slide:nth-child(2) {
  animation: slideTextSecond 6s infinite;
}

@keyframes slideTextFirst {
  0%, 42% {
    transform: translateY(0);
    opacity: 1;
  }
  47%, 90% {
    transform: translateY(-100%);
    opacity: 0;
  }
  90% {
    transform: translateY(100%);
    opacity: 0;
  }
  95% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideTextSecond {
  0%, 40% {
    transform: translateY(100%);
    opacity: 0;
  }
  42% {
    transform: translateY(100%);
    opacity: 0;
  }
  47%, 90% {
    transform: translateY(0);
    opacity: 1;
  }
  95%, 100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}