/* Aqua Clarity System — Mavqen */

:root {
  --aqua: #22d3ee;
  --teal: #14b8a6;
  --soft-cyan: #67e8f9;
  --ice: #f0fdff;
  --white: #ffffff;
  --light-gray: #e5e7eb;
  --slate: #0f172a;
  --soft-gray: #475569;
  --card-shadow: 0 4px 24px rgba(34, 211, 238, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  --font-heading: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max-width: 1120px;
  --header-height: 72px;
}

*,
*::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(--soft-gray);
  background: linear-gradient(180deg, var(--white) 0%, var(--ice) 45%, rgba(103, 232, 249, 0.12) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* Fade-in on load */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--slate);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--soft-gray);
}

.nav-dot {
  color: var(--light-gray);
  user-select: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate);
  border: 1px solid var(--light-gray);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  border-color: var(--soft-cyan);
  color: var(--teal);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 4rem) clamp(1.5rem, 5vw, 3rem) 6rem;
  overflow: hidden;
  background: linear-gradient(165deg, var(--white) 0%, var(--ice) 50%, rgba(103, 232, 249, 0.2) 100%);
  background-size: 200% 200%;
  animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.shape-1 {
  width: 320px;
  height: 320px;
  top: 12%;
  right: 8%;
  background: radial-gradient(circle, var(--soft-cyan) 0%, transparent 70%);
}

.shape-2 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: 6%;
  background: radial-gradient(circle, var(--aqua) 0%, transparent 70%);
  border-radius: 24% 76% 65% 35% / 42% 38% 62% 58%;
}

.shape-3 {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 18%;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: transparent;
  border-radius: 16px;
  transform: rotate(12deg);
}

.hero-content {
  position: relative;
  max-width: 720px;
  text-align: center;
  animation-delay: 0.15s;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--soft-gray);
}

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

/* Section shared */
section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem);
}

.section-intro {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-intro h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--slate);
  letter-spacing: -0.02em;
}

/* System grid */
.system-section {
  background: rgba(255, 255, 255, 0.5);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.system-card {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.system-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.card-accent {
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--teal));
  margin-bottom: 1.25rem;
}

.system-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.system-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Philosophy */
.philosophy {
  padding: clamp(5rem, 12vw, 8rem) clamp(1.5rem, 5vw, 3rem);
}

.philosophy-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border: none;
}

.philosophy-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--slate);
}

/* Stats */
.stats {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 3rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.stat-block {
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  box-shadow: var(--card-shadow);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--soft-gray);
}

/* Features 2x2 */
.features {
  background: rgba(240, 253, 255, 0.4);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15), 0 12px 40px rgba(34, 211, 238, 0.1);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
}

/* Process timeline */
.process {
  max-width: var(--max-width);
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-track {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soft-cyan), var(--aqua), var(--soft-cyan), transparent);
  transform: translateY(-50%);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  position: relative;
  gap: 1rem;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease;
}

.timeline-step:hover {
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--aqua);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.step-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
}

/* CTA */
.cta {
  padding: clamp(4rem, 10vw, 6rem) clamp(1.5rem, 5vw, 3rem);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(3rem, 8vw, 4.5rem) 2rem;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--ice) 0%, rgba(103, 232, 249, 0.35) 50%, rgba(34, 211, 238, 0.15) 100%);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.15);
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

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

/* Contact */
.contact-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
  margin-top: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  background: var(--white);
  color: var(--slate);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.5rem, 5vw, 3rem);
  background: rgba(240, 253, 255, 0.85);
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--slate);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--soft-gray);
}

/* Responsive */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-track {
    display: none;
  }

  .timeline-steps {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .header-nav {
    font-size: 0.6875rem;
    gap: 0.15rem;
  }

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

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

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

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .hero {
    animation: none;
    opacity: 1;
  }

  .btn:hover,
  .system-card:hover,
  .feature-card:hover,
  .timeline-step:hover {
    transform: none;
  }
}
