/* ============================================
   HostingMastrix - Premium Hosting Website
   Custom CSS Styles
   ============================================ */

/* ============================================
   Custom Font - FN-BadhonNuri4
   ============================================ */
@font-face {
    font-family: 'FN-BadhonNuri4';
    src: url('../fonts/FN-BadhonNuri4.woff2') format('woff2'),
         url('../fonts/FN-BadhonNuri4.woff') format('woff'),
         url('../fonts/FN-BadhonNuri4.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    --primary-color: #00A859;
    --primary-dark: #008f4c;
    --primary-light: #00c96b;
    --secondary-green: #00d474;
    --accent-green: #00ff80;
    --dark-green: #0a3d22;
    --footer-bg: #0a2e1a;
    
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --text-muted: #6b7280;
    --text-gray: #4a5568;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-off-white: #f0fdf4;
    
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-dark: #ffffff;
    --text-light: #1a1a2e;
    --text-muted: #a0aec0;
    --text-gray: #cbd5e0;
    
    --bg-white: #1a1a2e;
    --bg-light: #16213e;
    --bg-off-white: #0f3460;
    
    --glass-bg: rgba(26, 26, 46, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Global Styles & Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* ============================================
   Utility Classes
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
    display: block !important;
    opacity: 1 !important;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-green));
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ============================================
   Top Offer Bar
   ============================================ */
.top-offer-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 0.75rem 0;
    position: relative;
}

.offer-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.offer-text i {
    margin-right: 0.5rem;
}

.coupon-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
    margin-left: 1rem;
}

.close-offer {
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.close-offer:hover {
    opacity: 1;
}

/* ============================================
   Header Navigation
   ============================================ */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.brand-font {
    font-family: 'FN-BadhonNuri4', var(--font-secondary), sans-serif;
}

.brand-highlight {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-off-white);
    color: var(--primary-color);
}

.header-actions {
    gap: 0.5rem;
}

/* Header Top Row */
.header-top {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.header-social {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.header-social .social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.header-social .social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header Middle Row */
.header-middle {
    background: var(--bg-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-middle .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-datetime {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    justify-content: flex-end;
}

.header-datetime i {
    color: var(--primary-color);
}

.header-datetime #currentTime {
    font-weight: 600;
    color: var(--text-dark);
}

/* Header Bottom Row */
.header-bottom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-bottom: 2px solid var(--primary-color);
}

.header-bottom .navbar {
    padding: 0;
}

.header-bottom .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 1rem 1rem !important;
    transition: var(--transition-fast);
}

.header-bottom .nav-link:hover,
.header-bottom .nav-link.active {
    color: rgba(255, 255, 255, 0.8) !important;
}

.header-bottom .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    background: white;
}

.header-bottom .dropdown-item {
    color: var(--text-dark);
}

.header-bottom .dropdown-item:hover {
    background: var(--bg-off-white);
    color: var(--primary-color);
}

.header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-auth-buttons .btn-outline-primary {
    border-color: white;
    color: white;
}

.header-auth-buttons .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

.header-auth-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.header-auth-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

.header-bottom .navbar-toggler {
    border-color: white;
}

.header-bottom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .header-top {
        display: none;
    }
    
    .header-middle {
        padding: 0.75rem 0;
    }
    
    .header-bottom {
        border-bottom: 1px solid var(--border-color);
    }
    
    .header-bottom .navbar-toggler {
        border-color: white;
    }
    
    .header-bottom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .header-bottom .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius-md);
        margin-top: 0.5rem;
    }
    
    .header-bottom .nav-link {
        color: var(--text-dark);
    }
    
    .header-bottom .nav-link:hover,
    .header-bottom .nav-link.active {
        color: var(--primary-color);
    }
    
    .header-auth-buttons {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .header-auth-buttons .btn-outline-primary {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    
    .header-auth-buttons .btn-outline-primary:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .header-auth-buttons .btn-primary {
        background: var(--primary-color);
        color: white;
    }
    
    .header-auth-buttons .btn-primary:hover {
        background: var(--primary-dark);
        color: white;
    }
}

@media (max-width: 767px) {
    .header-middle {
        padding: 0.5rem 0;
    }
    
    .brand-logo-img {
        height: 35px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

.btn {
    border-radius: var(--border-radius-md);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-color));
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--accent-green), var(--secondary-green));
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-off-white), var(--bg-white));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 168, 89, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.offer-card {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.1), rgba(0, 212, 116, 0.05));
    border: 2px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.offer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.coupon-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.coupon-label {
    font-weight: 600;
    color: var(--text-muted);
}

.coupon-code-large {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(0, 168, 89, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
}

.offer-benefits {
    margin-bottom: 1.5rem;
}

.offer-benefits li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.offer-benefits li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.timer-block {
    text-align: center;
}

.timer-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: monospace;
}

.timer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--primary-color);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    min-height: 500px;
}

.illustration-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-server {
    position: absolute;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.server-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.server-2 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.server-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-domain {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1.25rem;
    animation: float 4s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.domain-1 {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.domain-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.domain-3 {
    bottom: 30%;
    right: 25%;
    animation-delay: 2s;
}

.domain-4 {
    bottom: 10%;
    left: 10%;
    animation-delay: 3s;
}

.server-status {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.data-center-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.dc-indicator {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.dc-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.dc-2 {
    top: 30%;
    right: 25%;
    animation-delay: 0.5s;
}

.dc-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.dc-4 {
    bottom: 20%;
    right: 30%;
    animation-delay: 1.5s;
}

.dc-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

/* ============================================
   Domain Search Section
   ============================================ */
.domain-search-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.domain-search-box {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.domain-input {
    padding: 1.25rem;
    font-size: 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-fast);
}

.domain-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.1);
}

.search-btn {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--border-radius-lg);
}

.popular-extensions {
    margin-bottom: 3rem;
}

.extensions-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.extension-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.extension-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.extension-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.extension-price {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.domain-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* ============================================
   Pricing Toggle Section
   ============================================ */
.billing-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.toggle-switch {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    font-size: 0.9rem;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
}

.toggle-btn:hover:not(.active) {
    background: var(--bg-light);
}

.save-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* ============================================
   Hosting Sections
   ============================================ */
.hosting-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.hosting-section:nth-child(even) {
    background: var(--bg-light);
}

.hosting-plans {
    margin-top: 3rem;
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.hosting-plans::-webkit-scrollbar {
    height: 8px;
}

.hosting-plans::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.hosting-plans::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.hosting-plans::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.hosting-plans > div {
    flex: 1;
    min-width: 300px;
}

.hosting-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hosting-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.popular-plan {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-plan:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.billing-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-description {
    color: var(--text-muted);
    margin-bottom: 0;
}

.plan-features {
    margin-bottom: 2rem;
    padding: 0;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-gray);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.plan-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

.vps-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    font-weight: 600;
}

.spec-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* ============================================
   Data Centers Section
   ============================================ */
.data-centers-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.world-map-container {
    max-width: 1000px;
    margin: 0 auto 3rem;
    position: relative;
}

.world-map {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    position: relative;
    min-height: 400px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><rect fill="%23f8fafc" width="1000" height="500"/><ellipse cx="500" cy="250" rx="400" ry="200" fill="%23e2e8f0" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
}

.map-marker {
    position: absolute;
    cursor: pointer;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.marker-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-fast);
}

.map-marker:hover .marker-tooltip {
    opacity: 1;
}

.marker-india {
    top: 55%;
    left: 65%;
}

.marker-usa {
    top: 30%;
    left: 20%;
}

.marker-uk {
    top: 25%;
    left: 45%;
}

.marker-singapore {
    top: 60%;
    left: 75%;
}

.marker-germany {
    top: 28%;
    left: 50%;
}

.data-centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dc-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.dc-card:hover {
    transform: translateY(-5px);
}

.dc-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dc-card h4 {
    margin-bottom: 0.5rem;
}

.dc-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   Statistics Section
   ============================================ */
.statistics-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.testimonials-grid {
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2rem;
}

.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info h5 {
    margin-bottom: 0.25rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.features-grid {
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    margin-bottom: 1rem;
    border: none;
}

.accordion-button {
    font-weight: 600;
    padding: 1.5rem;
    background: var(--bg-white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-off-white);
    color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-gray);
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--footer-bg);
    color: white;
    padding: 4rem 0 0;
}

/* Footer Logo Section */
.footer-logo-section {
    text-align: left;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 800;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    text-decoration: none;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
}

.footer-brand i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 2.5rem;
}

.company-address {
    max-width: 600px;
    margin: 0 0 1rem 0;
}

.company-address p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.company-address i {
    color: var(--primary-color);
}

.footer-logo-section .social-icons {
    margin-top: 1rem;
}

/* Footer Top Section */
.footer-top-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
    text-align: center;
}

.newsletter-section h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius-md);
}

.payment-methods {
    margin: 3rem 0;
    text-align: center;
}

.payment-methods h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.payment-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ============================================
   WhatsApp Widget
   ============================================ */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* ============================================
   Live Chat Widget
   ============================================ */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: none;
}

.chat-box.active {
    display: block;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin-bottom: 0;
    color: white;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    background: var(--bg-light);
}

.chat-footer {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.chat-footer input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
}

.chat-footer button {
    padding: 0.75rem 1rem;
}

@media (max-width: 767px) {
    .whatsapp-widget {
        bottom: 1.5rem;
        left: 1rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .live-chat-widget {
        bottom: 1.5rem;
        right: 1rem;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .chat-box {
        width: 300px;
        bottom: 70px;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-illustration {
        display: none;
    }
    
    .popular-plan {
        transform: none;
    }
    
    .popular-plan:hover {
        transform: translateY(-10px);
    }
    
    .header-actions {
        order: 2;
    }
    
    .navbar-collapse {
        order: 3;
    }
    
    .hosting-plans {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .hosting-plans > div {
        max-width: 100%;
        min-width: 100%;
    }
    
    .footer-top-section .row {
        flex-direction: column;
    }
    
    .footer-top-section .col-lg-4,
    .footer-top-section .col-lg-2 {
        max-width: 100%;
        min-width: 100%;
    }
    
    .brand-logo-img {
        height: 30px;
    }
    
    .footer-logo-img {
        height: 40px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .timer-block {
        min-width: 60px;
    }
    
    .extensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .toggle-switch {
        flex-direction: column;
        width: 100%;
    }
    
    .toggle-btn {
        width: 100%;
        text-align: center;
    }
    
    .billing-toggle {
        margin-bottom: 1.5rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .live-chat-widget {
        bottom: 1rem;
        right: 1rem;
    }
    
    .chat-box {
        width: 300px;
    }
    
    /* Footer Responsive */
    .footer-top-section .row {
        flex-direction: column;
    }
    
    .footer-top-section .col-lg-4,
    .footer-top-section .col-lg-2 {
        max-width: 100%;
        min-width: 100%;
    }
    
    .footer-brand {
        font-size: 1.5rem;
    }
    
    .footer-brand i {
        font-size: 2rem;
    }
    
    .brand-logo-img {
        height: 25px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .footer-logo-section {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .footer-logo-section .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hosting-section {
        padding: 3rem 0;
    }
    
    .extensions-grid {
        grid-template-columns: 1fr;
    }
    
    .data-centers-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-icons {
        gap: 1rem;
    }
}

/* ============================================
   Animation Classes
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   Loading Animation
   ============================================ */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Button Ripple Effect
   ============================================ */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   Accessibility
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for better accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ============================================
   Legal Pages (Terms of Service, Privacy Policy)
   ============================================ */
.legal-section {
    background: var(--bg-white);
    min-height: calc(100vh - 200px);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.legal-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content li::marker {
    color: var(--primary-color);
}

.back-to-home {
    text-align: center;
}

@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
    
    .legal-content h3 {
        font-size: 1.125rem;
    }
}
