/* =====================================================
   HTMLexpress — Modern CSS Revamp
   Replaces Foundation. Uses CSS Grid + Flexbox.
   ===================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0ea5e9;
  --primary-dark:  #0284c7;
  --primary-light: #e0f2fe;
  --accent:        #f59e0b;
  --accent-dark:   #d97706;
  --dark:          #0f172a;
  --gray-900:      #1e293b;
  --gray-700:      #334155;
  --gray-500:      #64748b;
  --gray-300:      #cbd5e1;
  --gray-200:      #e2e8f0;
  --gray-100:      #f1f5f9;
  --gray-50:       #f8fafc;
  --white:         #ffffff;
  --red:           #ef4444;
  --green:         #22c55e;
  --radius:        8px;
  --radius-lg:     14px;
  --shadow:        0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:         1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.625rem); }
h2 { font-size: clamp(1.375rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.9375rem; font-weight: 600; }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }
ul.no-bullet, ul.no-bullet li { list-style: none; padding: 0; margin: 0; }
textarea { min-height: 160px; resize: vertical; }
table { width: 100%; border-collapse: collapse; }
hr { border: none; border-top: 1px solid var(--gray-200); margin: 1.5rem 0; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.375rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary  { background: var(--primary);  color: #fff; border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-accent   { background: var(--accent);   color: var(--dark); border-color: var(--accent); }
.btn-accent:hover   { background: var(--accent-dark);  border-color: var(--accent-dark); color: var(--dark); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: #fff; }
.btn-grey     { background: var(--gray-100); color: var(--gray-700); border-color: var(--gray-300); width: 100%; }
.btn-grey:hover     { background: var(--gray-200); }
.btn-dark     { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover     { background: var(--gray-900); border-color: var(--gray-900); color: #fff; }
.btn-back     { background: var(--gray-300); color: var(--dark); border-color: var(--gray-300); }
.btn-back:hover     { background: var(--gray-500); border-color: var(--gray-500); color: #fff; }
.btn-lg  { padding: 0.9375rem 2rem;  font-size: 1.0625rem; }
.btn-sm  { padding: 0.4375rem 0.875rem; font-size: 0.8125rem; }

/* ── Top Bar ── */
#topbar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 0.4375rem 0;
  font-size: 0.8125rem;
}
#topbar .container { display: flex; align-items: center; justify-content: space-between; }
#topbar .phone-icon { display: flex; align-items: center; gap: 0.375rem; }
#topbar .phone-icon i { font-size: 0.875rem; }
.topbar-links { display: flex; list-style: none; padding: 0; margin: 0; gap: 0.125rem; }
.topbar-links li a {
  color: rgba(255,255,255,.75);
  padding: 0.3125rem 0.625rem;
  border-radius: 4px;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.topbar-links li a:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
.topbar-links .cart-link {
  background: var(--primary);
  color: #fff !important;
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
}
.topbar-links .cart-link:hover { background: var(--primary-dark) !important; }

/* ── Main Navigation ── */
#mainnav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
#mainnav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  list-style: none;
  padding: 0; margin: 0;
  gap: 0.125rem;
}
.nav-links li a {
  display: block;
  padding: 0.4375rem 0.8125rem;
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all .15s;
}
.nav-links li a:hover { color: var(--primary); background: var(--primary-light); text-decoration: none; }
.nav-links li.active a { color: var(--primary); background: var(--primary-light); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: .3s;
}

/* ── Breadcrumb ── */
#breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 0.5625rem 0;
  font-size: 0.8125rem;
}
#breadcrumb .container { display: flex; align-items: center; gap: 0.375rem; color: var(--gray-500); }
#breadcrumb a { color: var(--primary); }
#breadcrumb .sep { color: var(--gray-300); }

/* ── Trust Bar ── */
#trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0.625rem 0;
}
#trust-bar .container { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
#trust-bar img { height: 38px; width: auto; }

/* ──────────────────────────────────────
   HOMEPAGE
   ────────────────────────────────────── */

/* Hero */
#hero {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 55%, #0369a1 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
}
#hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
#hero h1 { color: #fff; margin-bottom: 0.875rem; }
#hero .hero-lead {
  color: rgba(255,255,255,.8);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  font-weight: 500;
}
#hero .usp-list {
  list-style: none;
  padding: 0; margin: 0 0 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
#hero .usp-list li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  color: rgba(255,255,255,.88);
  font-size: 0.9375rem;
}
#hero .usp-list li .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; min-width: 20px;
  background: var(--accent); color: var(--dark);
  border-radius: 50%; font-size: 0.6875rem; font-weight: 700;
  margin-top: 0.125rem;
}
#hero .hero-cta { display: flex; gap: 0.875rem; flex-wrap: wrap; }

.hero-right { display: flex; flex-direction: column; gap: 1.25rem; }
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.video-wrap iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }

.browsers-panel {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.browsers-panel h4 { color: rgba(255,255,255,.85); font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.75rem; }
.browsers-row { display: flex; gap: 0.75rem; align-items: center; justify-content: space-around; }
.browser-item { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.browser-item img { width: 38px; height: 38px; object-fit: contain; }
.browser-item span { font-size: 0.6rem; color: rgba(255,255,255,.6); font-weight: 500; }

/* How it Works */
#how-it-works { padding: 5rem 0; background: var(--white); }
#how-it-works .section-head { text-align: center; margin-bottom: 0.5rem; }
#how-it-works .section-sub {
  text-align: center; color: var(--gray-500);
  font-size: 1.0625rem; font-weight: 500;
  margin-bottom: 3rem;
}
#how-it-works .section-sub a { color: var(--primary); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 46px; height: 46px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.step-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-icon img { max-width: 48px; max-height: 48px; object-fit: contain; }
.step-card h5 { color: var(--dark); font-size: 0.9375rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--gray-500); font-size: 0.875rem; margin: 0; }

/* Benefits Band */
#benefits {
  background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
  padding: 4.5rem 0;
}
#benefits .container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2.5rem;
}
.benefit-item {}
.benefit-item h4 {
  display: flex; align-items: center; gap: 0.625rem;
  color: var(--dark); margin-bottom: 0.625rem;
}
.benefit-icon {
  width: 34px; height: 34px; min-width: 34px;
  background: rgba(255,255,255,.55);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon img { width: 18px; height: 18px; }
.benefit-item p { color: rgba(15,23,42,.8); font-size: 0.9375rem; margin: 0; }

/* Info Section */
#html-info {
  padding: 5rem 0;
  background: var(--gray-50);
}
#html-info .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
#html-info h2 { font-size: 1.2rem; }

/* ──────────────────────────────────────
   INNER PAGE LAYOUT
   ────────────────────────────────────── */

.page-hero {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
  padding: 2.75rem 0;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 0; font-size: clamp(1.5rem,3vw,2.25rem); }
.page-hero .bc {
  display: flex; gap: 0.375rem; align-items: center;
  font-size: 0.8125rem; color: rgba(255,255,255,.6);
  margin-bottom: 0.5rem;
}
.page-hero .bc a { color: rgba(255,255,255,.7); }
.page-hero .bc a:hover { color: #fff; text-decoration: none; }
.page-hero .bc .sep { color: rgba(255,255,255,.35); }

.page-content { padding: 3rem 0; background: var(--gray-50); }
.page-content .container { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.content-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.content-card p { color: var(--gray-700); }
.content-card ul li { margin-bottom: 0.375rem; }

/* Layout helpers */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
.two-col-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* ── Pricing ── */
#prices { padding: 0; }
.prices-lead {
  color: var(--primary); font-weight: 600;
  margin-bottom: 1.5rem; font-size: 0.9375rem;
}
.pricing-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  padding-top: 3rem;
  margin-bottom: 1rem;
}
.pricebox {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  margin-top: 2.5rem;
  overflow: visible;
  transition: transform .2s, box-shadow .2s;
}
.pricebox:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-badge {
  position: absolute;
  top: -2rem; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.5rem);
  background: var(--gray-900);
  border-radius: var(--radius) var(--radius) 14px 14px;
  text-align: center;
  overflow: hidden;
}
.badge-title {
  background: var(--dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.5rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge-icon {
  height: 60px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.badge-icon img { max-height: 44px; max-width: 72px; object-fit: contain; }

.price-block { text-align: center; padding: 1rem 1rem 0.75rem; }
.price-amount { font-size: 2.375rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-tax { font-size: 0.6875rem; color: var(--gray-500); }
.price-per { font-size: 0.8125rem; color: var(--gray-500); margin-top: 0.125rem; }

.delivery-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--gray-500);
}
.delivery-bar .val { color: var(--primary); font-weight: 600; }
.responsive-bar {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  display: flex; justify-content: space-between; align-items: center;
}
.responsive-bar a { color: rgba(255,255,255,.8); font-size: 0.75rem; }
.responsive-bar strong { font-weight: 600; }

.pricebox-form {
  padding: 0.875rem 1rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.pricebox-form .form-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.625rem; gap: 0.5rem;
}
.pricebox-form .form-row:last-of-type { margin-bottom: 0.75rem; }
.pricebox-form label {
  font-size: 0.725rem; font-weight: 600; color: var(--gray-600);
  flex: 1; line-height: 1.3;
}
.pricebox-form label a { font-size: 0.6875rem; display: block; }
.pricebox-form input[type="text"] {
  width: 48px; text-align: center;
  padding: 0.3125rem 0.25rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.875rem; font-family: var(--font);
}
.pricebox-form button, .pricebox-form .btn-grey {
  width: 100%; padding: 0.5625rem 0.5rem;
  background: var(--gray-100); border: 1px solid var(--gray-300);
  border-radius: var(--radius); font-size: 0.8125rem;
  font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: background .15s; color: var(--gray-700);
  text-align: center; display: block;
}
.pricebox-form button:hover { background: var(--gray-200); }
.pricebox-form .filler { height: 40px; }

/* ── FAQ Accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 0.375rem; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600; font-size: 0.9375rem;
  color: var(--dark);
  transition: background .15s;
  user-select: none;
  gap: 0.75rem;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q.active { background: var(--primary); color: #fff; }
.faq-toggle {
  font-size: 1.25rem; font-weight: 700;
  color: var(--primary); flex-shrink: 0;
  transition: color .15s;
  min-width: 20px; text-align: center;
}
.faq-q.active .faq-toggle { color: #fff; }
.faq-a {
  display: none;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.9375rem; color: var(--gray-700);
}
.faq-a.open { display: block; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin-top: 0.5rem; }
.faq-a a { color: var(--primary); }

/* ── Blog ── */
.blog-list { display: flex; flex-direction: column; gap: 1.25rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-thumb { overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; }
.blog-title-link { font-size: 1.0625rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; display: block; }
.blog-title-link:hover { color: var(--primary); text-decoration: none; }
.blog-date { font-size: 0.8rem; color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; }
.blog-excerpt { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1rem; flex: 1; }
.readmore a { color: var(--primary); font-weight: 600; font-size: 0.875rem; }
.readmore a:hover { text-decoration: none; color: var(--primary-dark); }
.readmore a::before { content: "→ "; }
.paginate { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.paginate span { color: var(--gray-400); }
.paginate a { color: var(--primary); font-weight: 600; font-size: 0.875rem; }

/* ── Forms ── */
.form-group {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.125rem;
}
.form-group label {
  font-weight: 600; font-size: 0.875rem;
  color: var(--gray-700); padding-top: 0.625rem;
  text-align: right;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9375rem; font-family: var(--font);
  color: var(--dark); width: 100%;
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}
.form-note { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 1rem; }
.form-actions { display: flex; gap: 0.75rem; justify-content: flex-end; flex-wrap: wrap; }

/* ── Contact Layout ── */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { padding: 0.4375rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9375rem; }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list a { color: var(--primary); }

/* ── Cart / Winkelwagen ── */
#cart { padding: 3rem 0; background: var(--gray-50); }
.order-steps {
  display: flex; list-style: none; padding: 0; margin: 0 0 2rem;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); overflow: hidden;
}
.order-steps li {
  flex: 1; text-align: center; padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  border-right: 1px solid var(--gray-100); color: var(--gray-500);
}
.order-steps li:last-child { border-right: none; }
.order-steps li.active { background: var(--primary); color: #fff; font-weight: 700; }
.cart-table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.cart-table { border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; }
.cart-table th {
  background: var(--gray-50); padding: 0.75rem 1rem;
  font-size: 0.8125rem; font-weight: 700; color: var(--gray-500);
  text-align: left; border-bottom: 1px solid var(--gray-200);
}
.cart-table td { padding: 1rem; border-bottom: 1px solid var(--gray-100); font-size: 0.9375rem; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-qty { display: flex; align-items: center; gap: 0.5rem; }
.cart-qty-btn {
  width: 28px; height: 28px; border: 1px solid var(--gray-300);
  border-radius: var(--radius); background: var(--white);
  cursor: pointer; font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.cart-qty-btn:hover { background: var(--gray-100); }
.cart-action-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--radius);
  cursor: pointer; transition: background .15s;
}
.cart-action-icon:hover { background: var(--gray-100); }
.summary-box {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow); max-width: 400px; margin-left: auto;
}
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--gray-100); }
.summary-row:last-child { border-bottom: none; font-weight: 700; }

/* Payment Tabs */
.pay-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--gray-200); margin-bottom: 1.5rem; }
.pay-tab {
  padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 500;
  color: var(--gray-500); cursor: pointer;
  border: 1px solid transparent; border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: all .15s; background: var(--white);
  margin-bottom: -1px;
}
.pay-tab.active { border-color: var(--gray-200); background: var(--white); color: var(--primary); font-weight: 700; }
.pay-content { display: none; }
.pay-content.active { display: block; }
.pay-legend {
  background: var(--gray-50); padding: 0.625rem 1rem;
  font-weight: 700; font-size: 0.9375rem;
  border: 1px solid var(--gray-100); border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* ── Login ── */
.login-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 4rem 0; background: var(--gray-50); }
.login-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 480px;
}
.login-card h2 { text-align: center; margin-bottom: 2rem; }

/* ── Sidebar Pricebox (on content pages) ── */
.sidebar-pricebox {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 1.5rem;
}
.sidebar-pricebox .price-summary img { width: 100%; }

/* ── Large Footer ── */
#large-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 3rem 0;
}
#large-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}
#large-footer .logo-col img { max-height: 46px; width: auto; margin-bottom: 0.75rem; }
#large-footer h5 {
  color: var(--dark); margin-bottom: 0.875rem;
  font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
#large-footer ul { list-style: none; padding: 0; margin: 0; }
#large-footer ul li { margin-bottom: 0.4375rem; }
#large-footer ul a { color: var(--gray-500); font-size: 0.9rem; }
#large-footer ul a:hover { color: var(--primary); text-decoration: none; }

/* ── Small Footer ── */
#small-footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 1rem 0; font-size: 0.8125rem;
}
#small-footer .container { display: flex; align-items: center; justify-content: space-between; }
#small-footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; }
#small-footer a { color: rgba(255,255,255,.55); }
#small-footer a:hover { color: #fff; text-decoration: none; }

/* ── Message boxes ── */
#message.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; padding: 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
#message.error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 1rem; border-radius: var(--radius); margin-bottom: 1rem; }

/* ── Utility ── */
.hide          { display: none !important; }
.text-center   { text-align: center; }
.text-blue     { color: var(--primary); }
.text-muted    { color: var(--gray-500); }
.font-bold     { font-weight: 700; }
.mt-1          { margin-top: 0.5rem; }
.mt-2          { margin-top: 1rem; }
.mt-3          { margin-top: 1.5rem; }
.mb-1          { margin-bottom: 0.5rem; }
.mb-2          { margin-bottom: 1rem; }
.mb-3          { margin-bottom: 1.5rem; }

/* Designer affiliate boxes */
.affiliate-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  padding-top: 3rem;
  margin-bottom: 2rem;
}
.affiliate-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  padding-top: 2.5rem;
  position: relative;
  margin-top: 2.5rem;
}
.affiliate-box .badge-icon { border-radius: 0; }
.affiliate-box .price-block { padding: 1.25rem; }

/* File formats table (designers page) */
.file-formats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.file-format { text-align: center; }
.file-format img { height: 72px; width: auto; margin: 0 auto 0.5rem; }
.file-format p { font-size: 0.75rem; color: var(--gray-500); margin: 0; }

/* Dashboard */
#dashboard .dash-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 2rem; }
.dash-item {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  box-shadow: var(--shadow);
}
.dash-icon { width: 64px; height: 64px; margin: 0 auto 1rem; }
.dash-icon img { width: 64px; height: 64px; object-fit: contain; }
#sidemenu { }
#sidemenu h4 {
  background: var(--primary); color: #fff;
  padding: 0.75rem 1.25rem; font-size: 1rem;
  font-weight: 600; border-radius: var(--radius) var(--radius) 0 0;
}
#sidemenu ul { list-style: none; padding: 0; margin: 0; }
#sidemenu .side-nav li { border-bottom: 1px solid var(--gray-100); }
#sidemenu .side-nav li:last-child { border-bottom: none; }
#sidemenu .side-nav li a { display: block; padding: 0.75rem 1.25rem; color: var(--gray-500); font-size: 0.9375rem; transition: all .15s; }
#sidemenu .side-nav li a:hover, #sidemenu .side-nav li.active a { color: var(--primary); background: var(--primary-light); text-decoration: none; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .pricing-row    { grid-template-columns: repeat(2,1fr); }
  #hero .container { grid-template-columns: 1fr; }
  #hero .hero-right { order: -1; }
  .steps-grid     { grid-template-columns: repeat(2,1fr); }
  #benefits .container { grid-template-columns: 1fr 1fr; gap: 2rem; }
  #html-info .container { grid-template-columns: 1fr; }
  .two-col        { grid-template-columns: 1fr; }
  .affiliate-row  { grid-template-columns: repeat(2,1fr); }
  #large-footer .container { grid-template-columns: 1fr 1fr; }
  #dashboard .dash-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-links {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 999;
    flex-direction: column; padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.875rem 0; border-bottom: 1px solid var(--gray-100); border-radius: 0; font-size: 1rem; }
  .nav-toggle { display: flex; }

  #topbar .phone-icon { display: none; }
  #hero { padding: 3rem 0 2.5rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  #benefits .container { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-thumb { height: 160px; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-group { grid-template-columns: 1fr; }
  .form-group label { text-align: left; padding-top: 0; }
  .form-actions { flex-direction: column-reverse; }
  .pricing-row { grid-template-columns: 1fr; }
  .affiliate-row { grid-template-columns: 1fr 1fr; }
  #large-footer .container { grid-template-columns: 1fr; gap: 2rem; }
  #small-footer .container { flex-direction: column; gap: 0.5rem; text-align: center; }
  .page-hero { padding: 2rem 0; }
  .two-col { grid-template-columns: 1fr; }
  .order-steps li { font-size: 0.75rem; padding: 0.625rem 0.375rem; }
  #dashboard .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .affiliate-row { grid-template-columns: 1fr; }
}
