@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #673de6;
  --primary-dark: #5429d0;
  --primary-light: #8b5cf6;
  --accent: #00d4aa;
  --accent2: #ff6b35;
  --dark: #0f0c29;
  --dark2: #1a1740;
  --card: #1e1b4b;
  --card2: #252250;
  --text: #e2e0ff;
  --text-muted: #9ca3af;
  --border: rgba(103,61,230,0.2);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --gradient: linear-gradient(135deg, #673de6 0%, #8b5cf6 50%, #00d4aa 100%);
  --gradient2: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --shadow: 0 20px 60px rgba(103,61,230,0.3);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --font2: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,12,41,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  transition: all 0.3s;
}

.navbar.scrolled { background: rgba(15,12,41,0.98); box-shadow: var(--shadow-sm); }

.nav-brand {
  font-family: var(--font2);
  font-size: 1.8rem; font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: white; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem; border-radius: 50px;
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: all 0.3s; white-space: nowrap;
}

.btn-primary {
  background: var(--gradient); color: white;
  box-shadow: 0 4px 20px rgba(103,61,230,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(103,61,230,0.6); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: white; }

.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: #000; }
.btn-info { background: var(--info); color: white; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  background: var(--gradient2);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 5% 60px;
}

.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(103,61,230,0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 20%, rgba(0,212,170,0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1300px; margin: 0 auto;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(103,61,230,0.2); border: 1px solid rgba(103,61,230,0.4);
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.85rem; color: var(--primary-light); margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font2); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem;
}

.stat { text-align: center; }
.stat-num { font-family: var(--font2); font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Domain Search Box */
.domain-search-box {
  background: rgba(30,27,75,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.domain-search-box h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }

.search-bar {
  display: flex; gap: 0; margin-bottom: 1.5rem;
}

.search-bar input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0.85rem 1.2rem;
  color: white; font-size: 1rem;
  font-family: var(--font);
  outline: none; transition: border-color 0.3s;
}

.search-bar input:focus { border-color: var(--primary); }
.search-bar input::placeholder { color: var(--text-muted); }

.search-bar button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1.5rem;
}

.tld-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tld-pill {
  background: rgba(103,61,230,0.1);
  border: 1px solid rgba(103,61,230,0.3);
  border-radius: 50px; padding: 0.3rem 0.8rem;
  font-size: 0.8rem; color: var(--primary-light);
  cursor: pointer; transition: all 0.3s;
}
.tld-pill:hover, .tld-pill.popular { background: var(--primary); border-color: var(--primary); color: white; }

/* ====== SECTIONS ====== */
section { padding: 80px 5%; }
.container { max-width: 1300px; margin: 0 auto; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-family: var(--font2); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1rem; }
.section-title h2 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ====== CARDS ====== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}

.card:hover { border-color: rgba(103,61,230,0.5); box-shadow: var(--shadow-sm); transform: translateY(-4px); }

.card-popular {
  border-color: var(--primary);
  position: relative;
  background: linear-gradient(135deg, rgba(103,61,230,0.15), rgba(139,92,246,0.05));
}

.card-popular::before {
  content: 'Most Popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: white;
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 1rem; border-radius: 50px;
}

/* ====== PRICING CARDS ====== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.pricing-card { text-align: center; }
.pricing-icon { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-size: 1.5rem; }
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.pricing-card .price { font-family: var(--font2); font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.pricing-card .price sub { font-size: 1rem; }
.pricing-card .price-period { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.pricing-features li { padding: 0.4rem 0; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ====== DOMAIN TABLE ====== */
.domain-table { width: 100%; border-collapse: collapse; }
.domain-table th {
  background: rgba(103,61,230,0.2); padding: 1rem 1.5rem;
  text-align: left; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--primary-light);
}
.domain-table td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.domain-table tr:hover td { background: rgba(103,61,230,0.05); }
.domain-table .tld { font-family: var(--font2); font-weight: 700; color: var(--accent); }

/* ====== ALERTS ====== */
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-danger { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3); color: #fcd34d; }
.alert-info { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); color: #93c5fd; }

/* ====== FORMS ====== */
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  color: white; font-size: 0.95rem;
  font-family: var(--font);
  outline: none; transition: border-color 0.3s;
}
.form-control:focus { border-color: var(--primary); background: rgba(103,61,230,0.1); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }

/* ====== DASHBOARD LAYOUT ====== */
.dashboard-wrapper { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px; min-width: 260px;
  background: var(--dark2);
  border-right: 1px solid var(--border);
  padding: 0; position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto; z-index: 100;
  transition: transform 0.3s;
}

.sidebar-brand {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font2); font-size: 1.5rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: block; text-decoration: none;
}

.sidebar-user {
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0;
}

.sidebar-user-info .name { font-weight: 600; font-size: 0.9rem; }
.sidebar-user-info .role { font-size: 0.75rem; color: var(--text-muted); }

.sidebar-menu { padding: 1rem 0; }
.sidebar-menu-title {
  padding: 0.5rem 1.5rem; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-top: 0.5rem;
}

.sidebar-menu a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 1.5rem; color: var(--text-muted);
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: all 0.2s; border-left: 3px solid transparent;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
  color: white; background: rgba(103,61,230,0.1);
  border-left-color: var(--primary);
}

.sidebar-menu a .icon { width: 20px; text-align: center; font-size: 1rem; }

.dashboard-content {
  margin-left: 260px; flex: 1;
  padding: 0; min-height: 100vh;
  background: var(--dark);
}

.topbar {
  background: var(--dark2); border-bottom: 1px solid var(--border);
  padding: 1rem 2rem; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 50;
}

.topbar-title { font-size: 1.2rem; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 1rem; }

.page-content { padding: 2rem; }

/* ====== STAT CARDS ====== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }

.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
  transition: all 0.3s;
}
.stat-card:hover { border-color: var(--primary); transform: translateY(-3px); }

.stat-icon {
  width: 55px; height: 55px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.stat-icon.purple { background: rgba(103,61,230,0.2); color: var(--primary-light); }
.stat-icon.green { background: rgba(16,185,129,0.2); color: var(--success); }
.stat-icon.orange { background: rgba(255,107,53,0.2); color: var(--accent2); }
.stat-icon.blue { background: rgba(59,130,246,0.2); color: var(--info); }
.stat-icon.teal { background: rgba(0,212,170,0.2); color: var(--accent); }

.stat-card .value { font-family: var(--font2); font-size: 1.8rem; font-weight: 700; }
.stat-card .label { font-size: 0.85rem; color: var(--text-muted); }

/* ====== TABLE ====== */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: rgba(103,61,230,0.15); padding: 0.9rem 1rem;
  text-align: left; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--primary-light);
}
.data-table td { padding: 0.9rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.9rem; vertical-align: middle; }
.data-table tr:hover td { background: rgba(103,61,230,0.05); }
.data-table tr:last-child td { border-bottom: none; }

/* ====== BADGES ====== */
.badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: rgba(16,185,129,0.2); color: var(--success); }
.badge-danger { background: rgba(239,68,68,0.2); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.2); color: var(--warning); }
.badge-info { background: rgba(59,130,246,0.2); color: var(--info); }
.badge-secondary { background: rgba(255,255,255,0.1); color: var(--text-muted); }
.badge-primary { background: rgba(103,61,230,0.2); color: var(--primary-light); }

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px); z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  transform: translateY(30px); transition: transform 0.3s;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }

/* ====== UPI PAYMENT ====== */
.upi-box {
  text-align: center;
  background: white; border-radius: var(--radius); padding: 2rem;
  color: #1a1a1a;
}
.upi-box .amount { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.upi-qr { width: 200px; height: 200px; margin: 0 auto 1rem; background: #f5f5f5; border: 2px solid #673de6; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #666; }
.upi-id { font-size: 1.1rem; font-weight: 600; color: #673de6; margin: 0.5rem 0; }

/* ====== FOOTER ====== */
footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { font-family: var(--font2); font-size: 1.8rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ====== FEATURES ====== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ====== TABS ====== */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.tab { padding: 0.75rem 1.5rem; cursor: pointer; border-bottom: 2px solid transparent; font-weight: 500; font-size: 0.9rem; color: var(--text-muted); transition: all 0.3s; background: none; border-left: none; border-right: none; border-top: none; }
.tab.active { color: var(--primary-light); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ====== BREADCRUMB ====== */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--primary-light); text-decoration: none; }
.breadcrumb span::before { content: '/'; margin-right: 0.5rem; }

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard-content { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  section { padding: 50px 5%; }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
.fade-in { animation: fadeIn 0.6s ease forwards; }
.slide-in { animation: slideIn 0.5s ease forwards; }

/* Stagger children */
.stagger > * { opacity: 0; animation: fadeIn 0.6s ease forwards; }
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* ====== MISC ====== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.w-100 { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.empty-state .icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.3; }
.empty-state h3 { margin-bottom: 0.5rem; color: var(--text); }

.hamburger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 992px) { .hamburger { display: block; } }
