/* =========================================
   AquaScale Digital — Custom Landing Theme
   ========================================= */

/* --- Variables --- */
:root {
  --bg-deep: #06111a;
  --bg-mid: #0a1d2e;
  --bg-card: #0f2538;
  --teal: #00c9a7;
  --teal-dim: rgba(0, 201, 167, 0.12);
  --coral: #ff6b6b;
  --coral-dim: rgba(255, 107, 107, 0.1);
  --text-bright: #f0f7fa;
  --text-mid: #8bacc4;
  --text-dim: #4a6b82;
  --border: rgba(0, 201, 167, 0.15);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --section-pad: 100px 24px;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-deep);
  color: var(--text-bright);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(6, 17, 26, 0.85);
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-bright);
}

.nav-dot {
  color: var(--teal);
}

.nav-tag {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 201, 167, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(0, 80, 120, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, #06111a 0%, #0a1d2e 50%, #06111a 100%);
}

/* Atmospheric wave line decoration */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.3;
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--teal-dim);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin-bottom: 32px;
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 64px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(10, 29, 46, 0.6);
  backdrop-filter: blur(8px);
  width: fit-content;
}

.stat {
  padding: 28px 40px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.02em;
  max-width: 140px;
  line-height: 1.4;
}

.stat-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* --- Problem --- */
.problem {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
}

.problem-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.problem-label, .pillars-label, .services-label, .clients-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.problem-headline, .pillars-headline, .services-headline, .clients-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-bright);
  margin-bottom: 60px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.problem-item {
  background: var(--bg-card);
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.problem-icon {
  color: var(--coral);
  margin-bottom: 20px;
}

.problem-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.problem-item p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* --- Pillars --- */
.pillars {
  padding: var(--section-pad);
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-inner { max-width: var(--max-width); margin: 0 auto; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar { position: relative; }

.pillar-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(0, 201, 167, 0.08);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.pillar-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* --- Services --- */
.services {
  padding: var(--section-pad);
  background: var(--bg-deep);
}

.services-inner { max-width: var(--max-width); margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--bg-card);
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: rgba(0, 201, 167, 0.4); }

.service-icon {
  color: var(--teal);
  margin-bottom: 18px;
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* --- Clients --- */
.clients {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
}

.clients-inner { max-width: var(--max-width); margin: 0 auto; }

.client-types {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}

.client-type {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.03em;
  background: rgba(10, 29, 46, 0.4);
  transition: all 0.2s;
}

.client-type:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}

.client-icon-sm { color: var(--teal); flex-shrink: 0; }

.clients-quote {
  max-width: 680px;
  margin-top: 48px;
  padding: 40px;
  border-left: 3px solid var(--teal);
  background: rgba(0, 201, 167, 0.04);
  border-radius: 0 4px 4px 0;
}

.clients-quote blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--text-bright);
  line-height: 1.7;
  margin-bottom: 16px;
}

.clients-quote cite {
  font-size: 13px;
  color: var(--text-dim);
  font-style: normal;
}

/* --- Closing --- */
.closing {
  padding: 120px 24px;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.25;
}

.closing-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.closing-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-bright);
  margin-bottom: 28px;
  max-width: 700px;
}

.closing-body {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 48px;
  font-weight: 300;
}

.closing-vision {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  max-width: 640px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--teal-dim);
}

/* --- Footer --- */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.footer-dot { color: var(--teal); }

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 340px;
  line-height: 1.6;
}

.footer-meta {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-sep { color: var(--border); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .problem-grid,
  .pillars-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    width: 100%;
  }

  .stat-sep {
    width: 100%;
    height: 1px;
  }

  .stat { padding: 20px 24px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-headline { font-size: 56px; }

  .closing-headline { font-size: 36px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 72px 20px; }

  .hero { padding: 120px 20px 80px; }

  .nav { padding: 0 20px; }

  .nav-tag { display: none; }

  .hero-stats { flex-direction: column; }

  .stat-sep { width: 100%; height: 1px; }

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

  .client-types { flex-direction: column; }
}