/* ═══════════════════════════════════════════════════════
   SCALYNK — Domain Platform Stylesheet
   Brand: #625fff (purple) · #00c758 (green) · #314158 (navy)
   ═══════════════════════════════════════════════════════ */

:root {
  --primary:      #625fff;
  --primary-dark: #4b46d6;
  --primary-light:#7c74ff;
  --accent:       #00c758;
  --accent-dark:  #00a347;
  --accent2:      #00d3c3;
  --danger:       #fb2c36;
  --warning:      #f99c00;
  --success:      #00c758;
  --dark:         #1d293d;
  --dark2:        #314158;
  --dark3:        #3d5068;
  --gray:         #62748e;
  --gray-light:   #94a3b8;
  --border:       #e2e8f0;
  --bg:           #f8fafc;
  --white:        #ffffff;
  --text:         #1d293d;
  --text-muted:   #62748e;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(29,41,61,.08);
  --shadow-lg:    0 8px 40px rgba(29,41,61,.14);
  --transition:   .22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }

/* ── Top Bar ─────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: #94a3b8;
  font-size: .78rem;
  padding: 7px 0;
}
.topbar-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-inner span { display: flex; align-items: center; gap: 5px; }
.topbar-inner .ms-auto { margin-left: auto; }

/* ── Navbar ──────────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-lg); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand-logo-icon { height: 36px; width: auto; display: none; }

.nav-links { display: flex; list-style: none; gap: 2px; margin-left: 12px; }
.nav-links a {
  display: block; padding: 8px 14px;
  color: var(--text-muted); text-decoration: none;
  font-size: .88rem; font-weight: 500; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: #f0efff; }

.dropdown { position: relative; }
.dropdown-toggle .fa-chevron-down { font-size: .65rem; transition: transform var(--transition); }
.dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 200px; list-style: none; z-index: 200;
}
.dropdown-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: .87rem; color: var(--text); }
.dropdown-menu li a i { color: var(--primary); width: 16px; }
.dropdown-menu li a:hover { background: #f0efff; color: var(--primary); }
.dropdown:hover .dropdown-menu { display: block; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.cart-btn {
  position: relative; width: 40px; height: 40px; border-radius: 10px;
  background: #f0efff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; text-decoration: none; transition: background var(--transition);
}
.cart-btn:hover { background: var(--primary); color: #fff; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--danger); color: #fff; font-size: .65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }

.user-dropdown { position: relative; }
.user-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all var(--transition);
}
.user-btn:hover { border-color: var(--primary); color: var(--primary); }
.user-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 190px; list-style: none; z-index: 200;
}
.user-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: .86rem; color: var(--text); text-decoration: none; }
.user-menu li a i { color: var(--primary); width: 15px; }
.user-menu li a:hover { background: #f0efff; color: var(--primary); }
.user-menu .divider { height: 1px; background: var(--border); margin: 4px 0; }
.user-dropdown:hover .user-menu { display: block; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; text-decoration: none; border: none;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(98,95,255,.3); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(98,95,255,.4); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0,199,88,.3); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-success { background: var(--accent); color: #fff; }
.btn-danger  { background: var(--danger); color: #fff; }
.btn-dark    { background: var(--dark); color: #fff; }
.btn-sm  { padding: 7px 16px; font-size: .82rem; border-radius: 8px; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.btn-xl  { padding: 16px 40px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #1d293d 0%, #2a1f6e 55%, #0a4a3a 100%);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(98,95,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,199,88,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(98,95,255,.2);
  border: 1px solid rgba(98,95,255,.4);
  border-radius: 50px; padding: 6px 16px;
  color: #c4c2ff; font-size: .8rem; font-weight: 600;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; color: #fff;
  line-height: 1.15; margin-bottom: 18px; letter-spacing: -.5px;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #a29bff, #00d3c3);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.05rem; color: #94a3b8; max-width: 520px; margin: 0 auto 36px; }

/* Search box */
.search-box {
  background: rgba(255,255,255,.97);
  border-radius: 16px; padding: 6px 6px 6px 0;
  display: flex; align-items: center;
  max-width: 680px; margin: 0 auto 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(98,95,255,.2);
}
.search-tld-select {
  border: none; background: transparent;
  padding: 12px 8px 12px 18px;
  font-size: .9rem; font-weight: 700; color: var(--primary);
  cursor: pointer; outline: none; min-width: 105px;
}
.search-divider { width: 1px; height: 28px; background: var(--border); margin: 0 4px; }
.search-input {
  flex: 1; border: none; background: transparent;
  padding: 12px 14px; font-size: 1rem; color: var(--dark); outline: none;
}
.search-input::placeholder { color: #b0b8c4; }
.search-btn {
  background: var(--primary); color: #fff; border: none;
  border-radius: 11px; padding: 13px 26px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition); white-space: nowrap;
  box-shadow: 0 4px 14px rgba(98,95,255,.4);
}
.search-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.hero-tlds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-tld-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px; padding: 5px 14px;
  color: #e2e8f0; font-size: .8rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.hero-tld-tag:hover { background: rgba(98,95,255,.25); border-color: rgba(98,95,255,.5); color: #fff; }
.hero-tld-tag .price { color: #7dffc0; font-weight: 700; }

/* ── Stats Strip ─────────────────────────────────────── */
.stats-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 24px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-item { padding: 8px; }
.stat-number { font-size: 1.8rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block; background: #f0efff; color: var(--primary);
  font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border-radius: 50px; padding: 5px 14px; margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 500px; margin: 0 auto; font-size: .95rem; }

/* ── TLD Grid (Register Your Domain section) ─────────── */
.tld-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tld-table-header {
  display: grid;
  grid-template-columns: 1fr 140px 140px 140px 160px;
  padding: 12px 20px;
  background: var(--dark);
  color: #94a3b8;
  font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
}
.tld-row {
  display: grid;
  grid-template-columns: 1fr 140px 140px 140px 160px;
  padding: 0 20px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  min-height: 60px;
}
.tld-row:last-child { border-bottom: none; }
.tld-row:hover { background: #fafbff; }
.tld-ext { font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.tld-price { font-size: .9rem; font-weight: 600; color: var(--dark); }
.tld-price-free { font-size: .82rem; color: var(--accent); font-weight: 700; }
.tld-badge-hot {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(90deg,#ff6b35,#f99c00);
  color: #fff; font-size: .6rem; font-weight: 800;
  border-radius: 4px; padding: 2px 6px; margin-left: 6px;
  text-transform: uppercase; letter-spacing: .5px;
  vertical-align: middle;
}
.tld-search-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff;
  font-size: .78rem; font-weight: 700;
  border-radius: 8px; padding: 7px 16px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(98,95,255,.25);
}
.tld-search-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Featured TLD cards (hero grid) */
.tld-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.tld-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 22px 14px; text-align: center;
  cursor: pointer; transition: all var(--transition); position: relative; overflow: hidden;
}
.tld-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent2));
  transform: scaleX(0); transition: transform var(--transition);
}
.tld-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.tld-card:hover::before { transform: scaleX(1); }
.tld-card .ext { font-size: 1.35rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.tld-card .price-label { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.tld-card .price-val { font-size: .95rem; font-weight: 700; color: var(--dark); margin: 4px 0 10px; }
.tld-card .register-btn {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 5px 13px;
  text-decoration: none; transition: background var(--transition);
}
.tld-card .register-btn:hover { background: var(--primary-dark); }

/* TLD filter tabs */
.tld-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tld-filter-btn {
  padding: 7px 18px; border-radius: 50px; border: 1.5px solid var(--border);
  background: var(--white); font-size: .8rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer; transition: all var(--transition);
}
.tld-filter-btn.active, .tld-filter-btn:hover {
  border-color: var(--primary); color: var(--primary); background: #f0efff;
}

/* ── Features Grid ───────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: .96rem; font-weight: 700; margin-bottom: 7px; color: var(--dark); }
.feature-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Steps ───────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.step-card { text-align: center; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 6px 20px rgba(98,95,255,.35);
}
.step-card h3 { font-size: .96rem; font-weight: 700; margin-bottom: 7px; }
.step-card p { font-size: .85rem; color: var(--text-muted); }

/* ── Testimonials ────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.stars { color: var(--warning); font-size: .85rem; margin-bottom: 12px; }
.testimonial-card p { font-size: .88rem; color: var(--text-muted); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.author-info strong { display: block; font-size: .85rem; }
.author-info span { font-size: .76rem; color: var(--text-muted); }

/* ── CTA ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1f6e 50%, var(--dark2) 100%);
  padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23625fff' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-5h15v5h5V20h-5v-2h5v-2H20v-.5z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; color: #fff; margin-bottom: 12px; position: relative; }
.cta-section p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 28px; position: relative; }

/* ── Search Results ──────────────────────────────────── */
.result-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px; transition: all var(--transition);
}
.result-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.result-card .domain-name { font-size: 1.05rem; font-weight: 700; color: var(--dark); flex: 1; }
.result-card .domain-price { font-size: .98rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.result-card.available { border-left: 4px solid var(--accent); }
.result-card.unavailable { border-left: 4px solid var(--danger); opacity: .72; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; border-radius: 50px; padding: 4px 11px; }
.badge-available { background: #dcfce7; color: #166534; }
.badge-unavailable { background: #fee2e2; color: #991b1b; }
.badge-checking { background: #fef3c7; color: #92400e; }

/* ── Cart ────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 13px 16px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.cart-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }

.order-summary-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 88px;
}
.order-summary-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .88rem; }
.summary-row.total { border-top: 2px solid var(--border); font-weight: 700; font-size: .98rem; margin-top: 6px; padding-top: 14px; }

/* ── Auth ────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 110px); display: flex; align-items: center;
  background: linear-gradient(135deg, #f0efff 0%, #e8f5fe 100%); padding: 52px 20px;
}
.auth-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 44px 38px; width: 100%; max-width: 450px; margin: 0 auto;
}
.auth-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.auth-card .subtitle { color: var(--text-muted); font-size: .88rem; margin-bottom: 28px; }

/* ── Forms ───────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .83rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-control {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 13px; font-size: .9rem; color: var(--dark);
  background: var(--white); outline: none; font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(98,95,255,.1); }
.form-control.is-invalid { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: .76rem; margin-top: 4px; display: block; }
.form-hint { color: var(--text-muted); font-size: .76rem; margin-top: 4px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── Alerts ──────────────────────────────────────────── */
.alert { border-radius: 10px; padding: 13px 17px; margin-bottom: 18px; font-size: .88rem; font-weight: 500; display: flex; align-items: center; gap: 9px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning  { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info     { background: #ede9ff; color: #4338ca; border: 1px solid #c4bfff; }

/* ── Dashboard ───────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 36px 0; }
.sidebar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; height: fit-content; position: sticky; top: 88px; }
.sidebar-user { text-align: center; padding: 16px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.sidebar-avatar { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin: 0 auto 10px; }
.sidebar-user strong { display: block; font-size: .92rem; }
.sidebar-user span { font-size: .76rem; color: var(--text-muted); }
.sidebar-nav { list-style: none; }
.sidebar-nav li a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 8px; color: var(--text-muted); font-size: .86rem; font-weight: 500; text-decoration: none; transition: all var(--transition); }
.sidebar-nav li a i { width: 15px; color: var(--gray-light); }
.sidebar-nav li a:hover, .sidebar-nav li a.active { background: #f0efff; color: var(--primary); }
.sidebar-nav li a.active i, .sidebar-nav li a:hover i { color: var(--primary); }

.main-content-header { margin-bottom: 24px; }
.main-content-header h2 { font-size: 1.3rem; font-weight: 800; }
.main-content-header p { color: var(--text-muted); font-size: .86rem; }

.stats-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat-card .icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 10px; }
.stat-card .val { font-size: 1.5rem; font-weight: 800; }
.stat-card .lbl { font-size: .78rem; color: var(--text-muted); }

.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.data-table th { text-align: left; padding: 11px 15px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); background: var(--bg); border-bottom: 2px solid var(--border); }
.data-table td { padding: 13px 15px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafbff; }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.card-header { padding: 16px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: .96rem; font-weight: 700; }
.card-body { padding: 22px; }

/* ── Pricing Table ───────────────────────────────────── */
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th { padding: 13px 18px; text-align: left; font-size: .74rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); background: var(--bg); border-bottom: 2px solid var(--border); }
.pricing-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: .88rem; }
.pricing-table tr:hover td { background: #fafbff; }
.pricing-table .tld-name { font-size: 1rem; font-weight: 700; color: var(--primary); }

/* ── Misc ────────────────────────────────────────────── */
.spinner { width: 20px; height: 20px; border: 2.5px solid rgba(98,95,255,.25); border-top-color: var(--primary); border-radius: 50%; animation: spin .65s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 48px 0; color: #fff; }
.page-hero h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 7px; }
.page-hero p { color: #94a3b8; font-size: .96rem; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: #94a3b8; margin-bottom: 10px; }
.breadcrumb a { color: #94a3b8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }

.tag { display: inline-flex; align-items: center; background: #f0efff; color: var(--primary); font-size: .7rem; font-weight: 700; border-radius: 50px; padding: 3px 10px; }
.tag-success { background: #dcfce7; color: #166534; }
.tag-danger  { background: #fee2e2; color: #991b1b; }
.tag-warning { background: #fef3c7; color: #92400e; }

.empty-state { text-align: center; padding: 56px 20px; }
.empty-state .icon { font-size: 2.8rem; color: var(--gray-light); margin-bottom: 14px; }
.empty-state h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; }
.empty-state p { color: var(--text-muted); font-size: .88rem; margin-bottom: 22px; }

.checkout-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 36px; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.step-circle { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; color: var(--text-muted); position: relative; z-index: 1; }
.step-item.active .step-circle { border-color: var(--primary); background: var(--primary); color: #fff; }
.step-item.done .step-circle { border-color: var(--primary); background: var(--primary); color: #fff; }
.step-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); }
.step-item.active .step-label { color: var(--primary); }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--dark); color: #94a3b8; }
.footer-top { padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-top: 14px; margin-bottom: 18px; }
.footer-brand .brand-logo { height: 32px; filter: brightness(0) invert(1); opacity: .9; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.07); color: #94a3b8; display: flex; align-items: center; justify-content: center; font-size: .85rem; text-decoration: none; transition: all var(--transition); }
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: #e2e8f0; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #94a3b8; font-size: .83rem; text-decoration: none; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.payment-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.payment-icons span { background: rgba(255,255,255,.06); border-radius: 6px; padding: 5px 9px; font-size: .76rem; color: #94a3b8; display: flex; align-items: center; gap: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom-inner p { font-size: .8rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: .8rem; color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .tld-table-header, .tld-row { grid-template-columns: 1fr 110px 110px 110px 130px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open, .nav-actions.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 14px; box-shadow: var(--shadow-lg); z-index: 999; }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; flex-wrap: wrap; }
  .hero { padding: 60px 0 44px; }
  .hero h1 { font-size: 1.9rem; }
  .search-box { flex-wrap: wrap; }
  .search-tld-select { min-width: 88px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-cards { grid-template-columns: 1fr; }
  .tld-table-header { display: none; }
  .tld-row { grid-template-columns: 1fr 100px; gap: 6px; padding: 12px 16px; flex-wrap: wrap; }
  .tld-row .tld-price:nth-child(3), .tld-row .tld-price:nth-child(4) { display: none; }
  .auth-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .search-btn { padding: 11px 14px; font-size: .85rem; }
  .tld-cards-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
