:root {
  --primary-color: #00838c;
  --primary-hover: #005d64;
  --secondary-color: #111111;
  --accent-color: #00a4af;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --text-main: #111111;
  --text-muted: #555555;
  --bg-light: #f5f7f8;
  --bg-white: #ffffff;
  --border-color: #d1d1d1;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.header {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo i {
  color: white;
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-menu a i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.navbar-right .nav-menu-right {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.25rem;
}

.nav-menu-right a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-menu-right a:hover {
    color: white;
}

.cart-btn-icon {
    position: relative;
    font-size: 1.1rem;
    color: white !important;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #111;
}

/* Promo Bar Styles */
.promo-bar {
    background: linear-gradient(90deg, #e6f7f8 0%, #ffffff 100%);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #111;
    font-weight: 500;
}

.promo-badge {
    background: #00a4af;
    color: white;
    padding: 0.2rem 0.5rem;
    font-weight: 800;
    font-size: 0.7rem;
    border-radius: 2px;
}

.promo-content p small {
    display: block;
    color: #666;
    font-size: 0.7rem;
}

.btn-promo-action {
    background: #111;
    color: white;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* User Menu & Buttons */
.admin-btn {
  background: transparent;
  color: var(--secondary-color) !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  border: 1px solid var(--secondary-color);
  transition: all 0.2s;
}

.admin-btn:hover {
  background: var(--secondary-color);
  color: white !important;
  transform: none;
  box-shadow: none;
}

/* DomainEdge Premium Layout */
.top-search-section {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.search-flex-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.search-pill-wrapper {
    flex: 1;
}

.search-pill-wrapper .domain-search-form {
    display: flex;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.search-pill-wrapper .search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 1rem;
}

.search-pill-wrapper .search-input-group i {
    color: #666;
    margin-right: 0.75rem;
}

.search-pill-wrapper .search-input-group input {
    border: none;
    flex: 1;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    outline: none;
}

.search-pill-wrapper .search-btn {
    background: #00838c;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.search-pill-wrapper .search-btn:hover {
    background: #005d64;
}

.search-side-offer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 2rem;
    border-left: 1px solid #eee;
}

.offer-tld {
    font-weight: 800;
    font-size: 1.25rem;
    color: #111;
}

.offer-details {
    display: flex;
    flex-direction: column;
}

.offer-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #111;
}

.offer-note {
    font-size: 0.7rem;
    color: #666;
}

/* Hero Banner Layout */
.hero-banner-section {
    padding: 2rem 0;
    background: #fff;
}

.hero-banner-card {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 6rem 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-banner-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-banner-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 1.5rem 0 1rem;
    letter-spacing: -1.5px;
}

.hero-banner-subtitle {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-banner-search {
    max-width: 500px;
}

.hero-search-overlay {
    display: flex;
    background: #fff;
    border-radius: 4px;
    padding: 4px;
    border: 1px solid rgba(0,0,0,0.1);
}

.h-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 1rem;
}

.h-input-wrap i {
    color: #666;
}

.h-input-wrap input {
    border: none;
    padding: 0.75rem 0.5rem;
    flex: 1;
    outline: none;
    font-weight: 500;
}

.hero-claim-btn {
    background: #111;
    color: white;
    border: none;
    padding: 0 1.5rem;
    font-weight: 700;
    border-radius: 2px;
    cursor: pointer;
}

.hero-banner-meta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
}

.hero-banner-meta span {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.hero-banner-meta small {
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Trust Indicator Bar */
.trust-indicator-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    font-size: 0.85rem;
    color: #111;
}

.trust-stars {
    color: #00838c;
    display: flex;
    gap: 2px;
}

.trust-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-brand i {
    color: #00b67a;
    font-size: 1.25rem;
}

@media (max-width: 991px) {
    .search-flex-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .search-side-offer {
        border-left: none;
        padding-left: 0;
        justify-content: center;
        width: 100%;
    }
    .hero-banner-title {
        font-size: 2.5rem;
    }
    .hero-banner-card {
        padding: 4rem 2rem;
    }
}

/* Search Box Professional Look */
.search-card {
  background: white;
  padding: 1.5rem;
  border-radius: 100px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
  border: 1px solid #ddd;
  width: 100%;
  max-width: 1100px;
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 10;
}

.domain-search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-group {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 0 1rem;
}

.search-input-group i.fa-search {
    color: #666;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.search-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 1rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  outline: none;
  color: #111;
}

.search-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s;
  min-width: 180px;
}

.search-btn:hover {
  background: var(--primary-hover);
}

.popular-tlds-container {
    margin-top: 1.5rem;
    text-align: center;
}

.tld-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tld-badge {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--secondary-color);
}

.tld-badge:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Features Section Professionalism */
.features-section {
  padding: 8rem 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon-wrapper {
  width: 4rem;
  height: 4rem;
  background: transparent;
  color: var(--primary-color);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Domain Results Modern Look */
.domain-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.domain-result:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.domain-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.domain-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.domain-status {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  width: fit-content;
}

.status-available {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success-color);
}

.status-taken {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.domain-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.price-tag {
  text-align: right;
}

.price-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.price-term {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.add-to-cart-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.add-to-cart-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* Footer Re-styling (matching footer.php logic but with global vars) */
.footer {
  background: var(--secondary-color);
  color: #f1f5f9;
  padding: 5rem 0 2rem;
  margin-top: 6rem;
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 0.25rem;
}

/* ==========================================================================
   PREMIUM PORTAL / DASHBOARD FRAMEWORK
   ========================================================================== */

.portal-layout {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.portal-main-area {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.portal-content {
    flex: 1;
    padding: 2.5rem 3rem;
}

@media (max-width: 1024px) {
    .portal-main-area { margin-left: 0; }
    .portal-content { padding: 1.5rem; }
}

/* Dashboard Topbar Styling */
.dash-topbar {
    height: 70px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar-left { display: flex; align-items: center; gap: 1.5rem; }
.mobile-nav-toggle { display: none; background: none; border: none; font-size: 1.25rem; color: #1e293b; cursor: pointer; }

@media (max-width: 1024px) {
    .dash-topbar { padding: 0 1.5rem; }
    .mobile-nav-toggle { display: block; }
}

.dash-breadcrumb-v2 { font-size: 0.85rem; font-weight: 700; color: #94a3b8; display: flex; align-items: center; gap: 10px; }
.dash-breadcrumb-v2 .active-page { color: #1e293b; }

.topbar-right { display: flex; align-items: center; gap: 2rem; }
.header-action-btns { display: flex; gap: 1rem; }
.n-btn { background: none; border: none; color: #64748b; font-size: 1.15rem; cursor: pointer; position: relative; }
.n-dot { position: absolute; top: 0; right: 0; width: 7px; height: 7px; background: #ef4444; border-radius: 50%; border: 2px solid white; }

.user-profile-dropdown { position: relative; }
.u-info-wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 5px; border-radius: 12px; transition: background 0.2s; }
.u-info-wrap:hover { background: #f1f5f9; }
.u-avatar-circle { width: 35px; height: 35px; background: var(--primary-color); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; }
.u-name-top { font-weight: 700; font-size: 0.9rem; color: #1e293b; }
.u-details-meta { display: flex; align-items: center; gap: 8px; }
.u-details-meta i { font-size: 0.7rem; color: #94a3b8; }

.u-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: white;
    width: 220px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    display: none;
    padding: 0.75rem;
    z-index: 1100;
}
.u-dropdown-menu.show { display: block; animation: slideInPortalHeader 0.2s ease; }
.u-dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 0.75rem 1rem; color: #475569; text-decoration: none; font-weight: 600; font-size: 0.9rem; border-radius: 10px; transition: all 0.2s; }
.u-dropdown-menu a:hover { background: #f8fafc; color: var(--primary-color); }
.u-dropdown-menu a i { width: 20px; font-size: 1rem; opacity: 0.7; }
.u-dropdown-menu hr { border: 0; border-top: 1px solid #f1f5f9; margin: 0.5rem 0; }

@keyframes slideInPortalHeader { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Sidebar Premium */
.dashboard-sidebar {
    width: 260px;
    background: #0f172a;
    color: #94a3b8;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255,255,255,0.03);
}

.sidebar-brand {
    padding: 3rem 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.sidebar-brand i { color: var(--primary-color); }
.sidebar-close-btn { display: none; background: none; border: none; color: #64748b; font-size: 1.25rem; margin-left: auto; }

.sidebar-nav-scroll { flex: 1; overflow-y: auto; padding: 0 1rem; }
.nav-group { margin-bottom: 2rem; }
.group-title { padding: 0 1.25rem 0.75rem; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; color: #475569; letter-spacing: 0.15em; display: block; }

.nav-item-premium {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.25rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.nav-item-premium:hover { background: rgba(255,255,255,0.03); color: white; }
.nav-item-premium.active { background: var(--primary-color); color: white; box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4); }

.sidebar-bottom-action { padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.03); }
.logout-premium { display: flex; align-items: center; gap: 12px; padding: 1rem 1.25rem; color: #ef4444; text-decoration: none; font-weight: 700; font-size: 0.9rem; border-radius: 12px; background: rgba(239, 68, 68, 0.05); }

@media (max-width: 1024px) {
    .dashboard-sidebar { transform: translateX(-100%); }
    .dashboard-sidebar.show { transform: translateX(0); box-shadow: 20px 0 50px rgba(0,0,0,0.5); }
    .sidebar-close-btn { display: block; }
}

/* Dashboard Metrics & Content */
.dashboard-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.grid-card-p { background: white; padding: 1.75rem; border-radius: 24px; border: 1px solid #e2e8f0; display: flex; align-items: center; gap: 1.25rem; transition: transform 0.3s; }
.grid-card-p:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.card-icon { width: 55px; height: 55px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: white; flex-shrink: 0; }
.blue-grad { background: linear-gradient(135deg, #3b82f6, var(--primary-color)); }
.green-grad { background: linear-gradient(135deg, #10b981, #059669); }
.gold-grad { background: linear-gradient(135deg, #f59e0b, #d97706); }
.red-grad { background: linear-gradient(135deg, #ef4444, #dc2626); }
.card-data .v { font-size: 1.75rem; font-weight: 800; color: #1e293b; line-height: 1; margin-top: 5px; display: block; }

/* Premium Table Styling */
.premium-table-card { background: white; border-radius: 28px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); overflow: hidden; }
.card-table-header { padding: 1.75rem 2.5rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.card-table-header h2 { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin: 0; }

.table-refresh-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.table-refresh-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.table-refresh-btn i {
    font-size: 0.85rem;
}
.portal-table-v2 { width: 100%; border-collapse: collapse; }
.portal-table-v2 th { background: #f8fafc; padding: 1.25rem 1.5rem; text-align: left; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; color: #64748b; letter-spacing: 0.05em; }
.portal-table-v2 td { padding: 1.5rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }

/* Dashboard Actions */
.actions-stack-p {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.action-btn-p {
    height: 40px;
    padding: 0 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    background: white;
    white-space: nowrap;
}

.action-btn-p i {
    font-size: 1rem;
    color: var(--primary-color);
}

.action-btn-p:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f7ff;
    transform: translateY(-2px);
}

.action-btn-p.secondary {
    width: 40px;
    padding: 0;
    justify-content: center;
}

.action-btn-p.secondary i {
    color: #64748b;
}

.action-btn-p.secondary:hover i {
    color: var(--primary-color);
}

.identity-box .id-name { font-weight: 800; color: #0f172a; text-decoration: none; font-size: 1.05rem; }
.identity-box .id-name:hover { color: var(--primary-color); }
.identity-box .id-sub { font-size: 0.75rem; color: #94a3b8; font-weight: 600; display: block; margin-top: 2px; }

.date-group-p {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-group-p span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-group-p i {
    font-size: 0.85rem;
    color: #94a3b8;
}

.p-status { padding: 0.4rem 1rem; border-radius: 10px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.p-active { background: #dcfce7; color: #15803d; }
.p-pending { background: #fffbeb; color: #b45309; }
.p-expired { background: #fef2f2; color: #b91c1c; }

.link-cloud-btn {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-cloud-btn:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.cloud-status.linked {
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Portal Form Card Styling */
.premium-form-card { background: white; border-radius: 28px; border: 1px solid #e2e8f0; padding: 2.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.form-card-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #f1f5f9; }
.form-card-header .h-icon { width: 60px; height: 60px; background: #eff6ff; color: var(--primary-color); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.form-card-header h3 { font-size: 1.25rem; font-weight: 800; color: #1e293b; margin: 0; }

.portal-form-v2 .form-row-p { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.form-group-p { display: flex; flex-direction: column; gap: 10px; }
.form-group-p label { font-size: 0.85rem; font-weight: 700; color: #475569; }
.form-group-p input { padding: 1rem 1.25rem; border-radius: 12px; border: 2px solid #e2e8f0; background: #f8fafc; font-weight: 600; color: #1e293b; transition: all 0.2s; outline: none; font-size: 0.95rem; }
.form-group-p input:focus { border-color: var(--primary-color); background: white; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05); }

/* Common Portal Components */
.btn-premium-p {
  background: var(--primary-color);
  color: white !important;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-premium-p:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-premium-p.secondary {
    background: white !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.btn-premium-p.secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: none !important;
}

.btn-premium-p:disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.6 !important;
}

/* Dashboard Footer */
.portal-footer { height: 70px; background: white; border-top: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; margin-top: auto; }

@media (max-width: 768px) {
    .portal-footer { flex-direction: column; height: auto; padding: 2rem 1.5rem; gap: 1rem; text-align: center; }
    .portal-form-v2 .form-row-p { grid-template-columns: 1fr; gap: 1rem; }
}

/* User menu dropdown */
.nav-menu li {
  position: relative;
}
.user-menu > a {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-menu .submenu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #ffffff;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 2000;
}
.user-menu .submenu li {
  list-style: none;
}
.user-menu .submenu li a {
  display: block;
  padding: 10px 16px;
  color: #2c3e50;
  font-weight: 500;
}
.user-menu .submenu li a:hover {
  background: #f5f7fa;
  color: #3498db;
}

/* show on hover for desktop only (devices that support hover) */
@media (hover: hover) and (pointer: fine) {
  .user-menu:hover .submenu {
    display: block;
  }
}

/* styles for the JS toggle button */
.user-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-toggle:focus {
  outline: 2px solid rgba(52, 152, 219, 0.25);
  outline-offset: 2px;
}

/* support explicit open class for JS toggle */
.user-menu.open .submenu {
  display: block;
}

/* mobile: make nav-menu horizontal scrollable and submenu full width */
@media (max-width: 800px) {
  .nav-menu {
    gap: 10px;
  }
  .user-menu .submenu {
    right: 8px;
    left: 8px;
    top: calc(100% + 6px);
  }
}

/* Mobile hamburger and sliding nav */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #2c3e50; /* dark to contrast on light header */
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ensure navbar container is positioned so absolute toggle sits correctly */
.navbar {
  position: relative;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
  z-index: 1200;
}

@media (max-width: 900px) {
  /* ensure toggle is visible on small screens */
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
  }
  .mobile-toggle {
    position: absolute;
    right: 14px;
    left: auto;
    top: 14px;
  }
  /* make sure nav-menu shows as flex when not transformed (desktop fallback) */
  .nav-menu {
    display: flex !important;
  }
  .nav-menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 78%;
    max-width: 360px;
    background: #ffffff;
    flex-direction: column;
    padding: 80px 20px 20px 20px;
    gap: 12px;
    transform: translateX(-110%);
    transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
    box-shadow: 8px 0 30px rgba(18, 34, 41, 0.08);
    z-index: 1250;
    overflow-y: auto;
  }

  .nav-menu li {
    width: 100%;
  }
  .nav-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 6px;
    color: #122229;
  }

  body.nav-open .nav-menu {
    transform: translateX(0);
  }
  body.nav-open .mobile-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* push header to have higher z-index so toggle sits above */
  .header {
    position: relative;
    z-index: 1300;
  }
}

/* Mobile close placement and desktop hide */
/* Position the close button at top-right of the sliding nav on small screens */
@media (max-width: 900px) {
  .nav-menu .mobile-brand-inner {
    position: relative;
  }
  .nav-menu .mobile-brand .mobile-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: transparent;
    border: none;
    color: #55606a;
    cursor: pointer;
  }
}
/* Hide mobile-only elements on desktop */
@media (min-width: 901px) {
  .mobile-close,
  .nav-menu .mobile-brand {
    display: none !important;
  }
}

/* Order Form */
.order-form {
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #3498db;
  outline: none;
}

/* Payment Section */
.payment-section {
  text-align: center;
  margin: 40px auto;
  max-width: 500px;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-code {
  max-width: 250px;
  margin: 20px auto;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.qr-code img {
  width: 100%;
  height: auto;
}

.upi-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.upi-id {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 10px 0;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background: #128c7e;
}

/* Alert Messages */
.alert {
  padding: 15px 20px;
  border-radius: 5px;
  margin: 20px 0;
  font-weight: 500;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box input,
  .search-box button {
    width: 100%;
  }

  .search-box button {
    padding: 15px;
  }

  .domain-result {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}



/* hosting css*/

.hosting-icon {
    font-size: 40px;
    color: #4f46e5;
    margin-bottom: 10px;
}

.hosting-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.hosting-features li {
    margin: 6px 0;
    font-size: 14px;
}

.hosting-features i {
    color: #16a34a;
    margin-right: 6px;
}

/* DomainEdge Search Results Page Styles */
.search-page-premium {
    background: #f5f7f8;
    min-height: 100vh;
    padding-bottom: 5rem;
}

.search-header-wrap {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-nav-tabs {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    border-bottom: 2px solid transparent;
}

.search-nav-tabs a {
    text-decoration: none;
    color: #111;
    font-size: 0.85rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
}

.search-nav-tabs a.active {
    border-bottom-color: #00838c;
}

.main-result-container {
    padding: 2rem 0;
}

.result-card-large {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: box-shadow 0.3s;
}

.result-card-large.taken {
    border-left: 5px solid #ccc;
    background: #fafafa;
}

.result-card-large.available {
    border: 2px solid #00838c;
}

.res-title-badge {
    position: absolute;
    top: 1.5rem;
    left: 2.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #666;
}

.available .res-title-badge {
    background: #e6f7f8;
    color: #00838c;
    border-color: #00838c;
}

.res-domain-display {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.res-domain-display h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.5rem;
}

.res-domain-display p {
    font-size: 0.9rem;
    color: #666;
}

.res-actions-large {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.res-price-large {
    font-size: 1.8rem;
    font-weight: 900;
    color: #111;
}

.res-price-large small {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
}

.btn-premium-teal {
    background: #00838c;
    color: white !important;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-premium-teal:hover {
    background: #005d64;
}

.btn-premium-dark {
    background: #111;
    color: white !important;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

/* Explore Endings Grid */
.explore-endings-wrap {
    margin: 3rem 0;
}

.explore-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.ending-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.ending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.ending-tld {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
}

.ending-price-box {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ending-price {
    display: flex;
    flex-direction: column;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.75rem;
}

.new-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #111;
}

.ending-cart-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    cursor: pointer;
    transition: all 0.2s;
}

.ending-cart-btn:hover {
    background: #111;
    color: #fff;
}

/* Results List */
.results-list-wrap {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.list-item-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.list-item-premium:hover {
    background: #f9f9f9;
}

.list-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.fav-btn {
    color: #ccc;
    cursor: pointer;
    font-size: 1.1rem;
}

.fav-btn:hover {
    color: #ef4444;
}

.list-domain-name {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

.list-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.list-pricing {
    text-align: right;
}

.list-price-main {
    font-weight: 800;
    font-size: 1.1rem;
}

.list-price-sub {
    font-size: 0.7rem;
    color: #666;
}

/* Testimonials */
.testimonials-premium {
    padding: 6rem 0;
    background: #fff;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.test-card {
    background: #f5f7f8;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.test-stars {
    color: #00b67a;
    margin-bottom: 1rem;
}

.test-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #111;
}

.test-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.test-name {
    font-weight: 800;
    font-size: 0.9rem;
}

.test-role {
    font-size: 0.75rem;
    color: #666;
}

@media (max-width: 768px) {
    .result-card-large {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .res-title-badge {
        left: 50%;
        transform: translateX(-50%);
    }
    .list-item-premium {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .list-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* Domain Pricing Section Styles */
.pricing-section {
    padding: 6rem 0;
    background: #fff;
}

.pricing-tabs {
    margin-top: 3rem;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.tab-btn.active {
    color: #111;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #00838c;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: #00838c;
}

.tld-badge-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 0.5rem;
}

.tld-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.5rem;
}

.tld-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.price-box {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
}

.price-period {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.price-features {
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #111;
}

.feature-item i {
    color: #00838c;
    font-size: 1rem;
}

.pricing-card .btn-outline {
    background: #fff;
    border: 2px solid #111;
    color: #111;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-card .btn-outline:hover {
    background: #111;
    color: #fff;
}

.price-note {
    margin-top: 4rem;
    text-align: center;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
}

.price-note i {
    color: #00838c;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .tabs-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .tab-btn {
        text-align: center;
    }
}

/* Premium Web Hosting Section Styles */
.hosting-section {
    padding: 8rem 0;
    background: #f8fafc;
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.hosting-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.hosting-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hosting-card.popular {
    border: 2px solid #00838c;
    box-shadow: 0 10px 30px rgba(0, 131, 140, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #00838c;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.plan-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
}

.plan-price {
    margin-bottom: 2.5rem;
}

.plan-price .price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #111;
}

.plan-price .price-period {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #111;
}

.plan-features li i {
    color: #00b67a;
    font-size: 1.1rem;
}

.hosting-card .btn-primary {
    background: #00838c;
    color: white !important;
    border: none;
    padding: 1.25rem;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hosting-card .btn-primary:hover {
    background: #005d64;
}

.plan-savings {
    margin-top: 1.5rem;
    background: #e6f7f8;
    color: #00838c;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .hosting-grid {
        grid-template-columns: 1fr;
    }
}

/* Professional Login & Register Page Styles */
.login-page-section {
    padding: 6rem 0;
    background: #f5f7f8;
    min-height: 80vh;
}

.login-grid-p {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.login-card-p {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.login-card-p .card-header-p {
    margin-bottom: 2.5rem;
    text-align: center;
}

.login-card-p h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.5rem;
}

.login-card-p p {
    color: #666;
    font-size: 0.95rem;
}

.form-group-p {
    margin-bottom: 1.5rem;
}

.form-group-p label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #111;
    margin-bottom: 0.6rem;
}

.form-control-p {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #111;
    transition: border-color 0.2s;
    outline: none;
}

.form-control-p:focus {
    border-color: #00838c;
    box-shadow: 0 0 0 3px rgba(0, 131, 140, 0.1);
}

.password-wrapper-p {
    position: relative;
}

.password-toggle-p {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-login-p {
    background: #111;
    color: white !important;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn-login-p:hover {
    background: #333;
}

.btn-register-p {
    background: #00838c;
    color: white !important;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn-register-p:hover {
    background: #005d64;
}

.form-row-p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.section-title-p {
    font-size: 0.75rem;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2rem 0 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .login-grid-p {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mega Menu Styles */
.has-mega-menu {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    padding: 3rem 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}

.has-mega-menu:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 2rem;
}

.mega-menu-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-menu-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: block;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none !important;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mega-menu-item:hover {
    background: #f5f7f8;
}

.m-icon {
    width: 45px;
    height: 45px;
    background: #e6f7f8;
    color: #00838c;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.m-txt {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.m-txt strong {
    font-size: 0.95rem;
    color: #111;
    font-weight: 700;
}

.m-badge {
    background: #00838c;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* Promo Card inside Mega Menu */
.promo-card-mini {
    background: linear-gradient(135deg, #e6f7f8 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eee;
}

.promo-circle-badge {
    background: #fff;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.promo-circle-badge i {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 0.5rem;
}

.promo-circle-badge span {
    font-size: 0.7rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
}

.promo-circle-badge small {
    font-size: 0.55rem;
    color: #666;
    margin-top: 2px;
}

.promo-footer-txt {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .mega-menu { display: none !important; }
}

/* Mega Menu Active Link Styling */
.has-mega-menu:hover > a {
    background: #fff !important;
    color: #111 !important;
    border-radius: 4px 4px 0 0;
}

/* Specialized Mega Menu Badges */
.m-badge-blue {
    background: #0056b3;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.m-badge-purple {
    background: #6f42c1;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Mega Menu Text Descriptions */
.m-txt p {
    font-size: 0.8rem;
    color: #666;
    margin: 0.2rem 0 0;
    line-height: 1.4;
    max-width: 250px;
}

/* Mega Menu Promo Banner */
.promo-banner-p {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.promo-banner-p:hover {
    transform: translateY(-5px);
}

.promo-banner-p img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.promo-banner-txt {
    padding: 1.5rem;
    background: #fff;
}

.promo-banner-txt strong {
    font-size: 1.1rem;
    color: #111;
    display: block;
}

/* All Hosting Options Link */
.all-options-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-left: 1rem;
    color: #00838c !important;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
}

.all-options-link:hover {
    text-decoration: underline;
}

/* Refined Mega Menu Transitions */
.mega-menu {
    display: block !important;
    pointer-events: none;
}

.has-mega-menu:hover .mega-menu {
    pointer-events: auto;
}
