/* =====================================================
   PythonSSL — Main Stylesheet
   ===================================================== */
:root {
  --primary: #1BDBDB;
  --primary-dark: #14aaaa;
  --navy: #1D2D5B;
  --orange: #FF6B35;
  --bg: #F5F7FA;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--primary); }

ul { list-style: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--navy);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: white; }

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: var(--navy); }

.btn-outline-light {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.5);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: #e2e8f0;
}

.btn-dark { background: var(--navy); color: white; border-color: var(--navy); }
.btn-dark:hover { background: #142247; color: white; }

.btn-danger { background: #ef4444; color: white; border-color: #ef4444; }
.btn-danger:hover { background: #dc2626; }

.btn-lg { padding: 14px 32px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-xs { padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; display: block; text-align: center; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.btn-google:hover { border-color: #4285F4; box-shadow: var(--shadow); color: var(--text); }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-accent { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}
.nav-links a {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}
.nav-links a:hover { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
}
.account-menu {
  position: relative;
}
.account-menu-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  user-select: none;
}
.account-menu.open .account-menu-list {
  display: block;
}
.account-caret {
  font-size: 11px;
  color: #64748b;
}
.account-menu-list {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.12);
  padding: 6px;
  z-index: 100;
}
.account-menu-link {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
}
.account-menu-link:hover {
  background: #f1f5f9;
  color: var(--navy);
}
.avatar-sm {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-placeholder {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.cart-btn {
  position: relative;
  font-size: 20px;
  line-height: 1;
}
.cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

/* ===== MESSAGES / TOASTS ===== */
.messages-container {
  position: fixed;
  top: 76px; right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}
.toast {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #0f172a;
  color: #e5e7eb;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.35);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  animation: slideIn 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.toast-success { border-color: rgba(34, 197, 94, 0.38); }
.toast-warning { border-color: rgba(245, 158, 11, 0.4); }
.toast-error { border-color: rgba(239, 68, 68, 0.45); }

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  color: #0f172a;
  background: #93c5fd;
}
.toast-success .toast-icon { background: #86efac; }
.toast-warning .toast-icon { background: #fde68a; }
.toast-error .toast-icon { background: #fca5a5; }

.toast-content { padding-right: 18px; }
.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 2px;
}
.toast-message {
  font-size: 13px;
  line-height: 1.45;
  color: #cbd5e1;
}

.toast-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.toast-close:hover { color: #f8fafc; }

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  animation: toastProgress 5s linear forwards;
  background: rgba(56, 189, 248, 0.75);
}
.toast-success .toast-progress { background: rgba(34, 197, 94, 0.9); }
.toast-warning .toast-progress { background: rgba(245, 158, 11, 0.95); }
.toast-error .toast-progress { background: rgba(239, 68, 68, 0.95); }

.toast.toast-hiding {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(circle at 82% 14%, rgba(27, 219, 219, 0.24), transparent 42%),
    radial-gradient(circle at 18% 86%, rgba(255, 107, 53, 0.24), transparent 35%),
    linear-gradient(135deg, #111f49 0%, #203d83 58%, #2c4f9f 100%);
  color: white;
  padding: 88px 24px;
}
.hero-mid {
  margin-top: 10px;
}
.hero-content {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #9bf4f4;
  margin-bottom: 14px;
  display: inline-block;
  border: 1px solid rgba(155, 244, 244, 0.3);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(155, 244, 244, 0.08);
}
.hero-text h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #dbeafe;
  max-width: 560px;
  margin-bottom: 16px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.hero-chip {
  font-size: 12px;
  font-weight: 600;
  color: #dbeafe;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.35);
  background: rgba(15, 23, 42, 0.24);
}
.hero-list {
  margin-bottom: 22px;
}
.hero-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 15px;
  color: #dbeafe;
}
.hero-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #67e8f9;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: #cbd5e1;
}
.stars { color: #FFC107; font-size: 18px; }

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.hero-proof-item {
  padding: 10px;
  border: 1px solid rgba(203, 213, 225, 0.26);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.26);
}
.hero-proof-item strong {
  display: block;
  font-size: 14px;
  color: white;
  margin-bottom: 2px;
}
.hero-proof-item span {
  font-size: 12px;
  color: #cbd5e1;
}

.hero-visual-stack {
  position: relative;
}

.hero-stat-card {
  position: absolute;
  right: -12px;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.34);
  max-width: 220px;
}
.hero-stat-top { top: 20px; }
.hero-stat-bottom { bottom: 18px; }
.hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #93c5fd;
  margin-bottom: 4px;
}
.hero-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}

/* Browser Mock */
.browser-mock {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.browser-bar {
  background: #F1F3F4;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd;
}
.browser-dots span:first-child { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:last-child { background: #28CA41; }
.browser-url {
  background: white;
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
  flex: 1;
}
.lock-icon { color: #22c55e; }
.browser-content { padding: 20px; }

/* ===== FEATURES SECTION ===== */
.features-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
  text-align: center;
}
.features-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 36px;
  color: var(--navy);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.feature-icon { font-size: 32px; margin-bottom: 12px; }
.feature-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-muted); }

/* ===== PLAN CARDS ===== */
.plans-preview {
  background: white;
  padding: 60px 24px;
}
.plans-preview h2, .plans-page-header h1 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.plans-preview > p, .plans-page-header p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 16px;
}

.plans-grid {
  max-width: 1280px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

.plan-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.plan-card.recommended { border-color: var(--primary); background: linear-gradient(135deg, #F0FFFE, white); }

.plan-features-mini {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.plan-features-mini li {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-tier-badge {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--navy);
  background: #e9f7ff;
  border: 1px solid #b9e5ff;
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: -6px;
}

.plan-value-box {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 10px 12px;
}

.plan-value-box h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.plan-value-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-value-points li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 12px;
  position: relative;
}

.plan-value-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.plan-feature-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.35px;
  margin-bottom: -6px;
}

.recommended-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.installed-badge {
  background: var(--primary);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius) var(--radius) 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  margin: -28px -28px 16px;
}

.plan-card h3, .plan-card-full h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.price-currency { font-size: 20px; font-weight: 700; color: var(--navy); }
.price-amount { font-size: 40px; font-weight: 800; color: var(--navy); }
.price-period { font-size: 14px; color: var(--text-muted); }
.plan-desc { font-size: 14px; color: var(--text-muted); }

.plan-features {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features li {
  font-size: 13px;
  color: var(--text);
  padding-left: 4px;
}

/* ==============================
   SSL EDUCATION SECTION (home)
   ============================== */
.ssl-edu-section {
  background: var(--navy);
  padding: 72px 24px;
  color: white;
}
.ssl-edu-container { max-width: 1100px; margin: 0 auto; }
.ssl-edu-header { text-align: center; margin-bottom: 48px; }
.ssl-edu-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.ssl-edu-header h2 { font-size: 34px; font-weight: 800; color: white; margin-bottom: 10px; }
.ssl-edu-header p { font-size: 16px; opacity: 0.75; }

.ssl-edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.ssl-edu-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ssl-edu-icon { font-size: 32px; }
.ssl-edu-card h3 { font-size: 17px; font-weight: 700; color: white; }
.ssl-edu-card p { font-size: 14px; line-height: 1.7; opacity: 0.8; }

.ssl-edu-tip {
  background: rgba(27, 219, 219, 0.12);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.ssl-edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ssl-edu-list li {
  font-size: 14px;
  opacity: 0.85;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.ssl-edu-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.ssl-edu-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ssl-edu-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}
.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ssl-edu-cta {
  text-align: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline-dark {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); border-color: white; }

@media (max-width: 900px) {
  .ssl-edu-grid { grid-template-columns: 1fr; }
}

/* Full-page plan cards */
.plans-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 24px;
}
.plans-page-header { text-align: center; margin-bottom: 32px; }
.term-section { text-align: center; margin-bottom: 32px; }
.term-label { color: var(--text-muted); margin-bottom: 12px; }
.plans-grid-full {
  max-width: 1280px;
  margin: 0 auto 48px;
}
.plans-grid-4 {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
}
.plan-card-full {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-card-full:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.plan-card-full.recommended { border-color: var(--primary); }
.term-note { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== INCLUDES SECTION ===== */
.includes-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}
.includes-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.include-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.include-icon { font-size: 24px; flex-shrink: 0; }
.include-item strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.include-item p { font-size: 13px; color: var(--text-muted); }

/* ===== WHY SECTION ===== */
.why-section {
  background: var(--bg);
  padding: 60px 24px;
  text-align: center;
}
.why-section h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 36px;
}
.why-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  box-shadow: var(--shadow);
}
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-top: 12px; }
.why-card-dark { background: var(--navy); color: white; }
.why-card-dark h3 { color: white; }
.why-icon { font-size: 32px; }
.encrypted-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}
.not-secure-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ns-icon { color: #ef4444; }
.s-icon { color: #22c55e; }

/* ===== HOME INFO SECTIONS ===== */
.ssl-info-section,
.ssl-choose-section,
.ssl-steps-section,
.ssl-benefits-section {
  padding: 56px 24px;
  background: #ffffff;
}

.ssl-info-wrap,
.ssl-choose-wrap,
.ssl-steps-wrap,
.ssl-benefits-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.ssl-info-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}

.ssl-info-visual {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f8fafc, #e5e7eb);
  position: relative;
  margin: 0 auto;
}

.ssl-ring {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 4px solid #d1d5db;
}

.ssl-bar {
  position: absolute;
  left: 34px;
  right: 34px;
  height: 16px;
  background: linear-gradient(90deg, #1BDBDB, #1D2D5B);
  border-radius: 999px;
}

.ssl-bar-top { top: 58px; }
.ssl-bar-bottom { top: 102px; }

.ssl-info-copy h2,
.ssl-choose-wrap h2,
.ssl-steps-wrap h2,
.ssl-benefits-wrap h2 {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.ssl-info-copy p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.65;
}

.ssl-choose-section { background: #f8fafc; }

.ssl-choose-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.ssl-choose-tabs span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  padding: 10px 8px;
  background: #f1f5f9;
  border-right: 1px solid #d6dbe3;
}

.ssl-choose-tabs span:last-child { border-right: none; }
.ssl-choose-tabs span.active { background: #dffaf8; color: var(--navy); }

.ssl-choose-intro {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.validation-card {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.validation-head {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.validation-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 10px;
}

.validation-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.validation-card li {
  font-size: 12px;
  color: #475569;
  padding-left: 14px;
  position: relative;
}

.validation-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.ssl-steps-section { background: #ffffff; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}

.step-index {
  font-size: 44px;
  line-height: 1;
  color: #22c55e;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.ssl-benefits-section { background: #f8fafc; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #dde3eb;
  border-radius: 10px;
  padding: 14px;
}

.benefit-card h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.benefit-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-checklist li {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

.benefit-checklist strong {
  color: var(--navy);
}

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

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ssl-info-wrap {
    grid-template-columns: 1fr;
  }

  .ssl-info-copy h2,
  .ssl-choose-wrap h2,
  .ssl-steps-wrap h2,
  .ssl-benefits-wrap h2 {
    font-size: 30px;
  }

  .ssl-choose-tabs,
  .validation-grid,
  .steps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 60px 24px;
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 24px; }

/* ===== AUTH ===== */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px 24px;
}
.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-section-wide { align-items: flex-start; padding-top: 40px; }
.auth-card-wide { max-width: 780px; }
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.auth-logo h1 { font-size: 24px; font-weight: 800; color: var(--navy); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--primary-dark); font-weight: 600; }

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 16px 0;
}
.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.divider span {
  position: relative;
  background: white;
  padding: 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); }
.form-control.error { border-color: #ef4444; }
.form-control:disabled { background: #f9fafb; color: #888; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-error { font-size: 12px; color: #ef4444; margin-top: 4px; display: block; }
.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: #DC2626;
  margin-bottom: 16px;
}
.form-divider {
  text-align: center;
  position: relative;
  margin: 24px 0 16px;
}
.form-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.form-divider span {
  position: relative;
  background: white;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* Phone input */
.phone-input-wrap { display: flex; gap: 8px; }
.phone-country-select {
  width: 180px;
  flex-shrink: 0;
  padding: 10px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: white;
  outline: none;
  cursor: pointer;
}
.phone-country-select:focus { border-color: var(--primary); }
.phone-input { flex: 1; }

/* Password */
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 44px; }
.eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

/* ===== DASHBOARD ===== */
.dashboard-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px;
}
.dashboard-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.dashboard-hero h1 { font-size: 26px; font-weight: 800; color: var(--navy); }
.dashboard-hero p { color: var(--text-muted); margin-top: 4px; }
.avatar-lg { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.avatar-lg-placeholder {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dashboard-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}
.dashboard-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--text); }
.dc-icon { font-size: 36px; }
.dashboard-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
.dashboard-card p { font-size: 14px; color: var(--text-muted); }
.dashboard-info { cursor: default; }
.dashboard-info:hover { transform: none; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.info-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); }
.info-table td:first-child { color: var(--text-muted); font-weight: 600; width: 40%; }

.dashboard-orders {
  margin-top: 28px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.dashboard-orders h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
}
.dashboard-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dashboard-order-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.dashboard-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.dashboard-order-head p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.dashboard-order-amount {
  font-weight: 800;
  color: var(--navy);
}
.dashboard-order-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dashboard-order-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.dashboard-order-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.dashboard-orders-empty {
  color: var(--text-muted);
  font-size: 14px;
}

.dashboard-order-features {
  margin-top: 6px;
  margin-bottom: 4px;
  background: #f8fbff;
  border: 1px solid #dceafe;
  border-radius: 8px;
  padding: 8px 10px;
}

.dashboard-order-features p {
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--navy);
}

.dashboard-order-features ul {
  list-style: disc;
  margin-left: 18px;
}

.dashboard-order-invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.dashboard-order-features li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.domain-list-wrap {
  border: 1px solid #dce6f0;
  border-radius: 10px;
  background: #fcfdff;
  padding: 10px;
}

.domain-list-head {
  margin-bottom: 8px;
}

.domain-list-head p:first-child {
  color: var(--navy);
  font-size: 13px;
  margin-bottom: 2px;
}

.domain-add-form {
  margin-bottom: 8px;
}

.domain-table-wrap {
  margin-top: 8px;
  border: 1px solid #d9e3ef;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.domain-table {
  width: 100%;
  border-collapse: collapse;
}

.domain-table thead th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: #52627a;
  background: #f5f9ff;
  border-bottom: 1px solid #dbe6f3;
  padding: 10px;
}

.domain-table tbody td {
  padding: 10px;
  border-bottom: 1px solid #eef3f8;
  vertical-align: middle;
}

.domain-table tbody tr:last-child td {
  border-bottom: none;
}

.domain-table-index {
  width: 52px;
  color: #1e355f;
  font-size: 12px;
  font-weight: 700;
}

.domain-table-actions {
  width: 280px;
}

.domain-action-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.domain-action-buttons .btn {
  min-width: 120px;
}

.domain-table-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Domain Table Enhancements */
.domain-table-name {
  position: relative;
}

.domain-name-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-copy {
  padding: 6px 12px;
  font-size: 12px;
}

.domain-table-status {
  width: 110px;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.status-green {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-orange {
  background: #fed7aa;
  color: #92400e;
  border: 1px solid #fdba74;
}

.status-red {
  background: #fecaca;
  color: #7f1d1d;
  border: 1px solid #fca5a5;
}

.domain-table-details {
  width: 140px;
  font-size: 12px;
}

.cert-details {
  line-height: 1.5;
}

.cert-details small {
  color: #566474;
  display: block;
}

.cert-days {
  color: #1e355f;
  font-weight: 600;
}

.domain-table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 32px;
}

.action-buttons-wrap {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.action-form {
  display: flex;
  margin: 0;
  flex-wrap: nowrap;
}

.action-form .btn {
  white-space: nowrap;
}

.action-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  white-space: nowrap;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 160px;
  margin-top: 4px;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 8px 14px;
  color: #1e355f;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid #f0f5fa;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: #f5f9ff;
  color: #0f203e;
  font-weight: 600;
}

.domain-delete-form {
  display: inline;
}

.btn-danger {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.dashboard-domain-forms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.dashboard-domain-form {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fcfdff;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

.dashboard-domain-form label {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.dashboard-subdomain-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-subdomain-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.dashboard-domain-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #5f6b7d;
  margin-top: -2px;
}

.domain-download-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn.disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Domain Add Card - Professional UI */
.domain-add-card {
  background: linear-gradient(135deg, #f5faff 0%, #ffffff 100%);
  border: 2px solid #e5f0ff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(27, 219, 219, 0.06);
  transition: all 0.3s ease;
}

.domain-add-card:hover {
  border-color: #cce7ff;
  box-shadow: 0 4px 16px rgba(27, 219, 219, 0.1);
}

.domain-add-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}

.domain-add-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px 0;
}

.domain-add-subtitle {
  font-size: 13px;
  color: #8094ab;
  margin: 0;
}

.domain-limit-badge {
  display: flex;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-available {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-full {
  background: #fecaca;
  color: #7f1d1d;
  border: 1px solid #fca5a5;
}

.domain-add-form-container {
  margin-bottom: 16px;
}

.form-group-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input.form-control-lg {
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #d9e3ef;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: white;
}

.form-group input.form-control-lg:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 219, 219, 0.1);
  outline: none;
}

.form-hint {
  font-size: 12px;
  color: #8094ab;
  margin-top: -2px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary.btn-lg {
  background: linear-gradient(135deg, var(--primary) 0%, #16b8b8 100%);
  border: none;
  color: white;
}

.btn-primary.btn-lg:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 219, 219, 0.3);
  background: linear-gradient(135deg, #17b9b9 0%, #13a8a8 100%);
}

.btn-primary.btn-lg:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.6;
}

.domain-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  background: #f9fbff;
  border-radius: 10px;
  border: 1px solid #eff3f8;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #8094ab;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 768px) {
  .form-group-inline {
    grid-template-columns: 1fr;
  }

  .domain-add-header {
    flex-direction: column;
  }

  .domain-info-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .domain-add-card {
    padding: 16px;
  }
}
  pointer-events: none;
}

.ssl-workspace {
  max-width: 1260px;
  margin: 0 auto;
  padding: 26px 20px 48px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.ssl-sidebar {
  background: #f2f4f7;
  border: 1px solid #d9e0e8;
  border-radius: 14px;
  padding: 20px 14px;
  align-self: start;
  position: sticky;
  top: 82px;
}

.ssl-sidebar h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #0f1d40;
}

.ssl-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ssl-sidebar nav a {
  display: block;
  padding: 10px 10px;
  border-radius: 8px;
  color: #3a4b63;
  font-weight: 600;
  font-size: 14px;
}

.ssl-sidebar nav a.active,
.ssl-sidebar nav a:hover {
  background: #d8eff0;
  color: #10203e;
}

.ssl-main {
  background: #f9fafc;
  border: 1px solid #dee5ee;
  border-radius: 14px;
  padding: 24px;
}

.ssl-main-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.ssl-main-head h1 {
  font-size: 40px;
  line-height: 1;
  color: #121b33;
}

.ssl-main-head p {
  margin-top: 8px;
  color: #5d6b80;
  font-size: 14px;
}

.ssl-tabs {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  border-bottom: 1px solid #d9e2eb;
}

.ssl-tabs button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 2px;
  font-size: 14px;
  color: #5b6879;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.ssl-tabs button.active {
  color: #101f3b;
  border-bottom-color: var(--primary);
}

.ssl-tab-panel { display: none; }
.ssl-tab-panel.active { display: block; }

.ssl-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: start;
}

.ssl-panel {
  background: white;
  border: 1px solid #d7e0ea;
  border-radius: 14px;
  padding: 16px;
}

.ssl-panel-head h3 {
  color: #101f3a;
  font-size: 20px;
}

.ssl-panel-head p {
  color: #5f6b7d;
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.ssl-side-panels {
  display: grid;
  gap: 14px;
}

.quick-links a {
  display: block;
  color: #1d2d5b;
  text-decoration: underline;
  margin-bottom: 8px;
  font-size: 14px;
}

.ssl-account p {
  font-size: 13px;
  color: #556476;
  margin-bottom: 6px;
}

@media (max-width: 980px) {
  .ssl-workspace {
    grid-template-columns: 1fr;
  }

  .ssl-sidebar {
    position: static;
  }

  .ssl-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-domain-form {
    grid-template-columns: 1fr;
  }

  .domain-action-buttons {
    justify-content: flex-start;
  }

  .domain-action-buttons .btn {
    min-width: 0;
  }

  .domain-table,
  .domain-table thead,
  .domain-table tbody,
  .domain-table tr,
  .domain-table th,
  .domain-table td {
    display: block;
    width: 100%;
  }

  .domain-table thead {
    display: none;
  }

  .domain-table tbody tr {
    border-bottom: 1px solid #eef3f8;
    padding: 10px;
  }

  .domain-table tbody td {
    border-bottom: none;
    padding: 6px 0;
  }

  .domain-table-index::before {
    content: 'Row '; 
    font-weight: 500;
    color: #66758b;
  }

  .domain-table-index {
    width: 100%;
  }

  .domain-table-name {
    width: 100%;
    margin-bottom: 8px;
  }

  .domain-name-row {
    flex-direction: column;
    gap: 8px;
  }

  .domain-name-row input {
    width: 100%;
  }

  .domain-name-row .btn-copy {
    width: 100%;
  }

  .domain-table-status {
    width: 100%;
    margin-bottom: 8px;
  }

  .domain-table-details {
    width: 100%;
    margin-bottom: 8px;
  }

  .domain-table-actions {
    width: 100%;
    min-height: auto;
  }

  .action-buttons-wrap {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .action-buttons-wrap .action-form,
  .action-buttons-wrap .action-dropdown,
  .action-buttons-wrap form {
    width: 100%;
  }

  .action-buttons-wrap .btn,
  .action-buttons-wrap .dropdown-btn {
    width: 100%;
    display: block;
  }

  .dropdown-menu {
    min-width: 100%;
    left: 0;
    right: 0;
  }
}

/* ===== CONFIGURE / ADDONS ===== */
.configure-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.configure-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.configure-main h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.configure-subtitle { color: var(--text-muted); margin-bottom: 28px; }

.plan-special-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.plan-special-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.plan-special-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plan-special-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
}
.plan-special-card h3 {
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
}
.plan-special-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}
.plan-special-examples {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.plan-special-example-label {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.plan-special-pricing {
  margin-top: 10px;
}
.plan-special-main-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.plan-special-old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.plan-special-sale {
  font-size: 12px;
  color: #15803d;
  font-weight: 700;
}

.plan-dv-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.plan-dv-note p {
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
}

.managed-term-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.managed-term-section h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.managed-term-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.managed-term-list {
  border-top: 1px solid var(--border);
}
.managed-term-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.managed-term-row:last-child { border-bottom: none; }
.managed-term-row.is-active { background: #f0fffe; }

.managed-term-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
}

.managed-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid #9ca3af;
}
.managed-dot.active {
  border-color: var(--primary);
  background: var(--primary);
}

.managed-term-right { text-align: right; }
.managed-main-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.managed-old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.managed-sale {
  font-size: 12px;
  color: #15803d;
  font-weight: 700;
}

.addon-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.addon-card:has(input:checked) { border-color: var(--primary); background: #F0FFFE; }
.addon-recommended { border-color: var(--primary); }
.addon-rec-badge {
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.addon-label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
}
.addon-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  accent-color: var(--primary);
  cursor: pointer;
}
.addon-info { flex: 1; }
.addon-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.addon-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.addon-features { margin-top: 8px; }
.addon-features li { font-size: 13px; color: var(--text-muted); padding: 2px 0; }
.addon-disclaimer {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
  line-height: 1.5;
}
.addon-price-wrap { flex-shrink: 0; text-align: right; }
.addon-price { font-size: 20px; font-weight: 800; color: var(--navy); }
.addon-price .price-type { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.addon-skip { background: #f9fafb; }
.configure-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ===== ORDER SUMMARY SIDEBAR ===== */
.order-summary-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow);
}
.order-summary-sidebar h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
}
.summary-addon { color: var(--text-muted); padding-left: 12px; }
.summary-sub { font-size: 12px; color: var(--text-muted); }
.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding: 12px 0 8px;
}
.summary-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-top: 8px; }
.summary-scroll { font-size: 12px; color: var(--primary); margin-top: 8px; }
hr { border: none; border-top: 1px solid var(--border); margin: 12px 0; }

@media (max-width: 900px) {
  .plan-special-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CART ===== */
.cart-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.cart-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.cart-main h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.cart-item-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cart-item-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.cart-addons { background: var(--bg); border-radius: var(--radius); padding: 12px 16px; margin-top: 12px; }
.cart-addon-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
  color: var(--text-muted);
}
.cart-item-actions { display: flex; gap: 8px; margin-top: 16px; }
.cart-item-price { text-align: right; flex-shrink: 0; }
.cart-subtotal { font-size: 22px; font-weight: 800; color: var(--navy); }
.cart-price-label { font-size: 12px; color: var(--text-muted); }
.cart-addon-total { font-size: 13px; color: var(--orange); margin-top: 4px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.cart-empty h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }

.confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 16px;
}

.confirm-modal[hidden] { display: none; }

.confirm-modal-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.25);
  padding: 22px;
}

.confirm-modal-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 800;
  margin-bottom: 10px;
}

.confirm-modal-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.confirm-modal-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.confirm-item-name {
  display: inline-block;
  margin: 10px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* ===== CHECKOUT ===== */
.checkout-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}
.checkout-main h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.checkout-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F0FFF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.checkout-notice-icon { font-size: 32px; }
.checkout-notice h3 { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.checkout-notice p { font-size: 14px; color: var(--text-muted); }
.checkout-placeholder {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.checkout-placeholder h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.checkout-placeholder p { color: var(--text-muted); margin-bottom: 12px; }
.checkout-placeholder .btn { margin: 8px; }

.checkout-payment-box {
  text-align: left;
}
.checkout-note {
  font-size: 14px;
}
.checkout-test-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.checkout-test-card strong {
  display: block;
  font-size: 12px;
  color: var(--navy);
  margin-bottom: 4px;
}
.checkout-test-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.checkout-form .form-row {
  margin-bottom: 0;
}
.checkout-processing {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 6px;
  margin-bottom: 8px;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: white;
  padding: 48px 24px 24px;
  margin-top: auto;
}

/* ==============================
   PAGE HERO (About / Contact)
   ============================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f80 100%);
  color: white;
  padding: 80px 24px 60px;
  text-align: center;
}
.page-hero-inner { max-width: 680px; margin: 0 auto; }
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: 0.85; }

/* ==============================
   ABOUT PAGE
   ============================== */
.about-section { padding: 60px 24px; background: var(--surface); }
.about-container { max-width: 1100px; margin: 0 auto; }

.about-mission {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}
.about-mission-text h2 { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-mission-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.shield-graphic { text-align: center; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.stat-number { font-size: 30px; font-weight: 800; color: var(--primary-dark, #17b9b9); margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.about-offers { margin-bottom: 60px; }
.about-offers h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 24px; text-align: center; }
.offers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer-card {
  background: white;
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid var(--primary);
}
.offer-icon { font-size: 28px; margin-bottom: 12px; }
.offer-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.offer-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.about-values { margin-bottom: 60px; }
.about-values h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 24px; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-item {
  background: white;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}
.value-icon { font-size: 30px; display: block; margin-bottom: 10px; }
.value-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.about-cta {
  background: var(--navy);
  color: white;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}
.about-cta h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.about-cta p { opacity: 0.8; margin-bottom: 24px; }
.about-cta .btn { margin: 0 8px; }
.about-cta .btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.about-cta .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ==============================
   CONTACT PAGE
   ============================== */
.contact-section { padding: 60px 24px; background: var(--surface); }
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.contact-form-wrap { background: white; border-radius: 16px; padding: 40px; box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.contact-form-wrap h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-intro { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.contact-info-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-info-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }

.contact-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-info-list li div { display: flex; flex-direction: column; gap: 2px; }
.contact-info-list li strong { font-size: 13px; font-weight: 600; color: var(--navy); }
.contact-info-list li span, .contact-info-list li a { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.contact-info-list li a:hover { color: var(--primary-dark, #17b9b9); }

.faq-quick { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-quick li { border-bottom: 1px solid var(--border, #e5e7eb); padding-bottom: 14px; }
.faq-quick li:last-child { border-bottom: none; padding-bottom: 0; }
.faq-quick li strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 4px; }
.faq-quick li p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }

.cta-sidebar { background: var(--navy); color: white; }
.cta-sidebar h3 { color: white; }
.cta-sidebar p { font-size: 13px; opacity: 0.8; margin-bottom: 16px; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.w-full { width: 100%; }

@media (max-width: 900px) {
  .about-mission { grid-template-columns: 1fr; }
  .about-mission-visual { display: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-container { grid-template-columns: 1fr; }
  .contact-info-sidebar { order: -1; }
}
@media (max-width: 600px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 28px; }
  .about-cta { padding: 28px 20px; }
  .about-cta .btn { display: block; margin: 0 0 12px; width: 100%; }
}


  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-brand .logo-text { color: white; }
.footer-brand .logo-accent { color: var(--primary); }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 12px; font-size: 14px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .plans-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

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

@media (max-width: 768px) {
  .plans-grid-4 { grid-template-columns: 1fr !important; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-text h1 { font-size: 36px; }
  .hero-lead { font-size: 16px; }
  .hero-proof-row { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .plans-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .dashboard-cards { grid-template-columns: 1fr; }
  .configure-container, .cart-container, .checkout-container { grid-template-columns: 1fr; }
  .order-summary-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .auth-card-wide { padding: 24px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .configure-actions { flex-direction: column; }
  .nav-actions .btn-outline { display: none; }
}
/* Professional Domain Management Table */
.table-container-professional {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}

.domain-table-professional {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.domain-table-professional th {
    background-color: #f8fafc;
    color: #64748b;
    padding: 14px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

.domain-table-professional td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.domain-table-professional tbody tr:last-child td {
    border-bottom: none;
}

.domain-input-group-pro {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 2px;
    max-width: 260px;
    width: 100%;
}

.domain-input-group-pro input {
    border: none;
    outline: none;
    padding: 6px 10px;
    color: #334155;
    font-size: 14px;
    width: 100%;
    font-weight: 500;
}

.btn-copy-pro {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-copy-pro:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.status-badge-pro {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge-pro.green { background-color: #dcfce7; color: #15803d; }
.status-badge-pro.orange { background-color: #ffedd5; color: #9a3412; }
.status-badge-pro.red { background-color: #fee2e2; color: #b91c1c; }

.ssl-info-pro {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.expiry-date-pro {
    font-weight: 600;
    color: #1e293b;
    font-size: 13px;
}

.days-left-pro {
    font-size: 12px;
    color: #64748b;
}

.action-group-pro {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-base-pro {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-save-pro {
    background-color: #fff;
    border-color: #e2e8f0;
    color: #334155;
}

.btn-save-pro:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.download-group-pro {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.btn-download-main-pro {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-download-main-pro:hover {
    background: #1e293b;
}

.btn-download-option-pro {
    background: #fff;
    border: none;
    border-left: 1px solid #e2e8f0;
    padding: 8px 10px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
}

.btn-download-option-pro:hover {
    background: #f8fafc;
    color: #0f172a;
}

.btn-delete-pro {
    background-color: #fff;
    border-color: #fee2e2;
    color: #ef4444;
    padding: 8px;
}

.btn-delete-pro:hover {
    background-color: #fee2e2;
}

.icon-pro {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
    fill: none;
    stroke: currentColor;
}

@media (max-width: 1024px) {
    .domain-table-professional {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .domain-table-professional thead {
        display: none;
    }
    .domain-table-professional,
    .domain-table-professional tbody,
    .domain-table-professional tr,
    .domain-table-professional td {
        display: block;
        width: 100%;
    }
    .domain-table-professional tr {
        border-bottom: 2px solid #e2e8f0;
        padding: 12px 0;
    }
    .domain-table-professional td {
        padding: 8px 16px;
        border-bottom: none;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }
    .domain-table-professional td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #64748b;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        min-width: 110px;
        padding-top: 2px;
        flex-shrink: 0;
    }
    .domain-table-professional td .action-group-pro {
        flex-wrap: wrap;
        gap: 6px;
    }
    .table-container-professional {
        border-radius: 8px;
    }
}

/* ===== Enhanced Dashboard ===== */
.dashboard-rich {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-grid {
  display: grid;
  gap: 14px;
}

.dash-health-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dash-main-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dash-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.dash-tile h3 {
  font-size: 22px;
  color: var(--navy);
}

.dash-tile-label {
  color: var(--text-muted);
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-tile-warn {
  border-color: #f5d58b;
  background: #fff9ea;
}

.dash-tile-danger {
  border-color: #fecaca;
  background: #fff5f5;
}

.dash-block {
  border-radius: 12px;
  padding: 16px;
}

.dash-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dash-block-head h3 {
  font-size: 18px;
  color: var(--navy);
}

.dash-muted {
  color: var(--text-muted);
  font-size: 12px;
}

.dash-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.dash-action-item p {
  color: var(--text-muted);
  font-size: 13px;
}

.dash-action-high {
  border-color: #fecaca;
  background: #fff7f7;
}

.dash-action-medium {
  border-color: #fde68a;
  background: #fffbeb;
}

.score-badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.score-a {
  background: #dcfce7;
  color: #166534;
}

.score-b {
  background: #fef3c7;
  color: #92400e;
}

.score-c {
  background: #fee2e2;
  color: #991b1b;
}

.score-wrap p {
  margin-top: 8px;
  font-size: 13px;
}

.score-meter {
  height: 8px;
  background: #eef2ff;
  border-radius: 999px;
  overflow: hidden;
}

.score-meter-fill {
  height: 8px;
  background: linear-gradient(90deg, #22c55e, #06b6d4);
}

.dash-reminders {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-reminders span {
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
}

.dash-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}

.dash-table-wrap {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.dash-table th,
.dash-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.dash-table th {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-actions-inline {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.disabled-btn {
  opacity: 0.5;
  pointer-events: none;
}

.usage-list,
.audit-list,
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usage-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.usage-row-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.usage-progress {
  margin: 8px 0;
  height: 7px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}

.usage-progress-fill {
  height: 7px;
  background: linear-gradient(90deg, #1BDBDB, #1D2D5B);
}

.billing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.billing-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  font-size: 14px;
}

.billing-list strong {
  color: var(--navy);
}

.dash-link {
  color: var(--navy);
  text-decoration: underline;
}

.notification-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.audit-list li,
.activity-list li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.audit-list p,
.activity-list p {
  font-size: 13px;
  color: var(--text-muted);
}

.audit-list small,
.activity-time {
  font-size: 12px;
  color: var(--text-muted);
}

.activity-list li {
  display: flex;
  gap: 10px;
}

@media (max-width: 1024px) {
  .dash-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-main-grid {
    grid-template-columns: 1fr;
  }

  .dash-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dash-health-grid {
    grid-template-columns: 1fr;
  }
}
