
:root {
  --bg: #f3f4f6;
  --bg-2: #eceff3;
  --surface: #ffffff;
  --surface-soft: #f8f9fb;
  --text: #151821;
  --muted: #5f6673;
  --soft: #343946;
  --purple: #7c3aed;
  --purple-2: #a855f7;
  --line: rgba(21, 24, 33, 0.11);
  --dark: #171923;
  --shadow: 0 24px 70px rgba(21, 24, 33, 0.11);
  --radius: 28px;
  --container: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(124, 58, 237, 0.09), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(168, 85, 247, 0.07), transparent 32%),
    linear-gradient(180deg, #f7f8fa 0%, var(--bg) 48%, var(--bg-2) 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 18px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--purple);
  color: #fff;
  border-radius: 12px;
}
.skip-link:focus { left: 18px; }

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrapper {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 168px;
  max-height: 62px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: var(--soft);
  font-weight: 800;
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--purple);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.20);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 18px 38px rgba(124, 58, 237, .20);
}

.btn-secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(21, 24, 33, 0.06);
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: .9rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  padding: 96px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 470px;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--purple);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--purple-2);
  border-radius: 999px;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; }

h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(2.45rem, 6.5vw, 5.7rem);
  font-weight: 950;
}

h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(1.8rem, 3.5vw, 3.55rem);
  font-weight: 920;
}

h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.35rem;
}

p { color: var(--muted); }

.hero-text {
  max-width: 670px;
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--soft);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-showcase {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.showcase-window {
  overflow: hidden;
  background: var(--dark);
  border-radius: 26px;
  border: 1px solid rgba(21,24,33,.1);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: rgba(255,255,255,.08);
}
.window-bar span {
  width: 11px;
  height: 11px;
  background: var(--purple);
  border-radius: 50%;
}
.window-bar span:nth-child(2) { background: var(--purple-2); }
.window-bar span:nth-child(3) { background: #fff; }

.showcase-content {
  padding: 34px;
  min-height: 390px;
  background:
    radial-gradient(circle at 88% 20%, rgba(124,58,237,.28), transparent 30%),
    linear-gradient(135deg, #20232b, #111318);
}
.showcase-content small {
  color: #d8b4fe;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.showcase-content h2 {
  margin-top: 16px;
  color: #fff;
  font-size: 2.25rem;
}
.showcase-content p {
  color: rgba(255,255,255,.72);
}
.showcase-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.showcase-tags span {
  padding: 16px 12px;
  text-align: center;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  font-weight: 850;
}

.section {
  padding: 86px 0;
}

.section-dark {
  background: rgba(255,255,255,.46);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

.cards-grid,
.solutions-grid,
.video-cards-grid,
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.solution-card,
.video-card,
.example-card,
.contact-card,
.lead-form,
.cta-box {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(21,24,33,.08);
}

.card,
.solution-card,
.video-card,
.example-card,
.contact-card,
.lead-form {
  padding: 30px;
}

.card span,
.solution-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border-radius: 18px;
  font-weight: 950;
}

.solution-card.wide,
.example-card.wide {
  grid-column: span 2;
}

.split,
.instagram-call,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 44px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
}
.feature-list p {
  margin: 0;
  padding: 16px 18px;
  color: var(--text);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 850;
}
.feature-list p::before {
  content: "✓";
  margin-right: 10px;
  color: var(--purple);
  font-weight: 950;
}

.page-hero {
  padding: 86px 0 70px;
  background: linear-gradient(135deg, rgba(255,255,255,.70), rgba(255,255,255,.34));
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: 930px; }
.page-hero p:last-child {
  max-width: 760px;
  font-size: 1.14rem;
}

.video-thumb,
.example-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-bottom: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 10%, rgba(124,58,237,.22), transparent 30%),
    linear-gradient(135deg, #2f3340, #191b21);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-weight: 950;
}

.video-link,
.example-card a {
  color: var(--purple);
  font-weight: 900;
}

.instagram-call {
  padding: 38px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.examples-grid {
  grid-template-columns: repeat(2, 1fr);
}

.contact-grid {
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 16px;
}
.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 850;
}
.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}
.lead-form select option {
  color: var(--text);
}
.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--purple);
}
.lead-form small {
  color: var(--muted);
}

.cta-section {
  padding: 84px 0;
}
.cta-box {
  padding: 48px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(124,58,237,.11), transparent 30%),
    rgba(255,255,255,.88);
}
.cta-box p {
  max-width: 650px;
  margin: 0 auto 26px;
}

.site-footer {
  padding: 44px 0 20px;
  background: #191b21;
  border-top: 1px solid rgba(255,255,255,.1);
}
.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer span {
  color: rgba(255,255,255,.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .7fr;
  gap: 36px;
  align-items: start;
}
.footer-grid img {
  width: 170px;
  max-height: 74px;
  object-fit: contain;
  margin-bottom: 14px;
}
.footer-grid p {
  max-width: 390px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a,
.social-link {
  color: rgba(255,255,255,.82);
  font-weight: 850;
}
.footer-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  color: rgba(255,255,255,.58);
  border-top: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .instagram-call,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid,
  .solutions-grid,
  .video-cards-grid,
  .examples-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-showcase {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-wrapper { min-height: 76px; }
  .brand img { width: 142px; max-height: 54px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px; color: var(--text); }
  .nav-cta { margin-top: 8px; }
  .hero,
  .page-hero,
  .section,
  .cta-section { padding: 62px 0; }
  h1 { font-size: 2.55rem; }
  .hero-actions .btn,
  .contact-actions .btn { width: 100%; }
  .cards-grid,
  .solutions-grid,
  .video-cards-grid,
  .examples-grid {
    grid-template-columns: 1fr;
  }
  .solution-card.wide,
  .example-card.wide { grid-column: auto; }
  .showcase-tags { grid-template-columns: 1fr; }
}
