/* AirFrame - Static Site Styles */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Nunito+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

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

:root {
  --bg-white: #ffffff;
  --bg-section: #f5f5f7;
  --bg-light: #f0f0f4;
  --text-primary: #111114;
  --text-secondary: rgba(17,17,20,0.65);
  --text-muted: rgba(17,17,20,0.42);
  --accent: #7b6ef6;
  --accent-2: #4fa3e0;
  --gradient: linear-gradient(135deg, #7b6ef6 0%, #4fa3e0 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(123,110,246,0.1) 0%, rgba(79,163,224,0.1) 100%);
  --border: rgba(0,0,0,0.08);
  --card-bg: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== NAVIGATION ===== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--gradient) !important;
  color: white !important;
  padding: 9px 22px;
  border-radius: 40px;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.85;
  color: white !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== UTILITY ===== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-alt {
  background-color: var(--bg-section);
}

.tag {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-subtle);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 40px;
  border: 1px solid rgba(123,110,246,0.2);
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 32px rgba(123,110,246,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(123,110,246,0.4);
  color: white;
}

.btn-secondary {
  background: rgba(17,17,20,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(17,17,20,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--gradient-subtle);
}

.btn-lg {
  font-size: 16px;
  padding: 16px 40px;
}

/* ===== HERO ===== */

.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(123,110,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.08;
  color: var(--text-primary);
}

.hero p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
}

/* ===== FEATURES GRID ===== */

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

.feature-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.feature-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.feature-card-content {
  padding: 24px 28px 28px;
  background: #ffffff;
}

.feature-card-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== PRICING ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(123,110,246,0.15);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 8px;
}

.pricing-price .amount {
  font-family: 'Manrope', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-price .period {
  font-size: 15px;
  color: var(--text-muted);
  margin-left: 2px;
}

.pricing-savings {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
  height: 20px;
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 40px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  background: var(--gradient);
  color: white;
  transition: opacity 0.2s, transform 0.2s;
}

.pricing-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: white;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.pricing-note span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== HOW IT WORKS ===== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 20px;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: white;
}

.step-content h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.steps-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

/* ===== COMPATIBILITY ===== */

.compat-section {
  text-align: center;
}

.compat-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}

.compat-row-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.compat-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.compat-app {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.compat-app:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.compat-app svg {
  flex-shrink: 0;
}

/* ===== FAQ ===== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(123,110,246,0.12);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-answer.open {
  display: block;
}

.faq-answer ul {
  margin: 12px 0 0 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

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

.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

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

.footer-logo img {
  height: 24px;
  width: auto;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== LEGAL PAGES ===== */

.legal-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.legal-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-hero .meta {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 32px 100px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
}

.legal-content h2:first-child {
  border-top: none;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 17px;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin: 12px 0 16px 24px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ===== GETTING STARTED ===== */

.gs-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
  background: var(--bg-white);
}

.gs-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.gs-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.gs-step {
  padding: 80px 0;
  background: var(--bg-white);
}

.gs-step:nth-child(even) {
  background: var(--bg-section);
}

.gs-step-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.gs-step-inner.reverse {
  direction: rtl;
}

.gs-step-inner.reverse > * {
  direction: ltr;
}

.gs-step-number {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.gs-step-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.gs-step-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.gs-video-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  background: var(--bg-section);
}

.gs-video video {
  width: 100%;
  display: block;
}

.video-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.video-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(123,110,246,0.1);
  border: 2px solid rgba(123,110,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

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

  .steps-image {
    order: -1;
  }

  .gs-step-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gs-step-inner.reverse {
    direction: ltr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 64px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .legal-content {
    padding: 48px 20px 80px;
  }
}
