/* Global styles for ArtAirCleaner landing page */
:root {
  --bg-main: #000000;
  --bg-alt: #050505;
  --bg-card: rgba(248, 247, 244, 0.04);
  --primary: #f8f7f4;
  --primary-accent: #f1ede4;
  --secondary: #c9a74d;
  --accent-gold: #d8b86a;
  --accent-soft: rgba(248, 247, 244, 0.22);
  --text-main: #f8f7f4;
  --text-muted: rgba(248, 247, 244, 0.6);
  --border-soft: rgba(248, 247, 244, 0.14);
  --shadow-card: 0 24px 55px rgba(0, 0, 0, 0.6);
  --max-width: 1200px;
  --transition: 200ms ease;
  font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-main);
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(120% 120% at 80% 10%, rgba(201, 167, 77, 0.16), transparent),
    radial-gradient(120% 120% at 10% 90%, rgba(248, 247, 244, 0.1), transparent), var(--bg-main);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  border-radius: 16px;
}

.page-wrapper {
  position: relative;
  overflow-x: hidden;
}

.navbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--border-soft);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--accent-gold));
  color: var(--bg-main);
  font-family: "Space Grotesk", sans-serif;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-links a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-cta {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--accent-gold));
  color: #000000;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 15px 35px rgba(201, 167, 77, 0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 45px rgba(201, 167, 77, 0.45);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.section {
  position: relative;
  padding: 6rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.section-header {
  max-width: 720px;
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.5rem, 3.5vw + 1rem, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 2vw + 1.5rem, 3rem);
}

h3 {
  font-size: 1.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition),
    color var(--transition);
}

.btn.primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent-gold));
  color: #000000;
  box-shadow: 0 20px 45px rgba(201, 167, 77, 0.35);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(201, 167, 77, 0.45);
}

.btn.ghost {
  border: 1px solid rgba(248, 247, 244, 0.3);
  color: var(--text-main);
}

.btn.ghost:hover {
  border-color: rgba(216, 184, 106, 0.55);
  color: var(--primary-accent);
}

.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: min(var(--max-width), 100%);
  gap: clamp(2rem, 5vw, 4rem);
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.parallax-layer {
  position: absolute;
  inset: -20%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.65;
}

.layer-gradient {
  background: radial-gradient(circle at 20% 20%, rgba(216, 184, 106, 0.25), transparent 55%),
    radial-gradient(circle at 80% 40%, rgba(248, 247, 244, 0.18), transparent 65%),
    linear-gradient(135deg, rgba(0, 0, 0, 0), rgba(216, 184, 106, 0.12));
}

.layer-grid {
  background-image: linear-gradient(rgba(248, 247, 244, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 244, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
}

.layer-bubble {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(216, 184, 106, 0.45), rgba(0, 0, 0, 0));
  mix-blend-mode: screen;
}

.layer-bubble-1 {
  top: 12%;
  left: 6%;
}

.layer-bubble-2 {
  bottom: 10%;
  right: 12%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-gold);
}

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

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(420px, 90%);
  transition: transform 350ms ease;
}

.device-shell {
  padding: 0.75rem;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.18), rgba(30, 41, 59, 0.35));
  box-shadow: 0 35px 70px rgba(8, 11, 22, 0.65);
}

.device-screen {
  position: relative;
  border-radius: 22px;
  padding: 2.5rem 2rem;
  background: linear-gradient(160deg, rgba(216, 184, 106, 0.18), rgba(0, 0, 0, 0.88));
  border: 1px solid rgba(216, 184, 106, 0.24);
  overflow: hidden;
  min-height: 360px;
}

.screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(216, 184, 106, 0.32), transparent 55%);
  mix-blend-mode: screen;
}

.screen-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 184, 106, 0.18);
  align-self: flex-start;
  font-size: 0.85rem;
  color: var(--primary-accent);
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(216, 184, 106, 0.32);
}

.air-quality {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aq-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-accent);
}

.aq-label {
  color: var(--text-muted);
}

.chipset {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(216, 184, 106, 0.28);
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technology {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.98));
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: min(var(--max-width), 100%);
}

.tech-card {
  padding: 2rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
}

.tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 184, 106, 0.35);
}

.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(216, 184, 106, 0.32), rgba(248, 247, 244, 0.2));
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.features {
  background: radial-gradient(140% 140% at 80% 10%, rgba(216, 184, 106, 0.16), transparent),
    linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.98));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  width: min(var(--max-width), 100%);
}

.feature-card {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 184, 106, 0.32);
}

.card-large {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
}

.feature-card:not(.card-large) {
  grid-column: span 3;
}

.feature-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.tag {
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 167, 77, 0.18);
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.insights {
  position: relative;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.82));
}

.insights-overlay {
  position: absolute;
  inset: 15%;
  border-radius: 32px;
  background: conic-gradient(from 120deg, rgba(216, 184, 106, 0.2), rgba(248, 247, 244, 0.24), rgba(0, 0, 0, 0));
  filter: blur(60px);
  mix-blend-mode: screen;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  width: min(var(--max-width), 100%);
}

.stat-card {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--accent-gold);
}

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

.testimonials {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.88));
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: min(var(--max-width), 100%);
}

.testimonial-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
}

.testimonial-card blockquote {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.testimonial-card .name {
  display: block;
  font-weight: 600;
}

.testimonial-card .company {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact {
  background: linear-gradient(135deg, rgba(216, 184, 106, 0.22), rgba(248, 247, 244, 0.12), rgba(0, 0, 0, 0.94));
}

.contact-card {
  width: min(960px, 95%);
  background: rgba(0, 0, 0, 0.92);
  border-radius: 32px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.65);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.contact-content {
  display: grid;
  gap: 2rem;
}

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

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

.contact-form label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(248, 247, 244, 0.18);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(216, 184, 106, 0.6);
  box-shadow: 0 0 0 4px rgba(216, 184, 106, 0.28);
}

.contact-form textarea {
  resize: vertical;
  grid-column: span 2;
  min-height: 160px;
}

.contact-form button {
  grid-column: span 2;
  justify-self: flex-start;
}

.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.95);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .navbar {
    position: sticky;
    top: 0;
  }

  .navbar.is-open {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .navbar.is-open .nav-links {
    display: grid;
    width: 100%;
    order: 3;
    gap: 1.25rem;
    padding: 1.25rem 0 0.5rem;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(-12px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    justify-items: center;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .card-large,
  .feature-card:not(.card-large) {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .navbar {
    padding: 1rem 1.25rem;
  }

  .hero {
    padding-top: 7rem;
  }

  .section {
    padding: 4.5rem 1.25rem;
  }

  .hero-content {
    gap: 2rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

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

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

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea,
  .contact-form button {
    grid-column: auto;
  }
}
