/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary: #00f0ff;
    --primary-dark: #00b8cc;
    --secondary: #5200ff;
    --accent: #ff00e5;
    --accent-2: #00ff88;

    /* Background */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1419;
    --bg-card: rgba(15, 20, 30, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(0, 240, 255, 0.3);

    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Sora', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.3);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== PREMIUM SVG STYLES ===== */
.premium-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.1));
}

@keyframes svg-pulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.premium-svg [fill="var(--primary)"] {
    animation: svg-pulse 4s ease-in-out infinite;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-primary);
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Custom Selection Styling */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary);
    color: var(--bg-primary);
}

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

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}


/* ... content ... */

#neural-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 960px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}


.nav-dropdown {
    position: relative;
}


.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

/* Invisible bridge to prevent menu from closing when moving mouse */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 100%;
    height: 1.5rem;
    background: transparent;
}


.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--bg-glass);
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Active State */
@media (max-width: 960px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
        gap: 2rem;
    }

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

    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 1rem;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg-glass);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.glow-btn {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    width: 100%;
}

.hero-content {
    max-width: 650px;
    z-index: 10;
    margin-top: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    /* Reduced from 4rem */
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ===== PAGE HERO SECTION ===== */
.page-hero {
    padding: 12rem 0 6rem;
    position: relative;
    text-align: center;
    background: transparent;
    z-index: 10;
}

.page-hero .hero-content {
    margin: 0 auto;
    max-width: 800px;
}

/* ===== HERO VISUAL & AI CORE ===== */
.hero-visual {
    position: relative;
    width: 480px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 60px;
    /* Moved down to avoid overlap */
    z-index: 10;
}

.ai-core {
    position: relative;
    width: 180px;
    height: 180px;
    z-index: 1;
}

.core-outer,
.core-inner,
.core-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.core-outer {
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary);
    opacity: 0.3;
    animation: rotate-clockwise 20s linear infinite;
}

.core-inner {
    width: 70%;
    height: 70%;
    border: 2px solid var(--secondary);
    border-top-color: var(--primary);
    opacity: 0.6;
    animation: rotate-counter-clockwise 10s linear infinite;
}

.core-nucleus {
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 40px var(--primary);
    animation: pulse-core 4s ease-in-out infinite;
}

@keyframes rotate-clockwise {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotate-counter-clockwise {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes pulse-core {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Holographic Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(20, 30, 50, 0.9);
    /* Darker, more solid background */
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary);
    /* More prominent border */
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
    min-width: 190px;
    transition: all 0.3s ease;
}

.floating-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    transform: translateY(-5px) !important;
    /* Override GSAP if needed on hover */
}

.card-ui-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-ui-icon svg {
    width: 24px;
    height: 24px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
}

.card-status {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* Card Visuals */
.card-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    margin-top: 2px;
}

.card-bar-chart .bar {
    width: 4px;
    background: var(--primary);
    border-radius: 1px;
    animation: bar-grow 2s ease-in-out infinite alternate;
}

@keyframes bar-grow {
    from {
        height: 10%;
    }

    to {
        height: 100%;
    }
}

.card-loading-pulse {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.card-loading-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: var(--primary);
    animation: pulse-loading 1.5s linear infinite;
}

@keyframes pulse-loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Positioning - Tighter orbit and guaranteed visible coordinates */
.card-1 {
    top: 5% !important;
    right: 0% !important;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 35% !important;
    left: 0% !important;
    animation: float 6s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 5% !important;
    right: 5% !important;
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: scroll-logos 30s linear infinite;
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    position: relative;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    cursor: pointer;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.solution-icon {
    margin-bottom: 1.5rem;
}

.solution-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.solution-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-2);
    font-weight: 700;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.solution-link:hover {
    gap: 1rem;
}

.featured-card {
    position: relative;
    border: 2px solid var(--primary);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-lg);
}

.feature-item {
    position: relative;
    padding-left: 5rem;
    /* Increased spacing between number and text */
}

.feature-number {
    position: absolute;
    left: 0;
    top: -5px;
    /* Slight lift */
    font-family: var(--font-heading);
    font-size: 3rem;
    /* Slightly larger for better impact */
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    /* Slightly softer to let text shine */
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===== PAGE HERO (for all pages) ===== */
.page-hero {
    padding: 12rem 2rem 6rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.demo-form-container {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 6rem 2rem 4rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        margin-top: 3rem;
        width: 400px;
        height: 400px;
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        width: 100%;
        height: 300px;
    }

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

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

    .cta-content {
        padding: 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn-large {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-list strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.feature-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Detail Visual */
.detail-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
}

/* ===== PAGE SPECIFIC STYLES ===== */

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.about-stats-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

/* Careers Page */
.career-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.career-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.career-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.position-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.position-desc {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* Blog Page */
.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.8), rgba(0, 240, 255, 0.05));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.blog-card-image svg {
    opacity: 0.5;
    transition: all 0.5s ease;
    width: 64px;
    height: 64px;
    color: var(--text-muted);
}

.solution-card:hover .blog-card-image svg {
    transform: scale(1.1);
    opacity: 0.8;
    color: var(--primary);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
    align-items: center;
}

.blog-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    background: rgba(0, 240, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Case Studies Badges */
.case-study-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 404 Page Specific */
@keyframes glitch {
    0% {
        transform: translate(0) scale(1.5);
    }

    20% {
        transform: translate(-2px, 2px) scale(1.5);
    }

    40% {
        transform: translate(-2px, -2px) scale(1.5);
    }

    60% {
        transform: translate(2px, 2px) scale(1.5);
    }

    80% {
        transform: translate(2px, -2px) scale(1.5);
    }

    100% {
        transform: translate(0) scale(1.5);
    }
}

/* Hero Responsive */
@media (max-width: 960px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-visual {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }
}