/* =========================================
   CSS Reset & Variables
========================================= */
:root {
    --primary-color: #0A58CA;
    --primary-hover: #084298;
    --dark-blue: #071E43;
    --accent-yellow: #FFC107;
    --text-dark: #333333;
    --text-muted: #6C757D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E9ECEF;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-dark); background-color: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================
   Layout & Utilities
========================================= */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 15px; position: relative; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.align-center { align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.font-bold { font-weight: 700; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: center; }
.btn-primary { background: var(--primary-color); color: var(--bg-white); border: 2px solid var(--primary-color); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-yellow { background: var(--accent-yellow); color: var(--dark-blue); padding: 8px 16px; font-size: 14px; }
.btn-outline { background: transparent; border: 2px solid var(--border-color); color: var(--text-dark); }
.btn-outline-primary { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-light { background: var(--bg-white); color: var(--primary-color); }

/* =========================================
   Top Bar
========================================= */
.top-bar { background-color: var(--dark-blue); color: var(--bg-white); padding: 10px 0; font-size: 14px; }
.countdown span { margin: 0 5px; }
.close-btn { position: absolute; right: 0; font-size: 20px; cursor: pointer; color: #ccc; transition: 0.3s; }
.close-btn:hover { color: #fff; }

/* =========================================
   Navbar & Dropdown (Desktop)
========================================= */
.navbar { background: var(--bg-white); padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.nav-menu { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links li { position: relative; }
.nav-links a { font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 5px; padding: 10px 0; transition: var(--transition); }
.nav-links a.active, .nav-links a:hover { color: var(--primary-color); }
.arrow { font-size: 12px; transition: transform 0.3s ease; }

/* Dropdown CSS */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 110;
    border: 1px solid var(--border-color);
}
.dropdown-content li { width: 100%; }
.dropdown-content a { padding: 10px 20px; font-weight: 400; color: var(--text-dark); display: block; border-bottom: 1px solid #f1f1f1; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background: #f8f9fa; color: var(--primary-color); padding-left: 25px; }
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown:hover .arrow { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.login-link { font-weight: 600; transition: 0.3s; }
.login-link:hover { color: var(--primary-color); }
.mobile-actions { display: none; }

/* Hamburger Menu Icon */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 105; }
.hamburger .bar { width: 28px; height: 3px; background-color: var(--text-dark); border-radius: 3px; transition: all 0.3s ease; }

/* =========================================
   Hero & Other Sections
========================================= */
.hero { padding: 80px 0; background: var(--bg-white); }
.badge { background: #E7F1FF; color: var(--primary-color); padding: 6px 15px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin: 20px 0; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-features { display: flex; gap: 20px; margin-bottom: 30px; }
.feature-item { font-size: 13px; display: flex; flex-direction: column; }
.feature-item strong { color: var(--text-dark); }
.feature-item span { color: var(--text-muted); }
.hero-cta { display: flex; gap: 15px; margin-bottom: 15px; }
.guarantee { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.domain-search-section { margin-top: -60px; position: relative; z-index: 10; }
.domain-box { background: var(--bg-white); padding: 30px 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); text-align: center; }
.domain-header h2 { font-size: 24px; margin-bottom: 5px; }
.domain-header p { color: var(--text-muted); font-size: 15px; }
.domain-form { display: flex; justify-content: center; margin: 25px 0; }
.domain-form input { padding: 15px; width: 60%; border: 1px solid var(--border-color); border-radius: 6px 0 0 6px; outline: none; font-size: 16px; }
.domain-form select { padding: 15px; border: 1px solid var(--border-color); border-left: none; outline: none; font-weight: 600; }
.domain-form button { border-radius: 0 6px 6px 0; padding: 0 30px; }
.domain-prices { display: flex; justify-content: center; gap: 30px; font-size: 14px; }
.tld strong { font-size: 18px; color: var(--primary-color); display: inline-block; margin-right: 5px; }
.badge-green { background: #D1E7DD; color: #0F5132; padding: 2px 8px; border-radius: 12px; font-size: 11px; margin-left: 5px; position: relative; top: -2px; }

.pricing-section { padding: 80px 0 40px; }
.pricing-section h2 { font-size: 2.5rem; margin-bottom: 10px; }
.pricing-section > p { color: var(--text-muted); margin-bottom: 50px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card { background: var(--bg-white); padding: 40px 25px; border-radius: 12px; border: 1px solid var(--border-color); transition: var(--transition); position: relative; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.pricing-card.popular { border: 2px solid var(--primary-color); box-shadow: 0 15px 30px rgba(10, 88, 202, 0.1); }
.popular-tag { background: var(--primary-color); color: var(--bg-white); position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 20px; border-radius: 20px; font-size: 13px; font-weight: bold; }
.card-icon { font-size: 30px; margin-bottom: 15px; color: var(--primary-color); }
.pricing-card h3 { font-size: 22px; }
.pricing-card > p { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }
.price h2 { font-size: 2.8rem; margin: 10px 0; color: var(--text-dark); display: flex; justify-content: center; align-items: baseline; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.save-badge { background: #E7F1FF; color: var(--primary-color); padding: 4px 12px; border-radius: 15px; font-size: 12px; font-weight: bold; display: inline-block; margin-bottom: 5px; }
.normal-price { text-decoration: line-through; color: var(--text-muted); font-size: 13px; margin-bottom: 20px; }
.pricing-card hr { border: none; border-top: 1px solid var(--border-color); margin-bottom: 20px; }
.features-list { text-align: left; margin-bottom: 30px; font-size: 14px; min-height: 220px; }
.features-list li { margin-bottom: 12px; color: var(--text-dark); display: flex; gap: 8px; }
.pricing-card .btn { width: 100%; }

.features-strip { padding: 40px 0; background: var(--bg-white); border-top: 1px solid var(--border-color); }
.f-box { text-align: left; padding: 10px; }
.f-icon { font-size: 24px; color: var(--primary-color); display: block; margin-bottom: 10px; }
.f-box h4 { font-size: 15px; margin-bottom: 5px; }
.f-box p { font-size: 12px; color: var(--text-muted); }

.trusted-section { background: var(--primary-color); color: var(--bg-white); padding: 70px 0; }
.trusted-content h2 { font-size: 32px; margin-bottom: 10px; }
.trusted-content p { font-size: 16px; margin-bottom: 30px; opacity: 0.9; }
.partner-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-logos img { max-width: 100%; opacity: 0.8; filter: brightness(0) invert(1); transition: 0.3s; }
.partner-logos img:hover { opacity: 1; }
.testimonial-card { background: var(--bg-white); color: var(--text-dark); padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.stars { color: var(--accent-yellow); margin-bottom: 15px; letter-spacing: 2px; }
.testimonial-card p { font-size: 16px; font-weight: 500; font-style: italic; margin-bottom: 25px; }
.user-info { display: flex; align-items: center; gap: 15px; }
.user-info img { border-radius: 50%; width: 50px; height: 50px; }

.stats-strip { background: var(--bg-white); padding: 50px 0; border-bottom: 1px solid var(--border-color); }
.stat-box { display: flex; align-items: center; justify-content: center; gap: 15px; text-align: left; }
.s-icon { font-size: 35px; color: var(--primary-color); }

/* =========================================
   Bottom CTA & Compact Footer
========================================= */
.bottom-cta { 
    background: var(--dark-blue); 
    color: var(--bg-white); 
    padding: 40px 50px; /* Reduced Padding */
    border-radius: 12px; 
    max-width: 1200px; 
    width: 90%; 
    margin: 40px auto -60px; /* Overlaps footer by 60px */
    position: relative; 
    z-index: 10; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
}
.cta-text h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-text p { margin-bottom: 20px; font-size: 1.05rem; opacity: 0.9; }
.cta-image img { width: 100%; max-height: 220px; object-fit: contain; }

.footer { 
    background: var(--dark-blue); 
    color: var(--bg-white); 
    padding: 90px 0 20px; /* Reduced Top & Bottom Padding */
    font-size: 13px; /* Slightly smaller text for compact look */
}
.footer .grid-4 { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 20px; } /* Tighter Gap */
.footer-col h4 { margin-bottom: 15px; font-size: 15px; color: var(--bg-white); }
.footer-col p { color: #ADB5BD; margin-bottom: 15px; line-height: 1.5; }
.footer-col a { display: block; color: #ADB5BD; margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--bg-white); transform: translateX(3px); }
.footer-logo { margin-bottom: 15px; max-width: 130px; filter: brightness(0) invert(1); } /* Compact Logo */

.social-icons { display: flex; gap: 8px; }
.social-icons a { width: 30px; height: 30px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; margin-bottom: 0; font-size: 13px; }
.social-icons a:hover { background: var(--primary-color); transform: none; }

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    margin-top: 30px; 
    padding-top: 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    color: #ADB5BD; 
}
.footer-links { display: flex; gap: 15px; }
.footer-links a { display: inline-block; margin-bottom: 0; }

/* =========================================
   Responsive & Mobile Menu CSS
========================================= */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .features-strip .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .footer .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 15px; }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar .flex-center { flex-direction: column; text-align: center; }
    .close-btn { top: 5px; right: 15px; }
    
    /* Hamburger & Navbar adjustments */
    .hamburger { display: flex; }
    .desktop-actions { display: none; }
    .mobile-actions { display: flex; flex-direction: column; width: 100%; margin-top: 20px; gap: 15px; }
    .mobile-actions .btn { width: 100%; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 30px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
        align-items: flex-start;
    }
    
    .nav-menu.active { left: 0; }
    
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-links { flex-direction: column; width: 100%; align-items: flex-start; gap: 0; }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--border-color); }
    .nav-links a { width: 100%; justify-content: space-between; padding: 15px 0; font-size: 16px; }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 10px 15px;
        transform: none;
        display: none;
    }
    .dropdown.active .dropdown-content { display: block; }
    .dropdown.active .arrow { transform: rotate(180deg); }
    .dropdown-content a { border-bottom: none; padding: 10px 0; font-size: 14px; color: var(--text-muted); }
    
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-features { flex-direction: column; align-items: center; }
    .hero-cta { justify-content: center; }
    .domain-form { flex-direction: column; }
    .domain-form input, .domain-form select, .domain-form button { width: 100%; border-radius: 6px; margin-bottom: 10px; }
    .domain-prices { flex-wrap: wrap; }
    .pricing-grid { grid-template-columns: 1fr; }
    .features-strip .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .stats-strip .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .partner-logos { grid-template-columns: repeat(2, 1fr); }
    .footer .grid-4 { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .social-icons { justify-content: center; }
    
    /* Adjusted bottom mobile padding & overlap */
    .bottom-cta { padding: 30px 20px; margin-bottom: -40px; }
    .footer { padding: 70px 0 20px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; margin-top: 20px; padding-top: 15px; }
    .footer-links { justify-content: center; }
}