/* ==========================================
   Tejweb Private Limited - Professional Styles
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #4d94ff;
    --secondary-color: #1a1a2e;
    --accent-color: #00d4aa;
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a7a;
    --text-light: #8a8aa3;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.08);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

.btn-nav-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

/* ==========================================
   Preloader
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loader span {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

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

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

.btn-block {
    width: 100%;
}

/* ==========================================
   Hero Section - Professional Design
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0d1f3c 100%);
}

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

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 212, 170, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 4s; background: rgba(0, 102, 255, 0.6); }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 6s; animation-duration: 18s; }
.particle:nth-child(5) { left: 50%; top: 80%; animation-delay: 8s; background: rgba(99, 102, 241, 0.6); }

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(30px); opacity: 0; }
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    color: var(--bg-white);
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 14px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero h1 .highlight {
    display: block;
    background: linear-gradient(135deg, #00d4aa 0%, #0066ff 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* Hero Features List */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature i {
    color: var(--accent-color);
    font-size: 16px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 35px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    padding: 16px 32px;
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.5);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Trust Section */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 0.6s ease 0.5s forwards;
    opacity: 0;
}

.trust-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.trust-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-color);
}

.trust-divider {
    color: rgba(255, 255, 255, 0.3);
}

.trust-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 212, 170, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Hero Visual - Server Rack */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.server-rack {
    position: relative;
    width: 320px;
}

.rack-frame {
    background: linear-gradient(180deg, #1e2a3a 0%, #0f1620 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rack-lights {
    display: flex;
    gap: 8px;
}

.rack-lights .light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.rack-lights .light.green {
    background: #00d4aa;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.8);
    animation: blink 2s infinite;
}

.rack-lights .light.blue {
    background: #0066ff;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
    animation: blink 3s infinite 0.5s;
}

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

.rack-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Server Units */
.server-unit {
    margin-bottom: 12px;
}

.server-unit:last-child {
    margin-bottom: 0;
}

.server-front {
    background: linear-gradient(180deg, #2a3545 0%, #1a2535 100%);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.server-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.server-lights {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.server-lights .led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
}

.server-lights .led.active {
    background: #00d4aa;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
    animation: led-pulse 1.5s infinite;
}

@keyframes led-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.server-vents {
    flex: 1;
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        #1a2535,
        #1a2535 3px,
        #0f1620 3px,
        #0f1620 6px
    );
    border-radius: 4px;
}

.server-drives {
    display: flex;
    gap: 6px;
}

.server-drives .drive {
    width: 20px;
    height: 30px;
    background: #1a2535;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.server-drives .drive.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #0066ff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 102, 255, 0.8);
    animation: drive-activity 0.5s infinite;
}

@keyframes drive-activity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Server Glow Effect */
.server-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.lines-svg {
    width: 100%;
    height: 100%;
}

.line {
    fill: none;
    stroke: rgba(0, 212, 170, 0.3);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    animation: dash 20s linear infinite;
}

.line-2 {
    stroke: rgba(0, 102, 255, 0.3);
    animation-delay: -5s;
}

.line-3 {
    stroke: rgba(99, 102, 241, 0.3);
    animation-delay: -10s;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

/* Floating Info Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.float-card i {
    font-size: 20px;
    color: var(--accent-color);
}

.float-card .card-content {
    display: flex;
    flex-direction: column;
}

.float-card .card-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.float-card .card-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-uptime {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.card-security {
    top: 45%;
    right: -40px;
    animation-delay: 2s;
}

.card-security i {
    color: #0066ff;
}

.card-speed {
    bottom: 10%;
    left: -20px;
    animation-delay: 4s;
}

.card-speed i {
    color: #f59e0b;
}

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

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .server-rack {
        width: 280px;
    }

    .float-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 10px;
    }

    .server-rack {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-badge span {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .server-rack {
        width: 220px;
    }

    .rack-frame {
        padding: 15px;
    }

    .server-front {
        padding: 10px;
    }
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

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

/* ==========================================
   Services Section
   ========================================== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #f0f4ff 0%, #e8f0fe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 212, 170, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.25);
}

.service-card:hover .service-icon::before {
    opacity: 0;
}

.service-icon i {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    -webkit-text-fill-color: #fff;
    background: none;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    background: var(--bg-white);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.features-text > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.features-list i {
    color: var(--accent-color);
    font-size: 20px;
}

.features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-illustration {
    position: relative;
    width: 280px;
    height: 280px;
    background: var(--gradient-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-illustration i {
    font-size: 100px;
    color: var(--bg-white);
    opacity: 0.9;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
}

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

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

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 20px;
    border-radius: var(--border-radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

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

.pricing-features {
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

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

.pricing-features i {
    color: var(--accent-color);
    font-size: 14px;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================
   Customers Section
   ========================================== */
.customers {
    background: var(--bg-white);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
}

.customer-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.customer-card:hover {
    background: var(--bg-white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.customer-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.customer-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

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

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #f59e0b;
    font-size: 16px;
    margin-right: 3px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: #fff;
    font-size: 20px;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================
   Stats Banner Section
   ========================================== */
.stats-banner {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0d1f3c 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4aa 0%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-item .stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-item .stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text > p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.company-details {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-item {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.detail-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item .value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.about-card {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-card img {
    max-width: 180px;
    margin-bottom: 25px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-card p {
    color: var(--text-secondary);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: var(--bg-white);
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-text a {
    color: var(--primary-color);
}

.info-text a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 45px;
    border-radius: var(--border-radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group {
    position: relative;
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

/* Validation States */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 45px;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #e74c3c;
    background-color: #fef2f2;
}

.form-group textarea.valid {
    background-position: right 14px top 14px;
}

.error-message {
    display: block;
    font-size: 0.75rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 0;
    line-height: 1.3;
}

.error-message:empty {
    display: none;
}

.char-counter {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 4px;
}

.char-counter.warning {
    color: #f59e0b;
    font-weight: 600;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Message */
.form-message {
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    position: relative;
}

.form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-message i {
    font-size: 1.2rem;
}

.form-message .close-message {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 5px;
    transition: opacity 0.2s ease;
}

.form-message .close-message:hover {
    opacity: 1;
}

.form-message.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit Button */
.contact-form .btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
}

.contact-form .btn-block:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 70px;
    margin-bottom: 20px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

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

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

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .features-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .features-image {
        order: -1;
    }

    .server-illustration {
        width: 220px;
        height: 220px;
    }

    .server-illustration i {
        font-size: 70px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--bg-white);
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .company-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 70px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .customers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll animations */
.service-card,
.pricing-card,
.customer-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.pricing-card.visible,
.customer-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.5);
}

/* ==========================================
   WhatsApp Float Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
    z-index: 999;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   Focus States for Accessibility
   ========================================== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================
   Additional Responsive Styles
   ========================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .btn-nav-cta {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-item .stat-number {
        font-size: 2.25rem;
    }

    .stat-item .stat-suffix {
        font-size: 1.5rem;
    }

    .back-to-top {
        right: 20px;
        bottom: 90px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float {
        right: 20px;
        bottom: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: 1.75rem;
    }

    .stat-item .stat-suffix {
        font-size: 1.25rem;
    }

    .stat-item .stat-label {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 25px;
    }
}
