/* =================================================================
   SecureHost India - Comprehensive Modern Theme
   Inspired by HostingRaja.in & Modern Hosting Platforms
   Mobile & Desktop Ultra-Responsive
   ================================================================= */

:root {
    --primary: #0f4cf5;
    --primary-hover: #0837b5;
    --primary-gradient: linear-gradient(135deg, #0f4cf5 0%, #1e293b 100%);
    --hero-gradient: linear-gradient(135deg, #0a192f 0%, #112240 50%, #0f4cf5 100%);
    --secondary: #0ea5e9;
    --success: #10b981;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   Precision Layout Spacing: Exactly 5% Left & Right Spacing (90% Content Width)
   ========================================================================== */
@media (min-width: 992px) {
    .container-xl,
    .container-xxl,
    .container-fluid.container-xl {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 991.98px) {
    .container-xl,
    .container-xxl,
    .container-fluid.container-xl {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .brand-name {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Typography & Utility sizes */
.font-9 { font-size: 9px; }
.font-11 { font-size: 11px; }
.font-12 { font-size: 12px; }
.font-13 { font-size: 13px; }
.font-14 { font-size: 14px; }
.tracking-wider { letter-spacing: 0.05em; }

/* Top bar & Header */
.top-bar {
    font-size: 13px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0f4cf5, #00d2ff);
    box-shadow: 0 4px 10px rgba(15, 76, 245, 0.35);
}

.navbar .nav-link {
    color: #1e293b;
    padding: 0.5rem 0.85rem;
    font-size: 15px;
    transition: all 0.2s ease;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary);
}

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--card-border);
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    color: #ffffff;
    padding: 70px 0 85px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 76, 245, 0.25) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.domain-search-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.domain-search-input {
    border: none;
    font-size: 17px;
    padding: 12px 20px;
    outline: none;
    width: 100%;
}

.domain-search-input:focus {
    box-shadow: none;
}

.domain-tld-badge {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.domain-tld-badge:hover {
    background: #e2e8f0;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Pricing Cards */
.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    padding: 32px 24px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -5px rgba(15, 76, 245, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 25px 40px -5px rgba(15, 76, 245, 0.18);
}

.pricing-badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(255, 65, 108, 0.4);
}

.price-tag {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    font-family: var(--font-heading);
}

.price-currency {
    font-size: 22px;
    vertical-align: super;
}

.price-period {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #f1f5f9;
}

.feature-list li i {
    margin-right: 10px;
    font-size: 16px;
}

.feature-list li i.bi-check-circle-fill {
    color: var(--success);
}

.feature-list li i.bi-x-circle {
    color: #94a3b8;
}

/* Feature Circles */
.feature-icon-circle {
    width: 54px;
    height: 54px;
    min-width: 54px;
}

/* Tables & Comparison */
.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.comparison-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 16px;
    font-weight: 600;
}

.comparison-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #fff;
    transform: scale(1.1);
}

/* Customer & Admin Panels */
.sidebar {
    background: #0f172a;
    min-height: 100vh;
}

.sidebar .nav-link {
    color: #94a3b8;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.stat-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    padding: 24px;
    box-shadow: var(--card-shadow);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .hero-section {
        padding: 50px 0 60px;
    }
    .price-tag {
        font-size: 32px;
    }
    .pricing-card {
        margin-bottom: 24px;
    }
    .sidebar {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 11px;
    }
    .hero-section h1 {
        font-size: 26px;
    }
    .hero-section p.lead {
        font-size: 15px;
    }
    .domain-search-box {
        padding: 6px;
    }
    .domain-search-input {
        font-size: 14px;
        padding: 8px 12px;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

/* ==========================================================================
   Hero Animated GIF & Floating Badges
   ========================================================================== */
.hero-gif-container {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
}

.hero-glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.3) 0%, rgba(15, 23, 42, 0) 70%);
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

.hero-animated-gif {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5) !important;
}

.hero-animated-gif:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 55px rgba(13, 110, 253, 0.3) !important;
}

.floating-pill-badge {
    position: absolute;
    z-index: 3;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation: floatUpDown 3.2s ease-in-out infinite alternate;
}

.badge-top-left {
    top: -12px;
    left: -12px;
}

.badge-bottom-right {
    bottom: -12px;
    right: -12px;
    animation-delay: 1.6s;
}

@keyframes floatUpDown {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .badge-top-left {
        top: 6px;
        left: 6px;
        padding: 6px 12px;
    }
    .badge-bottom-right {
        bottom: 6px;
        right: 6px;
        padding: 6px 12px;
    }
}
