:root {
  --bg: #f5f4f0;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --line: rgba(20, 20, 20, 0.08);
  --text: #171717;
  --muted: #5a5a5a;
  --accent: #bf3d35;
  --accent-dark: #952f29;
  --shadow: 0 20px 60px rgba(29, 24, 20, 0.08);
  --radius: 24px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; }

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.32;
}
.orb-1 { width: 280px; height: 280px; background: rgba(191,61,53,0.25); top: 10%; left: -90px; animation: drift 11s ease-in-out infinite; }
.orb-2 { width: 360px; height: 360px; background: rgba(147, 118, 75, 0.18); bottom: 4%; right: -110px; animation: drift 14s ease-in-out infinite reverse; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(245, 244, 240, 0.78);
  border-bottom: 1px solid rgba(20,20,20,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand strong { display: block; font-size: 15px; }
.brand span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #d58062);
  color: #fff; display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 12px 24px rgba(191,61,53,0.25);
}
.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}
.nav a, .footer-links a { position: relative; }
.nav a::after, .footer-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav a:hover::after, .footer-links a:hover::after { width: 100%; }
.header-btn {
  padding: 12px 18px; border-radius: 14px; background: var(--text); color: #fff; font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}
.header-btn:hover { transform: translateY(-2px); opacity: .92; }

.hero { padding: 84px 0 52px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--accent); display: inline-block;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
p { margin: 0; }
.lead, .section-head p, .text-block p, .cta-box p, .card p, .contact-card span, .site-footer p {
  color: var(--muted);
}
.hero-copy .lead { max-width: 700px; font-size: 17px; line-height: 1.75; }
.hero-actions, .app-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent); color: #fff; box-shadow: 0 14px 30px rgba(191,61,53,.22);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
}

.hero-visual,
.card,
.contact-card,
.cta-box,
.logo-card,
.phone-frame,
.mini-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-visual {
  border-radius: 28px; padding: 18px; transform: rotate(1.4deg);
}
.hero-visual img { border-radius: 22px; }
.mini-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px;
}
.mini-card { padding: 18px; border-radius: 18px; }
.mini-card strong { display: block; margin-bottom: 6px; }
.mini-card span { color: var(--muted); font-size: 14px; }

.section { padding: 42px 0; }
.section-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }
.text-block { display: grid; gap: 16px; font-size: 16px; line-height: 1.75; }
.section-head { max-width: 720px; margin-bottom: 24px; }
.cards {
  display: grid; gap: 18px;
}
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 24px; border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease;
}
.card p { line-height: 1.7; }
.icon-wrap {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(191,61,53,.1); color: var(--accent); font-weight: 800; margin-bottom: 18px;
}
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 26px 42px rgba(29,24,20,.12); }

.app-showcase {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: center;
}
.feature-list {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 24px;
}
.feature-item {
  padding: 16px; background: rgba(255,255,255,.68); border-radius: 18px; border: 1px solid var(--line);
}
.feature-item strong { display: block; margin-bottom: 6px; }
.feature-item span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.app-visual {
  position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center;
}
.phone-frame {
  width: min(100%, 560px); padding: 16px; border-radius: 34px;
}
.phone-frame img { border-radius: 24px; }
.logo-card {
  position: absolute; width: 180px; padding: 18px; border-radius: 24px; right: -8px; bottom: 20px;
}
.logo-card img { border-radius: 16px; }

.cta-box {
  border-radius: 28px; padding: 30px; display: flex; justify-content: space-between; gap: 24px; align-items: center;
}
.contact-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px;
}
.contact-card {
  padding: 22px; border-radius: 22px; transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card span { display: block; margin-bottom: 8px; font-size: 14px; }
.contact-card strong { font-size: 17px; line-height: 1.45; }

.site-footer {
  padding: 32px 0 50px; border-top: 1px solid rgba(20,20,20,.08); margin-top: 22px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 18px; align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); }

.reveal {
  opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.floating-card { animation: floatY 6s ease-in-out infinite; }
.floating-small { animation: floatY 5s ease-in-out infinite reverse; }

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(20px, -20px, 0); }
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .app-showcase,
  .three-col,
  .contact-grid,
  .feature-list,
  .mini-stats,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .footer-inner,
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header { position: static; }
  .nav { flex-wrap: wrap; gap: 16px; }
  .app-visual { min-height: auto; }
  .logo-card {
    position: static; width: 180px; margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding-top: 56px; }
  h1 { font-size: 42px; }
  .container { width: min(100% - 24px, 1160px); }
  .card, .contact-card, .cta-box, .phone-frame, .hero-visual { border-radius: 22px; }
  .contact-card strong { font-size: 16px; }
}
