/* Modern Index Page Styles */


/* Import Google Fonts */


/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

/* CSS Variables */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
}


/* Global Styles */

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

body {
    line-height: 1.4;
    color: var(--text-primary);
    overflow-x: hidden;
    padding-top: 0;
    /* No padding for smart header */
}


/* Smart Header for Index Page */

.modern-header-wrapper {
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: 1300px;
    z-index: 999999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.modern-header-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.modern-header-wrapper.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    width: 90%;
    max-width: 1300px;
    transform: translateX(-50%);
    /* background: rgba(255, 255, 255, 0.95); */
    backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* padding: 0.5rem 2rem; */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.modern-header-wrapper .header-topbar {
    background: transparent;
    border: none;
    box-shadow: none;
}

.modern-header-wrapper.fixed .header-topbar {
    background: transparent;
    border: none;
    box-shadow: none;
}

.modern-header-wrapper .header-brand .brand-name {
    color: #1a1a1a;
    font-weight: 700;
    transition: all 0.3s ease;
}

.modern-header-wrapper .nav-link {
    color: #1a1a1a !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.modern-header-wrapper .nav-link:hover {
    color: #1a73e8 !important;
    background: rgba(26, 115, 232, 0.1);
}

.modern-header-wrapper .btn-deposit,
.modern-header-wrapper .btn-login {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.modern-header-wrapper .btn-deposit:hover,
.modern-header-wrapper .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}


/* Smooth fade transitions */

.modern-header-wrapper {
    will-change: transform, opacity, visibility;
}

.modern-header-wrapper.fixed {
    will-change: transform, opacity, visibility;
}


/* Dark Mode for Smart Header */

body.dark-mode .modern-header-wrapper.fixed {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 26px;
}

body.light-mode .modern-header-wrapper.fixed {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 26px;
}

body.dark-mode .modern-header-wrapper .header-brand .brand-name {
    color: #e2e8f0;
}

body.dark-mode .modern-header-wrapper .nav-link {
    color: #e2e8f0 !important;
}

body.dark-mode .modern-header-wrapper .nav-link:hover {
    color: #8ba4ff !important;
    background: rgba(139, 164, 255, 0.1);
}


/* Light Mode for Smart Header Elements - Non-fixed state (trên hero) */

body.light-mode .modern-header-wrapper .header-brand .brand-name {
    color: #ffffff;
    /* Trắng khi chưa fixed */
}

body.light-mode .modern-header-wrapper .nav-link {
    color: #ffffff !important;
    /* Trắng khi chưa fixed */
}

body.light-mode .modern-header-wrapper .nav-link:hover {
    color: #1a73e8 !important;
    background: rgba(26, 115, 232, 0.1);
}


/* Light Mode Fixed Header - Khi đã fixed */

body.light-mode .modern-header-wrapper.fixed .header-brand .brand-name {
    color: #1a1a1a;
    /* Đen khi fixed */
}

body.light-mode .modern-header-wrapper.fixed .nav-link {
    color: #1a1a1a !important;
    /* Đen khi fixed */
}

body.light-mode .modern-header-wrapper.fixed .nav-link:hover {
    color: #1a73e8 !important;
    background: rgba(26, 115, 232, 0.1);
}


/* Light Mode Responsive Menu - Luôn đen */

body.light-mode .modern-header-wrapper .navbar-collapse .nav-link {
    color: #1a1a1a !important;
    /* Đen cho responsive menu */
}


/* Navbar Toggler Colors */

body.light-mode .modern-header-wrapper .navbar-toggler-icon {
    filter: invert(1);
    /* Trắng khi chưa fixed */
}

body.light-mode .modern-header-wrapper.fixed .navbar-toggler-icon {
    filter: none;
    /* Đen khi fixed */
}

body.dark-mode .modern-header-wrapper .navbar-toggler-icon {
    filter: invert(1);
    /* Trắng cho dark mode */
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.services-section .section-title {
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-section .section-subtitle {
    color: var(--text-white);
}


/* Hero Section */

.hero-section {
    position: relative;
    /* height: 100vh;
    max-height: 1100px; */
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 100px;
    /* Space for smart header */
}

@media (max-width: 991px) {
    .hero-section {
        height: 100%;
        max-height: 100%;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-hero);
    opacity: 0.95;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff' fill-opacity='1'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

.hero-content {
    color: var(--text-white);
    z-index: 2;
    position: relative;
}


/* Text Carousel */

.text-carousel {
    position: relative;
    height: 200px;
    margin-bottom: 2rem;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(30px);
}

.text-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-main-title {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-offer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.offer-list {
    list-style: none;
    padding: 0;
}

.offer-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.offer-item i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-white);
    transform: translateY(-2px);
}


/* Hero Illustration */

.hero-illustration {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Server Rack Container */

.server-rack-container {
    position: relative;
    z-index: 2;
    width: 300px;
    height: 400px;
}

.server-rack {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-rack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.server-rack:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.server-rack:hover::before {
    opacity: 1;
}

.server-unit {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.server-unit:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.server-screen {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 0.5rem;
}

.screen-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.data-flow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.data-flow .flow-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: dataFlow 2s linear infinite;
}

.data-flow .flow-line:nth-child(1) {
    top: 30%;
    width: 80%;
    animation-delay: 0s;
}

.data-flow .flow-line:nth-child(2) {
    top: 50%;
    width: 60%;
    animation-delay: 0.5s;
}

.data-flow .flow-line:nth-child(3) {
    top: 70%;
    width: 70%;
    animation-delay: 1s;
}

@keyframes dataFlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.email-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.5rem;
    color: var(--accent-color);
    font-size: 1rem;
    animation: emailPulse 3s ease-in-out infinite;
}

@keyframes emailPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hosting-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 1rem;
    animation: hostingRotate 4s ease-in-out infinite;
}

@keyframes hostingRotate {
    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(10deg);
    }
}

.server-indicators {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.indicator-dot.active {
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.server-label {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Floating Service Icons */

.floating-services {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.service-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: serviceFloat 6s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-icon:hover::before {
    opacity: 1;
}

.vps-icon {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    border-color: rgba(37, 99, 235, 0.3);
}

.vps-icon:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(37, 99, 235, 0.4);
}

.vps-icon::before {
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.2), transparent);
}

.email-icon {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
    border-color: rgba(245, 158, 11, 0.3);
}

.email-icon:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(245, 158, 11, 0.4);
}

.email-icon::before {
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.2), transparent);
}

.hosting-icon {
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
    border-color: rgba(16, 185, 129, 0.3);
}

.hosting-icon:hover {
    border-color: var(--success-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(16, 185, 129, 0.4);
}

.hosting-icon::before {
    background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.2), transparent);
}

.proxy-icon {
    bottom: 10%;
    right: 20%;
    animation-delay: 4.5s;
    border-color: rgba(245, 158, 11, 0.3);
}

.proxy-icon:hover {
    border-color: var(--warning-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(245, 158, 11, 0.4);
}

.proxy-icon::before {
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.2), transparent);
}

@keyframes serviceFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.service-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid currentColor;
    border-radius: 50%;
    opacity: 0;
    animation: servicePulse 2s ease-in-out infinite;
}

@keyframes servicePulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}


/* Data Flow Lines */

.data-flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.flow-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: flowLine 3s ease-in-out infinite;
}

.line-1 {
    top: 25%;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: 0;
    width: 80%;
    animation-delay: 1s;
}

.line-3 {
    top: 75%;
    left: 0;
    width: 60%;
    animation-delay: 2s;
}

.line-4 {
    top: 90%;
    left: 0;
    width: 40%;
    animation-delay: 3s;
}

@keyframes flowLine {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}


/* Network Nodes */

.network-nodes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: nodeFloat 5s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.node::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.node:hover {
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.node:hover::before {
    opacity: 1;
}

.node-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.node-2 {
    top: 60%;
    left: 5%;
    animation-delay: 1.5s;
}

.node-3 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes nodeFloat {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.node-pulse {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0;
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}


/* Performance Metrics */

.performance-metrics {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.metric-card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.metric-card:hover::before {
    left: 100%;
}

.metric-icon {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.125rem;
}

.metric-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rocket-container {
    position: relative;
    z-index: 3;
}

.rocket {
    width: 80px;
    height: 120px;
    position: relative;
    animation: rocketFloat 3s ease-in-out infinite;
}

.rocket-body {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    border-radius: 40px 40px 20px 20px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.rocket-body::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.rocket-flame {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid var(--accent-color);
    animation: flameFlicker 0.5s ease-in-out infinite alternate;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gear {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    animation: gearRotate 10s linear infinite;
}

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

.gear-2 {
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

.gear-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -6s;
}

.team-avatars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.avatar {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: avatarFloat 4s ease-in-out infinite;
}

.avatar-1 {
    top: 30%;
    right: 20%;
    animation-delay: 0s;
}

.avatar-2 {
    top: 50%;
    left: 10%;
    animation-delay: -1s;
}

.avatar-3 {
    bottom: 30%;
    right: 10%;
    animation-delay: -2s;
}

.paper-planes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.plane {
    position: absolute;
    font-size: 1.5rem;
    animation: planeFloat 6s ease-in-out infinite;
}

.plane-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.plane-2 {
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

.plane-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: -4s;
}


/* Services Section */

.services-section {
    position: relative;
    background: var(--bg-dark);
    color: var(--text-white);
}

.services-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231f2937' fill-opacity='1'%3E%3C/path%3E%3C/svg%3E") no-repeat center top;
    background-size: cover;
    transform: rotate(180deg);
}

.services-content {
    background: var(--bg-dark);
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.services-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231f2937' fill-opacity='1'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-white);
    font-size: 2rem;
    transition: var(--transition);
    position: relative;
}

.service-card .service-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon i {
    transform: translate(-50%, -50%) scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    color: var(--text-white);
}


/* Web Design Section */

.web-design-section {
    position: relative;
    background: var(--bg-primary);
    padding: 5rem 0;
    overflow: hidden;
}

.web-design-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.web-design-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

.web-design-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-mockup {
    position: relative;
    z-index: 2;
}

.screen {
    width: 300px;
    height: 200px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.screen-header {
    height: 30px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.screen-dots {
    display: flex;
    gap: 0.5rem;
}

.screen-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
}

.screen-dots span:first-child {
    background: var(--danger-color);
}

.screen-dots span:nth-child(2) {
    background: var(--warning-color);
}

.screen-dots span:last-child {
    background: var(--success-color);
}

.screen-content {
    padding: 1rem;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pie-chart,
.bar-chart,
.line-chart {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 4px;
    opacity: 0.7;
}

.bar-chart {
    background: var(--secondary-color);
    height: 20px;
}

.line-chart {
    background: var(--success-color);
    height: 15px;
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-item {
    height: 8px;
    background: var(--text-light);
    border-radius: 4px;
    opacity: 0.6;
}

.list-item:nth-child(2) {
    width: 80%;
}

.list-item:nth-child(3) {
    width: 60%;
}

.people-illustration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.person {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    animation: personFloat 3s ease-in-out infinite;
}

.person-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.person-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: -1.5s;
}

.web-design-content {
    padding-left: 2rem;
}

@media (max-width: 991px) {
    .web-design-content {
        padding-left: 0;
        margin-top: 3rem;
    }
}

.content-badge {
    margin-bottom: 1rem;
}

.badge-text {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.content-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.content-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features-list {
    margin-bottom: 2rem;
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
    font-size: 0.875rem;
}

.feature-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.content-actions {
    margin-top: 2rem;
}


/* Dark Mode for Hero Section */

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #2d3748 50%, #1f2937 100%);
}

body.dark-mode .hero-title .hero-main-title {
    color: #e2e8f0;
}

body.dark-mode .hero-title .hero-subtitle {
    color: #cbd5e1;
}

body.dark-mode .hero-description {
    color: #94a3b8;
}

body.dark-mode .hero-offer {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .hero-offer .offer-title {
    color: #e2e8f0;
}

body.dark-mode .hero-offer .offer-item {
    color: #cbd5e1;
}


/* Dark Mode for Services Section */

body.dark-mode .services-section {
    background: #1f2937;
}

body.dark-mode .services-content {
    background: #1f2937;
}

body.dark-mode .services-section .section-title {
    color: #e2e8f0;
}

body.dark-mode .services-section .section-subtitle {
    color: #cbd5e1;
}

body.dark-mode .service-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .service-title {
    color: #e2e8f0;
}

body.dark-mode .service-description {
    color: #cbd5e1;
}


/* Dark Mode for Web Design Section */

body.dark-mode .web-design-section {
    background: #1f2937;
}

body.dark-mode .web-design-gradient {
    background: linear-gradient(135deg, #1f2937 0%, #2d3748 50%, #374151 100%);
}

body.dark-mode .web-design-content .title-main {
    color: #e2e8f0;
}

body.dark-mode .web-design-content .title-sub {
    color: #cbd5e1;
}

body.dark-mode .content-description {
    color: #94a3b8;
}

body.dark-mode .feature-content h5 {
    color: #e2e8f0;
}

body.dark-mode .feature-content p {
    color: #cbd5e1;
}


/* Dark Mode for Fixed Header */

body.dark-mode .fixed-header-wrapper .navbar {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

body.dark-mode .fixed-header-wrapper .navbar-brand {
    color: #e2e8f0;
}

body.dark-mode .fixed-header-wrapper .navbar-brand .brand-text {
    color: #e2e8f0;
}

body.dark-mode .fixed-header-wrapper .nav-link {
    color: #cbd5e1;
}

body.dark-mode .fixed-header-wrapper .nav-link:hover {
    color: #8ba4ff;
}

body.dark-mode .fixed-header-wrapper .btn-outline-primary {
    color: #8ba4ff;
    border-color: #8ba4ff;
}

body.dark-mode .fixed-header-wrapper .btn-outline-primary:hover {
    background: #8ba4ff;
    color: #1e293b;
}

body.dark-mode .fixed-header-wrapper .btn-primary {
    background: #667eea;
    border-color: #667eea;
}

body.dark-mode .fixed-header-wrapper .btn-primary:hover {
    background: #5a67d8;
    border-color: #5a67d8;
}


/* Animations */

@keyframes rocketFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes flameFlicker {
    0% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes gearRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

@keyframes planeFloat {
    0%,
    100% {
        transform: translateX(0px) translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateX(10px) translateY(-5px) rotate(5deg);
    }
    50% {
        transform: translateX(0px) translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateX(-10px) translateY(-5px) rotate(-5deg);
    }
}

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

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

@keyframes databaseFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

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

@media (max-width: 900px) {
    /* .hero-section {
        padding: 200px 0 100px 0;
    } */
    .hero-illustration {
        margin-top: 100px !important;
    }
}

@media (max-width: 600px) {
    .services-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .service-card {
        padding: 1rem;
        margin-bottom: 0;
    }
    .service-card .service-icon {
        width: 60px;
        height: 60px;
    }
    .service-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .service-description {
        font-size: 0.85rem;
    }
}


/* Responsive Design */

@media (max-width: 768px) {
    /* Smart header responsive */
    .modern-header-wrapper {
        left: 2%;
        right: 2%;
        width: 96%;
    }
    .modern-header-wrapper.fixed {
        left: 50%;
        width: 96%;
        padding: 0;
    }
    body {
        padding-top: 0;
        /* No padding for smart header */
    }
    .hero-main-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .title-main {
        font-size: 2rem;
    }
    .title-sub {
        font-size: 1.25rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
    .web-design-content,
    .server-content {
        padding-left: 0;
        padding-right: 0;
        margin-top: 2rem;
    }
    .hero-illustration {
        height: 300px;
        margin-top: 2rem;
    }
    .web-design-illustration {
        height: 250px;
    }
    .web-design-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    .feature-item {
        margin-bottom: 1.25rem;
    }
    .feature-content h5 {
        font-size: 1rem;
    }
    .feature-content p {
        font-size: 0.9rem;
    }
    .services-content {
        padding: 3rem 0;
    }
    .web-design-section {
        padding: 3rem 0;
    }
    .service-slide {
        transform: translateX(20px);
    }
}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.125rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .title-main {
        font-size: 1.75rem;
    }
    .hero-offer {
        padding: 1.5rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .cta-title {
        font-size: 2rem;
    }
}


/* Dark Mode Support */

@media (prefers-color-scheme: dark) {
     :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --bg-primary: #111827;
        --bg-secondary: #1f2937;
    }
    .service-card {
        background: var(--bg-primary);
        border-color: rgba(255, 255, 255, 0.1);
    }
    .server-option {
        background: var(--bg-primary);
        border-color: rgba(255, 255, 255, 0.1);
    }
    .option-details {
        background: var(--bg-primary);
    }
}


/* Print Styles */

@media print {
    .hero-section {
        background: none !important;
        color: var(--text-primary) !important;
    }
    .hero-gradient {
        display: none;
    }
    .btn {
        border: 1px solid var(--text-primary) !important;
        background: none !important;
        color: var(--text-primary) !important;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Focus Styles */

.btn:focus,
.service-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


/* High Contrast Mode */

@media (prefers-contrast: high) {
     :root {
        --primary-color: #0000ff;
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --bg-secondary: #f0f0f0;
    }
}