/* ================================================
   WHM India – Modern 2026 Tech Style CSS
   Aesthetic: Minimalist, Light Mode, Plain Transparent White,
   Premium Electric Indigo & Slate, Clean Typography
   ================================================ */

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

:root {
  /* Brand Palette */
  --primary: #4f46e5;       /* Electric Indigo */
  --primary-dark: #3730a3;
  --primary-light: #6366f1;
  --primary-glow: rgba(79, 70, 229, 0.06);
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.08);

  /* Backgrounds (Clean, White, Transparent) */
  --bg-page: #fcfdfe;
  --bg-subtle: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.7);
  
  /* Borders & Shadows */
  --border: rgba(0, 0, 0, 0.05);
  --border-hover: rgba(79, 70, 229, 0.15);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.01);
  --shadow-md: 0 10px 24px -4px rgba(0, 0, 0, 0.04), 0 4px 8px -2px rgba(0, 0, 0, 0.01);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.05), 0 6px 12px -2px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 10px 24px -4px rgba(79, 70, 229, 0.08);

  /* Typography */
  --text-heading: #0f172a;  /* Deep Slate */
  --text-body: #475569;     /* Cool Gray */
  --text-muted: #64748b;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Sizing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== LAYOUT & GRID ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BADGES & BUTTONS ===== */
.badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
  transition: var(--transition);
  border: 1px solid transparent;
  font-size: 0.9rem;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-heading);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
  transform: translateY(-1px);
}

/* ===== GLASS CARD ===== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* ===== TOPBAR ===== */
.topbar-modern {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1002;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
}
.topbar-left a:hover {
  color: #818cf8;
}
.topbar-modern .sep {
  color: rgba(255,255,255,0.15);
  font-weight: 300;
}
.noc-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 600;
}
.noc-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  transition: var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}
.logo-text span {
  color: var(--primary);
  font-weight: 900;
}
.logo-text .logo-dot {
  color: #a855f7;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.nav-item {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link i {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.nav-item:hover .nav-link i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* MEGA MENU */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-slow);
  z-index: 99;
}
.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 32px 24px;
}
.mega-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.mega-grid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mega-link-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.mega-link-card:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
}
.mega-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.mega-link-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-heading);
  margin-bottom: 1px;
}
.mega-link-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.mega-reseller-promo {
  background: var(--primary-glow);
  border: 1px dashed rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-reseller-promo h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.mega-reseller-promo p {
  font-size: 0.78rem;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Clean Portal Button */
.btn-login-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.btn-login-modern:hover {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 60px 0 80px;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 12px 0;
}
.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 580px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-trust-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust-item i {
  color: var(--success);
}

/* HERO VISUAL IMAGE */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-el {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ===== PARTNERS BAR ===== */
.partners-bar {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.partners-title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.partner-logo i {
  font-size: 1.1rem;
}

/* ===== SECTION FORMAT ===== */
.section {
  padding: 60px 0;
}
.section-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-top: 8px;
  line-height: 1.2;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--radius-lg);
}
.service-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
}
.service-card-action {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

/* ===== RESELLER SECTION (MAIN FOCUS) ===== */
.focus-reseller {
  background: var(--bg-subtle);
  position: relative;
}
.reseller-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.reseller-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}
.res-feat-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.res-feat-icon {
  width: 36px;
  height: 36px;
  background: var(--success-glow);
  color: var(--success);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.res-feat-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}
.res-feat-text p {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* ===== PRICING TABLES ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.featured-badge {
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 28px;
  transform: rotate(45deg);
  text-transform: uppercase;
}
.price-tier {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.price-val {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 20px;
}
.price-val span.curr {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  padding-bottom: 4px;
}
.price-val span.amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}
.price-val span.term {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-bottom: 4px;
}
.price-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.price-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-body);
}
.price-feats li i {
  color: var(--success);
}
.price-feats li.disabled {
  color: var(--text-light);
  text-decoration: line-through;
}
.price-feats li.disabled i {
  color: var(--text-light);
}
.btn-price {
  width: 100%;
  justify-content: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  padding: 24px;
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--warning);
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.testi-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 16px;
  font-style: italic;
}
.testi-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.user-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-heading);
}
.user-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== DOMAIN SEARCH BAR ===== */
.domain-card {
  padding: 36px;
  max-width: 840px;
  margin: 0 auto;
}
.domain-search-wrapper {
  display: flex;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
  padding: 4px;
}
.domain-search-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 0.9rem;
}
.domain-search-wrapper select {
  border: none;
  border-left: 1px solid var(--border);
  outline: none;
  padding: 0 12px;
  background: #fff;
  color: var(--text-heading);
  font-weight: 600;
}
.tld-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tld-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 50px;
}
.tld-tag span {
  color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
  background: #0c1220;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.footer-logo-desc {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-logo-desc .logo-text {
  color: #fff;
}
.footer-logo-desc .logo-text span { color: #818cf8; }
.footer-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 220px;
}
.footer-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.footer-trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.4);
}
.footer-trust-badge i { color: #10b981; font-size: 0.7rem; }
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.07em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #818cf8;
  padding-left: 4px;
}
.footer-links a i {
  font-size: 0.65rem;
  opacity: 0.4;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-item {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.contact-item i {
  color: #818cf8;
  margin-top: 2px;
  font-size: 0.82rem;
}
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-inner a { color: rgba(255,255,255,0.3); }
.footer-bottom-inner a:hover { color: #818cf8; }
.pay-icons {
  display: flex;
  gap: 10px;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust-list {
    justify-content: center;
  }
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .reseller-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .price-card.featured {
    transform: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
