@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ───── THEME TOKENS ───── */
:root {
  --bg:          #f5f4ef;
  --bg2:         #eceae2;
  --surface:     #ffffff;
  --surface2:    #fdf8f2;
  --border:      rgba(0,0,0,.09);
  --text:        #18181a;
  --muted:       #737069;
  --primary:     #e86c00;
  --primary-2:   #ff8c2b;
  --primary-glow:rgba(232,108,0,.22);
  --primary-soft:#fde8d3;
  --dark:        #18181a;
  --ok:          #22a05a;
  --radius:      20px;
  --radius-sm:   14px;
  --radius-xs:   10px;
  --shadow:      0 4px 24px rgba(0,0,0,.07);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.10);
  --container:   1240px;
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --nav-bg:      rgba(245,244,239,.85);
  --footer-bg:   #111110;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg:          #111110;
  --bg2:         #1a1918;
  --surface:     #1e1d1b;
  --surface2:    #252320;
  --border:      rgba(255,255,255,.08);
  --text:        #f0ede8;
  --muted:       #928d85;
  --primary:     #ff8c2b;
  --primary-2:   #ffa550;
  --primary-glow:rgba(255,140,43,.25);
  --primary-soft:#3a2112;
  --dark:        #f0ede8;
  --ok:          #3dba74;
  --shadow:      0 4px 24px rgba(0,0,0,.3);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.45);
  --nav-bg:      rgba(17,17,16,.88);
  --footer-bg:   #0a0a09;
}

/* ───── RESET ───── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); letter-spacing: -0.02em; }

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

/* ───── TOPBAR ───── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.navbar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.15rem; white-space: nowrap;
}
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.brand-sub { font-size: .72rem; color: var(--muted); font-weight: 400; display: block; margin-top: 1px; font-family: var(--font-body); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 99px;
  color: var(--muted); font-weight: 500; font-size: .9rem;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--border); }
.nav-links a.active { color: var(--text); background: var(--surface); box-shadow: var(--shadow); }

.nav-actions { display: flex; gap: 8px; align-items: center; }

/* theme + lang toggles */
.icon-btn {
  width: 38px; height: 38px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1rem; transition: all var(--transition); flex-shrink: 0;
}
.icon-btn:hover { background: var(--bg2); transform: scale(1.05); }

.lang-btn {
  height: 38px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--transition); flex-shrink: 0; letter-spacing: .04em;
}
.lang-btn:hover { background: var(--bg2); transform: scale(1.03); }

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 99px; padding: 12px 22px;
  font-family: var(--font-head); font-weight: 700; cursor: pointer;
  font-size: .9rem; letter-spacing: .02em;
  transition: all var(--transition); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-primary:hover { background: var(--primary-2); box-shadow: 0 12px 32px var(--primary-glow); }
.btn-dark { background: var(--dark); color: var(--bg); }
.btn-light {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px dashed var(--border);
}

/* ───── HERO ───── */
.hero { padding: 56px 0 32px; }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 20px; align-items: stretch;
}
.hero-copy {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.hero-copy::before {
  content: ""; position: absolute; width: 350px; height: 350px;
  right: -100px; top: -100px; pointer-events: none;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 99px;
  background: var(--primary-soft); color: var(--primary);
  font-weight: 700; font-size: .82rem; margin-bottom: 22px;
  font-family: var(--font-head); letter-spacing: .04em;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.05;
}
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 32px;
}
.hero-points div {
  padding: 16px; background: var(--bg2);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.hero-points strong { display: block; font-size: 1.15rem; font-family: var(--font-head); }
.hero-points span { color: var(--muted); font-size: .88rem; }

.hero-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-logo {
  flex: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 20px; min-height: 280px;
  background: repeating-conic-gradient(var(--bg2) 0% 25%, var(--bg) 0% 50%) 0 0 / 24px 24px;
  border: 1px solid var(--border);
}
.hero-logo img { width: min(100%, 320px); object-fit: contain; filter: drop-shadow(0 16px 28px rgba(0,0,0,.12)); }
.hero-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-stat {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
}
.mini-stat strong { display: block; font-size: 1.2rem; margin-bottom: 4px; font-family: var(--font-head); }
.mini-stat span { color: var(--muted); font-size: .85rem; }

/* ───── SECTIONS ───── */
.section { padding: 32px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 24px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 6px; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ───── CARDS ───── */
.grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card.flat { box-shadow: none; }
.card.flat:hover { box-shadow: var(--shadow); }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.icon-wrap {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-soft), var(--surface));
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
  border: 1px solid var(--primary-soft);
}

/* ───── PRICE CARDS ───── */
.price-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 100%;
}
.price-card.popular { border-color: var(--primary); }
.price-card.popular::after {
  content: attr(data-popular-label);
  position: absolute; top: 18px; right: -30px;
  background: var(--primary); color: #fff;
  padding: 8px 40px; transform: rotate(35deg);
  font-size: .72rem; font-weight: 800;
  font-family: var(--font-head); letter-spacing: .06em;
}
.price-row { display: flex; align-items: end; gap: 4px; margin: 14px 0; }
.price-row strong { font-size: 2.4rem; line-height: 1; font-family: var(--font-head); }
.price-row span { color: var(--muted); margin-bottom: 4px; }
.list {
  display: grid; gap: 8px; margin: 0 0 20px;
  padding: 0; list-style: none;
}
.list li { display: flex; align-items: center; gap: 8px; font-size: .93rem; }
.list li::before { content: "·"; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.price-footer { margin-top: auto; display: flex; gap: 8px; }

/* ───── FEATURE ───── */
.feature-list { display: grid; gap: 10px; margin-top: 16px; }
.feature-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border); gap: 12px;
}
.feature-item:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-item span { color: var(--muted); font-size: .9rem; }

/* ───── CONFIGURATOR ───── */
.configurator { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.config-box, .summary-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 30px; box-shadow: var(--shadow);
}
.control-group { margin-bottom: 22px; }
.control-group label {
  display: flex; justify-content: space-between;
  font-weight: 600; margin-bottom: 12px; gap: 12px;
  font-size: .9rem;
}
.control-group output { color: var(--primary); font-weight: 700; }
input[type="range"] {
  width: 100%; accent-color: var(--primary);
  height: 6px; border-radius: 3px; cursor: pointer;
}
.toggle-group { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-group button {
  border: 1px solid var(--border); background: var(--bg2);
  border-radius: 99px; padding: 8px 16px; cursor: pointer;
  font-weight: 600; font-size: .88rem; color: var(--muted);
  transition: all var(--transition); font-family: var(--font-body);
}
.toggle-group button:hover { color: var(--text); border-color: var(--primary); }
.toggle-group button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.summary-table { display: grid; gap: 8px; margin: 16px 0; }
.summary-table div {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: .93rem;
}
.summary-table div span { color: var(--muted); }
.summary-price {
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; line-height: 1;
  margin: 16px 0 6px; font-family: var(--font-head); color: var(--primary);
}
.note {
  padding: 14px 16px; background: var(--primary-soft);
  border: 1px solid rgba(232,108,0,.2); color: var(--primary);
  border-radius: var(--radius-sm); font-size: .88rem; line-height: 1.5;
}

/* ───── TABLE ───── */
.table-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td {
  padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.table-wrap th {
  background: var(--bg2); font-size: .82rem; color: var(--muted);
  font-family: var(--font-head); letter-spacing: .05em; text-transform: uppercase;
}
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tr:hover td { background: var(--bg2); }

/* ───── PAGE HERO ───── */
.page-hero { padding: 40px 0 16px; }
.page-hero-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; box-shadow: var(--shadow-lg); padding: 40px;
  position: relative; overflow: hidden;
}
.page-hero-box::before {
  content: ""; position: absolute; width: 400px; height: 400px;
  right: -80px; top: -100px; pointer-events: none;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}
.breadcrumbs { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }

/* ───── KICKER ───── */
.kicker {
  color: var(--primary); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; font-size: .75rem;
  font-family: var(--font-head);
}

/* ───── DOMAIN ───── */
.domain-search {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 22px;
}
.domain-search input {
  padding: 16px 22px; border-radius: 99px;
  border: 1px solid var(--border); font-size: 1rem; outline: none;
  background: var(--bg2); color: var(--text);
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.domain-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.domain-tld {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.domain-tld:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.domain-tld h3 { font-size: 1.4rem; color: var(--primary); margin: 0 0 4px; }
.domain-tld p { color: var(--muted); font-size: .88rem; margin: 0 0 10px; }
.domain-tld strong { font-size: .95rem; }

/* ───── FAQ ───── */
.faq { display: grid; gap: 10px; }
details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 22px;
  box-shadow: var(--shadow); transition: background var(--transition);
}
details[open] { background: var(--surface2); }
summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: .97rem; }
details p { color: var(--muted); margin: 12px 0 0; font-size: .93rem; }

/* ───── CTA BOX ───── */
.cta-box {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--surface) 100%);
  border: 1px solid rgba(232,108,0,.2);
  border-radius: 28px; padding: 32px; box-shadow: var(--shadow);
}
.cta-box h3 { margin: 6px 0 8px; }
.cta-box p { margin: 0; color: var(--muted); }

/* ───── SPLIT ───── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ───── SUMMARY TABLE (support) ───── */
.summary-table div span { color: var(--muted); }

/* ───── TAGS ───── */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tag {
  background: var(--surface2); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 99px; color: var(--muted);
  font-weight: 600; font-size: .82rem;
}

/* ───── FOOTER ───── */
.footer {
  margin-top: 48px; background: var(--footer-bg); color: #f0ede8; padding: 48px 0 24px;
  transition: background var(--transition);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { margin: 0 0 14px; font-family: var(--font-head); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(240,237,232,.5); }
.footer a, .footer p { color: rgba(240,237,232,.65); font-size: .9rem; }
.footer p { margin: 0 0 8px; }
.footer a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(240,237,232,.35); font-size: .85rem;
}

/* ───── ANIMATE IN ───── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp .55s ease both; }
.animate-1 { animation-delay: .05s; }
.animate-2 { animation-delay: .12s; }
.animate-3 { animation-delay: .20s; }

/* ───── RESPONSIVE ───── */
@media (max-width: 1100px) {
  .hero-grid, .configurator, .footer-grid, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .navbar { flex-wrap: wrap; gap: 12px; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
  .hero-copy, .hero-visual, .page-hero-box, .config-box, .summary-box { padding: 24px; }
  .hero-points, .grid-3, .grid-4, .domain-grid { grid-template-columns: 1fr; }
  .domain-search { grid-template-columns: 1fr; }
  .cta-box, .section-head { align-items: start; flex-direction: column; }
  .table-wrap { overflow-x: auto; }
  .brand-sub { display: none; }
  .nav-actions .btn span { display: none; }
}
@media (max-width: 560px) {
  .hero-mini-grid { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .price-footer { flex-direction: column; }
}
