/*
Theme Name: Fusion Metrics
Author: Sarah
Description: Fusion Metrics HTML
Version: 1.0
*/

        :root {
            --primary-teal: #00d4d4;
            --deep-teal: #00a3a3;
            --dark-bg: #0a1628;
            --darker-bg: #050d1a;
            --accent-cyan: #64ffda;
            --text-light: #e8f1f5;
            --text-muted: #8892b0;
            --grid-color: rgba(0, 212, 212, 0.1);
        }

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

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--dark-bg);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Animated Grid Background */
        .grid-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
                linear-gradient(180deg, var(--grid-color) 1px, transparent 1px);
            background-size: 60px 60px;
            z-index: -1;
            animation: gridPulse 8s ease-in-out infinite;
            pointer-events: none;
        }

        @keyframes gridPulse {

            0%,
            100% {
                opacity: 0.3;
            }

            50% {
                opacity: 0.6;
            }
        }

        /* Header */
        header {
            position: relative;
            padding: 2rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(10, 22, 40, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--grid-color);
            z-index: 100;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-image {
            width: 50px;
            height: 50px;
            filter: drop-shadow(0 0 10px var(--primary-teal));
        }

        .logo-text {
            font-family: 'Space Mono', monospace;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-light);
            letter-spacing: -0.5px;
        }

        nav {
            display: flex;
            gap: 2.5rem;
        }

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

        nav a:hover {
            color: var(--primary-teal);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-teal);
            transition: width 0.3s ease;
        }

        nav a:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 90vh;
            display: flex;
            align-items: center;
            padding: 0 5%;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(5, 13, 26, 0.75) 100%);
            z-index: 1;
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.15;
            mix-blend-mode: screen;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            max-width: 700px;
            z-index: 10;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-label {
            font-family: 'Space Mono', monospace;
            color: var(--primary-teal);
            font-size: 0.9rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .hero-company-name {
            font-family: 'Playfair Display', serif;
            font-size: 6.5rem;
            font-weight: 400;
            letter-spacing: 0.05em;
            color: var(--text-light);
            margin-bottom: 2rem;
            line-height: 0.95;
            animation: fadeInUp 1s ease-out 0.3s both;
            font-style: normal;
            position: relative;
        }

        .hero-company-name::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 120px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-teal), transparent);
        }

        .hero h1 {
            font-size: 3rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-teal) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInUp 1s ease-out 0.5s both;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            line-height: 1.8;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--primary-teal);
            color: var(--dark-bg);
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 212, 212, 0.3);
            animation: fadeInUp 1s ease-out 0.8s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 212, 212, 0.5);
            background: var(--accent-cyan);
        }



        /* Services Section */
        .services {
            position: relative;
            padding: 8rem 5%;
            background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
            z-index: 1;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-label {
            font-family: 'Space Mono', monospace;
            color: var(--primary-teal);
            font-size: 0.9rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .section-header h2 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .service-card {
            background: rgba(10, 22, 40, 0.5);
            border: 1px solid var(--grid-color);
            border-radius: 16px;
            padding: 2.5rem;
            transition: all 0.4s ease;
            backdrop-filter: blur(10px);
        }

        .service-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-teal);
            box-shadow: 0 20px 60px rgba(0, 212, 212, 0.2);
        }

        .service-icon {
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-teal), var(--accent-cyan));
            border-radius: 2px;
            margin-bottom: 1.5rem;
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-light);
        }

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

        /* Specialties Section */
        .specialties {
            position: relative;
            padding: 8rem 5%;
            background: var(--darker-bg);
            z-index: 1;
        }

        .specialties-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
            margin-top: 4rem;
        }

        .specialty-card {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            height: 400px;
            background: rgba(10, 22, 40, 0.8);
            border: 1px solid var(--grid-color);
            transition: all 0.4s ease;
        }

        .specialty-card:hover {
            transform: scale(1.03);
            border-color: var(--primary-teal);
        }

        .specialty-image {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            position: absolute;
            top: 0;
            left: 0;
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .specialty-card:hover .specialty-image {
            opacity: 0.15;
            transform: scale(1.08);
        }

        .specialty-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 22, 40, 0.5);
        }

        .specialty-content {
            padding: 2.5rem;
            position: relative;
            width: 100%;
            height: 100%;
            display: grid;
            place-items: center;
            text-align: center;
            z-index: 2;
        }

        .specialty-content h3,
        .specialty-content p {
            grid-area: 1 / 1;
            transition: all 0.4s ease;
            margin: 0;
        }

        .specialty-content h3 {
            font-size: 2.5rem;
            color: var(--text-light);
            line-height: 1.2;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .specialty-card:hover .specialty-content h3 {
            opacity: 0;
            visibility: hidden;
            transform: translateY(-20px);
        }

        .specialty-content p {
            color: var(--text-light);
            font-size: 1.25rem;
            line-height: 1.6;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
        }

        .specialty-card:hover .specialty-content p {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Approach Section */
        .approach {
            position: relative;
            padding: 8rem 5%;
            background: var(--dark-bg);
            z-index: 1;
        }

        .approach-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 5rem;
            margin-top: 4rem;
            align-items: center;
        }

        .approach-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
        }

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

        .feature-number {
            font-family: 'Space Mono', monospace;
            color: var(--primary-teal);
            font-size: 2rem;
            font-weight: 700;
            min-width: 50px;
        }

        .feature-content h4 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .feature-content p {
            color: var(--text-muted);
            line-height: 1.7;
        }

        .approach-visual {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .visual-block {
            aspect-ratio: 1;
            background: rgba(0, 212, 212, 0.1);
            border: 1px solid var(--primary-teal);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Space Mono', monospace;
            font-size: 0.9rem;
            color: var(--primary-teal);
            text-align: center;
            padding: 1rem;
            transition: all 0.3s ease;
        }

        .visual-block:hover {
            background: rgba(0, 212, 212, 0.2);
            transform: scale(1.05);
        }

        /* Team Section */
        .team {
            position: relative;
            padding: 8rem 5%;
            background: var(--darker-bg);
            z-index: 1;
        }

        .team-intro {
            max-width: 900px;
            margin: 3rem auto;
            text-align: center;
        }

        .team-intro p {
            font-size: 1.15rem;
            color: var(--text-muted);
            line-height: 1.9;
        }

        .team-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
        }

        .stat-card {
            background: rgba(0, 212, 212, 0.05);
            border: 1px solid var(--grid-color);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            border-color: var(--primary-teal);
            background: rgba(0, 212, 212, 0.1);
            transform: translateY(-5px);
        }

        .stat-number {
            font-family: 'Space Mono', monospace;
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary-teal);
            margin-bottom: 0.5rem;
        }

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

        .team-expertise {
            margin-top: 5rem;
        }

        .team-expertise h3 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 3rem;
        }

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

        .expertise-item {
            background: rgba(10, 22, 40, 0.5);
            border: 1px solid var(--grid-color);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .expertise-item:hover {
            border-color: var(--primary-teal);
            transform: translateY(-5px);
        }

        .expertise-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .expertise-item h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }

        .expertise-item p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Data Showcase */
        .data-showcase {
            margin-top: 6rem;
            padding-top: 4rem;
            border-top: 1px solid var(--grid-color);
        }

        .data-showcase h3 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .showcase-subtitle {
            text-align: center;
            color: var(--text-muted);
            font-size: 1.15rem;
            margin-bottom: 3rem;
        }

        .showcase-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .showcase-item {
            background: rgba(10, 22, 40, 0.8);
            border: 1px solid var(--grid-color);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .showcase-item:hover {
            border-color: var(--primary-teal);
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0, 212, 212, 0.2);
        }

        .showcase-image {
            width: 100%;
            background: var(--dark-bg);
            padding: 1rem;
        }

        .showcase-image svg {
            width: 100%;
            height: auto;
            display: block;
        }

        .showcase-caption {
            padding: 1.5rem;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.95rem;
            border-top: 1px solid var(--grid-color);
        }

        /* CTA Section */
        .cta-section {
            position: relative;
            padding: 8rem 5%;
            background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
            text-align: center;
            z-index: 1;
        }

        .cta-section h2 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
        }

        .cta-section p {
            font-size: 1.3rem;
            color: var(--text-muted);
            margin-bottom: 3rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

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

        .cta-secondary {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: transparent;
            color: var(--primary-teal);
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            border: 2px solid var(--primary-teal);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .cta-secondary:hover {
            background: var(--primary-teal);
            color: var(--dark-bg);
            transform: translateY(-3px);
        }

        /* Footer */
        footer {
            position: relative;
            padding: 3rem 5%;
            background: var(--darker-bg);
            border-top: 1px solid var(--grid-color);
            text-align: center;
        }

        footer p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-company-name {
                font-size: 5rem;
            }

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

            .network-viz {
                opacity: 0.2;
            }

            .approach-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

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

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

        @media (max-width: 768px) {
            header {
                flex-direction: column;
                gap: 1.5rem;
            }

            nav {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .hero-company-name {
                font-size: 3.5rem;
                letter-spacing: 0.03em;
            }

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

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

            .section-header h2 {
                font-size: 2rem;
            }

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

            .cta-section h2 {
                font-size: 2rem;
            }

            .team-stats {
                grid-template-columns: 1fr;
            }

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

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

        /* Scroll Animations */
        .fade-in-section {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-section.visible {
            opacity: 1;
            transform: translateY(0);
        }