/* About page story grid responsive */
@media (max-width: 768px) {
  .about-story-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Plans infra banner responsive */
@media (max-width: 768px) {
  .infra-split {
    grid-template-columns: 1fr !important;
  }
  .infra-split-img {
    min-height: 260px !important;
    position: relative !important;
  }
}


/* ==========================================
   GLOBAL HEADER (Sticky Glassmorphic Header)
   ========================================== */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 800;
  background-color: var(--primary-color);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

[data-theme="dark"] .header-wrapper {
  background-color: #0d0505;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--text-primary);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo-icon {
  color: var(--primary-color);
}

/* Image-based logo */
.site-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}
.site-logo-img:hover {
  opacity: 0.85;
}
[data-theme="dark"] .site-logo-img {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover, .nav-item:hover .nav-link {
  color: #fff;
}

.nav-link-active {
  color: #fff;
  font-weight: 700;
}

[data-theme="dark"] .nav-link {
  color: rgba(255,255,255,0.65);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-item:hover .nav-link {
  color: #fff;
}

/* Mega Menu / Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  width: 480px;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 100;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item .dropdown-menu.dropdown-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dropdown-link {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.dropdown-link:hover {
  background-color: var(--surface-color);
}
.dropdown-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  background-color: var(--surface-color);
}

.dropdown-link-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.dropdown-link-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.dropdown-menu--hosting {
  width: 320px;
}

.dropdown-menu--support {
  width: 240px;
}

.dropdown-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Section modifiers */
.section--alt {
  background-color: var(--surface-color);
}

.section--cta-text-primary {
  color: var(--text-primary);
}

.section--cta-text-brand {
  color: var(--primary-color);
}

/* Empty / fallback message */
.empty-message {
  text-align: center;
  padding: 2rem;
  grid-column: 1 / -1;
  color: var(--text-muted);
}

/* Testimonial avatar colour variants */
.testimonial-avatar--brand {
  background-color: var(--primary-color);
}

.testimonial-avatar--hover {
  background-color: var(--primary-hover);
}

.testimonial-avatar--translucent {
  background-color: rgba(135, 22, 24, 0.7);
}

.blog-article-title-lg a {
  color: var(--text-primary);
  text-decoration: none;
}

.blog-newsletter-inner {
  max-width: 600px;
}

/* ==========================================
   BLOG PAGE COMPONENTS
   ========================================== */
.blog-hero {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  padding: 5rem 0 4rem;
  text-align: center;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1400&q=60&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.18;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.5) 0%, #0f172a 100%);
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
}

.blog-hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(135,22,24,0.25);
  border: 1px solid rgba(135,22,24,0.45);
  color: #fca5a5;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.blog-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.blog-hero-subtitle {
  font-size: var(--text-lg);
  color: #94a3b8;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.blog-category-pill {
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #cbd5e1;
  font-size: var(--text-xs);
  font-weight: 500;
}

.blog-content-wrap {
  max-width: 1100px;
}

.blog-featured-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 4rem;
}

.blog-featured-img-wrap {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-size: var(--text-xs);
  font-weight: 700;
  border: 1px solid rgba(251,191,36,0.3);
}

.blog-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.blog-article-title-lg {
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.blog-article-excerpt {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.blog-section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-section-divider-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.blog-section-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.blog-article-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.blog-article-img-wrap {
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-article-card:hover .blog-article-img {
  transform: scale(1.05);
}

.blog-article-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.blog-article-title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.blog-article-text {
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.blog-article-link {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Newsletter */
.blog-newsletter {
  background: #0f172a;
  padding: 5rem 0;
  text-align: center;
}

.blog-newsletter-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(135,22,24,0.3);
  border: 1px solid rgba(135,22,24,0.5);
  margin-bottom: 1.5rem;
}

.blog-newsletter-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.blog-newsletter-text {
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.blog-newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.blog-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #f8fafc;
}

.blog-newsletter-footnote {
  margin-top: 1rem;
  font-size: var(--text-xs);
  color: #475569;
}

/* ==========================================
   TRANSFER PAGE — ENTERPRISE SAAS REDESIGN
   ========================================== */

/* ── Shared Section Styles ── */
.tw-section {
  padding: var(--section-spacing-mobile) 0;
}
@media (min-width: 769px) {
  .tw-section { padding: var(--section-spacing-desktop) 0; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .tw-section { padding: var(--section-spacing-tablet) 0; }
}
.tw-section--alt {
  background-color: var(--surface-color);
}
.tw-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.tw-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1rem;
}
.tw-section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--lh-heading);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.tw-section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   HERO — Conversion Hero
   ═══════════════════════════════════════════ */
.tw-hero {
  padding: 6rem 0 3rem;
  background:
    linear-gradient(135deg, rgba(135,22,24,0.04) 0%, transparent 50%),
    var(--bg-color);
  overflow: hidden;
  position: relative;
}
.tw-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
@media (min-width: 769px) {
  .tw-hero { padding: 8rem 0 4rem; }
}
.tw-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 769px) {
  .tw-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.tw-hero-left {
  text-align: center;
}
@media (min-width: 769px) {
  .tw-hero-left { text-align: left; }
}
.tw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeIn var(--transition-slow) forwards;
}
.tw-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  animation: fadeIn var(--transition-slow) forwards;
}
.tw-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
  animation: fadeIn var(--transition-slow) forwards;
  animation-delay: 100ms;
}
@media (min-width: 769px) {
  .tw-hero-subtitle { margin-left: 0; }
}
.tw-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn var(--transition-slow) forwards;
  animation-delay: 200ms;
}
@media (min-width: 769px) {
  .tw-hero-actions { justify-content: flex-start; }
}
.tw-hero-cta-primary {
  padding: 0 2rem;
  border-radius: var(--radius-md);
}
.tw-hero-cta-secondary {
  color: var(--text-secondary);
  border-color: transparent;
}
.tw-hero-cta-secondary:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}

/* Hero Floating Card */
.tw-hero-right {
  display: flex;
  justify-content: center;
  animation: fadeInUp var(--transition-slow) forwards;
  animation-delay: 300ms;
}
.tw-hero-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.tw-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.12);
}
.tw-hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.tw-hero-card-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.tw-hero-card-domain {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.tw-hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-color);
}
.tw-hero-card-row--last {
  border-bottom: none;
  padding-bottom: 0;
}
.tw-hero-card-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.tw-hero-card-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}
.tw-hero-card-value--ok {
  color: var(--success);
}

/* Trust Badges */
.tw-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}
.tw-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}
.tw-trust-badge svg {
  color: var(--text-muted);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   BEFORE YOU BEGIN — Checklist
   ═══════════════════════════════════════════ */
.tw-prep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .tw-prep-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 769px) {
  .tw-prep-grid { grid-template-columns: repeat(4, 1fr); }
}
.tw-prep-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .tw-prep-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
  }
}
.tw-prep-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tw-prep-icon--green {
  background: var(--success-light);
  color: var(--success);
}
.tw-prep-title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}
.tw-prep-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════
   WIZARD — Premium SaaS Wizard
   ═══════════════════════════════════════════ */
.tw-wizard-container {
  max-width: 760px;
  margin: 0 auto;
}

/* Progress Bar */
.tw-progress-bar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 1rem;
}
.tw-progress-step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  opacity: 0.4;
  transition: opacity var(--transition-normal);
}
.tw-progress-step--active,
.tw-progress-step--done {
  opacity: 1;
}
.tw-progress-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  border: 2px solid var(--border-color);
  background: var(--bg-color);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}
.tw-progress-step--active .tw-progress-num {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.tw-progress-step--done .tw-progress-num {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}
.tw-progress-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.tw-progress-step--active .tw-progress-label {
  color: var(--text-primary);
}
.tw-progress-line {
  flex: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 0.75rem;
  min-width: 24px;
  max-width: 80px;
  transition: background var(--transition-normal);
}

/* Wizard Card */
.tw-wizard-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: none;
}

/* Step Content */
.tw-step-content {
  display: none;
  padding: 2.5rem;
  animation: fadeIn var(--transition-medium) forwards;
}
.tw-step-content.tw-step-active {
  display: block;
}
.tw-step-header {
  margin-bottom: 2rem;
}
.tw-step-title {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.tw-step-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.tw-step-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Large Input */
.tw-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.tw-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}
.tw-input-lg {
  padding-left: 2.75rem !important;
  min-height: 52px;
  font-size: var(--text-base);
}
.tw-input-action {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), background var(--transition-fast);
  min-width: 36px;
  min-height: 36px;
}
.tw-input-action:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
}
.tw-input-action--copy {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
}
.tw-input-wrap .input-field {
  padding-right: 5.5rem;
}
.tw-input-wrap:not(:has(.tw-input-action--copy)) .input-field {
  padding-right: 3rem;
}

/* Field Status */
.tw-field-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 500;
  min-height: 1.5rem;
}
.tw-field-status--ok { color: var(--success); }
.tw-field-status--err { color: var(--error); }

/* Eligibility Card */
.tw-eligibility-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.tw-eligibility-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.tw-eligibility-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.tw-eligibility-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Hint Card */
.tw-hint-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: var(--surface-color);
  border-radius: var(--radius-md);
}
.tw-hint-card svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Accordion */
.tw-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tw-accordion-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--surface-color);
  border: none;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  font-family: var(--font-sans);
  transition: background var(--transition-fast);
}
.tw-accordion-trigger:last-child {
  border-bottom: none;
}
.tw-accordion-trigger:hover {
  background: var(--surface-hover);
}
.tw-accordion-trigger svg {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  color: var(--text-muted);
}
.tw-accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(90deg);
}
.tw-accordion-panel {
  display: none;
  padding: 1rem;
  background: var(--bg-color);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-color);
}
.tw-accordion-panel:last-child {
  border-bottom: none;
}
.tw-accordion-panel.tw-accordion-open {
  display: block;
  animation: fadeIn var(--transition-fast) forwards;
}
.tw-accordion-panel p {
  margin: 0;
}

/* Requirements Checklist */
.tw-requirements {
  padding: 1.25rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.tw-requirements-title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.tw-req-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Summary Card */
.tw-summary-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tw-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.tw-summary-row--last {
  border-bottom: none;
}
.tw-summary-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.tw-summary-label svg {
  opacity: 0.5;
}
.tw-summary-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}
.tw-summary-value--ok {
  color: var(--success);
}

/* Guarantee Box */
.tw-guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--success-light);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
}
.tw-guarantee-box svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.tw-guarantee-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--success-text);
  margin-bottom: 0.25rem;
}
.tw-guarantee-desc {
  font-size: var(--text-xs);
  color: var(--success-text);
  margin: 0;
  opacity: 0.8;
}

/* Success Screen */
.tw-success-wrap {
  text-align: center;
  padding: 3rem 1rem;
}
.tw-success-check {
  margin-bottom: 1.5rem;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.tw-success-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.tw-success-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.tw-success-redirect {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.tw-countdown {
  font-weight: 800;
  color: var(--primary-color);
  font-size: var(--text-lg);
}

/* Wizard Footer */
.tw-wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-color);
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* Loading Overlay */
.tw-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  border-radius: var(--radius-lg);
}
[data-theme="dark"] .tw-loading-overlay {
  background: rgba(8,8,8,0.88);
}
.tw-loading-active {
  opacity: 1;
  pointer-events: all;
}
.tw-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
}
@keyframes spinner-rotate {
  to { transform: rotate(360deg); }
}
.tw-loading-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tw-loading-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}
.tw-loading-step--active {
  opacity: 1;
  color: var(--text-primary);
  font-weight: 600;
}
.tw-loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.tw-loading-step--active .tw-loading-dot {
  background: var(--primary-color);
  animation: dotPulse 1s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ═══════════════════════════════════════════
   HOW IT WORKS — Vertical Timeline
   ═══════════════════════════════════════════ */
.tw-timeline {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.tw-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--border-color);
}
.tw-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
}
.tw-timeline-marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.tw-timeline-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}
.tw-timeline-item:hover .tw-timeline-num {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.tw-timeline-connector {
  display: none;
}
.tw-timeline-card {
  flex: 1;
  padding: 1.25rem 1.5rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .tw-timeline-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
  }
}
.tw-timeline-icon {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  opacity: 0.7;
}
.tw-timeline-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}
.tw-timeline-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════
   WHY TRANSFER — Feature Grid
   ═══════════════════════════════════════════ */
.tw-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .tw-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 769px) {
  .tw-features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.tw-feature-card {
  padding: 1.75rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .tw-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
  }
}
.tw-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .tw-feature-card:hover .tw-feature-icon {
    transform: scale(1.1);
  }
}
.tw-feature-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.tw-feature-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════
   TRUST — Stats Cards
   ═══════════════════════════════════════════ */
.tw-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .tw-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 769px) {
  .tw-trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.tw-trust-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .tw-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}
.tw-trust-stars {
  font-size: var(--text-lg);
  color: #F59E0B;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.tw-trust-big-num {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.tw-trust-stat {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}
.tw-trust-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .tw-hero { padding: 4rem 0 2rem; }
  .tw-hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .tw-hero-subtitle { font-size: var(--text-base); }
  .tw-hero-card { max-width: 100%; }
  .tw-hero-card-domain { font-size: var(--text-xl); }

  .tw-step-content { padding: 1.5rem; }
  .tw-wizard-footer {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .tw-wizard-footer .btn { flex: 1; min-width: 0; }
  .tw-wizard-footer .btn-lg { min-height: 48px; }

  .tw-progress-label { display: none; }
  .tw-progress-num { width: 36px; height: 36px; }

  .tw-trust-badges { gap: 1rem; }
  .tw-trust-badge { font-size: var(--text-xs); }

  .tw-accordion-trigger { padding: 0.75rem; font-size: var(--text-xs); }
  .tw-accordion-panel { padding: 0.75rem; }

  .tw-timeline::before { left: 15px; }
  .tw-timeline-num { width: 32px; height: 32px; font-size: var(--text-xs); }
  .tw-timeline-card { padding: 1rem; }

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

@media (max-width: 480px) {
  .tw-step-content { padding: 1.25rem; }
  .tw-wizard-footer { padding: 1rem; }
  .tw-prep-grid { grid-template-columns: 1fr; }
  .tw-trust-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .tw-hero-badge,
  .tw-hero-title,
  .tw-hero-subtitle,
  .tw-hero-actions,
  .tw-hero-right,
  .tw-success-check {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .tw-hero-card:hover,
  .tw-prep-card:hover,
  .tw-feature-card:hover,
  .tw-trust-card:hover,
  .tw-timeline-card:hover {
    transform: none !important;
  }
}

/* Focus visible for all interactive elements */
.tw-accordion-trigger:focus-visible,
.tw-input-action:focus-visible {
  outline: 2.5px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* High contrast for status colors */
@media (forced-colors: active) {
  .tw-prep-icon--green { border: 2px solid LinkText; }
  .tw-guarantee-box { border: 2px solid LinkText; }
  .tw-field-status--ok { color: LinkText; }
  .tw-field-status--err { color: LinkText; }
}

/* ==========================================
   SECURITY PAGE COMPONENTS
   ========================================== */
.security-hero {
  min-height: auto;
  padding: 5rem 0 3rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 60%, var(--bg-color) 100%), url('assets/images/ssl-hero.jpg') center/cover no-repeat;
}

.security-btn-inverse {
  background: #fff !important;
  color: var(--primary-color) !important;
  border-color: #fff !important;
  margin-top: 0.5rem;
}

.security-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.security-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.security-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
}

.security-icon-box--sm {
  width: 48px;
  height: 48px;
}

.security-icon-box--success { background-color: var(--success-light); color: var(--success); }
.security-icon-box--primary { background-color: var(--primary-light); color: var(--primary-color); }
.security-icon-box--warning { background-color: rgba(245,158,11,0.12); color: var(--warning); }
.security-icon-box--error { background-color: var(--error-light); color: var(--error); }

.security-card-title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
}

.security-card-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex: 1;
}

.security-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.security-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.security-checklist-item:last-child {
  margin-bottom: 0;
}

.security-checklist-icon {
  flex-shrink: 0;
}

.security-cta-btn {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

.security-footnote {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.security-feature-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.security-feature-title {
  margin: 0 0 0.5rem;
  font-size: var(--text-lg);
  font-weight: 700;
}

.security-feature-desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.security-badge-card {
  padding: 2rem;
  margin-top: 1.5rem;
  position: relative;
  background-color: var(--surface-color);
  border: 1px dashed var(--border-hover);
}

.security-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background-color: var(--success);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.security-badge-card-title {
  margin: 0.75rem 0 0.25rem;
  font-size: var(--text-lg);
  font-weight: 700;
}

.security-badge-card-desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.security-hiw-section {
  background-color: var(--surface-color);
}

.security-hiw-cta {
  text-align: center;
  margin-top: 2rem;
}

.security-hiw-note {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: 1rem;
}

/* ==========================================
   SITEMAP PAGE
   ========================================== */
.sitemap-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 1rem;
}

.sitemap-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sitemap-card a {
  color: var(--primary-color);
}

/* ==========================================
   PRICING PAGE
   ========================================== */
.pricing-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #3d0a0b 100%);
  padding: 3.5rem 3rem;
}

.pricing-hero-globe {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.12;
}

.pricing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.pricing-hero-badge {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  margin-bottom: 1rem;
}

.pricing-hero-title {
  color: #fff;
  margin-bottom: 0.75rem;
}

.pricing-hero-desc {
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.pricing-filter-bar {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.pricing-tab-group {
  width: auto;
}

.pricing-tab-nav {
  margin-bottom: 0;
  border-bottom: none;
}

.pricing-search-wrap {
  max-width: 320px;
}

.pricing-search-input {
  padding-left: 2.5rem;
  min-height: 40px;
}

.pricing-th-action {
  text-align: right;
}

.pricing-price {
  font-size: inherit;
  font-weight: 700;
  color: var(--primary-color);
}

.table .pricing-price,
.pricing-table-body .pricing-price {
  font-size: inherit;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-price--promo {
  color: var(--success);
}

.pricing-td-action {
  text-align: right;
}

.pricing-banner-card {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  align-items: stretch;
}

.pricing-banner-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.pricing-banner-body {
  padding: 2.5rem;
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-banner-badge {
  margin-bottom: 1rem;
  align-self: flex-start;
}

.pricing-banner-title {
  margin-bottom: 0.75rem;
}

.pricing-banner-btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 60%, var(--bg-color) 100%), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1800&q=80&auto=format&fit=crop') center/cover no-repeat;
}

.about-stats-grid {
  margin-bottom: 6rem;
}

.about-stat-card {
  padding: 2.5rem 1.5rem;
}

.about-stat-num {
  color: var(--primary-color);
  font-size: var(--text-price-lg);
  line-height: 1;
}

.about-stat-label {
  margin-top: 0.5rem;
}

.about-story-grid {
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-story-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.about-story-badge {
  margin-bottom: 1rem;
}

.about-story-title {
  margin-bottom: 1rem;
}

.about-network-card {
  padding: 0;
  overflow: hidden;
}

.about-network-header {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.about-network-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-network-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.about-network-title {
  color: #fff;
  margin: 0;
}

.about-network-body {
  padding: 2.5rem;
}

.about-network-text {
  margin-bottom: 2.5rem;
}

.about-network-grid {
  gap: 2rem;
}

.about-location-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================
   PLANS PAGE
   ========================================== */
.plans-hero {
  position: relative;
  overflow: hidden;
}

.plans-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
}

.plans-hero-content {
  position: relative;
  z-index: 1;
}

.plans-infra-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.plans-infra-body {
  padding: 3.5rem;
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.plans-infra-badge {
  align-self: flex-start;
}

.plans-infra-title {
  font-size: var(--text-2xl);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.plans-infra-desc {
  color: var(--text-secondary);
  line-height: 1.7;
}

.plans-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.plans-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  font-size: var(--text-sm);
}

.plans-pill-label {
  font-weight: 600;
}

.plans-infra-visual {
  position: relative;
  min-height: 420px;
}

.plans-infra-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.plans-infra-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.18) 0%, transparent 40%);
}

.plans-avatar--primary { background: var(--primary-color); }
.plans-avatar--success { background: #16a34a; }
.plans-avatar--teal { background: #0e7490; }

/* ==========================================
   MARKETPLACE PAGE
   ========================================== */
.marketplace-header {
  max-width: 680px;
  margin: 0 auto 4rem;
}

.marketplace-badge {
  margin-bottom: 1rem;
}

.marketpage-title {
  margin-bottom: 1.5rem;
}

.marketplace-grid-wrap {
  flex-grow: 1;
}

.marketplace-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.marketplace-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.marketplace-domain-name {
  font-size: var(--text-xl);
}

.marketplace-domain-desc {
  margin-top: 0.5rem;
}

.marketplace-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.marketplace-price {
  color: var(--primary-color);
}

/* ==========================================
   HOSTING PAGES (shared, reseller, vps)
   ========================================== */
.hosting-feature-title {
  font-size: var(--text-lg);
  font-weight: 700;
  text-align: center;
}

.hosting-feature-desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  text-align: center;
}

.hosting-compare-card-highlighted {
  border-color: var(--primary-color);
  position: relative;
  text-align: center;
  align-items: center;
}

.hosting-compare-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.2rem 0.875rem;
  border-radius: var(--radius-full);
}

.hosting-compare-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.hosting-compare-desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: 1rem;
  text-align: center;
}

.hosting-compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  align-items: center;
}

.hosting-compare-btn {
  margin-top: 1.5rem;
  align-self: center;
}

/* ==========================================
   CONTACT PAGE — ENTERPRISE SAAS REDESIGN
   ========================================== */

/* ── Shared Section Styles ── */
.ct-section {
  padding: var(--section-spacing-mobile) 0;
}
@media (min-width: 769px) {
  .ct-section { padding: var(--section-spacing-desktop) 0; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .ct-section { padding: var(--section-spacing-tablet) 0; }
}
.ct-section--alt {
  background-color: var(--surface-color);
}
.ct-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.ct-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1rem;
}
.ct-section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--lh-heading);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.ct-section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   HERO — Support Hero
   ═══════════════════════════════════════════ */
.ct-hero {
  padding: 6rem 0 3rem;
  background:
    linear-gradient(135deg, rgba(135,22,24,0.04) 0%, transparent 50%),
    var(--bg-color);
  overflow: hidden;
  position: relative;
}
.ct-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
@media (min-width: 769px) {
  .ct-hero { padding: 8rem 0 4rem; }
}
.ct-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 769px) {
  .ct-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.ct-hero-left {
  text-align: center;
}
@media (min-width: 769px) {
  .ct-hero-left { text-align: left; }
}
.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeIn var(--transition-slow) forwards;
}
.ct-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  animation: fadeIn var(--transition-slow) forwards;
}
.ct-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
  animation: fadeIn var(--transition-slow) forwards;
  animation-delay: 100ms;
}
@media (min-width: 769px) {
  .ct-hero-subtitle { margin-left: 0; }
}
.ct-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn var(--transition-slow) forwards;
  animation-delay: 200ms;
  margin-bottom: 2rem;
}
@media (min-width: 769px) {
  .ct-hero-actions { justify-content: flex-start; }
}
.ct-hero-cta-primary { padding: 0 2rem; }
.ct-hero-cta-secondary { color: var(--text-secondary); }
.ct-hero-cta-secondary:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}
.ct-hero-trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: fadeIn var(--transition-slow) forwards;
  animation-delay: 300ms;
}
@media (min-width: 769px) {
  .ct-hero-trust { align-items: flex-start; }
}
.ct-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Hero Right — Floating Dashboard */
.ct-hero-right {
  display: flex;
  justify-content: center;
  animation: fadeInUp var(--transition-slow) forwards;
  animation-delay: 300ms;
}
.ct-dash-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.ct-dash-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.12);
}
.ct-dash-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}
.ct-dash-title {
  font-size: var(--text-sm);
  font-weight: 700;
}
.ct-dash-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ct-dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}
.ct-dash-row--last { border-bottom: none; padding-bottom: 0; }
.ct-dash-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.ct-dash-val {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.ct-dash-val--ok { color: var(--success); }
.ct-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.ct-dot--green {
  background: var(--success);
  animation: ctPulse 2s ease-in-out infinite;
}
@keyframes ctPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

/* ═══════════════════════════════════════════
   QUICK CONTACT OPTIONS
   ═══════════════════════════════════════════ */
.ct-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .ct-channels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 769px) {
  .ct-channels-grid { grid-template-columns: repeat(4, 1fr); }
}
.ct-channel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.ct-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.ct-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.ct-channel-card:hover .ct-channel-icon {
  transform: scale(1.1);
}
.ct-channel-icon--green {
  background: var(--success-light);
  color: var(--success);
}
.ct-channel-icon--primary {
  background: var(--primary-light);
  color: var(--primary-color);
}
.ct-channel-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--success);
}
.ct-channel-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.ct-channel-detail {
  font-size: var(--text-sm);
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
}
.ct-channel-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}
.ct-channel-meta strong {
  color: var(--text-secondary);
  font-weight: 600;
}
.ct-channel-btn {
  margin-top: auto;
}

/* ═══════════════════════════════════════════
   CONTACT FORM — Premium
   ═══════════════════════════════════════════ */
.ct-form-outer {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .ct-form-outer { padding: 1.5rem; }
}
.ct-form-header {
  margin-bottom: 2rem;
}
.ct-form-title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.ct-form-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.ct-progress-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ct-progress-track {
  flex: 1;
  height: 6px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.ct-progress-fill {
  height: 100%;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  transition: width var(--transition-medium);
}
.ct-progress-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.ct-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .ct-form-row { grid-template-columns: 1fr; }
}
.ct-required { color: var(--error); }
.ct-optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: var(--text-xs);
}
.ct-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ct-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}
.ct-input {
  padding-left: 2.5rem !important;
}
.ct-input-wrap--textarea {
  display: block;
}
.ct-input-wrap--textarea .ct-textarea {
  padding-left: 1rem !important;
  min-height: 140px;
  resize: vertical;
}
.ct-textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.375rem;
}
.ct-char-count {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.ct-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Smart Subject Cards */
.ct-subjects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}
@media (min-width: 480px) {
  .ct-subjects-grid { grid-template-columns: repeat(4, 1fr); }
}
.ct-subject-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: var(--surface-color);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-align: center;
}
.ct-subject-card:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.ct-subject-selected {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(135,22,24,0.2);
}
.ct-subject-selected:hover {
  background: var(--primary-hover);
  color: #fff;
  border-color: var(--primary-hover);
}
.ct-subject-card svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════
   SUCCESS STATE
   ═══════════════════════════════════════════ */
.ct-success-wrap {
  text-align: center;
  padding: 3rem 1rem;
}
.ct-success-icon {
  margin-bottom: 1.5rem;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.ct-success-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.ct-success-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.ct-success-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
  margin: 0 auto 2rem;
  padding: 1.25rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.ct-success-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ct-success-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.ct-success-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}
.ct-success-value--ok { color: var(--success); }
.ct-success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   LOADING OVERLAY
   ═══════════════════════════════════════════ */
.ct-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  border-radius: var(--radius-lg);
}
[data-theme="dark"] .ct-loading-overlay {
  background: rgba(8,8,8,0.88);
}
.ct-loading-active {
  opacity: 1;
  pointer-events: all;
}
.ct-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
}
@keyframes spinner-rotate {
  to { transform: rotate(360deg); }
}
.ct-loading-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ct-loading-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}
.ct-loading-step--active {
  opacity: 1;
  color: var(--text-primary);
  font-weight: 600;
}
.ct-loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.ct-loading-step--active .ct-loading-dot {
  background: var(--primary-color);
  animation: ctDotPulse 1s ease-in-out infinite;
}
@keyframes ctDotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.ct-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ct-faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-color);
}
.ct-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background var(--transition-fast);
}
.ct-faq-trigger:hover {
  background: var(--surface-color);
}
.ct-faq-trigger svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}
.ct-faq-trigger[aria-expanded="true"] svg {
  transform: rotate(90deg);
}
.ct-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}
.ct-faq-panel p {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════
   WHY CONTACT ITEC — Grid
   ═══════════════════════════════════════════ */
.ct-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .ct-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 769px) {
  .ct-why-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.ct-why-card {
  padding: 1.75rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .ct-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
  }
}
.ct-why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .ct-why-card:hover .ct-why-icon { transform: scale(1.1); }
}
.ct-why-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.ct-why-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .ct-hero { padding: 4rem 0 2rem; }
  .ct-hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .ct-hero-subtitle { font-size: var(--text-base); }
  .ct-dash-card { max-width: 100%; }
  .ct-form-outer { padding: 1.5rem; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-faq-trigger { font-size: var(--text-sm); }
}

@media (max-width: 480px) {
  .ct-form-outer { padding: 1.25rem; }
  .ct-channels-grid { grid-template-columns: 1fr; }
  .ct-why-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ct-hero-badge,
  .ct-hero-title,
  .ct-hero-subtitle,
  .ct-hero-actions,
  .ct-hero-trust,
  .ct-hero-right,
  .ct-success-icon {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .ct-dash-card:hover,
  .ct-channel-card:hover,
  .ct-why-card:hover {
    transform: none !important;
  }
  .ct-dot--green { animation: none; }
}
.ct-faq-trigger:focus-visible,
.ct-subject-card:focus-visible {
  outline: 2.5px solid var(--primary-color);
  outline-offset: 2px;
}
@media (forced-colors: active) {
  .ct-channel-icon { border: 2px solid LinkText; }
  .ct-why-icon { border: 2px solid LinkText; }
}

/* Hosting page loading state */
.vps-loading-state {
  text-align: center;
  padding: 3rem;
  grid-column: 1 / -1;
  color: var(--text-muted);
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.theme-toggle:hover {
  background-color: rgba(255,255,255,0.12);
  color: #fff;
}

/* 3-state icon visibility: light shows moon, dark shows sun, system shows monitor */
.theme-toggle .sun-icon,
.theme-toggle .system-icon { display: none; }
[data-theme="light"] .theme-toggle .moon-icon { display: block; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle .system-icon { display: none; }

[data-theme="dark"] .theme-toggle {
  color: rgba(255,255,255,0.6);
}

[data-theme="dark"] .theme-toggle:hover {
  background-color: rgba(255,255,255,0.08);
  color: #fff;
}

/* Mobile Menu Trigger & Navigation Drawer */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 4px;
}

.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background-color: var(--primary-color);
  z-index: 750;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

[data-theme="dark"] .mobile-drawer {
  background-color: #0d0505;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: var(--text-lg);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.mobile-nav-link:hover {
  color: #fff;
}
.mobile-nav-link.active,
.mobile-nav-link-active {
  color: #fff;
}

[data-theme="dark"] .mobile-nav-link {
  color: rgba(255,255,255,0.6);
}
[data-theme="dark"] .mobile-nav-link:hover {
  color: #fff;
}
[data-theme="dark"] .mobile-nav-link.active {
  color: #fff;
}

/* Responsive Header Toggle */
.header-actions .btn-login {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.header-actions .btn-login:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: none;
  box-shadow: none;
}
.header-actions .btn-register {
  background-color: #fff;
  color: var(--primary-color);
  border-color: #fff;
}
.header-actions .btn-register:hover {
  background-color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
  color: var(--primary-color);
  transform: none;
  box-shadow: none;
}

[data-theme="dark"] .header-actions .btn-login {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .header-actions .btn-login:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
[data-theme="dark"] .header-actions .btn-register {
  background-color: rgba(255,255,255,0.12);
  color: #fff;
  border-color: transparent;
}
[data-theme="dark"] .header-actions .btn-register:hover {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
}

@media (max-width: 1024px) {
  .nav-links, .header-actions .btn-login, .header-actions .btn-register {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    /* Ensure minimum 44x44px touch target on mobile */
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile touch target: lift .btn-sm to full 44px on small screens */
@media (max-width: 768px) {
  .btn-sm {
    min-height: 44px;
    padding: 0 1rem;
  }
}

/* ==========================================
   USER DROPDOWN — Redesigned with CSS classes
   ========================================== */
.user-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-color);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.user-dropdown-btn:hover {
  border-color: var(--border-hover);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.user-avatar-initial {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0284c7 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xs);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.user-avatar-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(34,197,94,0.6);
}

.user-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-name-text {
  font-weight: 600;
  font-size: var(--text-sm);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
}

.user-dropdown-chevron {
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.user-dropdown-toggle[aria-expanded="true"] .user-dropdown-chevron,
.user-account-dropdown:hover .user-dropdown-chevron {
  transform: rotate(180deg);
}

/* ==========================================
   DROPDOWN MENU PANEL
   ========================================== */
.dropdown-menu-panel {
  position: absolute;
  right: 0;
  left: auto;
  width: 260px;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -6px rgba(0,0,0,0.15), 0 4px 12px -2px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1000;
}

.user-account-dropdown:hover .dropdown-menu-panel,
.user-account-dropdown:focus-within .dropdown-menu-panel,
.user-account-dropdown.open .dropdown-menu-panel,
.dropdown-menu-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown profile card */
.dropdown-profile-card {
  padding: 0.75rem;
  background: var(--surface-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color);
}

.dropdown-profile-label {
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.dropdown-profile-name {
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.125rem;
  font-size: var(--text-sm);
  line-height: 1.3;
}

.dropdown-profile-email {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.125rem;
  line-height: 1.3;
  word-break: break-all;
}

.dropdown-session-badge {
  font-size: var(--text-xxs);
  color: var(--success);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  padding: 0.15rem 0.5rem;
  background: var(--success-glow);
  border-radius: var(--radius-full);
  pointer-events: none;
  user-select: none;
}

.dropdown-session-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 4px rgba(34,197,94,0.6);
  display: inline-block;
}

/* Dropdown menu items */
.dropdown-menu-item {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: background var(--transition-fast);
  font-size: var(--text-sm);
}

.dropdown-menu-item:hover,
.dropdown-menu-item:focus {
  background: var(--surface-color);
  outline: none;
}

.dropdown-menu-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dropdown-menu-divider {
  border-top: 1px solid var(--border-color);
  margin: 0.5rem 0 0.375rem;
}

.dropdown-menu-item--danger {
  background: rgba(239,68,68,0.05);
}

.dropdown-menu-item--danger:hover,
.dropdown-menu-item--danger:focus {
  background: rgba(239,68,68,0.1);
}

.dropdown-menu-item--danger,
.dropdown-menu-item--danger span {
  color: #ef4444;
  font-weight: 600;
}

/* ==========================================
   CART BADGE
   ========================================== */
.cart-badge-circle {
  position: absolute;
  top: -2px;
  right: -2px;
  display: none;
  width: 18px;
  height: 18px;
  font-size: var(--text-micro);
  justify-content: center;
  align-items: center;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================
   MOBILE DRAWER — Restructured
   ========================================== */
.mobile-drawer-section-label {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-drawer-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.mobile-drawer-link:hover {
  color: #fff;
}

.mobile-drawer-link--indent {
  padding-left: 1rem;
}

.mobile-drawer-user-card {
  padding: 1rem;
  background: var(--surface-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.mobile-drawer-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mobile-drawer-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.mobile-drawer-user-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.mobile-drawer-user-status {
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: 600;
}

.mobile-drawer-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-drawer-actions-grid .btn.w-full {
  width: 100%;
}

.mobile-drawer-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==========================================
   HEADER NAVIGATION — Keyboard accessible
   ========================================== */
.nav-item:focus-within .dropdown-menu,
.nav-item .dropdown-menu:focus-within {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  background-color: var(--surface-color);
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card-interactive:hover img,
  .card-interactive:focus-within img {
    transform: none;
  }

  .search-box-wrapper:focus-within {
    transform: none;
  }

  .pricing-card:hover,
  .plan-card:hover,
  .trust-card:hover,
  .card-interactive:hover {
    transform: none;
  }

  .toast {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================
   HOMEPAGE HERO SECTION
   ========================================== */
.hero-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 0;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 60%, var(--bg-color) 100%),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1800&q=80&auto=format&fit=crop') center/cover no-repeat;
}

[data-theme="dark"] .hero-section {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(8,8,8,0.55) 60%, var(--bg-color) 100%),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1800&q=80&auto=format&fit=crop') center/cover no-repeat;
}

.hero-content {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.75rem;
  animation: fadeIn var(--transition-slow) forwards;
}

.hero-title {
  margin-bottom: 0.75rem;
  animation: fadeIn var(--transition-slow) forwards;
  color: var(--text-primary);
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-wrap: balance;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    line-height: 1.2;
    padding: 0 0.5rem;
  }
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  animation: fadeIn var(--transition-slow) forwards;
  animation-delay: 100ms;
}

/* Override: homepage hero sits on a dark background image */
.hero-section .hero-badge {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.hero-section .hero-title {
  color: #fff;
}

.hero-section .hero-subtitle {
  color: rgba(255,255,255,0.82);
}

/* Dynamic Interactive Search Box */
.search-box-wrapper {
  background-color: rgba(255,255,255,0.97);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 0.35rem 0.35rem 0.35rem 0;
  box-shadow: 0 6px 30px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  backdrop-filter: blur(12px);
}

[data-theme="dark"] .search-box-wrapper {
  background-color: rgba(18,18,18,0.95);
  border-color: rgba(255,255,255,0.1);
}

.search-box-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), 0 0 0 4px var(--primary-glow);
  transform: translateY(-2px);
}

/* TLD selector divider + select */
.search-tld-select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--primary-color);
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  cursor: pointer;
  outline: none;
  border-right: 1.5px solid var(--border-color);
  min-width: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23871618' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  transition: background-color var(--transition-fast);
  border-radius: 0;
  flex-shrink: 0;
}
.search-tld-select:hover {
  background-color: var(--primary-light);
}
[data-theme="dark"] .search-tld-select {
  color: var(--primary-color);
  border-right-color: var(--border-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23871618' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

.btn-search {
  border-radius: 16px;
  min-height: 52px;
  padding: 0 1.75rem;
  font-size: var(--text-base);
  flex-shrink: 0;
  gap: 0.5rem;
}

.search-input {
  border: none;
  background: transparent;
  flex-grow: 1;
  font-size: var(--text-lg);
  font-family: var(--font-sans);
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  min-width: 0;
}
.search-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.search-input:focus {
  outline: none;
}

/* Search icon left */
.search-icon-left {
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  pointer-events: none;
  transition: color var(--transition-fast);
}
.search-box-wrapper:focus-within .search-icon-left {
  color: var(--primary-color);
}

.hero-tlds-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tld-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
.tld-pill:hover {
  background-color: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.tld-pill:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.tld-pill--promo {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.tld-pill--promo:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}
.tld-pill--promo span {
  color: rgba(255,255,255,0.8);
}
.tld-pill span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  margin-left: 0.25rem;
}

/* Autocomplete suggestion drop-panel */
.autocomplete-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 50;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--transition-normal) ease-in-out, opacity var(--transition-normal);
}

.autocomplete-panel.active {
  max-height: 400px;
  opacity: 1;
}

.suggestion-item {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}
.suggestion-item:last-child {
  border-bottom: none;
}
.suggestion-item:hover {
  background-color: var(--surface-color);
}

/* Hero Stats Section */
.hero-stats-card {
  display: inline-flex;
  justify-content: center;
  gap: 3.5rem;
  padding: 1.5rem 3rem;
  margin-top: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-backdrop-blur));
  -webkit-backdrop-filter: blur(var(--glass-backdrop-blur));
  box-shadow: var(--shadow-premium);
}
.hero-stats {
  display: flex;
  justify-content: center;
}
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}
.hero-stat-item > div {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.hero-stat-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
  opacity: 0.7;
}
.hero-stat-num {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .hero-stats-card {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    align-items: center;
  }
  .hero-stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.375rem;
  }
}

/* Final CTA */
.section-cta {
  background-color: var(--primary-light);
  overflow: hidden;
  position: relative;
}
.section-cta .container {
  max-width: 800px;
  position: relative;
  z-index: 2;
}
.section-cta .section-title {
  color: var(--primary-color);
}
.section-cta .section-subtitle {
  color: var(--text-primary);
}

/* ==========================================
   DOMAIN SEARCH RESULTS PAGE
   ========================================== */
.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-sidebar {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.filter-sidebar fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.filter-sidebar legend.filter-group-title {
  float: none;
  padding: 0;
  margin-bottom: 1rem;
}

.filter-group-title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
}
.filter-checkbox-label input {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--primary-color);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-result-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-result-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.domain-result-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.domain-status-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: 0.25rem;
}

.domain-action-zone {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.domain-price-wrap {
  text-align: right;
}

.domain-current-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary-color);
}
.domain-renew-price {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .search-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    display: none;
  }
  .filter-sidebar.open {
    display: flex;
  }
  .filter-toggle {
    display: flex !important;
  }
}

/* ==========================================
   WHOIS / SHELL LAYOUT
   ========================================== */
.whois-console {
  background-color: #0d0d0d;
  border: 1px solid #222;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  font-family: var(--font-mono);
  color: #a9b7c6;
  max-height: 500px;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.whois-header {
  border-bottom: 1px solid #222;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whois-dot-group {
  display: flex;
  gap: 0.375rem;
}
.whois-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.whois-dot-red { background-color: #ff5f56; }
.whois-dot-yellow { background-color: #ffbd2e; }
.whois-dot-green { background-color: #27c93f; }

.whois-keyword { color: #cc7832; }
.whois-string { color: #6a8759; }
.whois-comment { color: #808080; }
.whois-value { color: #9876aa; }

/* ==========================================
   WIZARDS (Legacy — Transfer wizard now uses tw-* classes)
   ========================================== */

/* ==========================================
   FOOTER (Premium Corporate Footer)
   ========================================== */
.footer-wrapper {
  background-color: #111111;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 5rem;
  padding-bottom: 3rem;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.footer-wrapper .logo {
  color: #fff;
}

.footer-wrapper .logo-icon {
  color: var(--primary-color);
}

[data-theme="dark"] .footer-wrapper {
  background-color: #050505;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.footer-social-link:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

[data-theme="dark"] .footer-social-link {
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
}
[data-theme="dark"] .footer-social-link:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.footer-title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: #fff;
}

[data-theme="dark"] .footer-link {
  color: rgba(255,255,255,0.35);
}
[data-theme="dark"] .footer-link:hover {
  color: rgba(255,255,255,0.8);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-newsletter-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
}

.footer-newsletter-desc {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================
   PRICING / PLANS PAGE
   ========================================== */
.plans-hero {
  padding: calc(var(--section-spacing-desktop) * 0.6) 0 0;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(135,22,24,0.05) 0%, transparent 60%);
}
@media (max-width: 1024px) {
  .plans-hero {
    padding: calc(var(--section-spacing-tablet) * 0.6) 0 0;
  }
}
@media (max-width: 768px) {
  .plans-hero {
    padding: calc(var(--section-spacing-mobile) * 0.6) 0 0;
  }
}
.billing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.375rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.billing-toggle-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.billing-toggle-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(135, 22, 24, 0.25);
}
.billing-toggle-btn.active .billing-save-badge {
  background: #ffffff;
  color: var(--primary-color);
}
.billing-save-badge {
  margin-left: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: var(--text-micro);
  letter-spacing: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-grid.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1300px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  text-align: center;
  align-items: center;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.plan-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-premium);
}
.plan-card.featured:hover {
  box-shadow: 0 32px 60px -12px rgba(135,22,24,0.18);
}
.plan-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.plan-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  width: 100%;
  text-align: center;
}
.plan-card.featured .plan-name {
  color: var(--primary-color);
}
.plan-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  min-height: 40px;
  width: 100%;
  text-align: center;
}
.plan-price-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  text-align: center;
}
.plan-price {
  font-size: var(--text-price-lg);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
}
.plan-card.featured .plan-price {
  color: var(--primary-color);
}
.plan-price sup {
  font-size: var(--text-lg);
  font-weight: 600;
  vertical-align: super;
  letter-spacing: 0;
}
.plan-price-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-align: center;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-grow: 1;
  margin-bottom: 2rem;
  width: 100%;
  align-items: center;
}
/* Pin plan-card CTA button to bottom so all cards stay equal height */
.plan-card > .btn {
  margin-top: auto;
}
.plan-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  width: 100%;
  text-align: center;
}
.plan-feature-item .check-icon {
  color: var(--success);
  flex-shrink: 0;
}
.plan-feature-item .cross-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}
.cross-icon-text {
  color: var(--text-muted);
}
.guarantee-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}
.guarantee-item svg {
  color: var(--success);
  flex-shrink: 0;
}
.feature-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin: 0 auto;
}
.feature-table {
  width: 100%;
  border-collapse: collapse;
}
.feature-table th,
.feature-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border-color);
}
.feature-table th:first-child,
.feature-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}
.feature-table thead th {
  background: var(--surface-color);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.feature-table thead th.highlighted {
  background: var(--primary-light);
  color: var(--primary-color);
}
.feature-table tbody tr:last-child td {
  border-bottom: none;
}
.feature-table tbody tr:hover td {
  background: var(--surface-color);
}
.feature-table-section-header td {
  background: var(--surface-color);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 1rem 1.5rem 0.5rem;
}
.highlighted-cell {
  font-weight: 700;
  color: var(--primary-color);
}
.bold-cell {
  font-weight: 700;
}
.tick { color: var(--success); font-size: var(--text-lg); }
.dash { color: var(--text-muted); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .pricing-grid.pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}
@media (max-width: 768px) {
  .pricing-grid { max-width: 100%; }
  .pricing-grid.pricing-grid-4 {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .plan-price { font-size: var(--text-3xl); }
  .faq-grid { grid-template-columns: 1fr; }
  .guarantee-bar { gap: 1rem; }
  .plan-card { padding: 1.5rem; }

  /* Mobile sticky first column for comparison table */
  .feature-table th:first-child,
  .feature-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-color);
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0,0,0,0.06);
  }
  .feature-table thead th:first-child {
    background: var(--surface-color);
    z-index: 3;
  }
  .feature-table tbody tr:hover td:first-child {
    background: var(--surface-color);
  }
}
@media (max-width: 480px) {
  .guarantee-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ==========================================
   WEB DESIGN GUIDE ARTICLE & INTERACTIVE WIDGETS
   ========================================== */

.article-header {
  margin-bottom: 4rem;
}

.article-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.article-nav-back:hover {
  color: var(--primary-color);
  transform: translateX(-4px);
}

.article-hero-image-wrapper {
  margin: 3rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.article-hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .article-hero-image {
    height: 280px;
  }
}

.article-body {
  font-size: var(--text-base);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.75rem;
}

.article-body strong {
  color: var(--text-primary);
}

.article-quote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  background-color: var(--surface-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin: 2.5rem 0;
}

/* Playground Section */
.playground-section {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 6rem 0;
  margin: 5rem 0;
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

/* Play widgets */
.widget-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.widget-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--surface-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.widget-title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.widget-subtitle {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.widget-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 380px;
}

@media (max-width: 991px) {
  .widget-body {
    grid-template-columns: 1fr;
  }
}

.widget-preview-area {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--surface-hover);
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border-color);
}

@media (max-width: 991px) {
  .widget-preview-area {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
  }
}

.widget-controls-area {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  background-color: var(--bg-color);
}

@media (max-width: 991px) {
  .widget-controls-area {
    padding: 2rem 1.5rem;
  }
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.control-value-display {
  color: var(--primary-color);
  font-weight: 600;
}

/* WIDGET 1: CONTRAST TESTER */
.contrast-preview-card {
  width: 100%;
  max-width: 360px;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.contrast-preview-card h4 {
  font-size: var(--text-lg);
  margin-bottom: 0.75rem;
}

.contrast-preview-card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
  opacity: 0.9;
}

.contrast-status-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.contrast-status-pill.pass {
  background-color: var(--success-light);
  color: var(--success-text);
}

.contrast-status-pill.fail {
  background-color: var(--error-light);
  color: var(--error-text);
}

.color-swatch-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.color-swatch-btn {
  height: 48px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.color-swatch-btn:hover {
  transform: scale(1.05);
}

.color-swatch-btn.active {
  border-color: var(--text-primary);
  transform: scale(1.05);
}

.color-swatch-btn.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: var(--text-lg);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* WIDGET 2: SPACING & LAYOUT */
.spacing-preview-frame {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.spacing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  transition: gap var(--transition-fast);
}

.spacing-preview-item {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  transition: background-color var(--transition-normal);
}

.spacing-preview-icon {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.spacing-preview-title {
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--text-primary);
}

.spacing-text-block {
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: line-height var(--transition-fast), letter-spacing var(--transition-fast);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  outline: none;
  transition: background var(--transition-fast);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-hover);
}

/* WIDGET 3: TYPOGRAPHY PAIRINGS */
.typo-preview-container {
  width: 100%;
  max-width: 440px;
  text-align: left;
}

.typo-header-mock {
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.typo-meta-mock {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.typo-body-mock {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

.typo-btn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.typo-option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  background-color: var(--surface-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.typo-option-btn:hover {
  background-color: var(--surface-hover);
  border-color: var(--border-hover);
}

.typo-option-btn.active {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.typo-option-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.typo-option-fonts {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Article header refinements */
.article-header h1 {
  letter-spacing: -0.03em;
}
.article-header p.text-lg {
  line-height: 1.5;
}

/* Figures in article body */
.article-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin: 2.5rem 0;
}
.article-figure--bottom {
  margin: 0 0 2.5rem;
}
.article-figure img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.article-figure-img--tall {
  height: 320px;
}
.article-figure-img--short {
  height: 280px;
}
.article-figcaption {
  padding: 0.875rem 1.25rem;
  background: var(--surface-color);
  font-size: var(--text-xs);
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

/* Playground section header tweaks */
.section-subtitle--narrow {
  max-width: 600px;
  margin: 0 auto;
}

/* Control text muted */
.control-text-muted {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Contrast preview initial state */
.contrast-preview-card {
  background-color: #FFFFFF;
  color: #871618;
}

/* Color swatch specific classes */
.swatch-crimson-white {
  background-color: #FFFFFF;
  color: #871618;
}
.swatch-charcoal-white {
  background-color: #121212;
  color: #FFFFFF;
}
.swatch-grey-white {
  background-color: #FFFFFF;
  color: #CCCCCC;
}
.swatch-pink-crimson {
  background-color: #871618;
  color: #FF6575;
}

/* Spacing widget initial state */
.spacing-text-block {
  line-height: 1.6;
  letter-spacing: 0px;
}

/* Typography widget initial font family */
.typo-header-mock {
  font-family: var(--font-sans);
}
.typo-meta-mock {
  font-family: var(--font-sans);
}
.typo-body-mock {
  font-family: var(--font-sans);
}
.typo-code-snippet {
  font-size: var(--text-xs);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  word-break: break-all;
}

/* CTA Banner */
.cta-banner-wrap {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
}
.cta-banner-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(135,22,24,0.85) 0%, rgba(0,0,0,0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.cta-banner-title {
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-banner-text {
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-size: var(--text-sm);
}
.cta-banner-btn {
  background: #fff;
  color: var(--primary-color);
  font-weight: 700;
  flex-shrink: 0;
}
.cta-banner-btn:hover {
  background: #f2f2f2;
  color: var(--primary-color);
}

/* ==========================================
   REDESIGNED SEARCH PAGE
   ========================================== */

/* Search Hero Section */
.search-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-color) 100%);
}

[data-theme="dark"] .search-hero {
  background: linear-gradient(180deg, #1a0a0b 0%, var(--bg-color) 100%);
}

.search-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(135,22,24,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 80% 80%, rgba(135,22,24,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.search-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.search-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-backdrop-blur));
  margin-bottom: 1.5rem;
}

.search-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.search-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.search-hero-form {
  max-width: 700px;
  margin: 0 auto;
}

.search-hero .search-box-wrapper {
  background-color: var(--bg-color);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 0.5rem 0.5rem 0.5rem 0;
  box-shadow: var(--shadow-lg), 0 0 0 6px var(--primary-glow);
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-hero .search-box-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-xl), 0 0 0 6px var(--primary-glow);
}

.search-hero .btn-search {
  border-radius: 14px;
  min-height: 48px;
  padding: 0 1.75rem;
}

.search-hero .search-input {
  padding: 0.75rem 1.25rem;
}

.search-hero-tlds {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2rem;
}

.search-hero-tlds-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.25rem;
}

.search-hero .tld-pill {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  backdrop-filter: none;
  padding: 0.375rem 0.875rem;
  font-size: var(--text-xs);
}

.search-hero .tld-pill:hover {
  background-color: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.search-hero .tld-pill span {
  color: var(--text-muted);
}

.search-hero .tld-pill--promo {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.search-hero .tld-pill--promo:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.search-hero .tld-pill--promo span {
  color: rgba(255,255,255,0.75);
}

/* Breadcrumbs in search context */
.search-hero + .section .breadcrumbs {
  margin-bottom: 2rem;
}

/* Filter Sidebar */
.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.filter-sidebar-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.filter-close-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.filter-close-btn:hover {
  color: var(--text-primary);
  background-color: var(--surface-hover);
}

.filter-sidebar fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.filter-sidebar .filter-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  padding: 0.375rem 0;
  transition: opacity var(--transition-fast);
}

.filter-checkbox-label:hover {
  opacity: 0.85;
}

.filter-checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.filter-checkbox-mark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border-hover);
  background: var(--bg-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.filter-checkbox-label input:checked + .filter-checkbox-mark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.filter-checkbox-label input:checked + .filter-checkbox-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -1px;
}

.filter-checkbox-label input:focus-visible + .filter-checkbox-mark {
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.filter-checkbox-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.filter-checkbox-label input:checked ~ .filter-checkbox-text {
  color: var(--text-primary);
}

.filter-sidebar-help {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.filter-help-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-help-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.filter-help-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.filter-help-link {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.filter-help-link:hover {
  text-decoration: underline;
}

.filter-active-count {
  margin-left: 0.375rem;
  min-width: 20px;
  text-align: center;
}

/* Results Area */
.search-results-area {
  flex-grow: 1;
  min-width: 0;
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.search-results-count {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.search-results-count-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.search-results-count-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.search-results-sort {
  flex-shrink: 0;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 2.25rem 0.5rem 0.875rem;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E5E5E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  min-height: 40px;
}

.sort-select:hover {
  border-color: var(--border-hover);
  background-color: var(--surface-hover);
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Search Result Cards */
.search-result-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  animation: fadeIn var(--transition-normal) forwards;
}

.search-result-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.search-result-card + .search-result-card {
  margin-top: 0.75rem;
}

.search-result-card[style*="border-left: 4px solid var(--error)"] {
  border-left: 4px solid var(--error);
}

.search-result-card[style*="border-left: 4px solid var(--success)"] {
  border-left: 4px solid var(--success);
}

/* Responsive */
@media (max-width: 1024px) {
  .search-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 900;
    background-color: var(--bg-color);
    border: none;
    border-radius: 0;
    padding: 2rem;
    overflow-y: auto;
  }

  .filter-sidebar.open {
    display: flex;
  }

  .filter-close-btn {
    display: flex;
  }

  .filter-toggle {
    display: flex !important;
    margin-bottom: 1.5rem;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }

  .search-hero {
    padding: 3rem 0 2.5rem;
  }

  .search-hero-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }

  .search-hero-subtitle {
    font-size: var(--text-base);
  }

  .search-results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .search-result-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }

  .domain-action-zone {
    width: 100%;
    justify-content: space-between;
  }

  .search-results-count-num {
    font-size: var(--text-xl);
  }

  .sort-select {
    width: 100%;
  }

  .search-results-header {
    margin-bottom: 1rem;
  }
}

/* Skeleton card override */
.skeleton-card {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* Mobile drawer backdrop for filter */
.filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.filter-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Hide filter toggle on desktop */
.filter-toggle {
  display: none;
}

/* ==========================================
   COMPACT SEARCH HERO (after query submitted)
   ========================================== */
.search-hero--compact {
  padding: 1.25rem 0;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .search-hero--compact {
  background: #0d0d0d;
  border-bottom-color: rgba(255,255,255,0.06);
}

.search-hero--compact .search-hero-content {
  max-width: 640px;
}

.search-hero--compact .search-hero-bg {
  display: none;
}

.search-hero--compact .search-hero-form {
  max-width: 100%;
}

.search-hero--compact .search-hero-compact-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.search-hero--compact .search-hero-compact-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.search-hero--compact .search-hero-compact-logo:hover {
  background: var(--primary-color);
  color: #fff;
}

.search-hero--compact .search-box-wrapper {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.search-hero--compact .btn-search {
  border-radius: 12px;
  min-height: 44px;
  padding: 0 1.25rem;
}

.search-hero--compact .search-input {
  padding: 0.625rem 1rem;
  font-size: var(--text-base);
}

@media (max-width: 768px) {
  .search-hero--compact {
    padding: 1rem 0;
  }
}

/* ==========================================
   SEARCH EMPTY STATE
   ========================================== */
.search-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-muted);
}

.search-empty-state-icon {
  margin-bottom: 1.25rem;
}

.search-empty-state-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.search-empty-state-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.search-empty-state-suggestions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.search-empty-state-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.search-empty-state-suggestions .tld-pill {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  backdrop-filter: none;
  padding: 0.375rem 0.875rem;
  font-size: var(--text-xs);
  cursor: pointer;
}

.search-empty-state-suggestions .tld-pill:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* ==========================================
   SECTION SPACING OVERRIDES
   ========================================== */
.section--no-top {
  padding-top: 0;
}

.section--no-top .container {
  padding-top: 1.5rem;
}

/* Compact search active state */
.search-active .search-hero {
  margin-bottom: 0;
}

/* ==========================================
   HOMEPAGE INLINE SEARCH
   ========================================== */
.hero-search-form {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.hero-search-box {
  max-width: 100%;
  z-index: 20;
}

/* Autocomplete panel */
.hero-autocomplete-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 30;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.hero-autocomplete-panel.active {
  max-height: 420px;
  opacity: 1;
  overflow-y: auto;
}

.hero-ac-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.15s;
}

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

.hero-ac-item:hover {
  background-color: var(--surface-color);
}

.hero-ac-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.hero-ac-price {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--primary-color);
}

/* Results panel */
.hero-results-panel {
  position: relative;
  z-index: 15;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.3s ease;
  margin-top: 0;
}

.hero-results-panel.active {
  max-height: 600px;
  opacity: 1;
  overflow-y: auto;
  margin-top: 1rem;
}

/* Loading */
.hero-results-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* Result main card */
.hero-result-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hero-result-main:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.hero-result--available {
  border-left: 4px solid var(--primary-color);
}

.hero-result--taken {
  border-left: 4px solid var(--error, #dc2626);
}

.hero-result--unknown {
  border-left: 4px solid var(--warning, #f59e0b);
}

.hero-result-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-result-domain {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.hero-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
}

.hero-result-badge--available {
  background: var(--primary-light, #fde8e8);
  color: var(--primary-color);
}

.hero-result-badge--taken {
  background: #fee2e2;
  color: #dc2626;
}

.hero-result-badge--unknown {
  background: #fef9c3;
  color: #a16207;
}

.hero-result-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.hero-result-price {
  text-align: right;
}

.hero-result-price-main {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.hero-result-price-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.hero-add-btn--added {
  background: var(--success, #16a34a) !important;
  color: #fff !important;
  cursor: default !important;
  border-color: var(--success, #16a34a) !important;
}

.hero-details-link {
  font-size: var(--text-xs);
  white-space: nowrap;
}

/* Suggestions */
.hero-result-suggestions {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.hero-result-suggestions-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-result-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-result-suggestion:last-child {
  border-bottom: none;
}

.hero-result-suggestion-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-result-suggestion-domain {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.hero-result-suggestion-ext {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.hero-result-suggestion-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-result-suggestion-price {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--primary-color);
}

.hero-result-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-result-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .hero-result-action {
    width: 100%;
    justify-content: space-between;
  }

  .hero-result-suggestion {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-result-suggestion-action {
    width: 100%;
    justify-content: space-between;
  }

  .hero-results-panel.active {
    max-height: 500px;
  }
}

/* btn-xs utility */
.btn-xs {
  padding: 0.25rem 0.625rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  gap: 0.25rem;
}

/* ==========================================
   GLOBAL RESPONSIVE IMPROVEMENTS
   ========================================== */

/* --- Search box mobile wrapping --- */
@media (max-width: 600px) {
  .search-box-wrapper {
    flex-wrap: wrap;
    padding: 0.375rem;
    border-radius: 16px;
  }
  .search-tld-select {
    min-width: 0;
    padding: 0.5rem 1.75rem 0.5rem 0.75rem;
    border-right: none;
    border-bottom: 1.5px solid var(--border-color);
    width: 100%;
  }
  .search-input {
    padding: 0.625rem 1rem;
    font-size: var(--text-base);
    min-width: 0;
    flex: 1 1 0;
  }
  .search-icon-left {
    padding-left: 0.75rem;
  }
  .btn-search {
    border-radius: 12px;
    min-height: 44px;
    padding: 0 1.25rem;
    width: 100%;
    justify-content: center;
  }
}

/* --- Homepage hero TLD pills on small screens --- */
@media (max-width: 480px) {
  .hero-tlds-row {
    gap: 0.5rem;
  }
  .tld-pill {
    padding: 0.375rem 0.75rem;
    font-size: var(--text-xs);
  }
}

/* --- Search hero compact mobile --- */
@media (max-width: 768px) {
  .search-hero--compact .search-box-wrapper {
    flex-wrap: wrap;
    border-radius: 16px;
  }
  .search-hero--compact .search-tld-select {
    border-right: none;
    border-bottom: 1.5px solid var(--border-color);
    width: 100%;
    min-width: 0;
    padding: 0.5rem 1.75rem 0.5rem 0.75rem;
  }
  .search-hero--compact .btn-search {
    width: 100%;
    justify-content: center;
  }
}

/* --- Pricing / Plan card grids on tablet --- */
@media (min-width: 769px) and (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid .plan-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* --- Section headings overflow on mobile --- */
@media (max-width: 768px) {
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.2;
  }
  .section-subtitle {
    font-size: var(--text-base);
  }
  .section-description {
    font-size: var(--text-sm);
  }
}

/* --- Hero section mobile adjustments --- */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0 3rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .hero-badge {
    font-size: var(--text-xs);
    padding: 0.375rem 0.875rem;
  }
  .hero-subtitle {
    font-size: var(--text-base);
    padding: 0 0.5rem;
  }
  .hero-stats-card {
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-stats-card .stat-value {
    font-size: var(--text-xl);
  }
  .hero-stats-card .stat-label {
    font-size: var(--text-xs);
  }
}

/* --- Footer mobile --- */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col-title {
    font-size: var(--text-sm);
    margin-bottom: 0.75rem;
  }
  .footer-newsletter {
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-newsletter-input {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.25rem 0;
  }
  .footer-social-links {
    justify-content: center;
  }
}

/* --- Domain search results mobile --- */
@media (max-width: 768px) {
  .search-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 1000;
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }
  .filter-sidebar.active {
    transform: translateX(0);
  }
  .filter-sidebar-toggle {
    display: inline-flex;
  }
  .search-results-count {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* --- Checkout mobile --- */
@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .checkout-sidebar {
    order: -1;
  }
}

/* --- Articles / Blog mobile --- */
@media (max-width: 768px) {
  .article-hero-image {
    height: 200px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ mobile --- */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   WHOIS PAGE - Info feature cards & terminal
   ========================================== */
.info-feature-card {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whois-header-label { color: #555; }
.whois-label-color { color: #7dd3fc; }
.whois-value-color { color: #f1f5f9; }
.whois-prompt { color: #4ade80; margin-bottom: 0.75rem; }
.whois-source { color: #94a3b8; margin-top: 0.75rem; }
.whois-info { color: #94a3b8; }
.whois-error-color { color: #f87171; }

/* ==========================================
   404 ERROR PAGE
   ========================================== */
.error-section { min-height: 75vh; padding: 3rem 0; }
.error-container { max-width: 600px; }
.error-icon-wrap { color: var(--primary-color); margin-bottom: 2rem; display: flex; justify-content: center; }
.error-icon-circle { background-color: var(--primary-light); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.error-code { font-size: var(--text-hero); line-height: 1; margin-bottom: 1rem; color: var(--primary-color); }
.error-title { margin-bottom: 1.5rem; }
.error-desc { margin-bottom: 3rem; }

/* ==========================================
   LEGAL PAGES (terms, privacy, gdpr)
   ========================================== */
.legal-badge { margin-bottom: 1rem; }
.legal-title { margin-bottom: 0.5rem; }
.legal-date { margin-bottom: 3rem; }

/* ==========================================
   LOGIN MODAL
   ========================================== */
.forgot-modal-title { font-size: var(--text-lg); font-weight: 700; }
.forgot-modal-desc { margin-bottom: 1.5rem; }

/* ==========================================
   CART PAGE
   ========================================== */
.order-total-color { color: var(--primary-color); }
.cart-hosting-badge { background: var(--success-light); border-radius: var(--radius-sm); }
.cart-hosting-title { color: var(--success); }
.cart-summary-sticky { top: 6rem; }

/* ==========================================
   REGISTER PAGE
   ========================================== */
.terms-check-label { font-size: var(--text-sm); color: var(--text-secondary); cursor: pointer; line-height: 1.4; }
.terms-error-pos { margin-left: 1.75rem; margin-top: 0.375rem; }

/* ==========================================
   BULK SEARCH PAGE
   ========================================== */
.bulk-empty-message { text-align: center; padding: 2rem; color: var(--text-muted); }
.bulk-taken-badge { background: var(--error-light,#fee2e2); color: #dc2626; }

/* ==========================================
   SEARCH PAGE
   ========================================== */
.filter-active-badge-hidden { display: none; }

