/* ===================================
   Web Hosting Page CSS
   =================================== */

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ===================================
   Navigation
   =================================== */

#mainNav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

#mainNav.scrolled {
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.brand-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #dbeafe 100%);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent);
    pointer-events: none;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.bg-primary-soft {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.server-rack {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.server-rack::before,
.server-rack::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
}

.server-rack::before {
    top: 20%;
    animation: pulse 2s ease-in-out infinite;
}

.server-rack::after {
    top: 40%;
    animation: pulse 2s ease-in-out infinite 0.5s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--primary);
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.icon-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.icon-item:nth-child(1) {
    top: 10%;
    left: 10%;
}

.icon-item:nth-child(2) {
    top: 20%;
    right: 15%;
}

.icon-item:nth-child(3) {
    bottom: 30%;
    left: 5%;
}

.icon-item:nth-child(4) {
    bottom: 15%;
    right: 10%;
}

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

/* ===================================
   Features Section
   =================================== */

.features-section {
    padding: 100px 0;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    padding: 100px 0;
    background: var(--white);
}

.service-item {
    padding: 3rem 0;
}

.service-image-box {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.service-image-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.service-icon-large {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text);
}

.service-features i {
    font-size: 1.2rem;
}

.btn-info {
    background: #06b6d4;
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.btn-warning {
    background: #f59e0b;
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.badge.bg-info {
    background: rgba(6, 182, 212, 0.1) !important;
    color: #0891b2;
}

.badge.bg-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #d97706;
}

.badge.bg-success {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #059669;
}

/* ===================================
   Pricing Section
   =================================== */

.pricing-section {
    padding: 100px 0;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    height: 100%;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    align-self: flex-end;
    margin-bottom: 0.8rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.pricing-features li.text-muted i {
    color: var(--text-light);
}

/* ===================================
   About Section
   =================================== */

.about-section {
    padding: 100px 0;
}

.about-stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-image {
    position: relative;
    height: 500px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder i {
    font-size: 8rem;
    color: white;
    opacity: 0.3;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 80px 0;
    background: var(--dark);
}

.cta-box {
    background: var(--gradient);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.btn-light {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 100px 0;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h5 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
}

.contact-form .form-control {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark);
    color: white;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

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

.footer h5 {
    color: white;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 3rem;
        height: 400px;
    }
    
    .server-rack {
        width: 250px;
        height: 350px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .about-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .features-section,
    .pricing-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-box {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .server-rack {
        width: 200px;
        height: 280px;
    }
    
    .icon-item {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
