/* Airflow Cooling & HVAC Funnel
   SVP Funnels / Tiny Team Digital Studio
*/

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

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #f6f7fb;
  background: radial-gradient(circle at top, #050910 0%, #020308 55%, #000104 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* GLOBAL TOKENS */

:root {
  --bg-deep: #020308;
  --card-bg: rgba(5, 11, 24, 0.92);
  --card-soft: rgba(12, 22, 46, 0.96);
  --accent: #4ad8ff;
  --accent-soft: rgba(74, 216, 255, 0.18);
  --accent-strong: #2ec2ff;
  --text-main: #f6f7fb;
  --text-muted: #a5afc4;
  --border-subtle: rgba(130, 147, 190, 0.32);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.85);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
}

/* Background orbit / glow */

.bg-orbit {
  position: fixed;
  inset: -40vh -40vw auto;
  background:
    radial-gradient(circle at 20% 0%, rgba(74, 216, 255, 0.18), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.24), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

/* Layout helpers */

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

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(10, 26, 58, 0.9), rgba(4, 10, 24, 0.95));
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(1, 5, 15, 0.9), rgba(1, 5, 15, 0.6), transparent);
  border-bottom: 1px solid rgba(148, 163, 199, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 0.85rem;
  gap: 1.75rem;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 10%, #ffffff, #38bdf8, #020617);
  box-shadow: 0 0 0 1px rgba(148, 163, 199, 0.45),
    0 12px 40px rgba(8, 47, 73, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title {
  font-size: 1rem;
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* NAV */

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.nav-cta {
  background: radial-gradient(circle at 0 0, #f9fafb, #38bdf8);
  color: #020617;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.65);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #e5f6ff, #38bdf8);
  color: #020617;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(56, 189, 248, 0.85);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  border-color: rgba(148, 163, 199, 0.4);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
}

.btn-outline {
  background: transparent;
  color: var(--accent-strong);
  border-color: rgba(56, 189, 248, 0.55);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.96);
}

.btn-block {
  width: 100%;
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.metric {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 199, 0.32);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.24), rgba(15, 23, 42, 0.98));
  display: grid;
  gap: 0.1rem;
}

.metric-value {
  font-size: 1.05rem;
  font-weight: 600;
}

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

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  padding: 0.4rem;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.5), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 199, 0.6);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 14% -10% auto;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 199, 0.55);
  opacity: 0.35;
}

.hero-card img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-xl) - 6px);
}

/* SPLIT SECTIONS (sections with images) */

.section-split {
  position: relative;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.split-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  margin-bottom: 0.7rem;
}

.split-copy > p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1.4rem;
}

.split-media {
  display: flex;
  justify-content: flex-end;
}

.image-card {
  width: 100%;
  max-width: 380px;
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.4), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 199, 0.6);
}

.image-card img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
}

/* Pills & icon list */

.icon-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 199, 0.35);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Service tags */

.service-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-tag {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.service-tag span {
  font-size: 0.9rem;
  font-weight: 600;
}

.service-tag p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Steps / Process */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.step-card {
  padding: 1.1rem 1rem;
  border-radius: 20px;
  background: var(--card-soft);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Products / E-comm – CARD STYLE */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 cards per row on desktop */
  gap: 1.25rem;
  align-items: stretch;
}

.product-card {
  padding: 1.2rem 1.1rem;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.55), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 199, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.85);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -40% 10% auto;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.product-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.7);
  color: var(--accent-strong);
}

.product-card h3 {
  position: relative;
  font-size: 0.98rem;
}

.product-meta {
  position: relative;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-list {
  position: relative;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.25rem;
}

.product-list li::before {
  content: "• ";
  color: var(--accent-strong);
}

.product-footer {
  position: relative;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.price {
  font-weight: 600;
  font-size: 0.94rem;
}

/* Results */

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.result-card {
  padding: 1.1rem 1rem;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.result-card h3 {
  font-size: 0.96rem;
  margin-bottom: 0.4rem;
}

.result-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* CTA */

.section-cta {
  padding-bottom: 4.8rem;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-radius: 28px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.42), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 199, 0.7);
  box-shadow: var(--shadow-soft);
}

.cta-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 1.9rem);
  margin-bottom: 0.5rem;
}

.cta-copy p {
  font-size: 0.94rem;
  color: var(--text-main);
}

.cta-actions {
  display: grid;
  gap: 0.65rem;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 199, 0.2);
  padding: 1.6rem 0 2.2rem;
  background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-note {
  margin-top: 0.3rem;
  font-size: 0.78rem;
}

/* RESPONSIVE
   → 2-column with images on desktop
   → 2 clean rows (text, then image) on tablet/mobile
*/

@media (max-width: 1024px) {
  .hero-grid,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    justify-content: center;
  }

  /* image sections become 1 column = 2 rows */
  .split-grid,
  .split-grid.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-copy {
    order: 1;
  }

  .split-media {
    order: 2;
    justify-content: center;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .feature-grid,
  .service-tags,
  .steps-grid,
  .products-grid,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .metric {
    width: 100%;
  }

  .feature-grid,
  .service-tags,
  .steps-grid,
  .products-grid,
  .results-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 3rem 0;
  }

  .site-header {
    backdrop-filter: blur(10px);
  }

  .cta-inner {
    padding: 1.2rem 1.25rem;
  }
}
