/* ===== AVITO LANDING — Warm, Results-Oriented ===== */

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

:root {
  --bg: #FFFBF5;
  --bg-alt: #FFF7ED;
  --bg-dark: #1C1917;
  --text: #1C1917;
  --text-muted: #78716C;
  --accent: #EA580C;
  --accent-light: #FED7AA;
  --accent-dark: #C2410C;
  --green: #16A34A;
  --red: #DC2626;
  --blue: #2563EB;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Unbounded', cursive;
  --font-body: 'Nunito', sans-serif;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 48px rgba(28, 25, 23, 0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== Typography ===== */
.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}
.text-accent { color: var(--accent); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { color: var(--accent); font-size: 16px; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #DBEAFE 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.8s ease 0.15s both;
}
.hero-highlight {
  color: var(--accent);
  position: relative;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent-light);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.8s ease 0.3s both;
}
.hero-cta-row {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.8s ease 0.45s both;
}
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}
.btn-main:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}
.btn-arrow { font-size: 20px; transition: transform 0.3s; }
.btn-main:hover .btn-arrow { transform: translateX(4px); }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.8s ease 0.6s both;
}
.proof-item { text-align: center; }
.proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.proof-label { font-size: 13px; color: var(--text-muted); }
.proof-divider { width: 1px; height: 40px; background: rgba(28, 25, 23, 0.15); }

/* Hero floating cards */
.hero-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease 0.8s both;
}
.hero-card {
  width: 180px;
  height: 220px;
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}
.hero-card:hover { transform: translateY(-8px) rotate(0deg) !important; }
.hc-1 {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: white;
  transform: rotate(-6deg);
  animation: float 4s ease-in-out infinite;
}
.hc-2 {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  transform: rotate(0deg) translateY(-10px);
  animation: float 4s ease-in-out 1s infinite;
}
.hc-3 {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #1a1a1a;
  transform: rotate(5deg);
  animation: float 4s ease-in-out 2s infinite;
}
.hc-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}
.hc-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}
.hc-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}
.hc-sub { font-size: 11px; opacity: 0.7; }

/* ===== Pain Section ===== */
.pain {
  padding: 100px 0;
  background: var(--bg-alt);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pain-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 25, 23, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain-icon { font-size: 36px; margin-bottom: 16px; }
.pain-bad {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--red);
}
.pain-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ===== Before/After ===== */
.before-after {
  padding: 100px 0;
}
.ba-grid {
  display: flex;
  gap: 32px;
  align-items: stretch;
  margin-top: 48px;
}
.ba-col { flex: 1; }
.ba-vs {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--text-muted);
  opacity: 0.3;
}
.ba-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
}
.ba-label-bad { background: #FEE2E2; color: var(--red); }
.ba-label-good { background: #DCFCE7; color: var(--green); }
.ba-mockup {
  border-radius: var(--radius);
  padding: 20px;
  min-height: 240px;
  margin-bottom: 20px;
}
.ba-mockup-bad {
  background: #F5F5F4;
  border: 2px dashed #D6D3D1;
}
.ba-mockup-good {
  background: white;
  border: 2px solid var(--green);
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.1);
}
.ba-photo-placeholder {
  height: 100px;
  background: #E7E5E4;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 28px;
  margin-bottom: 16px;
}
.ba-photo-placeholder small { font-size: 12px; margin-top: 4px; }
.ba-cards-strip {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}
.ba-mini-card {
  width: 60px;
  height: 72px;
  border-radius: 6px;
  flex-shrink: 0;
}
.bmc-1 { background: linear-gradient(135deg, #1a1a2e, #0f3460); }
.bmc-2 { background: linear-gradient(135deg, #667eea, #764ba2); }
.bmc-3 { background: linear-gradient(135deg, #16a34a, #166534); }
.bmc-4 { background: linear-gradient(135deg, #f97316, #ea580c); }
.bmc-5 { background: linear-gradient(135deg, #ec4899, #be185d); }
.ba-text-block { padding: 0 4px; }
.ba-title-mock {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: lowercase;
}
.ba-title-good {
  text-transform: uppercase !important;
  color: var(--text) !important;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.5px;
}
.ba-desc-mock { font-size: 12px; color: #A8A29E; line-height: 1.4; }
.ba-stats { display: flex; gap: 24px; }
.ba-stats-good .ba-stat { background: #F0FDF4; border-radius: var(--radius-sm); padding: 12px 20px; }
.ba-stat { text-align: center; }
.ba-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-muted);
}
.ba-num-good { color: var(--green) !important; }
.ba-stat-label { font-size: 13px; color: var(--text-muted); }

/* ===== How It Works ===== */
.how { padding: 100px 0; background: var(--bg-alt); }
.steps { max-width: 640px; margin: 48px auto 0; }
.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  min-width: 60px;
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p { color: var(--text-muted); font-size: 16px; }
.step-line {
  width: 2px;
  height: 40px;
  background: var(--accent-light);
  margin: 8px 0 8px 28px;
  border-radius: 2px;
}
.steps-cta { text-align: center; margin-top: 48px; }

/* ===== Card Types Showcase ===== */
.examples { padding: 100px 0; }
.cards-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.showcase-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.showcase-card:hover::before { transform: scaleX(1); }
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sc-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--card-color);
  margin-bottom: 12px;
}
.showcase-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.showcase-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* ===== For Whom ===== */
.for-whom { padding: 100px 0; background: var(--bg-alt); }
.whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.whom-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 25, 23, 0.06);
  transition: transform 0.3s;
}
.whom-card:hover { transform: translateY(-4px); }
.whom-emoji { font-size: 40px; margin-bottom: 16px; }
.whom-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
.whom-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ===== Social Proof ===== */
.social-proof { padding: 80px 0; }
.sp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sp-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.sp-big {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.sp-text { font-size: 14px; color: var(--text-muted); line-height: 1.4; }

/* ===== Final CTA ===== */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.final-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  position: relative;
}
.final-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  position: relative;
}
.btn-final {
  font-size: 18px;
  padding: 20px 44px;
  position: relative;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 13px;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
.hide-mobile { display: inline; }

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .burger { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s;
    z-index: 200;
  }
  .nav-links.open { right: 0; }
  .nav-cta { text-align: center; width: 100%; }

  .hero { padding: 60px 20px 40px; min-height: auto; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-proof { flex-direction: column; gap: 16px; }
  .proof-divider { width: 40px; height: 1px; }
  .hero-cards { flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
  .hero-card { transform: none !important; width: 200px; }

  .pain-grid, .whom-grid { grid-template-columns: 1fr; }
  .cards-showcase { grid-template-columns: 1fr 1fr; }
  .sp-grid { grid-template-columns: 1fr 1fr; }

  .ba-grid { flex-direction: column; }
  .ba-vs { justify-content: center; padding: 8px 0; }

  .footer-top { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .cards-showcase { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: 1fr; }
}
