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

:root {
  --bg: #f6f9ff;
  --paper: rgba(255,255,255,.82);
  --paper-solid: #ffffff;
  --ink: #071121;
  --muted: #52627b;
  --line: rgba(7,17,33,.12);
  --primary: #2563eb;
  --primary-soft: #e8efff;
  --accent: #13b981;
  --cream: #fff8ed;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(7,17,33,.10);
  --shadow-blue: 0 34px 90px rgba(37,99,235,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(37,99,235,.18), transparent 35%),
    radial-gradient(circle at 92% 8%, rgba(37,99,235,.10), transparent 31%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 58%, #f8fafc 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

/* ── HEADER BAR — Kreative pill nav style ── */
.header-bar {
  position: relative;
  z-index: 100;
  pointer-events: none;
  padding-top: 18px;
}
.site-header {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: all;
}
.logo {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.065em;
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(7,17,33,0.08);
  box-shadow: 0 8px 24px rgba(7,17,33,0.08);
}
.logo span { color: var(--primary); }

/* pill nav center */
nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(7,17,33,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 8px 32px rgba(7,17,33,0.18);
}
nav a {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
nav a.nav-active { background: #fff; color: var(--ink) !important; }
.nav-button {
  color: #fff !important;
  background: var(--primary) !important;
  padding: 9px 20px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}
.nav-button:hover { background: #1d4ed8 !important; }

/* right side — lang toggle + social */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  display: flex;
  border: 1px solid rgba(7,17,33,0.1);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(7,17,33,0.08);
}
.lang-btn { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 800; padding: 10px 16px; }
.lang-btn.active { background: var(--primary); color: #fff; }
.social-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(7,17,33,0.08);
  box-shadow: 0 8px 24px rgba(7,17,33,0.08);
}
.social-icons a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 15px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.social-icons a:hover { color: var(--primary); background: var(--primary-soft); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3.2rem, 5.2vw, 5.5rem);
  line-height: .9;
  letter-spacing: -.08em;
  margin: 0 0 24px;
  font-weight: 800;
}
h1 span { display: block; white-space: nowrap; }
h2 { font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: .98; letter-spacing: -.06em; margin-bottom: 20px; font-weight: 800; }
h3 { font-size: 1.25rem; letter-spacing: -.035em; margin-bottom: 10px; font-weight: 800; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; color: var(--primary); font-size: .74rem; }

.hero {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 80px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 46px;
  align-items: center;
  min-height: 100vh;
}
.hero-copy { position: relative; z-index: 2; }
.hero-text { font-size: clamp(1.05rem, 1.35vw, 1.28rem); color: var(--muted); max-width: 650px; line-height: 1.58; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 23px; border-radius: 999px; font-weight: 800; font-size: .98rem; transition: transform .18s, box-shadow .18s, opacity .18s; }
.button:hover { transform: translateY(-2px); opacity: .94; }
.primary { background: var(--primary); color: #fff; box-shadow: 0 18px 38px rgba(37,99,235,.30); }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.86); color: var(--ink); box-shadow: 0 15px 34px rgba(7,17,33,.06); }

.hero-showcase { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.browser-shell {
  display: block;
  color: inherit;
  width: min(540px, 100%);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 30px;
  box-shadow: var(--shadow-blue);
  padding: 18px;
  transform: rotate(1.6deg) translate(-15px,8px);
  position: relative;
}
.browser-shell::after { content: ""; position: absolute; right: -28px; bottom: -34px; width: 210px; height: 210px; border-radius: 999px; background: rgba(19,185,129,.20); filter: blur(4px); z-index: -1; }
.browser-shell:hover { transform: rotate(1.6deg) translateY(2px); box-shadow: 0 40px 100px rgba(37,99,235,.22); }
.browser-bar { display: flex; gap: 9px; margin: 0 0 20px 6px; }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d6dce8; }
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.mock-site { background: #fff; border: 1px solid rgba(7,17,33,.07); border-radius: 24px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.mock-nav { height: 56px; display: flex; align-items: center; gap: 22px; padding: 0 22px; font-size: .74rem; font-weight: 800; border-bottom: 1px solid rgba(7,17,33,.06); }
.mock-nav strong { margin-right: auto; }
.mock-hero { display: grid; grid-template-columns: .48fr .52fr; min-height: 255px; }
.mock-hero .mock-copy { padding: 36px 24px; }
.mock-hero h3 { font-family: Georgia, serif; font-size: clamp(1.8rem, 3.2vw, 2.55rem); line-height: .92; letter-spacing: -.07em; margin-bottom: 14px; }
.mock-hero p { color: var(--muted); font-weight: 600; font-size: .82rem; line-height: 1.45; }
.mock-hero button { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 15px; font-weight: 800; margin-top: 8px; font-size: .78rem; }
.mock-photo {
  min-height: 255px;
  background:
    radial-gradient(circle at 78% 24%, rgba(37,99,235,.34), transparent 22%),
    radial-gradient(circle at 20% 74%, rgba(16,185,129,.28), transparent 26%),
    linear-gradient(135deg, #eef5ff 0%, #ffffff 45%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}
.mock-photo::before {
  content: "";
  position: absolute;
  inset: 28px 24px auto 24px;
  height: 118px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(37,99,235,.96) 0 42%, rgba(11,18,32,.96) 42% 100%);
  box-shadow: 0 28px 60px rgba(37,99,235,.22);
}
.mock-photo span {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 38px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 45px rgba(15,23,42,.10);
}
.mock-photo span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 78px;
  height: 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.88);
  box-shadow: 0 18px 0 rgba(15,23,42,.13), 118px 0 0 rgba(16,185,129,.70), 118px 18px 0 rgba(15,23,42,.12);
}
.mock-photo::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  right: 46px;
  top: 56px;
  box-shadow: -92px 74px 0 rgba(255,255,255,.72), 0 22px 54px rgba(15,23,42,.11);
}
.mock-service-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 14px; background: rgba(248,250,252,.78); }
.mock-service-row span { background: #f7f9fc; border-radius: 16px; padding: 15px 10px; text-align: center; font-size: .76rem; font-weight: 800; color: #334155; }
.floating-demo-card {
  position: absolute;
  width: 230px;
  right: 4px;
  bottom: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.floating-demo-card:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(37,99,235,.18); }
.floating-demo-card p { color: var(--muted); font-size: .78rem; font-weight: 800; margin-bottom: 8px; }
.floating-demo-card strong { display: block; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.04em; margin-bottom: 6px; }
.floating-demo-card span:not(.demo-arrow) { display: block; color: var(--muted); font-size: .76rem; font-weight: 750; line-height: 1.35; }
.demo-arrow { color: var(--primary); font-size: 1.8rem; line-height: 1; font-weight: 800; }

.section { width: min(1160px, calc(100% - 40px)); margin: 72px auto; }
.two-column { display: grid; grid-template-columns: .82fr 1.18fr; gap: 50px; align-items: start; }
.section-intro p:not(.eyebrow), .section-heading-row p, .service-grid p, .steps p, .price-card p, .audience-card p, .contact-section p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-grid article, .steps div, .price-card, .audience-card, .contact-form, .audience-list p { background: var(--paper); border: 1px solid rgba(255,255,255,.85); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 40px rgba(7,17,33,.05); }
.service-grid article { transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.25); }
.icon-dot { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); font-weight: 800; margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.steps span { color: var(--primary); font-weight: 800; display: block; margin-bottom: 18px; font-size: 1.12rem; }
.steps div { border-top: 4px solid var(--primary-soft); }
.section-heading-row { display: grid; grid-template-columns: 1fr .55fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.demo-card { display: block; background: var(--paper-solid); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 12px 44px rgba(7,17,33,.06); transition: transform .25s, box-shadow .25s; }
.demo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.demo-thumb { height: 240px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.demo-thumb::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; }
.demo-salon { background: linear-gradient(135deg, #080808 0%, #27201b 100%); color: #f5df9a; }
.demo-law { background: linear-gradient(135deg, #081631 0%, #1e3a8a 100%); color: #fff; }
.screen-lines { position: absolute; top: 40px; left: 42px; display: grid; gap: 8px; }
.screen-lines span { width: 130px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.35); }
.screen-lines span:nth-child(2) { width: 190px; opacity: .65; }
.screen-lines span:nth-child(3) { width: 90px; opacity: .45; }
.demo-brand { position: relative; font-size: 2rem; font-weight: 800; letter-spacing: .18em; font-family: Georgia, serif; }
.law-brand { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.02em; font-size: 1.65rem; }
.demo-type-label { position: relative; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.56); margin-top: 8px; }
.demo-body { padding: 24px 26px 28px; }
.demo-tag, .timeline-badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--primary-soft); color: var(--primary); padding: 7px 11px; border-radius: 999px; margin-bottom: 14px; }
.demo-body p { color: var(--muted); font-size: .95rem; }
.demo-cta { color: var(--primary); font-weight: 800; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.price-card { min-height: 500px; position: relative; }
.price-card.featured { background: #fff; border: 2px solid rgba(37,99,235,.45); transform: translateY(-10px); box-shadow: var(--shadow-blue); }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -.07em; margin: 18px 0; }
.price span { font-size: .96rem; color: var(--muted); letter-spacing: 0; font-weight: 650; }
.price-card ul { padding: 0; list-style: none; margin: 22px 0 0; }
.price-card li { margin: 12px 0; color: var(--muted); font-weight: 650; font-size: .95rem; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 10px; }
.audience-section, .contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.audience-list { display: grid; gap: 11px; }
.audience-list p { margin: 0; font-weight: 800; transition: transform .2s, border-color .2s; }
.audience-list p:hover { transform: translateX(4px); border-color: rgba(37,99,235,.28); }
.contact-detail { font-size: 14px; color: var(--muted); margin-top: 11px; font-weight: 700; }
.contact-form { display: grid; gap: 14px; background: #fff; }
label { display: grid; gap: 7px; font-weight: 800; color: var(--muted); font-size: .9rem; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font: inherit; background: #fbfcff; transition: border-color .2s, box-shadow .2s; outline: none; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.10); }
textarea { min-height: 118px; resize: vertical; }
.contact-form button { border: 0; background: var(--primary); color: #fff; padding: 15px 20px; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 16px 34px rgba(37,99,235,.24); }
footer { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 54px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-weight: 700; font-size: .9rem; }
footer p { margin: 0; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 42px; }
  .hero-showcase { min-height: 440px; }
  .floating-demo-card { right: 24px; bottom: 24px; }
}
@media (max-width: 920px) {
  nav a:not(.nav-button) { display: none; }
  .social-icons { display: none; }
  h1 { font-size: clamp(3.2rem, 12vw, 5.2rem); }
  .two-column, .audience-section, .contact-section, .section-heading-row { grid-template-columns: 1fr; }
  .service-grid, .steps, .pricing-grid, .demo-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  footer { flex-direction: column; }
}
@media (max-width: 640px) {
  .site-header { width: min(100% - 28px, 1280px); gap: 8px; }
  .logo { font-size: 1.4rem; padding: 8px 14px; }
  .nav-button { padding: 8px 14px !important; font-size: .84rem !important; }
  .lang-btn { padding: 7px 10px; }
  .hero, .section { width: min(100% - 28px, 1280px); }
  .hero { padding-top: 100px; }
  h1 { white-space: normal; }
  .button { width: 100%; }
  .browser-shell { padding: 16px; border-radius: 26px; transform: none; }
  .browser-shell:hover { transform: none; }
  .laptop-mockup { transform: none !important; }
  .laptop-mockup:hover { transform: none !important; }
  .mock-nav span { display: none; }
  .mock-hero { grid-template-columns: 1fr; }
  .mock-photo { min-height: 220px; }
  .mock-service-row { grid-template-columns: 1fr; }
  .floating-demo-card { position: relative; width: 100%; right: auto; bottom: auto; margin-top: 18px; }
  .hero-showcase { display: block; min-height: auto; }
}

/* ── FULLSCREEN HERO SLIDESHOW ── */
.hero-full {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
  transform: scale(1.06);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.slide-label {
  position: absolute;
  bottom: 32px; left: 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.2) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-full h1 {
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -.07em;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 800;
}
.hero-full h1 span { display: block; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 8px 28px rgba(37,99,235,0.4);
}
.btn-hero-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-hero-secondary {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); }

/* dots */
.slide-dots {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 8px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}
.dot.active { background: #fff; transform: scale(1.3); }

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px; right: 48px;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollLine 1.6s ease-in-out infinite;
}
.scroll-hint p {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
  margin: 0;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

@media (max-width: 640px) {
  .hero-full h1 { font-size: 3.2rem; }
  .hero-content { width: min(100% - 32px, 1280px); }
  .scroll-hint { display: none; }
  .slide-label { display: none; }
}

/* ── PRICING 4-card grid ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.price-card { background: var(--paper-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 0; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-blue); }
.price-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -.03em; }
.price-card ul { padding: 0; list-style: none; margin: 0 0 24px; flex: 1; }
.price-card li { font-size: .9rem; color: var(--muted); font-weight: 500; padding: 7px 0; border-bottom: 1px solid rgba(7,17,33,.06); display: flex; align-items: center; gap: 8px; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 900; flex-shrink: 0; }
.price-card li:last-child { border-bottom: none; }
.price-cta {
  display: block; text-align: center;
  background: var(--primary); color: #fff;
  font-size: .85rem; font-weight: 700;
  padding: 12px 20px; border-radius: 999px;
  transition: background 0.2s;
  margin-top: auto;
}
.price-cta:hover { background: #1d4ed8; }
.price-card.featured .price-cta { background: var(--primary); box-shadow: 0 8px 24px rgba(37,99,235,.3); }

@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ── ABOUT SECTION ── */
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.about-main h2 { margin-bottom: 20px; }
.about-main p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.about-beliefs { display: flex; flex-direction: column; gap: 20px; }
.belief-card { background: var(--paper-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.belief-card p { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 0; }
.build-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.build-list li { font-size: 14px; font-weight: 600; color: var(--ink); padding: 10px 14px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.build-list li::before { content: "→"; color: var(--accent); font-weight: 700; }

/* 6-card service grid */
.two-column .service-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 860px) {
  .about-section { grid-template-columns: 1fr; }
  .two-column .service-grid { grid-template-columns: repeat(2, 1fr); }
  .build-list { grid-template-columns: 1fr; }
}

/* ── PORTFOLIO CTA BLOCK ── */
.portfolio-cta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--paper-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
}
.portfolio-cta-left p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}
.btn-portfolio {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 8px 24px rgba(37,99,235,.25);
}
.btn-portfolio:hover { background: #1d4ed8; transform: translateY(-2px); }
.portfolio-cta-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.preview-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.preview-chip.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
@media (max-width: 768px) {
  .portfolio-cta-block { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}


/* ── NO-FIXED-HEADER STABLE NAVIGATION ──
   Header is no longer fixed, so section anchors cannot be hidden behind it.
*/
html {
  scroll-behavior: smooth;
}

#services,
#pricing,
#contact {
  scroll-margin-top: 32px;
}

@media (max-width: 640px) {
  #services,
  #pricing,
  #contact {
    scroll-margin-top: 20px;
  }
}


/* ── FINAL SERVICE SECTION POLISH ── */
.service-grid article {
  min-height: 260px;
  padding: 24px;
}

.service-grid article h3 {
  margin-bottom: 12px;
}

.service-grid article p {
  line-height: 1.55;
}

@media (max-width: 920px) {
  .service-grid article {
    min-height: auto;
  }
}


/* ── ABOUT + PRICING FINAL POLISH ── */
.pricing-section h2 {
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  line-height: 1.05;
  max-width: 980px;
}

.about-simple {
  display: block;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.about-simple .about-main {
  max-width: 820px;
}

.about-simple h2 {
  max-width: 780px;
}

.about-simple p {
  max-width: 760px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(37,99,235,.22);
  transition: transform .18s, opacity .18s;
}

.about-link:hover {
  transform: translateY(-2px);
  opacity: .94;
}

@media (max-width: 640px) {
  .pricing-section h2 {
    font-size: clamp(2.35rem, 10vw, 3.6rem);
  }
}


/* ── PRICING 3 + 2 FINAL LAYOUT ── */
.pricing-section h2 {
  font-size: clamp(2.35rem, 3.6vw, 4rem);
  line-height: 1.08;
  max-width: 820px;
  margin-bottom: 28px;
}

.pricing-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
  align-items: stretch;
}

.pricing-maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 18px auto 0;
  align-items: stretch;
}

.price-card {
  min-height: 430px;
}

.pricing-maintenance-grid .price-card {
  min-height: 310px;
}

.price-card.featured {
  transform: translateY(-8px);
}

.premium-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(37,99,235,.11), transparent 34%),
    #fff;
  border: 1px solid rgba(37,99,235,.22);
}

.premium-note {
  color: var(--primary);
  font-size: .88rem;
  font-weight: 800;
  margin: 0 0 18px;
}

.maintenance-card {
  background: rgba(255,255,255,.78);
}

@media (max-width: 1024px) {
  .pricing-main-grid {
    grid-template-columns: 1fr;
  }

  .pricing-maintenance-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .price-card,
  .pricing-maintenance-grid .price-card {
    min-height: auto;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .pricing-section h2 {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }
}


/* Simplified AEO service sections */
.seo-service-section, .faq-section { background: rgba(255,255,255,.58); border: 1px solid rgba(7,17,33,.08); border-radius: var(--radius); padding: clamp(28px, 4vw, 46px); box-shadow: 0 12px 40px rgba(7,17,33,.04); }
.seo-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.seo-card-grid article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 10px 28px rgba(7,17,33,.04); }
.seo-card-grid p, .faq-list p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 800; letter-spacing: -.02em; }
.faq-list p { margin: 12px 0 0; }
@media (max-width: 760px) { .seo-card-grid { grid-template-columns: 1fr; } }


/* ── PRICING FINAL: 2 large cards left + 2 compact maintenance cards right ── */
.pricing-section-final {
  max-width: 1280px;
}

.pricing-section-final h2 {
  max-width: 980px;
  margin-bottom: 10px;
}

.pricing-subcopy {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 760px;
  margin: 0 0 34px;
  font-weight: 650;
}

.pricing-combo-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(330px, .9fr);
  gap: 20px;
  align-items: start;
}

.pricing-primary-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.price-card-main {
  min-height: 0;
  padding: clamp(24px, 2.5vw, 34px);
}

.price-card-main h3,
.compact-maintenance-card h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  margin: 0;
}

.plan-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.popular-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}

.plan-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
  margin: 14px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(7,17,33,.08);
}

.price-card-main ul {
  margin-top: 0;
}

.price-card-main li {
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 0;
}

.price-card-main .price-cta {
  margin-top: auto;
  padding: 15px 24px;
  font-size: .98rem;
}

.pricing-maintenance-column {
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  gap: 20px;
}

.compact-maintenance-card {
  min-height: 0 !important;
  padding: 26px;
  background: rgba(255,255,255,.88);
}

.maintenance-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 22px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(7,17,33,.08);
}

.maintenance-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 900;
  flex-shrink: 0;
}

.maintenance-header p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
  margin: 8px 0 0;
  font-weight: 700;
}

.compact-maintenance-card ul {
  margin: 0 0 18px;
}

.compact-maintenance-card li {
  font-size: .9rem;
  padding: 7px 0;
  border-bottom: 0;
}

.secondary-cta {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.secondary-cta:hover {
  background: var(--primary);
  color: #fff;
}

.pricing-footnote {
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  max-width: 700px;
}

@media (max-width: 1100px) {
  .pricing-combo-grid {
    grid-template-columns: 1fr;
  }

  .pricing-maintenance-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

@media (max-width: 760px) {
  .pricing-primary-column,
  .pricing-maintenance-column {
    grid-template-columns: 1fr;
  }

  .price-card-main {
    min-height: auto;
  }

  .pricing-section-final h2 {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }
}



/* ── FINAL FIX: Korean pricing cards fit on one desktop screen ──
   Fixes: Korean text wrapping, oversized cards, and maintenance cards getting cut off.
*/
.pricing-section-final {
  width: min(1280px, calc(100% - 56px));
  margin-top: 46px;
  margin-bottom: 46px;
}

.pricing-section-final .eyebrow {
  margin-bottom: 8px;
}

.pricing-section-final h2 {
  font-size: clamp(2.15rem, 3.35vw, 3.75rem);
  line-height: 1;
  margin-bottom: 10px;
  max-width: 980px;
}

.pricing-subcopy {
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.38;
  margin-bottom: 22px;
  max-width: 860px;
}

.pricing-combo-grid {
  grid-template-columns: minmax(0, 2fr) minmax(300px, .78fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-primary-column {
  gap: 18px;
  align-items: stretch;
}

.price-card-main,
.compact-maintenance-card {
  border-radius: 24px;
}

.price-card-main {
  padding: 24px 26px;
  min-height: 520px;
}

.price-card-main h3 {
  font-size: clamp(1.45rem, 1.65vw, 1.85rem);
  line-height: 1.05;
}

.plan-desc {
  font-size: .94rem;
  line-height: 1.42;
  margin: 12px 0 14px;
  padding-bottom: 13px;
}

.price-card-main ul {
  margin: 0 0 14px;
}

.price-card-main li {
  font-size: .92rem;
  line-height: 1.25;
  padding: 7px 0;
  gap: 10px;
}

.price-card-main .price-cta {
  padding: 13px 20px;
  font-size: .9rem;
}

.popular-badge {
  padding: 6px 12px;
  font-size: .72rem;
}

.pricing-maintenance-column {
  gap: 16px;
  align-content: stretch;
}

.compact-maintenance-card {
  padding: 22px 24px;
  min-height: 252px !important;
}

.maintenance-header {
  gap: 13px;
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.maintenance-icon {
  width: 46px;
  height: 46px;
  font-size: 1.15rem;
}

.compact-maintenance-card h3 {
  font-size: clamp(1.22rem, 1.45vw, 1.62rem);
  line-height: 1.08;
  margin: 0;
}

.maintenance-header p {
  font-size: .82rem;
  line-height: 1.38;
  margin-top: 6px;
}

.compact-maintenance-card ul {
  margin: 0 0 12px;
}

.compact-maintenance-card li {
  font-size: .82rem;
  line-height: 1.22;
  padding: 5px 0;
  gap: 8px;
}

.compact-maintenance-card .price-cta {
  padding: 11px 16px;
  font-size: .82rem;
}

.pricing-footnote {
  margin-top: 18px;
  font-size: .88rem;
  line-height: 1.35;
}

/* Korean needs tighter typography and no syllable-by-syllable breaks */
html[lang="ko"] .pricing-section-final,
html[lang="ko"] .pricing-section-final * {
  word-break: keep-all;
}

html[lang="ko"] .pricing-section-final h2 {
  font-size: clamp(2.05rem, 3.1vw, 3.45rem);
  letter-spacing: -.07em;
}

html[lang="ko"] .pricing-subcopy {
  font-size: clamp(.9rem, 1.05vw, 1rem);
}

html[lang="ko"] .price-card-main {
  padding: 22px 26px;
}

html[lang="ko"] .price-card-main h3 {
  font-size: clamp(1.45rem, 1.6vw, 1.8rem);
}

html[lang="ko"] .plan-desc {
  font-size: .88rem;
  line-height: 1.45;
}

html[lang="ko"] .price-card-main li {
  font-size: .86rem;
  line-height: 1.24;
  padding: 6px 0;
}

html[lang="ko"] .compact-maintenance-card {
  padding: 20px 22px;
}

html[lang="ko"] .compact-maintenance-card h3 {
  font-size: clamp(1.15rem, 1.25vw, 1.42rem);
  letter-spacing: -.06em;
}

html[lang="ko"] .maintenance-header p {
  font-size: .78rem;
}

html[lang="ko"] .compact-maintenance-card li {
  font-size: .78rem;
}

/* On shorter laptop screens, compress only the pricing section. */
@media (min-width: 1101px) and (max-height: 820px) {
  .pricing-section-final {
    margin-top: 34px;
    margin-bottom: 34px;
  }

  .pricing-section-final h2 {
    font-size: clamp(2rem, 3vw, 3.25rem);
  }

  .pricing-subcopy {
    margin-bottom: 18px;
  }

  .price-card-main {
    min-height: 470px;
    padding: 20px 24px;
  }

  .plan-desc {
    margin-bottom: 10px;
    padding-bottom: 11px;
  }

  .price-card-main li {
    padding: 5px 0;
  }

  .compact-maintenance-card {
    min-height: 226px !important;
    padding: 18px 20px;
  }

  .maintenance-header {
    padding-bottom: 10px;
    margin-bottom: 9px;
  }

  .maintenance-icon {
    width: 40px;
    height: 40px;
  }

  .compact-maintenance-card li {
    padding: 4px 0;
  }

  .pricing-footnote {
    margin-top: 12px;
  }
}

@media (max-width: 1100px) {
  .pricing-section-final {
    width: min(1160px, calc(100% - 40px));
  }

  .pricing-combo-grid {
    grid-template-columns: 1fr;
  }

  .price-card-main,
  .compact-maintenance-card {
    min-height: auto !important;
  }
}

@media (max-width: 760px) {
  .pricing-section-final {
    width: min(100% - 28px, 1280px);
    margin-top: 42px;
    margin-bottom: 42px;
  }

  .pricing-section-final h2 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }

  .pricing-primary-column,
  .pricing-maintenance-column {
    grid-template-columns: 1fr;
  }
}

/* ── HOMEPAGE SLIDER + FAQ INLINE STYLES MOVED FROM INDEX.HTML ── */
.hero .eyebrow { font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: .08em; }

    /* ── DEMO SLIDER ── */
    .hero-showcase {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 520px;
    }
    .demo-slider {
      width: min(640px, 100%);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 40px 80px rgba(37,99,235,.18), 0 8px 24px rgba(7,17,33,.10);
    }
    .demo-screen {
      position: relative;
      aspect-ratio: 16 / 9;
      background: #f0f4ff;
    }
    .demo-screen img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top left;
      opacity: 0;
      transform: scale(1.015);
      transition: opacity .6s ease, transform .6s ease;
    }
    .demo-screen img.active { opacity: 1; transform: scale(1); }
    .laptop-label {
      text-align: center;
      margin-top: 20px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(7,17,33,.4);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .laptop-label .site-name { color: var(--primary); }
    .laptop-dots-nav {
      display: flex;
      justify-content: center;
      gap: 7px;
      margin-top: 10px;
    }
    .laptop-dot {
      width: 7px; height: 7px;
      border: 0; border-radius: 999px;
      background: rgba(7,17,33,.18);
      padding: 0; cursor: pointer;
      transition: width .25s, background .25s;
    }
    .laptop-dot.active { width: 22px; background: var(--primary); }

    @media (max-width: 720px) {
      .hero-showcase { min-height: 360px; }
      .demo-slider { width: 100%; }
    }
  .faq-list details p a {
    display: inline-block;
    margin-left: 4px;
    padding: 3px 12px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    white-space: nowrap;
    vertical-align: middle;
    transition: background 0.2s;
  }
  .faq-list details p a:hover {
    background: #1d4ed8;
  }

/* ── ABOUT OWNER / SEO-AEO SUPPORT SECTION ── */
.about-owner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.about-owner-card,
.about-owner-points article {
  background: var(--paper-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(7,17,33,.05);
}
.about-owner-card {
  padding: 34px;
}
.about-owner-card p:not(.eyebrow),
.about-owner-points p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.about-owner-points {
  display: grid;
  gap: 16px;
}
.about-owner-points article {
  padding: 24px 26px;
}
.about-owner-points h3 {
  margin-bottom: 8px;
}
.faq-list details {
  background: var(--paper-solid);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: 0 8px 28px rgba(7,17,33,.04);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}
.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 860px) {
  .about-owner-section {
    grid-template-columns: 1fr;
  }
}
