:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.navbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.nav-menu { list-style: none; display: flex; gap: 1.75rem; align-items: center; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a { text-decoration: none; color: var(--text); font-weight: 500; }
.nav-menu a:hover { color: var(--primary); }
.nav-menu .nav-divider { width: 1px; height: 1.5rem; background: var(--border); }

.dropdown-toggle { cursor: pointer; user-select: none; }
.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 180px;
  z-index: 100;
}
.has-submenu.open .submenu { display: block; }
.has-submenu .submenu li { display: block; }
.has-submenu .submenu a { display: block; padding: 0.5rem 1rem; }

.btn-login { padding: 0.4rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; }
.btn-login:hover { border-color: var(--primary); }
.btn-signup { padding: 0.4rem 1rem; background: var(--primary); color: white !important; border-radius: var(--radius); font-size: 0.95rem; }
.btn-signup:hover { background: var(--primary-dark); color: white !important; }

.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 1rem; gap: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); align-items: stretch; }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-divider { width: 100%; height: 1px; }
  .has-submenu .submenu { position: static; box-shadow: none; border: 0; padding-left: 1rem; margin: 0; }
  .has-submenu.open .submenu { display: block; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 5rem 0; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 2rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: all 0.2s; }
.btn-primary { background: white; color: var(--primary); }
.btn-primary:hover { background: #f0f4ff; transform: translateY(-2px); }

/* Features */
.features { padding: 4rem 0; background: var(--bg-alt); }
.features h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature { background: var(--bg); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); }
.feature h3 { margin-bottom: 0.5rem; }

/* Page content */
.page-content { padding: 3rem 0; }
.page-content h1 { margin-bottom: 1.5rem; }


/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.75rem; }
  .nav-menu { gap: 1rem; font-size: 0.9rem; }
}

/* Pricing */
.pricing-section { padding: 5rem 1.5rem; background: var(--bg-alt); }
.pricing-section h2 { text-align: center; font-size: 2.25rem; margin: 0 0 0.85rem; line-height: 1.2; }
.pricing-subtitle { text-align: center; color: var(--text-light); margin: 0 auto 3rem; font-size: 1.1rem; max-width: 600px; line-height: 1.55; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(15,23,42,0.04);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,23,42,0.10);
  border-color: var(--primary);
}
.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 32px rgba(37,99,235,0.18);
  transform: scale(1.04);
  z-index: 1;
}
.pricing-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.pricing-card h3 { font-size: 1.4rem; margin: 0 0 0.4rem; color: var(--text); font-weight: 600; }
.price {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.4rem 0 1.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price span { font-size: 1rem; font-weight: 500; color: var(--text-light); }
.features-list {
  list-style: none;
  text-align: left;
  margin: 0 0 2rem;
  padding: 0;
  flex: 1;
}
.features-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
}
.features-list li:last-child { border-bottom: none; }
.pricing-card .btn,
.pricing-card .btn-outline,
.pricing-card .btn-cta {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.95rem;
  margin-top: auto;
}
.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-cta,
a.btn-cta,
.content-narrow .btn-cta,
.content-narrow > p > a.btn-cta {
  display: inline-block !important;
  padding: 0.75rem 2rem !important;
  background: var(--primary) !important;
  color: white !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-weight: 600 !important;
  transition: all 0.2s;
  border: 2px solid var(--primary) !important;
}
.btn-cta:hover,
a.btn-cta:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; transform: translateY(-2px); color: white !important; }

/* FAQ */
.hosting-faq { padding: 3rem 0; background: var(--bg-alt); }
.hosting-faq h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; }
.faq-item { max-width: 700px; margin: 0 auto 1.5rem; background: var(--bg); padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary-dark); }
.faq-item p { color: var(--text-light); }

/* Domains */
.domain-section { padding: 3rem 0; }
.domain-section h2 { text-align: center; font-size: 2rem; margin-bottom: 0.5rem; }
.domain-search { display: flex; max-width: 600px; margin: 2rem auto; gap: 0.5rem; }
.domain-search input, .domain-search select { padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; }
.domain-search input { flex: 1; }
.domain-result { max-width: 600px; margin: 0 auto; }
.domain-available { background: #ecfdf5; border: 1px solid #10b981; padding: 1.25rem; border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.domain-available .btn { white-space: nowrap; }
.domain-taken { background: #fef2f2; border: 1px solid #ef4444; padding: 1.25rem; border-radius: var(--radius); }
.tld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; max-width: 900px; margin: 1.5rem auto; }
.tld-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; text-align: center; }
.tld-name { font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.tld-price { color: var(--text-light); font-size: 0.9rem; margin-top: 0.25rem; }
@media (max-width: 600px) {
  .domain-search { flex-direction: column; }
}

/* Account / Mitt konto */
.account-section { padding: 3rem 0; min-height: 60vh; }
.login-box { max-width: 420px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.login-box h1 { font-size: 1.6rem; margin-bottom: 1.5rem; text-align: center; }
.login-box label { display: block; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-light); }
.login-box input { display: block; width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; margin-top: 0.3rem; }
.login-box input:focus { outline: none; border-color: var(--primary); }
.login-box .btn-cta { padding: 0.65rem; }
.btn-block { display: block; width: 100%; }
.login-hint { margin-top: 1rem; font-size: 0.85rem; color: var(--text-light); text-align: center; }
.tfa-secret { font-family: monospace; font-size: 0.8rem; background: var(--bg-alt); padding: 0.5rem; border-radius: 4px; word-break: break-all; margin: 0.5rem 0 1rem; }
#qr img { display: block; margin: 1rem auto; max-width: 220px; }
.msg { background: #fef2f2; border: 1px solid #ef4444; color: #b91c1c; padding: 0.75rem; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 1rem; }
.msg.success { background: #ecfdf5; border-color: #10b981; color: #065f46; }

.dashboard { max-width: 1000px; margin: 0 auto; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.dash-header h1 { font-size: 1.8rem; }
.btn-link { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 0.95rem; }
.btn-link:hover { text-decoration: underline; }
.dash-tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; flex-wrap: wrap; }
.dash-tabs button { background: none; border: none; padding: 0.75rem 1.25rem; cursor: pointer; font-size: 0.95rem; color: var(--text-light); border-bottom: 2px solid transparent; }
.dash-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.dash-table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.dash-table th, .dash-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.dash-table th { background: var(--bg-alt); font-weight: 600; }
.dash-table tr:last-child td { border-bottom: none; }
.status-Paid, .status-Active, .status-Completed { color: #10b981; font-weight: 600; }
.status-Unpaid, .status-Pending { color: #f59e0b; font-weight: 600; }
.status-Cancelled, .status-Suspended, .status-Terminated { color: #ef4444; font-weight: 600; }
.profile { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.profile h3 { margin: 1.5rem 0 1rem; font-size: 1.1rem; }
.profile p { padding: 0.4rem 0; }
.profile input { padding: 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); width: 100%; max-width: 300px; margin-top: 0.3rem; }

/* Account redesign */
.account-section { padding: 4rem 0; min-height: 70vh; background: var(--bg-alt); }
.account-shell { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.auth-card { max-width: 460px; margin: 0 auto; background: var(--bg); border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.05); padding: 2.5rem; text-align: center; }
.auth-card h1 { font-size: 1.7rem; margin: 0 0 0.5rem; }
.auth-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-size: 1.5rem; margin-bottom: 1rem; }
.auth-subtitle { color: var(--text-light); margin-bottom: 1.5rem; font-size: 0.95rem; }
.auth-card form { text-align: left; }
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.35rem; font-weight: 500; }
.field input { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s; }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.auth-btn { width: 100%; padding: 0.85rem; background: var(--primary); color: white; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.15s; margin-top: 0.5rem; }
.auth-btn:hover:not(:disabled) { background: var(--primary-dark); }
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-footer { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); }
.auth-footer a { color: var(--primary); font-weight: 500; }
.tfa-code { font-size: 1.5rem; text-align: center; letter-spacing: 0.4em; }
.qr-box { margin: 1rem 0; }
.qr-box img { display: block; margin: 0 auto; max-width: 220px; padding: 0.5rem; background: white; border-radius: 8px; border: 1px solid var(--border); }
.tfa-secret { font-family: 'SF Mono', Monaco, monospace; font-size: 0.8rem; background: var(--bg-alt); padding: 0.6rem; border-radius: 6px; word-break: break-all; margin-bottom: 1rem; color: var(--text-light); }

/* Dashboard layout */
.dashboard { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; }
.dash-sidebar { background: var(--bg); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); padding: 1.5rem; position: sticky; top: 1rem; }
.dash-user { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 1.25rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.dash-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.dash-name { font-weight: 600; font-size: 0.95rem; }
.dash-logout { display: block; font-size: 0.8rem; color: var(--text-light); margin-top: 0.15rem; text-decoration: none; }
.dash-logout:hover { color: var(--primary); }
.dash-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.dash-nav a { padding: 0.7rem 0.85rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 0.95rem; transition: background 0.15s; }
.dash-nav a:hover { background: var(--bg-alt); }
.dash-nav a.active { background: var(--primary); color: white; }
.dash-main { background: var(--bg); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); padding: 2rem; min-height: 400px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.dash-head h2 { font-size: 1.5rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.info-card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; }
.info-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; gap: 0.5rem; flex-wrap: wrap; }
.info-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1rem; font-size: 0.9rem; }
.info-card dt { color: var(--text-light); }
.info-card dd { margin: 0; }
.info-card h3 { font-size: 1.05rem; margin: 0 0 1rem; }

.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th, .dash-table td { padding: 0.85rem 1rem; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.dash-table th { background: var(--bg-alt); font-weight: 600; color: var(--text-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.dash-table tr:last-child td { border-bottom: none; }

.status { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.status-Paid, .status-Active, .status-Completed { background: #d1fae5; color: #047857; }
.status-Unpaid, .status-Pending { background: #fef3c7; color: #b45309; }
.status-Cancelled, .status-Suspended, .status-Terminated { background: #fee2e2; color: #b91c1c; }

.empty { text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.empty a { color: var(--primary); }
.loading { padding: 2rem; text-align: center; color: var(--text-light); }

/* Checkout flow */
.checkout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; max-width: 900px; margin: 0 auto; }
.checkout-summary { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; position: sticky; top: 1rem; }
.checkout-summary h3 { margin: 0 0 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.summary-row:last-child { border-bottom: none; padding-top: 0.85rem; font-weight: 700; font-size: 1.1rem; }

@media (max-width: 768px) {
  .dashboard { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .dash-nav { flex-direction: row; overflow-x: auto; }
  .dash-nav a { white-space: nowrap; padding: 0.5rem 0.85rem; font-size: 0.85rem; }
  .field-row { grid-template-columns: 1fr; }
  .auth-card { padding: 1.5rem; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

/* Register page — two-column with side perks */
.register-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.register-side { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: 12px; padding: 2.5rem; }
.register-side h2 { font-size: 1.6rem; margin-bottom: 0.75rem; line-height: 1.3; }
.register-side-sub { opacity: 0.92; line-height: 1.6; margin-bottom: 1.75rem; font-size: 0.95rem; }
.register-perks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.register-perks li { display: flex; gap: 0.85rem; align-items: flex-start; }
.perk-ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; font-weight: 700; font-size: 0.9rem; }
.register-perks small { opacity: 0.8; font-size: 0.85rem; }

.register-card { background: var(--bg); border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); padding: 2.5rem; }
.register-card h1 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.register-card .auth-subtitle { margin-bottom: 1.75rem; }

.form-section { padding: 0.5rem 0 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.form-section:last-of-type { border-bottom: 0; }
.form-section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); font-weight: 600; margin-bottom: 1rem; }
.field span em { font-style: normal; opacity: 0.65; font-weight: 400; font-size: 0.78rem; margin-left: 0.4rem; }
.form-hint { font-size: 0.82rem; color: var(--text-light); margin-top: 0.5rem; }

@media (max-width: 768px) {
  .register-wrap { grid-template-columns: 1fr; }
  .register-side { padding: 1.75rem; }
  .register-card { padding: 1.5rem; }
}

/* Contact page */
.contact-section { padding: 3rem 0; }
.contact-section h1 { font-size: 2.25rem; text-align: center; margin-bottom: 0.5rem; }
.contact-section .lead { text-align: center; color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; box-shadow: 0 2px 12px rgba(15,23,42,0.04); }
.contact-card h3 { font-size: 1.15rem; margin: 0 0 1rem; }
.contact-card p { margin-bottom: 0.6rem; line-height: 1.6; }
.contact-card .muted { color: var(--text-light); font-size: 0.9rem; }
.contact-card a { color: var(--primary); }
.payment-list { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.payment-list li { padding: 0.3rem 0; font-size: 0.95rem; }
.payment-list li::before { content: "✓ "; color: var(--primary); font-weight: 700; }

/* FAQ page */
.faq-section { padding: 3rem 0; max-width: 800px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.faq-section h1 { font-size: 2.25rem; text-align: center; margin-bottom: 0.5rem; }
.faq-section .lead { text-align: center; color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; }
.faq-group { margin-bottom: 3rem; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary); display: inline-block; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; transition: border-color 0.15s, box-shadow 0.15s; }
.faq-item[open] { border-color: var(--primary); box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); font-weight: 400; transition: transform 0.15s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0.85rem 0 0; color: var(--text-light); line-height: 1.65; }
.faq-item a { color: var(--primary); }

/* Home hero cta */
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-outline-light { background: transparent; color: white; border: 2px solid white; padding: 0.75rem 1.85rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: all 0.2s; }
.btn-outline-light:hover { background: white; color: var(--primary); }

/* Services showcase (homepage 3-up) */
.services-showcase { padding: 5rem 0; background: var(--bg); }
.services-showcase h2 { text-align: center; font-size: 2.25rem; margin-bottom: 0.6rem; }
.section-sub { text-align: center; color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; box-shadow: 0 2px 12px rgba(15,23,42,0.04); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; position: relative; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,23,42,0.10); border-color: var(--primary); }
.service-card.service-featured { background: linear-gradient(135deg, #f0f4ff, var(--bg)); border-color: var(--primary); }
.service-badge { display: inline-block; background: var(--bg-alt); color: var(--primary); padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; align-self: flex-start; }
.service-card h3 { font-size: 1.4rem; margin: 0 0 0.4rem; }
.service-price { font-size: 2.25rem; font-weight: 800; color: var(--text); margin-bottom: 0.85rem; line-height: 1; }
.service-price span { font-size: 0.95rem; font-weight: 500; color: var(--text-light); margin-left: 0.2rem; }
.service-desc { color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.55; }
.service-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.service-features li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: "✓ "; color: var(--primary); font-weight: 700; margin-right: 0.3rem; }

/* CTA strip */
.cta-strip { padding: 4rem 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; text-align: center; }
.cta-strip h2 { font-size: 2rem; margin: 0 0 0.5rem; }
.cta-strip p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 1.75rem; }
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }


/* Footer */
.site-footer { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 4rem 0 2rem; color: #475569; text-align: left; margin-top: 4rem; }
.site-footer .container { padding-left: 1.5rem; padding-right: 1.5rem; max-width: 1100px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand .footer-logo { display: inline-block; font-size: 1.5rem; font-weight: 800; color: #0f172a; text-decoration: none; margin-bottom: 0.85rem; }
.footer-brand .footer-logo span { color: #2563eb; }
.footer-tag { font-size: 0.92rem; line-height: 1.65; max-width: 280px; color: #64748b; margin: 0; }
.footer-col h3.footer-heading, .footer-col h4 { color: #0f172a; font-size: 0.78rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { padding: 0.3rem 0; font-size: 0.92rem; line-height: 1.5; }
.footer-col a { color: #475569; text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: #2563eb; }
.footer-contact .muted { color: #64748b; font-size: 0.85rem; }
.footer-bottom { padding-top: 1.75rem; border-top: 1px solid #e2e8f0; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: #64748b; }
.footer-legal p { margin: 0; }
.footer-legal strong { color: #0f172a; }
.footer-copy { color: #64748b; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* Hero trust line */
.hero-trust { margin-top: 1.5rem; font-size: 0.9rem; opacity: 0.85; }

/* Intro section */
.intro-section { padding: 5rem 0; background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto; align-items: center; }
.intro-grid h2 { font-size: 2rem; margin-bottom: 1rem; line-height: 1.25; }
.intro-grid p { font-size: 1.05rem; line-height: 1.7; color: var(--text); margin-bottom: 1rem; }
.intro-grid p:last-child { margin-bottom: 0; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-item {
  background: linear-gradient(135deg, #eff6ff, var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 130px;
}
.stat-item strong { font-size: 2.25rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-item span { font-size: 0.85rem; color: var(--text-light); font-weight: 500; line-height: 1.3; }

/* Content section (3-col rich text) */
.content-section { padding: 5rem 0; background: var(--bg-alt); }
.content-section-alt { background: var(--bg); }
.content-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.content-col h2 { font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.3; color: var(--text); }
.content-col p { line-height: 1.7; color: var(--text); margin-bottom: 1rem; font-size: 0.97rem; }
.content-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.content-link:hover { text-decoration: underline; }

.content-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.content-narrow h2 { font-size: 2rem; margin: 0 0 1.25rem; line-height: 1.25; }
.content-narrow h3 { font-size: 1.35rem; margin: 2.25rem 0 1rem; color: var(--text); }
.content-narrow > p { font-size: 1.05rem; color: var(--text); margin: 0 0 1.25rem; line-height: 1.7; }
.content-narrow > p:last-of-type { margin-bottom: 0; }
.content-narrow > p a { color: var(--primary); text-decoration: none; border-bottom: 1px solid rgba(37,99,235,0.3); transition: border-color 0.15s; }
.content-narrow > p a:hover { border-bottom-color: var(--primary); }
.cross-services { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.cross-services > li { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.cross-services h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.cross-services p { line-height: 1.6; color: var(--text-light); margin: 0; font-size: 0.95rem; }
.cross-services p a { color: var(--primary); font-weight: 600; }

@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
  .content-cols { gap: 2rem; }
}

/* DNS uptime banner */
.uptime-banner { padding: 3rem 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.uptime-content { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.uptime-big { font-size: 5rem; font-weight: 800; line-height: 1; flex-shrink: 0; }
.uptime-big span { font-size: 3rem; font-weight: 600; opacity: 0.85; }
.uptime-content h2 { font-size: 1.75rem; margin: 0 0 0.5rem; line-height: 1.25; }
.uptime-content p { margin: 0; line-height: 1.65; opacity: 0.92; max-width: 580px; }
.uptime-content strong { color: white; font-weight: 700; }

/* Uptime badge inside Premium pricing card */
.uptime-badge {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #047857;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 auto 1.25rem;
  display: inline-block;
}
.uptime-badge strong { font-size: 1rem; font-weight: 800; }

/* Hero compact (DNS page) */
.hero-compact { padding: 4rem 0 3rem; }
.hero-compact h1 { font-size: 2.5rem; }

@media (max-width: 768px) {
  .uptime-content { flex-direction: column; text-align: center; gap: 1.5rem; }
  .uptime-big { font-size: 4rem; }
  .uptime-big span { font-size: 2.5rem; }
}

/* About page */
.about-bullets { list-style: none; padding: 0; margin: 1.5rem 0; }
.about-bullets li { padding: 0.85rem 0 0.85rem 1.75rem; border-bottom: 1px solid var(--border); position: relative; line-height: 1.65; }
.about-bullets li::before { content: "→"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.about-bullets li:last-child { border-bottom: none; }

.company-info { display: grid; grid-template-columns: max-content 1fr; gap: 0.75rem 1.5rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; margin: 1.5rem 0; }
.company-info dt { color: var(--text-light); font-weight: 600; font-size: 0.92rem; }
.company-info dd { margin: 0; font-size: 0.95rem; }
.company-info dd a { color: var(--primary); }


/* Growth path — modern stepper */
.growth-path {
  list-style: none;
  padding: 0;
  margin: 3rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  counter-reset: growth-step;
}
/* Connecting line between cards (desktop) */
.growth-path::before {
  content: "";
  position: absolute;
  top: 75px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.18;
  z-index: 0;
}
.growth-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(15,23,42,0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.growth-step:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 18px 36px rgba(37,99,235,0.12);
}
.growth-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 4px solid var(--bg);
  border-radius: 50%;
  font-size: 2rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(37,99,235,0.18);
}
.growth-num-pill {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  align-self: center;
}
.growth-step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.growth-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.growth-link {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.growth-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .growth-path { grid-template-columns: 1fr; gap: 1rem; }
  .growth-path::before { display: none; }
  .growth-step { padding: 1.5rem 1.25rem; flex-direction: row; align-items: flex-start; text-align: left; gap: 1rem; }
  .growth-icon { width: 56px; height: 56px; font-size: 1.5rem; flex-shrink: 0; margin: 0; }
  .growth-step > div, .growth-step h3, .growth-step p, .growth-step a { align-self: flex-start; }
  .growth-step .growth-num-pill { margin-bottom: 0.4rem; }
}

/* Domain transfer steps */
.transfer-steps { display: grid; gap: 1.25rem; margin: 2rem 0; }
.transfer-step { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.75rem; box-shadow: 0 2px 8px rgba(15,23,42,0.04); }
.transfer-step h3 { font-size: 1.15rem; margin: 0.6rem 0 0.5rem; color: var(--text); }
.transfer-step p { font-size: 0.95rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.transfer-step strong { color: var(--text); }
.transfer-step a { color: var(--primary); }

/* Logo with circular mark */
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-mark { display: block; flex-shrink: 0; }
.logo span { font-weight: 800; font-size: 1.4rem; color: #0f172a; line-height: 1; }
.logo span em { font-style: normal; font-weight: 600; color: var(--primary); }

/* Ticket thread / form */
.ticket-form { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.ticket-form .field { margin-bottom: 1rem; }
.ticket-form textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; resize: vertical; min-height: 120px; }
.ticket-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.ticket-form select { padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 8px; width: 100%; background: var(--bg); }

.ticket-thread { display: flex; flex-direction: column; gap: 1rem; max-width: 720px; }
.ticket-message { padding: 1rem 1.25rem; border-radius: 12px; }
.ticket-from-customer { background: var(--bg-alt); border: 1px solid var(--border); align-self: flex-end; max-width: 90%; }
.ticket-from-staff { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe; align-self: flex-start; max-width: 90%; }
.ticket-meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.4rem; font-weight: 600; }
.ticket-body { line-height: 1.55; color: var(--text); }
.tickets-table tr.clickable td { cursor: pointer; }

/* CTA strip with multiple actions */
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.cta-sub { font-size: 0.95rem; opacity: 0.92; margin: 0; }
.cta-sub a { color: white; text-decoration: underline; font-weight: 600; }

/* Pay button on invoices */
.btn-sm { font-size: 0.85rem; padding: 0.4rem 0.85rem; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; }
.btn-pay, a.btn-pay, .btn-sm.btn-pay {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  background: var(--primary) !important;
  color: white !important;
  border: 1px solid var(--primary) !important;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn-pay:hover, a.btn-pay:hover, .btn-sm.btn-pay:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.invoice-hint { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-light); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.25rem; line-height: 1.55; }

/* Service card actions */
.card-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cancel-btn { color: #b91c1c; font-size: 0.9rem; }
.cancel-btn:hover { color: #7f1d1d; }

/* Highlighted contact card (chat) */
.contact-card-chat {
  background: linear-gradient(135deg, #eff6ff, var(--bg));
  border-color: var(--primary);
  position: relative;
}
.contact-card-chat::before {
  content: "Snabbast";
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* Balance summary in sidebar + credit cards */
.balance-summary { padding: 1rem; margin: 1rem 0 0; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; }
.bal-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; padding: 0.25rem 0; }
.bal-row span { color: var(--text-light); }
.bal-credit { color: #10b981; }
.bal-unpaid { color: #f59e0b; }
.balance-card { text-align: center; padding: 1.75rem 1.25rem; }
.bal-label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; font-weight: 600; }
.bal-amount { font-size: 2.4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bal-amount span { font-size: 1rem; font-weight: 500; color: var(--text-light); }
.preset-amount { background: var(--bg-alt); border: 1px solid var(--border); padding: 0.4rem 0.75rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; }
.preset-amount:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* Balance pill in dash-head */
.dash-head .bal-pill {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: auto;
  white-space: nowrap;
}
