﻿/* ================================
   COBRALAIR SYSTEMS LLC — style.css
   ================================ */

/* CSS VARIABLES */
:root {
  --bg: #2d2d2d;
  --surface: #383838;
  --border: #484848;
  --cyan: #21abe0;
  --cyan-dim: #1680a8;
  --white: #eeeeec;
  --muted: #9a9a9a;
  --accent: #3d3d3d;
}

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

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

body {
  background: var(--bg);
  color: var(--white);
  cursor: none;
  font-family: Syne, sans-serif;
  overflow-x: hidden;
}

/* ================================
   CUSTOM CURSOR
   ================================ */
.cursor {
  background: var(--cyan);
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  transition: transform .1s;
  position: fixed;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  border: 1px solid var(--cyan-dim);
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: all .15s;
  position: fixed;
  transform: translate(-50%, -50%);
}

/* ================================
   NOISE OVERLAY
   ================================ */
body:before {
  content: "";
  pointer-events: none;
  z-index: 1000;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  position: fixed;
  inset: 0;
}

/* ================================
   NAV
   ================================ */
nav {
  z-index: 9999;
  background: 0 0;
  border-bottom: 1px solid #0000;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
  transition: border-color .3s, background .3s;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

nav.scrolled {
  border-color: var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #2d2d2df2;
}

.nav-logo {
  align-items: center;
  text-decoration: none;
  display: flex;
}

.nav-logo img {
  opacity: .92;
  filter: none;
  width: auto;
  height: 38px;
  transition: opacity .3s;
  display: block;
}

.nav-logo img:hover {
  opacity: 1;
}

.nav-cta {
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  padding: 10px 24px;
  font-family: DM Mono, monospace;
  font-size: .72rem;
  text-decoration: none;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.nav-cta:before {
  content: "";
  background: var(--cyan);
  z-index: -1;
  transition: transform .3s;
  position: absolute;
  inset: 0;
  transform: translate(-101%);
}

.nav-cta:hover:before {
  transform: translate(0);
}

.nav-cta:hover {
  color: var(--bg);
}

/* ================================
   HERO
   ================================ */
.hero {
  z-index: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 140px 60px 80px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-city {
  width: 55%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(270deg, #000000e6 60%, #0000 100%);
  mask-image: linear-gradient(270deg, #000000e6 60%, #0000 100%);
}

.city-svg {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.rain-1 {
  animation: .8s linear infinite rainfall;
}

.rain-2 {
  animation: 1.2s linear infinite rainfall;
}

@keyframes rainfall {
  0% { transform: translateY(-40px); }
  to { transform: translateY(600px); }
}

.hero:after {
  content: "";
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  opacity: .3;
  pointer-events: none;
  background-size: 80px 80px;
  position: absolute;
  inset: 0;
}

.hero-eyebrow {
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-family: DM Mono, monospace;
  font-size: .7rem;
  animation: .8s .2s forwards fadeUp;
  display: flex;
}

.hero-eyebrow:before {
  content: "";
  background: var(--cyan);
  width: 40px;
  height: 1px;
}

.hero-title {
  letter-spacing: -.02em;
  opacity: 0;
  margin-bottom: 12px;
  font-family: Cormorant Garamond, serif;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1;
  animation: .9s .35s forwards fadeUp;
}

.hero-title em {
  color: var(--cyan);
  font-style: italic;
}

.hero-title .outline {
  -webkit-text-stroke: 1px var(--white);
  color: #0000;
}

.hero-subtitle {
  color: var(--muted);
  letter-spacing: .05em;
  opacity: 0;
  max-width: 520px;
  margin-top: 32px;
  margin-bottom: 56px;
  font-family: DM Mono, monospace;
  font-size: clamp(.75rem, 1.5vw, .9rem);
  line-height: 1.8;
  animation: .9s .5s forwards fadeUp;
}

.hero-actions {
  opacity: 0;
  align-items: center;
  gap: 40px;
  animation: .9s .65s forwards fadeUp;
  display: flex;
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  padding: 16px 40px;
  font-family: DM Mono, monospace;
  font-size: .75rem;
  text-decoration: none;
  transition: all .3s;
  position: relative;
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px #21abe040;
}

.btn-ghost {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  align-items: center;
  gap: 10px;
  font-family: DM Mono, monospace;
  font-size: .75rem;
  text-decoration: none;
  transition: color .3s;
  display: flex;
}

.btn-ghost:after {
  content: "→";
  transition: transform .3s;
}

.btn-ghost:hover {
  color: var(--white);
}

.btn-ghost:hover:after {
  transform: translate(4px);
}

/* ================================
   HERO BADGE
   ================================ */
.hero-badge {
  border: 1px solid var(--border);
  text-align: center;
  opacity: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  animation: 20s linear infinite spin, 1s 1s forwards fadeIn;
  display: flex;
  position: absolute;
  bottom: 120px;
  right: 60px;
}

.hero-badge-text {
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: DM Mono, monospace;
  font-size: .6rem;
  line-height: 1.8;
}

.hero-badge-center {
  background: var(--cyan);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
}

/* ================================
   DIVIDER
   ================================ */
.divider {
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  height: 1px;
  margin: 0 60px;
}

/* ================================
   PROBLEM SECTION
   ================================ */
.problem {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 60px;
}

.problem-statement {
  color: var(--white);
  margin-bottom: 24px;
  font-family: Cormorant Garamond, serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
}

.problem-statement em {
  color: var(--cyan);
  font-style: italic;
}

.problem-sub {
  color: var(--muted);
  letter-spacing: .03em;
  font-family: DM Mono, monospace;
  font-size: .85rem;
  line-height: 1.8;
}

/* ================================
   SECTION SHARED STYLES
   ================================ */
.section-label {
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cyan);
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: DM Mono, monospace;
  font-size: .65rem;
  display: flex;
}

.section-label:before {
  content: "//";
  color: var(--cyan-dim);
}

.section-title {
  margin-bottom: 16px;
  font-family: Cormorant Garamond, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.section-title em {
  color: var(--cyan);
  font-style: italic;
}

.section-desc {
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 72px;
  font-family: DM Mono, monospace;
  font-size: .8rem;
  line-height: 1.9;
}

/* ================================
   ECOSYSTEM
   ================================ */
.ecosystem {
  padding: 100px 60px;
  position: relative;
}

.ecosystem-header {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 72px;
  display: grid;
}

.ecosystem-header-right {
  width: 130%;
  height: 300px;
  margin-top: -360px;
  margin-left: 100px;
  position: relative;
  overflow: visible;
}

.ecosystem-header-right svg {
  transform-origin: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(40px);
}

.ecosystem-grid {
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  display: grid;
}

.ecosystem-card {
  background: var(--bg);
  min-height: 260px;
  padding: 40px 36px;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}

.ecosystem-card:before {
  content: "";
  background: var(--cyan);
  width: 2px;
  height: 0;
  transition: height .4s;
  position: absolute;
  top: 0;
  left: 0;
}

.ecosystem-card:hover {
  background: var(--surface);
}

.ecosystem-card:hover:before {
  height: 100%;
}

.card-icon {
  opacity: .8;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
}

.card-name {
  letter-spacing: .05em;
  color: var(--white);
  margin-bottom: 10px;
  font-family: Syne, sans-serif;
  font-size: .95rem;
  font-weight: 600;
}

.card-desc {
  color: var(--muted);
  font-family: DM Mono, monospace;
  font-size: .72rem;
  line-height: 1.8;
}

/* ================================
   SERVICE TIERS
   ================================ */
.tiers {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 120px 60px;
}

.tiers .section-label {
  justify-content: center;
}

.tiers .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.tiers-grid {
  text-align: left;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 64px auto 0;
  display: grid;
}

.tier-card {
  border: 1px solid var(--border);
  background: var(--bg);
  flex-direction: column;
  padding: 40px 32px;
  transition: border-color .3s, transform .3s;
  display: flex;
  position: relative;
}

.tier-card:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-4px);
}

.tier-card.featured {
  border-color: var(--cyan);
}

.tier-card.featured:after {
  content: "RECOMMENDED";
  background: var(--cyan);
  color: var(--bg);
  letter-spacing: .2em;
  padding: 4px 12px;
  font-family: DM Mono, monospace;
  font-size: .6rem;
  position: absolute;
  top: -1px;
  right: 24px;
}

.tier-number {
  color: var(--border);
  margin-bottom: 16px;
  font-family: Cormorant Garamond, serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
}

.tier-card.featured .tier-number {
  color: var(--cyan-dim);
}

.tier-name {
  letter-spacing: .05em;
  margin-bottom: 4px;
  font-family: Syne, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.tier-tagline {
  color: var(--cyan);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-family: DM Mono, monospace;
  font-size: .65rem;
}

.tier-divider {
  background: var(--border);
  height: 1px;
  margin-bottom: 24px;
}

.tier-target {
  color: white;
  flex: 1;
  font-family: DM Mono, monospace;
  font-size: .72rem;
  line-height: 1.8;
}

.tier-price {
  color: #F59E0B;
  letter-spacing: .08em;
  opacity: .95;
  margin-top: 20px;
  font-family: DM Mono, monospace;
  font-size: .72rem;
}

.tier-cta {
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan-dim);
  margin-top: 24px;
  padding-bottom: 4px;
  font-family: DM Mono, monospace;
  font-size: .72rem;
  text-decoration: none;
  transition: all .3s;
  display: inline-block;
}

.tier-cta:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ================================
   CONTACT
   ================================ */
.contact {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 80px;
  padding: 120px 60px;
  display: grid;
}

.contact-left h2 {
  margin-bottom: 24px;
  font-family: Cormorant Garamond, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
}

.contact-left h2 em {
  color: var(--cyan);
  font-style: italic;
}

.contact-left>p {
  color: var(--muted);
  margin-bottom: 48px;
  font-family: DM Mono, monospace;
  font-size: .78rem;
  line-height: 1.9;
}

.contact-info {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.contact-item {
  color: var(--muted);
  align-items: center;
  gap: 16px;
  font-family: DM Mono, monospace;
  font-size: .75rem;
  display: flex;
}

.contact-item-label {
  color: var(--cyan);
  letter-spacing: .15em;
  text-transform: uppercase;
  min-width: 80px;
}

.contact-promise {
  color: var(--muted);
  opacity: .6;
  margin: 8px 0 0;
  padding: 0;
  font-family: DM Mono, monospace;
  font-size: .72rem;
  line-height: 1.8;
}

.contact-form {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.form-group {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.form-label {
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: DM Mono, monospace;
  font-size: .65rem;
}

.form-input, .form-select, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  appearance: none;
  outline: none;
  width: 100%;
  padding: 14px 18px;
  font-family: DM Mono, monospace;
  font-size: .78rem;
  transition: border-color .3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cyan-dim);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted);
  opacity: .5;
}

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

.form-select option {
  background: var(--surface);
}

.form-submit {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  cursor: pointer;
  border: none;
  align-self: flex-start;
  margin-top: 8px;
  padding: 16px 40px;
  font-family: DM Mono, monospace;
  font-size: .75rem;
  transition: all .3s;
}

.form-submit:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px #21abe033;
}

/* ================================
   FOOTER
   ================================ */

   footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px 32px;
  position: relative;
}

.footer-top {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  display: flex;
}

.footer-nav {
  align-items: center;
  gap: 20px;
  display: flex;
}

.footer-logo {
  align-items: center;
  margin: 0;
  display: flex;
}

.footer-logo img {
  opacity: .9;
  width: auto;
  height: 22px;
}

.footer-tagline {
  color: var(--muted);
  letter-spacing: .05em;
  text-align: center;
  font-family: DM Mono, monospace;
  font-size: .65rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}

.footer-copy {
  color: var(--muted);
  letter-spacing: .1em;
  font-family: DM Mono, monospace;
  font-size: .65rem;
}

.footer-link {
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: DM Mono, monospace;
  font-size: .65rem;
  text-decoration: none;
  transition: color .2s;
}

.footer-link:hover {
  color: #00a3ff;
}

.footer-disclaimer {
  color: white;
  /* opacity: .4; */
  text-align: center;
  width: 100%;
  margin-top: 16px;
  font-family: DM Mono, monospace;
  font-size: .6rem;
}
p.glow-text-box {
  color: white;
  max-width: 800px;
  margin: 20px auto;
  font-size: .95rem;
  line-height: 1.6;
}

/* ================================
   UTILITIES & WIDGETS
   ================================ */


.booking-page .brand-logo {
    display: block;
    width: 75px;
    height: auto;
    margin: 0 auto 1rem auto;
}

#cal-booking-widget {
    width: 100%;
    height: 720px !important;
    min-height: 720px !important;
    max-height: 720px !important;
    overflow: hidden !important;
    border: none;
    background: var(--bg);
}

#cal-booking-widget iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    overflow: hidden !important;
}

#cal-booking-widget::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

#skeleton-container {
    min-height: 0 !important;
    height:0 !important;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.reveal {
  opacity: 0;
  transition: opacity .8s, transform .8s;
  transform: translateY(32px);
}

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

/* ================================
   RESPONSIVE MEDIA QUERIES
   ================================ */
@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }
  .cursor, .cursor-ring {
    display: none;
  }
}

@media (width <= 1100px) {
  body, html {
    overflow-x: hidden;
  }
  nav {
    padding: 22px 24px;
    position: fixed;
  }
  .nav-logo {
    height: 38px;
    padding-left: 16px;
  }
  .nav-logo img {
    width: auto;
    height: 28px;
  }
  .nav-cta {
    margin-left: auto;
    margin-right: 275px;
    position: relative;
    display: inline-flex !important;
  }
  .hero {
    padding-top: 150px;
  }
  .hero-actions {
    justify-content: center;
    margin-right: 225px;
  }
  .hero-city {
    opacity: .55;
    width: 75%;
  }
  .problem {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 40px;
    padding-right: 40px;
  }
  .problem-statement, .problem-sub {
    transform-origin: 50%;
    width: 75%;
    margin-left: -0%;
    transform: scale(.82);
  }
  .ecosystem-header-right {
    width: 100%;
    height: 260px;
    margin: 20px 0 60px;
  }
  .ecosystem-grid, .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact-form {
    width: 100%;
    max-width: 640px;
  }
  footer .footer-top {
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (width <= 900px) {
  .nav-cta {
    display: none !important;
  }
  nav {
    justify-content: center;
    align-items: center;
    padding: 28px 20px;
  }
  .nav-logo {
    margin: 0 auto;
  }
  .footer-top {
    flex-direction: column;
    gap: 16px;
  }
  .footer-tagline {
    position: static;
    transform: none;
  }
}

@media (width <= 768px) {
  html {
    font-size: 16px;
  }
  nav {
    justify-content: center;
  }
  .nav-logo img {
    height: 26px;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 120px 20px 72px;
  }
  .hero-city {
    opacity: .28;
    width: 100%;
    -webkit-mask-image: linear-gradient(#000c, #0000 95%);
    mask-image: linear-gradient(#000c, #0000 95%);
  }
  .hero-eyebrow {
    letter-spacing: .14em;
    gap: 10px;
    font-size: .58rem;
    line-height: 1.5;
  }
  .hero-eyebrow:before {
    width: 24px;
  }
  .hero-subtitle {
    max-width: 100%;
    margin-top: 24px;
    margin-bottom: 36px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero-badge {
    display: none;
  }
  .btn-primary, .btn-ghost, .form-submit {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .problem, .ecosystem, .tiers, .contact {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-label {
    letter-spacing: .18em;
    font-size: .58rem;
    line-height: 1.5;
  }
  .section-desc {
    margin-bottom: 44px;
  }
  .ecosystem-header-right {
    height: 220px;
    margin-bottom: 32px;
  }
  .tiers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
  }
  .tier-card, .ecosystem-card {
    padding: 32px 24px;
  }
  .contact-item {
    overflow-wrap: anywhere;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .contact-item-label {
    min-width: 0;
  }
  footer {
    padding: 32px 28px;
  }
  .footer-top {
    text-align: center;
    flex-direction: column;
  }
  .divider {
    margin: 0 28px;
  }
}

@media (width <= 640px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

@media (width <= 380px) {
  nav {
    padding: 16px;
  }
  .nav-logo img {
    height: 22px;
  }
  .nav-cta {
    padding: 8px 10px;
  }
  .hero, .problem, .ecosystem, .tiers, .contact {
    padding-left: 16px;
    padding-right: 16px;
  }
  .divider {
    margin: 0 16px;
  }
}