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

:root {
  --orange: #F97316;
  --orange-dark: #ea6a0a;
  --orange-light: #fff4ed;
  --dark: #0f1117;
  --gray: #87909e;
  --gray-light: #f5f7f9;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #30343b;
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--dark); border-color: #d0d5dd; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--lg { padding: 14px 28px; font-size: 16px; }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-header h2 { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-header p { color: var(--gray); font-size: 17px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: #e8eaed; box-shadow: 0 2px 16px rgba(0,0,0,.06); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}
.header__logo { flex-shrink: 0; }
.header__nav { display: flex; gap: 32px; margin-left: auto; }
.header__nav a { font-size: 14px; font-weight: 500; color: var(--gray); transition: color .2s; }
.header__nav a:hover { color: var(--dark); }
.header__cta { display: flex; gap: 10px; }
.header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.header__burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #fff4ed 0%, #ffffff 60%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__text h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--dark); }
.hero__text p { font-size: 18px; color: var(--gray); margin-bottom: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--gray); }

.hero__dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #e8eaed;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-label { font-size: 12px; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; }
.dash-value { font-size: 32px; font-weight: 800; color: var(--dark); }
.dash-trend { font-size: 13px; font-weight: 500; color: #16a34a; }

/* ===== LOGOS ===== */
.logos { padding: 48px 0; border-top: 1px solid #e8eaed; border-bottom: 1px solid #e8eaed; }
.logos__label { text-align: center; font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.logos__grid { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }

/* ===== FEATURES ===== */
.features { padding: 96px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--orange);
  margin-bottom: 20px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: 15px; }

/* ===== HOW IT WORKS ===== */
.how { padding: 96px 0; background: var(--dark); color: var(--white); }
.how .section-header h2 { color: var(--white); }
.how .badge { background: rgba(249,115,22,.15); color: var(--orange); }
.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1);
}
.step__num {
  width: 48px; height: 48px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.6); font-size: 15px; }
.step__arrow { font-size: 24px; color: rgba(255,255,255,.3); padding-top: 48px; }
.how__cta { text-align: center; }

/* ===== PRICING ===== */
.pricing { padding: 96px 0; background: var(--gray-light); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing__note {
  margin-top: 32px;
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--gray);
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 2px solid #e8eaed;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--orange);
  box-shadow: 0 8px 40px rgba(249,115,22,.15);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.price { font-size: 40px; font-weight: 800; color: var(--dark); }
.price span { font-size: 18px; font-weight: 500; color: var(--gray); }
.price-desc { color: var(--gray); font-size: 14px; margin-bottom: 24px; }
.pricing-card ul { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-card li { font-size: 15px; color: #30343b; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== CONTACT ===== */
.contact { padding: 96px 0; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__text h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.contact__text p { color: var(--gray); margin-bottom: 12px; }
.contact__text a { color: var(--orange); }
.contact__form { display: flex; flex-direction: column; gap: 14px; }
.contact__form input,
.contact__form textarea {
  padding: 12px 16px;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--orange); }
.contact__form .btn { align-self: flex-start; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer__inner {
  display: flex;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand { flex: 1; }
.footer__brand p { margin-top: 16px; font-size: 14px; max-width: 280px; }
.footer__links { display: flex; gap: 60px; }
.footer__links div { display: flex; flex-direction: column; gap: 12px; }
.footer__links strong { color: var(--white); font-size: 14px; margin-bottom: 4px; }
.footer__links a { font-size: 14px; transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { padding: 20px 0; }
.footer__bottom p { font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__text h1 { font-size: 38px; }
  .hero__visual { display: none; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .how__steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); padding: 0; }
}

@media (max-width: 640px) {
  .header__nav, .header__cta { display: none; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    gap: 16px;
  }
  .header__burger { display: flex; margin-left: auto; }
  .features__grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }
  .hero { padding: 120px 0 60px; }
}
