@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg: #070707;
  --bg-elev: #111111;
  --card: #161616;
  --border: rgba(201, 162, 39, 0.18);
  --gold: #c9a227;
  --gold-soft: #e8d5a3;
  --crimson: #c0392b;
  --text: #f0f0f0;
  --muted: #9a9a9a;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  background-image: radial-gradient(ellipse at 20% 0%, rgba(201,162,39,.06), transparent 50%),
                    radial-gradient(ellipse at 80% 100%, rgba(192,57,43,.04), transparent 40%);
}
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; letter-spacing: -0.03em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1240px, 92%); margin: 0 auto; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,7,7,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.logo span { color: var(--gold); }
.logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: all .25s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #111; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero.jpg') center/cover no-repeat;
  opacity: 0.35;
  filter: grayscale(30%) contrast(1.1);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #070707 0%, rgba(7,7,7,.6) 50%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero h1 {
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: 18px; color: var(--muted); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; }

/* Sections */
section { padding: 100px 0; }
.section-title {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 17px; margin-bottom: 48px; max-width: 560px; }

/* Grid cards */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card h3 { font-size: 22px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.features img { border: 1px solid var(--border); }
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; }
.feature-num {
  font-family: 'Syne'; font-weight: 800; color: var(--gold); font-size: 20px; min-width: 28px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 22px; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Syne'; font-weight: 800; font-size: 20px; color: var(--text); margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.copyright { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; font-size: 13px; }

/* Page hero small */
.page-hero {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 12px; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .features, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .service-card .btn, .price-card .btn { width: 100%; }
}

/* Additional components for richer site */
.long-text { max-width: 820px; margin: 0 auto; }
.long-text p { margin-bottom: 16px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.long-text h3 { margin: 32px 0 12px; font-size: 24px; }
.long-text ul, .long-text ol { margin: 12px 0 20px 24px; color: var(--muted); }
.long-text li { margin-bottom: 8px; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px;
}
.testimonial p { font-style: italic; margin-bottom: 16px; }
.testimonial .author { color: var(--gold); font-weight: 600; font-size: 14px; }

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}
.price-card.featured { border-color: var(--gold); transform: scale(1.03); }
.price { font-family: 'Syne'; font-size: 48px; color: var(--gold); margin: 16px 0; }
.price span { font-size: 18px; color: var(--muted); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.blog-card img { height: 180px; object-fit: cover; width: 100%; }
.blog-card-body { padding: 20px; }
.blog-card h3 { font-size: 20px; margin-bottom: 8px; }
.blog-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-box {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 28px;
  position: relative;
}
.step-box::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -16px; left: 24px;
  background: var(--gold); color: #111;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-family: 'Syne';
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}
.comparison th, .comparison td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison th { color: var(--gold); font-weight: 600; }
.comparison td { color: var(--muted); }

.sticky-cta {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  display: none;
}
@media (min-width: 900px) {
  .sticky-cta { display: block; }
}

.seo-block {
  background: var(--bg-elev);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* Mobile fixes */
@media (max-width: 860px) {
  .nav {
    height: 64px;
    padding: 0 4px;
  }
  .logo {
    font-size: 18px;
    gap: 8px;
  }
  .logo img {
    width: 32px;
    height: 32px;
  }
  .nav .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.05;
    word-break: break-word;
    hyphens: auto;
  }
  .hero p {
    font-size: 16px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  section {
    padding: 60px 0;
  }
  .section-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .features, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
  .comparison {
    font-size: 14px;
  }
  .comparison th, .comparison td {
    padding: 10px 8px;
  }
  .long-text {
    padding: 0 4px;
  }
  .container {
    width: min(1240px, 94%);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 34px;
  }
  .logo {
    font-size: 16px;
  }
  .nav .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero h1 {
    font-size: 36px;
  }
}

/* Prevent horizontal scroll */
body, html {
  overflow-x: hidden;
}
.hero-content, .hero h1, .hero p {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .nav {
    gap: 8px;
  }
  .logo {
    font-size: 15px;
    letter-spacing: 0.02em;
    flex-shrink: 1;
    min-width: 0;
  }
  .logo span {
    display: inline;
  }
  header .btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  .nav-links {
    display: none !important;
  }
}

/* Even smaller phones */
@media (max-width: 380px) {
  .logo {
    font-size: 14px;
  }
  .logo img {
    width: 28px;
    height: 28px;
  }
  header .btn {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
}

/* Header button must never be full-width */
header .btn,
.nav .btn {
  width: auto !important;
  max-width: none;
  flex-shrink: 0;
}
