:root {
  --bg: #0c0e12;
  --bg-alt: #131720;
  --surface: #181d28;
  --surface-hover: #1f2635;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f3f5f8;
  --muted: #9aa4b5;
  --accent: #e07a5f;
  --accent-bright: #f29479;
  --sage: #81b29a;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 14, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #c65d43);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: #fff;
}

.brand-text span {
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.45rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */
.hero {
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 80% 10%, rgba(224, 122, 95, 0.14), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 3.2rem;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(129, 178, 154, 0.14);
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.3vw, 3.45rem);
  margin-bottom: 1.2rem;
}

.accent {
  color: var(--accent-bright);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.trust-row strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  color: var(--text);
}

.trust-row span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Interactive Hero Demo Card */
.hero-demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.badge-spec {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage);
  background: rgba(129, 178, 154, 0.14);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.demo-brand {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.phone-preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #10131a;
  margin-bottom: 0.9rem;
}

.phone-preview img,
.phone-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-tag {
  pointer-events: none;
}

.caption-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2.6rem;
  background: rgba(12, 14, 18, 0.82);
  backdrop-filter: blur(8px);
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phone-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.72rem;
  background: rgba(12, 14, 18, 0.72);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.hook-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.hook-btn {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.hook-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hook-meta {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.8rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.card-featured {
  border-color: rgba(224, 122, 95, 0.55);
  box-shadow: 0 18px 48px rgba(224, 122, 95, 0.12);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

.price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
}

.price span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.card-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.35rem;
}

.check-list {
  list-style: none;
  margin-bottom: 1.8rem;
  flex: 1;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: #d6dce6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* Portfolio */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work-card.hidden {
  display: none;
}

.work-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #10131a;
}

.work-media img,
.work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-media .spec-badge,
.work-media .format-badge {
  pointer-events: none;
}

.spec-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(12, 14, 18, 0.84);
  color: var(--sage);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(129, 178, 154, 0.35);
}

.format-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(12, 14, 18, 0.82);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.work-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.work-niche {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-body p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.work-specs {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #c2cbd8;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Static Companions */
.static-showcase {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.static-head {
  margin-bottom: 1.6rem;
}

.static-head p {
  color: var(--muted);
  margin-top: 0.35rem;
}

.static-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.static-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.static-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.static-card figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.static-card figcaption span {
  color: var(--muted);
  font-weight: 400;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.step-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Compliance */
.compliance-box {
  background: linear-gradient(135deg, rgba(129, 178, 154, 0.12), rgba(224, 122, 95, 0.08));
  border: 1px solid rgba(129, 178, 154, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.compliance-box h2 {
  margin-bottom: 0.85rem;
}

.compliance-box p {
  color: #d6dce6;
}

.compliance-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.compliance-list li {
  background: rgba(12, 14, 18, 0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-notes {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #d6dce6;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.94rem;
  font-family: inherit;
}

.form-status {
  font-size: 0.86rem;
  color: var(--sage);
  min-height: 1.2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-disclaimer {
  max-width: 560px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.82);
  display: grid;
  place-items: center;
  z-index: 60;
  padding: 1.25rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(800px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.75rem;
  cursor: pointer;
}

.modal-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.8rem;
  align-items: center;
}

.modal-content img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.modal-content .spec-badge {
  position: static;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.modal-content h3 {
  margin-bottom: 0.8rem;
}

.modal-content h4 {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.modal-content blockquote {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .pricing-grid,
  .portfolio-grid,
  .static-grid,
  .process-grid,
  .compliance-box,
  .contact-grid,
  .modal-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
