/* ===== Variables ===== */
:root {
  --color-primary: #e85d04;
  --color-primary-dark: #dc2f02;
  --color-accent: #faa307;
  --color-dark: #1a1a1a;
  --color-text: #2d2d2d;
  --color-text-muted: #6b6b6b;
  --color-bg: #fffbf7;
  --color-white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(232, 93, 4, 0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Montserrat', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover { color: var(--color-primary); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(232, 93, 4, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.45);
}

.btn-glow {
  box-shadow: 0 4px 24px rgba(232, 93, 4, 0.5), 0 0 0 1px rgba(255,255,255,0.2) inset;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 24px rgba(232, 93, 4, 0.5), 0 0 0 1px rgba(255,255,255,0.2) inset; }
  50% { box-shadow: 0 6px 32px rgba(232, 93, 4, 0.6), 0 0 0 1px rgba(255,255,255,0.25) inset; }
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--color-white);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: hero-zoom 20s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26, 26, 26, 0.92) 0%, rgba(26, 26, 26, 0.78) 45%, rgba(26, 26, 26, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(250, 163, 7, 0.25);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(250, 163, 7, 0.4);
  animation: fade-in-up 0.8s ease-out;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  letter-spacing: -0.03em;
  animation: fade-in-up 0.8s ease-out 0.1s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text {
  margin: 0 0 36px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  animation: fade-in-up 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fade-in-up 0.8s ease-out 0.3s both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  width: 100%;
  max-width: 320px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  border: 4px solid rgba(255, 255, 255, 0.2);
  animation: float-phone 5s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Benefits ===== */
.benefits {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, #fefcfb 100%);
}

.section-title {
  margin: 0 0 48px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.benefit-card {
  background: var(--color-white);
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(232, 93, 4, 0.08);
  border-color: rgba(232, 93, 4, 0.15);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card-highlight {
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border: none;
  box-shadow: 0 12px 40px rgba(232, 93, 4, 0.35);
}

.benefit-card-highlight::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  height: 3px;
}

.benefit-card-highlight:hover {
  border-color: transparent;
  box-shadow: 0 20px 56px rgba(232, 93, 4, 0.4);
}

.benefit-card-highlight .benefit-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.benefit-card.benefit-card-highlight p {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.benefit-card.benefit-card-highlight h3 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.benefit-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.12) 0%, rgba(250, 163, 7, 0.12) 100%);
  color: var(--color-primary);
  transition: transform 0.35s ease, background 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrap {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.18) 0%, rgba(250, 163, 7, 0.18) 100%);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.benefit-card-highlight:hover .benefit-icon-wrap {
  background: rgba(255, 255, 255, 0.28);
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.benefit-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== App Section ===== */
.app-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #fff 0%, #fff9f5 50%, #fef5ee 100%);
  position: relative;
}

.app-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 4, 0.15), transparent);
}

.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.app-content .section-title { text-align: left; margin-bottom: 16px; }

.app-text {
  margin: 0 0 32px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 420px;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.app-badge {
  display: block;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-badge:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.25);
}

.app-badge img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 8px;
}

.app-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.app-mockup img {
  width: 100%;
  max-width: 240px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.app-mockup .app-phone {
  max-width: 220px;
  border: 3px solid rgba(0,0,0,0.08);
}

.app-mockup-secondary {
  max-width: 200px;
  align-self: flex-end;
  margin-bottom: -20px;
}

.app-mockup .app-screen {
  max-width: 180px;
  align-self: center;
  border: 4px solid #333;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 120%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.cta-title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
}

.cta-text {
  margin: 0 0 28px;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo { color: var(--color-white); }

.footer p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-phone { max-width: 280px; }

  .app-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-content .section-title { text-align: center; }
  .app-text { margin-left: auto; margin-right: auto; max-width: none; }
  .app-badges { justify-content: center; }
  .app-mockup { flex-direction: column; }
  .app-mockup-secondary { margin-bottom: 0; align-self: center; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .nav-open { transform: translateX(0); }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }

  .burger { display: flex; }

  .benefits { padding: 64px 0; }
  .app-section { padding: 64px 0; }
  .cta { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .app-mockup img { max-width: 200px; }
}
