/* HosterPapa Corporate Cloud Stylesheet — 100/100 PageSpeed Zero-Bloat CSS */
:root {
  --bg-dark: #09090b;
  --bg-surface: #121217;
  --bg-light: #ffffff;
  --bg-muted: #fafafa;
  --border: #e4e4e7;
  --border-dark: #27272a;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --purple-soft: #f5f3ff;
  --text: #09090b;
  --text-muted: #52525b;
  --emerald: #10b981;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { margin: 0; color: var(--text); background: var(--bg-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.02em; margin-top: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; font-variant-numeric: tabular-nums; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Promo Strip */
.promo-bar {
  background: linear-gradient(90deg, #4c1d95 0%, #6d28d9 50%, #4c1d95 100%);
  color: #fff;
  font-size: 13px;
  padding: 9px 16px;
  text-align: center;
}
.promo-bar .coupon {
  font-family: "JetBrains Mono", monospace;
  background: rgba(255,255,255,0.16);
  padding: 2px 8px;
  border-radius: 6px;
  margin: 0 6px;
  font-weight: 700;
}
.promo-bar a { color: #fde68a; font-weight: 700; text-decoration: underline; margin-left: 6px; }

/* Header & Navigation */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 70px;
}
.brand-logo img { height: 38px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; color: #27272a; }
.nav-links a:hover, .dropdown-trigger:hover { color: var(--purple-dark); }
.dropdown { position: relative; }
.dropdown-trigger {
  background: none; border: 0; font: inherit; font-weight: 600; color: #27272a;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; white-space: nowrap;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0; width: 310px; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; padding: 10px;
  box-shadow: 0 20px 45px rgba(9,9,11,0.14); display: none; z-index: 50;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 10px 12px; border-radius: 10px; }
.dropdown-item:hover { background: var(--purple-soft); }
.dropdown-item strong { display: block; font-size: 13px; color: var(--text); }
.dropdown-item span { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.currency-select {
  border: 1px solid var(--border); border-radius: 9px; padding: 7px 10px;
  font-size: 12px; font-weight: 700; font-family: "JetBrains Mono", monospace; background: #fff; cursor: pointer;
}
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff; font-weight: 600; font-size: 14px; padding: 11px 20px;
  border-radius: 11px; border: 0; cursor: pointer; white-space: nowrap; transition: transform 0.15s, opacity 0.15s;
}
.btn-primary:hover { opacity: 0.94; transform: translateY(-1px); }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #09090b; color: #fff; font-weight: 600; font-size: 14px; padding: 11px 20px;
  border-radius: 11px; border: 1px solid #27272a; cursor: pointer; white-space: nowrap;
}
.btn-dark:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(24,24,27,0.85); color: #f4f4f5; font-weight: 600; font-size: 14px; padding: 11px 20px;
  border-radius: 11px; border: 1px solid #3f3f46; cursor: pointer; white-space: nowrap;
}
.mobile-toggle { display: none; background: #f4f4f5; border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
.mobile-drawer { display: none; background: #09090b; color: #fff; padding: 18px 20px; border-bottom: 1px solid #27272a; }
.mobile-drawer.open { display: block; }
.mobile-drawer a { display: block; padding: 10px 0; border-bottom: 1px solid #27272a; font-weight: 600; font-size: 15px; }

/* Corporate Hero Mesh */
.hero-section {
  background-color: #09090b;
  background-image:
    radial-gradient(circle at 78% 18%, rgba(124, 58, 237, 0.34) 0%, rgba(124, 58, 237, 0) 48%),
    radial-gradient(circle at 18% 85%, rgba(109, 40, 217, 0.2) 0%, rgba(9, 9, 11, 0) 50%),
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  color: #fff;
  padding: 64px 0 54px;
  border-bottom: 1px solid #27272a;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.88fr; gap: 40px; align-items: stretch; }
.hero-kicker { color: #c4b5fd; font-size: 13px; font-weight: 600; margin: 0 0 14px; }
.hero-title { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; font-weight: 800; margin: 0 0 18px; }
.hero-accent { background: linear-gradient(90deg, #c4b5fd, #e9d5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: #d4d4d8; font-size: 17px; max-width: 610px; margin: 0 0 28px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.domain-bar {
  display: flex; align-items: center; background: #18181b; border: 1px solid #3f3f46;
  border-radius: 13px; padding: 6px; max-width: 560px;
}
.domain-bar input {
  flex: 1; background: transparent; border: 0; color: #fff; font-size: 15px; padding: 10px 14px; outline: none; min-width: 0;
}
.domain-hints { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 12px; color: #a1a1aa; }
.domain-hints strong { color: #fff; }

.arch-card {
  background: rgba(24,24,27,0.92); border: 1px solid #27272a; border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.arch-row {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid rgba(63,63,70,0.45); font-size: 13px;
}
.arch-row:last-child { border-bottom: 0; }
.arch-row span:first-child { color: #a1a1aa; }
.arch-row span:last-child { color: #c4b5fd; font-family: "JetBrains Mono", monospace; font-weight: 600; text-align: right; }

.kpi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid #27272a;
}
.kpi-val { font-size: 28px; font-weight: 800; font-family: "JetBrains Mono", monospace; color: #fff; }
.kpi-lbl { font-size: 13px; color: #a1a1aa; margin-top: 4px; }

/* Sections & Pricing Grid */
.section { padding: 72px 0; }
.section-muted { background: #fafafa; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: #09090b; color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-kicker { color: var(--purple-dark); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }

.slider-panel {
  background: #09090b; color: #fff; border: 1px solid #27272a; border-radius: 18px; padding: 26px; margin-bottom: 34px;
}
.slider-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: center; }
.term-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 14px; }
.term-btn {
  background: #18181b; border: 1px solid #27272a; color: #d4d4d8; border-radius: 10px;
  padding: 10px 12px; text-align: left; cursor: pointer;
}
.term-btn.active { background: #6d28d9; border-color: #8b5cf6; color: #fff; }
.term-btn strong { display: block; font-size: 14px; }
.term-btn span { font-size: 11px; opacity: 0.85; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plans-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.plan-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.plan-card.popular { background: #09090b; color: #fff; border: 2px solid #7c3aed; }
.plan-top-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-size: 38px; font-weight: 800; font-family: "JetBrains Mono", monospace; margin: 14px 0 4px; }
.plan-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0; margin: 14px 0;
  border-top: 1px solid rgba(113,113,122,0.22); border-bottom: 1px solid rgba(113,113,122,0.22); font-size: 12px;
}
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; font-size: 13px; }
.plan-features li { padding: 5px 0; display: flex; gap: 8px; }
.plan-features li::before { content: "✓"; color: #7c3aed; font-weight: 800; }
.plan-card.popular .plan-features li::before { color: #c4b5fd; }

/* Stack & Interactive Tabs */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.cpanel-box { background: #09090b; color: #fff; border: 1px solid #27272a; border-radius: 18px; overflow: hidden; margin-top: 36px; }
.cpanel-header { padding: 20px 24px; border-bottom: 1px solid #27272a; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.cpanel-tabs { display: flex; flex-wrap: wrap; gap: 6px; background: #18181b; padding: 5px; border-radius: 11px; }
.cpanel-tab {
  background: transparent; color: #a1a1aa; border: 0; padding: 7px 13px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.cpanel-tab.active { background: #7c3aed; color: #fff; }
.cpanel-body { padding: 28px; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 28px; align-items: center; }

/* Table & FAQ */
.table-wrap { overflow-x: auto; border: 1px solid #27272a; border-radius: 16px; background: #18181b; }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; text-align: left; font-size: 14px; }
table.compare th, table.compare td { padding: 15px 20px; border-bottom: 1px solid #27272a; }
table.compare th { background: #09090b; color: #a1a1aa; font-size: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq-item summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item div { padding: 0 20px 18px; color: var(--text-muted); font-size: 14px; }

/* Footer */
.site-footer { background: #09090b; color: #d4d4d8; padding: 60px 0 30px; border-top: 1px solid #27272a; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #27272a; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: #c4b5fd; }

/* Floating Plan Finder */
.finder-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff;
  border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: 13px;
  box-shadow: 0 12px 28px rgba(109,40,217,0.45); cursor: pointer;
}
.finder-modal {
  position: fixed; right: 20px; bottom: 74px; z-index: 46; width: 350px; max-width: calc(100vw - 40px);
  background: #09090b; color: #fff; border: 1px solid #3f3f46; border-radius: 16px; padding: 20px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.45); display: none;
}
.finder-modal.open { display: block; }

@media (max-width: 980px) {
  .nav-links, .header-actions .desktop-only { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-grid, .slider-grid, .plans-grid, .cards-3, .cards-2, .cpanel-body, .footer-grid, .kpi-strip {
    grid-template-columns: 1fr;
  }
}
