/* ==========================================
   VibrantMinds - Complete Styles (No Tailwind Dependency)
   ========================================== */

/* ========== CSS Variables ========== */
:root {
    --vibrant-blue: #3B82F6;
    --vibrant-blue-light: #60a5fa;
    --vibrant-blue-dark: #2563eb;
    --cyber-purple: #8B5CF6;
    --cyber-purple-light: #a78bfa;
    --cyber-purple-dark: #7c3aed;
    --bg-dark: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-gray-light: #d1d5db;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========== Utility Classes ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.hidden {
    display: none !important;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-white {
    color: var(--text-white);
}

.text-gray {
    color: var(--text-gray);
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-50 {
    z-index: 50;
}

.overflow-hidden {
    overflow: hidden;
}

.pointer-events-none {
    pointer-events: none;
}

.transition-all {
    transition: all 0.3s ease;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-grow {
    flex-grow: 1;
}

/* ========== Gradient Text ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--vibrant-blue) 0%, var(--cyber-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Glassmorphic Navbar ========== */
#navbar,
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    transform: translateZ(0);
    /* Force GPU layer */
    will-change: transform;
}

.navbar-scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: white;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.1);
}

.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--vibrant-blue-light), var(--cyber-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    font-size: 0.9375rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--vibrant-blue), var(--cyber-purple));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-btn-outline {
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn-outline:hover {
    color: var(--text-white);
    border-color: var(--vibrant-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.nav-btn-gradient {
    color: white;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-btn-gradient:hover {
    box-shadow: 0 4px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* ========== Mobile Menu Button (Hamburger) ========== */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.25));
    border-color: var(--vibrant-blue);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

/* Hamburger Icon Lines */
.hamburger-icon {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--vibrant-blue-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger to X Animation */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--vibrant-blue);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--vibrant-blue);
}

/* ========== Mobile Menu Panel ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu.active {
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop */
.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu-backdrop {
    opacity: 1;
}

/* Slide-in Panel */
.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-left: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-menu-panel {
    transform: translateX(0);
}

/* Panel Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

/* Close Button */
.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

/* Panel Content */
.mobile-menu-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Navigation Links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray-light);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-nav-link svg {
    width: 20px;
    height: 20px;
    color: var(--vibrant-blue);
    flex-shrink: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--text-white);
    transform: translateX(4px);
}

.mobile-nav-link:hover svg {
    color: var(--vibrant-blue-light);
}

/* Divider */
.mobile-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 1.5rem 0;
}

/* Portal Buttons */
.mobile-portal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-portal-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-portal-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    flex-shrink: 0;
}

.mobile-portal-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-portal-btn-primary {
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.mobile-portal-btn-primary svg {
    color: white;
}

.mobile-portal-btn-primary:hover {
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* Panel Footer */
.mobile-menu-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.mobile-menu-footer p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Show hamburger on mobile */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .nav-buttons {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-blue {
    background: var(--vibrant-blue);
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
}

.orb-purple {
    background: var(--cyber-purple);
    width: 350px;
    height: 350px;
    top: 30%;
    right: -150px;
}

.orb-small {
    background: var(--vibrant-blue);
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 20%;
    opacity: 0.2;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        padding: 5rem 2rem;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vibrant-blue);
    animation: pulse 2s infinite;
}

.hero-badge-text {
    font-size: 0.875rem;
    color: var(--vibrant-blue-light);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    color: var(--text-white);
    border-color: var(--vibrant-blue);
}

/* ========== Stats Grid ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-gray);
}

/* ========== Hero Illustration ========== */
.hero-illustration {
    display: none;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 1024px) {
    .hero-illustration {
        display: block;
    }
}

.hero-illustration svg {
    width: 100%;
    max-width: 550px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration-1 {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-decoration-2 {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    animation: float 5s ease-in-out infinite 1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.scroll-indicator a:hover {
    color: var(--text-white);
}

/* ========== Section Styles ========== */
.section {
    position: relative;
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-badge-blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--vibrant-blue-light);
}

.section-badge-purple {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--cyber-purple-light);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Glass Card ========== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
}

/* ========== Bento Grid ========== */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-wide {
        grid-column: span 2;
    }
}

.service-card {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.glass-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg,
.service-icon i {
    width: 28px;
    height: 28px;
    color: var(--vibrant-blue-light);
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.service-description {
    color: var(--text-gray);
    line-height: 1.6;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
}

.service-tag-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--vibrant-blue-light);
}

.service-tag-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--cyber-purple-light);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vibrant-blue-light);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    color: var(--vibrant-blue);
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Wide Card Layout */
.service-card-wide {
    padding: 2rem;
}

@media (min-width: 768px) {
    .service-card-wide {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .service-card-wide .service-icon {
        margin-bottom: 0;
    }

    .service-card-wide .service-content {
        flex-grow: 1;
    }

    .service-card-wide .service-btn {
        flex-shrink: 0;
    }
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .service-btn {
        margin-top: 0;
    }
}

.service-btn:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

/* ========== Vision & Mission ========== */
.about-section {
    background: linear-gradient(to bottom, var(--bg-dark), rgba(59, 130, 246, 0.03), var(--bg-dark));
}

.about-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-card {
    padding: 2rem;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 24px;
    pointer-events: none;
}

.about-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-icon-vision {
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
}

.about-icon-mission {
    background: linear-gradient(135deg, var(--cyber-purple), var(--vibrant-blue));
}

.about-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.about-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-title-underline {
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--vibrant-blue), var(--cyber-purple));
}

.about-text {
    color: var(--text-gray-light);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon-blue {
    background: rgba(59, 130, 246, 0.1);
}

.feature-icon-purple {
    background: rgba(139, 92, 246, 0.1);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon-blue svg {
    color: var(--vibrant-blue-light);
}

.feature-icon-purple svg {
    color: var(--cyber-purple-light);
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* ========== Partners Slider ========== */
.partners-section {
    padding: 4rem 0;
    overflow: hidden;
}

.partners-track-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.partners-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    margin: 0 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.partner-logo span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-gray);
}

.partners-gradient-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, var(--bg-dark), transparent);
    pointer-events: none;
    z-index: 10;
}

.partners-gradient-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, var(--bg-dark), transparent);
    pointer-events: none;
    z-index: 10;
}

/* ========== Testimonials ========== */
.testimonials-section {
    padding: 6rem 0;
}

.testimonial-container {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 33.333%;
    }
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: #facc15;
    fill: #facc15;
}

.testimonial-text {
    color: var(--text-gray-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    width: 30px;
    border-radius: 5px;
}

/* ========== FAQ Section ========== */
.faq-section {
    padding: 6rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.05);
}

.faq-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
    color: var(--text-white);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon svg {
    width: 20px;
    height: 20px;
    color: var(--vibrant-blue-light);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 6rem 1rem;
}

.cta-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-card {
        padding: 5rem 4rem;
    }
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    color: var(--text-gray-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* ========== Footer ========== */
.footer {
    position: relative;
    background: #0c1322;
    border-top: 1px solid var(--border-color);
}

.footer-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.footer-orb-1 {
    background: var(--vibrant-blue);
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: 20%;
    opacity: 0.05;
}

.footer-orb-2 {
    background: var(--cyber-purple);
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: 20%;
    opacity: 0.05;
}

.footer-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 4rem 2rem;
    }
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--vibrant-blue-light), var(--cyber-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-social-link:hover svg {
    color: var(--vibrant-blue-light);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--vibrant-blue-light);
}

.footer-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.footer-link:hover svg {
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon-blue {
    background: rgba(59, 130, 246, 0.1);
}

.footer-contact-icon-purple {
    background: rgba(139, 92, 246, 0.1);
}

.footer-contact-icon svg {
    width: 20px;
    height: 20px;
}

.footer-contact-icon-blue svg {
    color: var(--vibrant-blue-light);
}

.footer-contact-icon-purple svg {
    color: var(--cyber-purple-light);
}

.footer-contact-text {
    color: var(--text-gray);
}

.footer-contact-text a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: var(--vibrant-blue-light);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-gray);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    100% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--vibrant-blue-dark), var(--cyber-purple-dark));
}

::selection {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

/* ==========================================
   ANIMATED TECH BACKGROUND ELEMENTS
   ========================================== */

/* ========== Animated Particles Container ========== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ========== Floating Particles ========== */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--vibrant-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 15s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 4.5s;
    animation-duration: 12s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 1.5s;
    animation-duration: 14s;
}

.particle:nth-child(10) {
    left: 15%;
    animation-delay: 3.5s;
    animation-duration: 10s;
}

.particle:nth-child(11) {
    left: 25%;
    animation-delay: 0.5s;
    animation-duration: 16s;
}

.particle:nth-child(12) {
    left: 35%;
    animation-delay: 2.2s;
    animation-duration: 11s;
}

.particle:nth-child(13) {
    left: 45%;
    animation-delay: 4.2s;
    animation-duration: 13s;
}

.particle:nth-child(14) {
    left: 55%;
    animation-delay: 1.2s;
    animation-duration: 15s;
}

.particle:nth-child(15) {
    left: 65%;
    animation-delay: 3.2s;
    animation-duration: 12s;
}

.particle:nth-child(16) {
    left: 75%;
    animation-delay: 5.2s;
    animation-duration: 14s;
}

.particle:nth-child(17) {
    left: 85%;
    animation-delay: 2.7s;
    animation-duration: 10s;
}

.particle:nth-child(18) {
    left: 95%;
    animation-delay: 4.7s;
    animation-duration: 16s;
}

.particle:nth-child(19) {
    left: 5%;
    animation-delay: 1.7s;
    animation-duration: 11s;
}

.particle:nth-child(20) {
    left: 12%;
    animation-delay: 3.7s;
    animation-duration: 13s;
}

.particle:nth-child(odd) {
    background: var(--cyber-purple);
    width: 3px;
    height: 3px;
}

.particle:nth-child(3n) {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 10px var(--vibrant-blue);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========== Circuit Lines ========== */
.circuit-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.15;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--vibrant-blue), transparent);
    height: 1px;
    animation: circuitPulse 4s infinite;
}

.circuit-line-v {
    width: 1px;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--cyber-purple), transparent);
    animation: circuitPulseV 5s infinite;
}

.circuit-line:nth-child(1) {
    top: 15%;
    left: 0;
    width: 30%;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    top: 35%;
    right: 0;
    width: 25%;
    animation-delay: 1s;
}

.circuit-line:nth-child(3) {
    top: 55%;
    left: 10%;
    width: 40%;
    animation-delay: 2s;
}

.circuit-line:nth-child(4) {
    top: 75%;
    right: 5%;
    width: 35%;
    animation-delay: 1.5s;
}

.circuit-line:nth-child(5) {
    top: 85%;
    left: 0;
    width: 20%;
    animation-delay: 0.5s;
}

.circuit-line-v:nth-child(6) {
    left: 10%;
    top: 0;
    animation-delay: 0.3s;
}

.circuit-line-v:nth-child(7) {
    left: 25%;
    top: 20%;
    animation-delay: 1.3s;
}

.circuit-line-v:nth-child(8) {
    right: 15%;
    top: 10%;
    animation-delay: 0.8s;
}

.circuit-line-v:nth-child(9) {
    right: 30%;
    top: 40%;
    animation-delay: 2.3s;
}

@keyframes circuitPulse {

    0%,
    100% {
        opacity: 0.1;
        transform: scaleX(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes circuitPulseV {

    0%,
    100% {
        opacity: 0.1;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ========== Circuit Nodes ========== */
.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--vibrant-blue);
    border-radius: 50%;
    animation: nodePulse 2s infinite;
    box-shadow: 0 0 15px var(--vibrant-blue), 0 0 30px var(--vibrant-blue);
}

.circuit-node:nth-child(1) {
    top: 15%;
    left: 30%;
    animation-delay: 0s;
}

.circuit-node:nth-child(2) {
    top: 35%;
    right: 25%;
    animation-delay: 0.5s;
    background: var(--cyber-purple);
    box-shadow: 0 0 15px var(--cyber-purple);
}

.circuit-node:nth-child(3) {
    top: 55%;
    left: 50%;
    animation-delay: 1s;
}

.circuit-node:nth-child(4) {
    top: 75%;
    right: 40%;
    animation-delay: 1.5s;
    background: var(--cyber-purple);
    box-shadow: 0 0 15px var(--cyber-purple);
}

.circuit-node:nth-child(5) {
    top: 25%;
    left: 10%;
    animation-delay: 0.3s;
}

.circuit-node:nth-child(6) {
    top: 65%;
    right: 15%;
    animation-delay: 0.8s;
    background: var(--cyber-purple);
    box-shadow: 0 0 15px var(--cyber-purple);
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* ========== Floating Tech Shapes ========== */
.tech-shapes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.tech-hexagon {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexagonFloat 20s infinite linear;
    opacity: 0.3;
}

.tech-hexagon::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.tech-hexagon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-duration: 25s;
    width: 80px;
    height: 80px;
}

.tech-hexagon:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.tech-hexagon:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-duration: 22s;
    width: 50px;
    height: 50px;
}

.tech-hexagon:nth-child(4) {
    top: 80%;
    right: 20%;
    animation-duration: 28s;
    animation-direction: reverse;
}

.tech-hexagon:nth-child(5) {
    top: 45%;
    left: 80%;
    animation-duration: 35s;
    width: 70px;
    height: 70px;
}

@keyframes hexagonFloat {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    25% {
        transform: rotate(90deg) translateY(-20px);
    }

    50% {
        transform: rotate(180deg) translateY(0);
    }

    75% {
        transform: rotate(270deg) translateY(20px);
    }

    100% {
        transform: rotate(360deg) translateY(0);
    }
}

/* ========== Data Flow Lines ========== */
.data-flow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.data-flow {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vibrant-blue), var(--cyber-purple), transparent);
    animation: dataFlow 3s infinite linear;
    opacity: 0.6;
}

.data-flow:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.data-flow:nth-child(2) {
    top: 40%;
    animation-delay: 0.8s;
}

.data-flow:nth-child(3) {
    top: 60%;
    animation-delay: 1.6s;
}

.data-flow:nth-child(4) {
    top: 80%;
    animation-delay: 2.4s;
}

.data-flow:nth-child(5) {
    top: 30%;
    animation-delay: 0.4s;
    animation-direction: reverse;
}

.data-flow:nth-child(6) {
    top: 50%;
    animation-delay: 1.2s;
    animation-direction: reverse;
}

.data-flow:nth-child(7) {
    top: 70%;
    animation-delay: 2s;
    animation-direction: reverse;
}

@keyframes dataFlow {
    0% {
        left: -100px;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* ========== Glowing Orbs Enhanced ========== */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbPulse 8s infinite ease-in-out;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--vibrant-blue) 0%, transparent 70%);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--cyber-purple) 0%, transparent 70%);
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.glow-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--vibrant-blue-light) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

.glow-orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--cyber-purple-light) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

/* ========== Binary Rain Effect ========== */
.binary-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.05;
}

.binary-column {
    position: absolute;
    top: -100%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--vibrant-blue);
    text-shadow: 0 0 10px var(--vibrant-blue);
    white-space: nowrap;
    animation: binaryFall 20s linear infinite;
}

.binary-column:nth-child(1) {
    left: 5%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.binary-column:nth-child(2) {
    left: 15%;
    animation-duration: 18s;
    animation-delay: 2s;
    color: var(--cyber-purple);
}

.binary-column:nth-child(3) {
    left: 25%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.binary-column:nth-child(4) {
    left: 35%;
    animation-duration: 20s;
    animation-delay: 1s;
    color: var(--cyber-purple);
}

.binary-column:nth-child(5) {
    left: 45%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.binary-column:nth-child(6) {
    left: 55%;
    animation-duration: 14s;
    animation-delay: 5s;
    color: var(--cyber-purple);
}

.binary-column:nth-child(7) {
    left: 65%;
    animation-duration: 22s;
    animation-delay: 2.5s;
}

.binary-column:nth-child(8) {
    left: 75%;
    animation-duration: 17s;
    animation-delay: 4.5s;
    color: var(--cyber-purple);
}

.binary-column:nth-child(9) {
    left: 85%;
    animation-duration: 19s;
    animation-delay: 1.5s;
}

.binary-column:nth-child(10) {
    left: 95%;
    animation-duration: 13s;
    animation-delay: 3.5s;
    color: var(--cyber-purple);
}

@keyframes binaryFall {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* ========== Floating Code Brackets ========== */
.code-bracket {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: rgba(59, 130, 246, 0.2);
    animation: bracketFloat 15s infinite ease-in-out;
}

.code-bracket:nth-child(1) {
    top: 15%;
    left: 8%;
    content: '</>';
    animation-delay: 0s;
}

.code-bracket:nth-child(2) {
    top: 45%;
    right: 12%;
    animation-delay: 3s;
    color: rgba(139, 92, 246, 0.2);
}

.code-bracket:nth-child(3) {
    top: 70%;
    left: 20%;
    animation-delay: 6s;
    font-size: 1.5rem;
}

.code-bracket:nth-child(4) {
    top: 25%;
    right: 25%;
    animation-delay: 9s;
    color: rgba(139, 92, 246, 0.2);
}

.code-bracket:nth-child(5) {
    top: 85%;
    left: 60%;
    animation-delay: 12s;
    font-size: 2.5rem;
}

@keyframes bracketFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }

    25% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-15px) rotate(-5deg);
        opacity: 0.3;
    }

    75% {
        transform: translateY(-40px) rotate(3deg);
        opacity: 0.4;
    }
}

/* ========== Grid Overlay ========== */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

/* ========== Scanning Line Effect ========== */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vibrant-blue), var(--cyber-purple), transparent);
    animation: scanMove 8s linear infinite;
    opacity: 0.3;
}

@keyframes scanMove {
    0% {
        top: -2px;
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ========== DNA Helix Effect ========== */
.dna-container {
    position: absolute;
    right: 5%;
    top: 20%;
    width: 100px;
    height: 400px;
    opacity: 0.15;
    pointer-events: none;
}

.dna-strand {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dna-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--vibrant-blue);
    border-radius: 50%;
    animation: dnaRotate 4s ease-in-out infinite;
}

.dna-node:nth-child(odd) {
    background: var(--cyber-purple);
    animation-direction: reverse;
}

.dna-node:nth-child(1) {
    top: 0%;
    animation-delay: 0s;
}

.dna-node:nth-child(2) {
    top: 10%;
    animation-delay: 0.2s;
}

.dna-node:nth-child(3) {
    top: 20%;
    animation-delay: 0.4s;
}

.dna-node:nth-child(4) {
    top: 30%;
    animation-delay: 0.6s;
}

.dna-node:nth-child(5) {
    top: 40%;
    animation-delay: 0.8s;
}

.dna-node:nth-child(6) {
    top: 50%;
    animation-delay: 1s;
}

.dna-node:nth-child(7) {
    top: 60%;
    animation-delay: 1.2s;
}

.dna-node:nth-child(8) {
    top: 70%;
    animation-delay: 1.4s;
}

.dna-node:nth-child(9) {
    top: 80%;
    animation-delay: 1.6s;
}

.dna-node:nth-child(10) {
    top: 90%;
    animation-delay: 1.8s;
}

@keyframes dnaRotate {

    0%,
    100% {
        left: 0;
        transform: scale(1);
    }

    50% {
        left: 90px;
        transform: scale(0.6);
    }
}

/* ========== Pulse Rings ========== */
.pulse-ring-container {
    position: absolute;
    pointer-events: none;
}

.pulse-ring {
    position: absolute;
    border: 2px solid var(--vibrant-blue);
    border-radius: 50%;
    animation: ringPulse 4s ease-out infinite;
    opacity: 0;
}

.pulse-ring:nth-child(1) {
    width: 50px;
    height: 50px;
    animation-delay: 0s;
}

.pulse-ring:nth-child(2) {
    width: 50px;
    height: 50px;
    animation-delay: 1s;
    border-color: var(--cyber-purple);
}

.pulse-ring:nth-child(3) {
    width: 50px;
    height: 50px;
    animation-delay: 2s;
}

.pulse-ring:nth-child(4) {
    width: 50px;
    height: 50px;
    animation-delay: 3s;
    border-color: var(--cyber-purple);
}

@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========== Enhanced Hero Section ========== */
.hero-section .tech-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ========== Mouse Cursor Glow Effect ========== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(59, 130, 246, 0.25) 0%,
            rgba(139, 92, 246, 0.15) 30%,
            rgba(59, 130, 246, 0.05) 60%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.3s ease;
    opacity: 0;
    filter: blur(2px);
    mix-blend-mode: screen;
}

body:hover .cursor-glow {
    opacity: 1;
    animation: cursorGlowPulse 3s ease-in-out infinite;
}

@keyframes cursorGlowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: blur(2px) hue-rotate(0deg);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        filter: blur(3px) hue-rotate(20deg);
    }
}

/* ========== Typing Cursor Effect ========== */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--vibrant-blue);
    margin-left: 5px;
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ========== Shimmer Effect on Cards ========== */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    z-index: 1;
}

.glass-card:hover::before {
    left: 150%;
}

/* ========== Enhanced Button Glow ========== */
.btn-gradient::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple), var(--vibrant-blue));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s ease;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.btn-gradient:hover::after {
    opacity: 0.6;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ========== Section Divider ========== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vibrant-blue), var(--cyber-purple), transparent);
    margin: 4rem 0;
    position: relative;
    overflow: visible;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
    border-radius: 50%;
    box-shadow: 0 0 20px var(--vibrant-blue);
}

/* ========== Responsive Adjustments for Effects ========== */
@media (max-width: 768px) {

    .dna-container,
    .binary-container,
    .code-bracket {
        display: none;
    }

    .tech-hexagon {
        width: 40px;
        height: 40px;
    }

    .data-flow {
        width: 60px;
    }

    .circuit-container {
        opacity: 0.08;
    }

    .glow-orb {
        filter: blur(80px);
    }

    .glow-orb-1,
    .glow-orb-2,
    .glow-orb-3,
    .glow-orb-4 {
        width: 150px;
        height: 150px;
    }
}

/* ========== Performance Optimization ========== */
@media (prefers-reduced-motion: reduce) {

    .particle,
    .circuit-line,
    .circuit-node,
    .tech-hexagon,
    .data-flow,
    .glow-orb,
    .binary-column,
    .code-bracket,
    .scan-line,
    .dna-node,
    .pulse-ring {
        animation: none;
    }

    .grid-overlay {
        animation: none;
    }
}

/* ==========================================
   MOBILE-FIRST OPTIMIZATIONS
   For 90% of users - Students on Mobile
   ========================================== */

/* ========== Mobile Navbar Fix ========== */
@media (max-width: 768px) {
    #navbar {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-container {
        height: 70px;
        padding: 0 1rem;
    }

    .nav-logo-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        border-radius: 14px;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }

    #mobile-menu-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 12px;
    }

    #mobile-menu-btn svg {
        width: 24px;
        height: 24px;
        color: var(--vibrant-blue-light);
    }

    /* Enhanced Mobile Menu */
    #mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 1) 100%);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid rgba(59, 130, 246, 0.2);
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    #mobile-menu:not(.hidden) {
        display: block !important;
        transform: translateX(0);
        opacity: 1;
    }

    .mobile-menu-content {
        padding: 1.5rem;
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.25rem;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-white);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        background: rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateX(5px);
    }

    .mobile-menu-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-buttons a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        color: var(--text-white);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .mobile-menu-buttons a:last-child {
        background: linear-gradient(135deg, var(--vibrant-blue), var(--cyber-purple));
        border: none;
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    }
}

/* ========== Mobile Hero Section ========== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        /* Dynamic viewport height for mobile browsers */
        padding-top: 70px;
        padding-bottom: 2rem;
    }

    .hero-container {
        padding: 2rem 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 70px);
    }

    .hero-badge {
        padding: 0.6rem 1.2rem;
        border-radius: 50px;
        margin-bottom: 1.5rem;
        display: inline-flex;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
        border: 1px solid rgba(59, 130, 246, 0.3);
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
    }

    .hero-badge-dot {
        width: 10px;
        height: 10px;
        box-shadow: 0 0 10px var(--vibrant-blue);
    }

    .hero-badge-text {
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 1.25rem;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
        color: var(--text-gray-light);
        margin-bottom: 2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }

    .btn-gradient,
    .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
        border-radius: 14px;
    }

    .btn-gradient {
        box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    }

    .btn-outline {
        background: rgba(255, 255, 255, 0.03);
    }

    /* Stats Grid - Mobile */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .stat-value {
        font-size: 1.75rem;
        font-weight: 800;
    }

    .stat-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Hide hero illustration and scroll indicator on mobile */
    .hero-illustration,
    .scroll-indicator {
        display: none;
    }
}

/* ========== Mobile Sections ========== */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .section-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* Bento Grid - Mobile Optimized */
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 0.25rem;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .glass-card {
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }

    .service-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-tags {
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .service-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .service-link {
        padding-top: 0.5rem;
        font-size: 0.95rem;
    }

    .service-card-wide {
        flex-direction: column;
        text-align: center;
    }

    .service-card-wide .service-icon {
        margin: 0 auto 1rem;
    }

    .service-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* ========== Mobile About Section ========== */
@media (max-width: 768px) {
    .about-grid {
        gap: 1rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .about-icon {
        width: 56px;
        height: 56px;
    }

    .about-title {
        font-size: 1.25rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-text {
        font-size: 0.8rem;
    }
}

/* ========== Mobile Partners Section ========== */
@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }

    .partner-logo {
        padding: 0.75rem 1.5rem;
        margin: 0 0.5rem;
    }

    .partner-logo span {
        font-size: 0.9rem;
    }
}

/* ========== Mobile Testimonials ========== */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }

    .testimonial-slide {
        flex: 0 0 100%;
    }

    .testimonial-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-avatar {
        width: 44px;
        height: 44px;
    }

    .testimonial-name {
        font-size: 0.95rem;
    }

    .carousel-dots {
        margin-top: 1.5rem;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }
}

/* ========== Mobile FAQ ========== */
@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }

    .faq-list {
        gap: 0.75rem;
    }

    .faq-item {
        border-radius: 14px;
    }

    .faq-header {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ========== Mobile CTA Section ========== */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 1rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-buttons .btn-gradient,
    .cta-btn-outline {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}

/* ========== Mobile Footer ========== */
@media (max-width: 768px) {
    .footer-container {
        padding: 3rem 1.25rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-description {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-contact-item {
        margin-bottom: 0.75rem;
    }

    .footer-bottom {
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* ========== Mobile Touch Optimizations ========== */
@media (max-width: 768px) {

    /* Larger touch targets */
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Disable hover effects on touch */
    .glass-card:hover {
        transform: none;
    }

    /* Active states instead of hover */
    .glass-card:active {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(59, 130, 246, 0.3);
        transform: scale(0.98);
    }

    .btn-gradient:active {
        transform: scale(0.95);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }

    .btn-outline:active {
        background: rgba(59, 130, 246, 0.1);
    }

    .mobile-menu-link:active {
        background: rgba(59, 130, 246, 0.15);
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent zoom on input focus */
    input,
    select,
    textarea {
        font-size: 16px;
    }
}

/* ========== Mobile Animation Optimizations ========== */
/* Professional animations for mobile - matching desktop quality */
@media (max-width: 768px) {

    /* ===== Floating Particles - Show 10 with animation ===== */
    .particles-container {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
    }

    .particle {
        display: block !important;
        width: 4px;
        height: 4px;
        opacity: 0.5;
        animation: particleFloat 12s infinite ease-in-out;
    }

    /* Show first 12 particles on mobile */
    .particle:nth-child(n+13) {
        display: none !important;
    }

    /* ===== Glowing Orbs - With pulsing animation ===== */
    .glow-orb {
        display: block !important;
        position: fixed;
        z-index: 0;
        opacity: 0.35;
        filter: blur(70px);
        pointer-events: none;
        animation: orbPulse 10s infinite ease-in-out;
    }

    .glow-orb-1 {
        top: 5%;
        left: -20%;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, var(--vibrant-blue) 0%, transparent 70%);
    }

    .glow-orb-2 {
        bottom: 30%;
        right: -20%;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, var(--cyber-purple) 0%, transparent 70%);
        animation-delay: -5s;
    }

    .glow-orb-3 {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 300px;
        opacity: 0.15;
        background: radial-gradient(circle, var(--vibrant-blue) 0%, transparent 70%);
        animation-delay: -3s;
    }

    .glow-orb-4 {
        display: none;
    }

    /* ===== Data Flow Lines - HIDDEN on mobile ===== */
    .data-flow-container,
    .data-flow {
        display: none !important;
    }

    /* ===== Grid Overlay - Subtle tech pattern ===== */
    .grid-overlay {
        display: block !important;
        opacity: 0.15;
        z-index: 0;
        pointer-events: none;
        animation: gridMove 30s linear infinite;
    }

    /* ===== Binary Rain - Show 4 columns ===== */
    .binary-container {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
    }

    .binary-column {
        display: block !important;
        opacity: 0.08;
        font-size: 0.6rem;
    }

    /* Show only 4 binary columns */
    .binary-column:nth-child(n+5) {
        display: none !important;
    }

    /* ===== Hide complex performance-heavy elements ===== */
    .circuit-container,
    .tech-shapes-container,
    .dna-container,
    .scan-line,
    .cursor-glow,
    .code-bracket {
        display: none !important;
    }
}

/* ========== Extra Small Mobile (< 375px) ========== */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

/* ========== Landscape Mobile ========== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 5rem 0 3rem;
    }

    .hero-container {
        min-height: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========== Mobile Safe Area (Notch/Home Indicator) ========== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    #mobile-menu {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ========== PWA Splash Feel ========== */
@media (max-width: 768px) {
    .hero-content {
        animation: mobileSlideIn 0.6s ease-out;
    }

    @keyframes mobileSlideIn {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .stat-card {
        opacity: 0;
        animation: cardPopIn 0.5s ease-out forwards;
    }

    .stat-card:nth-child(1) {
        animation-delay: 0.3s;
    }

    .stat-card:nth-child(2) {
        animation-delay: 0.4s;
    }

    .stat-card:nth-child(3) {
        animation-delay: 0.5s;
    }

    .stat-card:nth-child(4) {
        animation-delay: 0.6s;
    }

    @keyframes cardPopIn {
        from {
            opacity: 0;
            transform: scale(0.8);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }
}