/* Carbon AI Marketing Landing Page
   FLY-level premium aesthetic — dark teal/navy, Inter, cinematic sections */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:        #040c14;
  --bg2:       #071220;
  --bg3:       #0a1628;
  --bg4:       #0f1f35;
  --sky:       #38bdf8;
  --sky-dim:   rgba(56, 189, 248, 0.12);
  --sky-dim2:  rgba(56, 189, 248, 0.18);
  --sky-glow:  rgba(56, 189, 248, 0.35);
  --sky-glow2: 0 0 24px rgba(56, 189, 248, 0.25);
  --white:     #f0f9ff;
  --white90:   rgba(240, 249, 255, 0.9);
  --muted:     #94a3b8;
  --muted2:    #7d92ac;
  --border:    rgba(56, 189, 248, 0.18);
  --border2:   rgba(56, 189, 248, 0.08);
  --green:     #34d399;
  --green-dark:#059669;
  --green-dim: rgba(52, 211, 153, 0.12);
  --red:       #c7292f;
  --orange:    #fb923c;
  --gold:      #f59e0b;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --radius:    1rem;
  --radius-sm: 0.625rem;
  --radius-lg: 1.5rem;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(56, 189, 248, 0.06) inset;
  --shadow-btn: 0 4px 16px rgba(56, 189, 248, 0.3);
  --shadow-btn-green: 0 4px 20px rgba(52, 211, 153, 0.35);
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::selection { background: var(--sky-dim); color: var(--sky); }

/* Layout */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(4, 12, 20, 0.92);
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(16px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}
.nav-brand img { height: 32px; width: auto; }

.nav-tag {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sky);
  background: var(--sky-dim);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: var(--font) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--bg) !important;
  background: var(--sky) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  letter-spacing: 0.02em;
  transition: var(--transition) !important;
  text-decoration: none;
}
.nav-cta:hover { background: #6dd5ff !important; box-shadow: var(--shadow-btn) !important; }

/* HERO */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 12, 20, 0.75) 0%,
    rgba(4, 12, 20, 0.55) 40%,
    rgba(4, 12, 20, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sky);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.4rem 1rem;
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
  border-radius: var(--radius-sm);
  animation: fadeSlideUp 0.7s ease-out;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.7s ease-out 0.1s both;
}

.hero-title-accent { color: var(--sky); }

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--white90);
  max-width: 580px;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.7s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeSlideUp 0.7s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--sky);
  border: none;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: #6dd5ff;
  box-shadow: var(--sky-glow2);
  transform: translateY(-1px);
}
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white90);
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-secondary:hover {
  color: var(--white);
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--sky-dim);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border2);
  animation: fadeSlideUp 0.7s ease-out 0.45s both;
}

.hero-stat-value {
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* TRUST STRIP */
.trust-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  padding: 1.25rem 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted2);
  font-weight: 500;
}
.trust-icon { color: var(--sky); display: flex; }
.trust-sep { width: 1px; height: 14px; background: var(--border); }

/* IMAGE SECTION (How It Works & Why It Matters) */
.img-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.img-section--flip {
  direction: rtl;
}
.img-section--flip .img-section-content {
  direction: ltr;
}

.img-section-media {
  position: relative;
  overflow: hidden;
}
.img-section-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-section-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(4, 12, 20, 0.4) 0%,
    rgba(4, 12, 20, 0.1) 60%,
    rgba(4, 12, 20, 0.6) 100%
  );
}
.img-section--flip .img-section-media-overlay {
  background: linear-gradient(
    to left,
    rgba(4, 12, 20, 0.4) 0%,
    rgba(4, 12, 20, 0.1) 60%,
    rgba(4, 12, 20, 0.6) 100%
  );
}

.img-section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  background: var(--bg);
}

.section-label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--white90);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

/* Steps list */
.steps-list { display: flex; flex-direction: column; gap: 0; }

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border2);
}
.step-item:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--sky);
  background: var(--sky-dim);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.step-body p {
  font-size: 0.875rem;
  color: var(--muted2);
  line-height: 1.65;
}

/* Proof points */
.proof-points { display: flex; flex-direction: column; gap: 1.25rem; }

.proof-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.proof-point-icon {
  width: 40px;
  height: 40px;
  background: var(--sky-dim);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  flex-shrink: 0;
}

.proof-point h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.proof-point p {
  font-size: 0.825rem;
  color: var(--muted2);
  line-height: 1.6;
}

/* PRICING */
.pricing-section {
  padding: 7rem 0;
  position: relative;
  background: var(--bg);
}
.pricing-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--bg3) 0%, var(--bg2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pricing-header {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.06) 0%, rgba(52, 211, 153, 0.04) 100%);
  border-bottom: 1px solid var(--border2);
  padding: 2.5rem;
  text-align: center;
}

.pricing-header-label {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.pricing-header h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.pricing-header p { font-size: 0.9rem; color: var(--muted2); }

.pricing-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}
.pricing-amount {
  font-family: var(--font);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.pricing-unit {
  font-size: 0.9rem;
  color: var(--muted2);
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.pricing-body { padding: 2rem 2.5rem; }
.pricing-includes { list-style: none; margin-bottom: 2rem; }
.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border2);
  font-size: 0.9rem;
  color: var(--white90);
}
.pricing-includes li:last-child { border-bottom: none; }
.pricing-check {
  width: 20px; height: 20px;
  background: var(--green-dim);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cert {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.pricing-cert-icon {
  width: 40px; height: 40px;
  background: var(--sky-dim);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  flex-shrink: 0;
}
.pricing-cert-text strong { display: block; font-size: 0.875rem; color: var(--white); margin-bottom: 0.2rem; }
.pricing-cert-text span { font-size: 0.775rem; color: var(--muted2); }

.pricing-cta {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--sky);
  border: none;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
}
.pricing-cta:hover { background: #6dd5ff; box-shadow: var(--sky-glow2); }

.pricing-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* FAQ */
.faq-section { padding: 7rem 0; background: var(--bg2); }
.faq-list { max-width: 680px; }

.faq-item { border-bottom: 1px solid var(--border2); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  gap: 1rem;
  transition: var(--transition);
  min-height: 48px;
}
.faq-q:hover { color: var(--sky); }

.faq-icon {
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--sky-dim);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--sky);
}

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.75;
}

/* CTA */
.cta-section {
  padding: 7rem 0;
  text-align: center;
  background: var(--bg);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta-section p { font-size: 1.05rem; color: var(--white90); margin-bottom: 2.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border2);
  padding: 3rem 0 2rem;
  background: var(--bg2);
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.footer-brand img { height: 28px; }
.footer-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}
.footer-links-section-title {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted2);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--muted2); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .img-section { grid-template-columns: 1fr; min-height: auto; }
  .img-section--flip { direction: ltr; }
  .img-section-media { min-height: 50vh; }
  .img-section-content { padding: 3.5rem 2rem; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 2rem; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .trust-strip-inner { gap: 1rem 1.5rem; }
  .trust-sep { display: none; }
  .img-section-content { padding: 3rem 1.5rem; }
}