/* 
   Tiknet Premium Design System 
   Font: 'Outfit', sans-serif (Primary), 'Inter', sans-serif (Body/Fallback)
*/

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

:root {
    /* Colors - Professional Tech Palette */
    --color-primary: #0f393b;
    /* Deep Tech Green/Teal - Authoritative */
    --color-primary-light: #1a5154;

    --color-accent: #00d285;
    /* Electric Emerald - High Contrast Tech */
    --color-accent-hover: #00b371;
    --color-accent-glow: rgba(0, 210, 133, 0.4);

    --color-bg-body: #f8fafc;
    /* Cool Tech White */
    --color-bg-card: #ffffff;
    --color-bg-dark: #082021;
    /* Dark mode element bg */

    --color-text-main: #0f172a;
    /* Slate 900 */
    --color-text-muted: #64748b;
    /* Slate 500 */
    --color-text-light: #f1f5f9;
    /* Slate 100 */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0f393b 0%, #082829 100%);
    --gradient-accent: linear-gradient(135deg, #00d285 0%, #00a86b 100%);
    --gradient-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-container: 1240px;

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 25px var(--color-accent-glow);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --blur-amt: 16px;

    /* Radius - Squared for Tech Feel */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    background-color: var(--color-bg-body);
    font-family: var(--font-body);
    color: var(--color-text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

/* Utility Containers */
.container {
    max-width: var(--space-container);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Premium Component Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    /* Smaller padding */
    border-radius: var(--radius-full);
    font-weight: 500;
    /* Slightly lighter weight */
    font-size: 0.95rem;
    /* Slightly smaller text */
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    cursor: pointer;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 57, 59, 0.2);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 57, 59, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    border: 1px solid rgba(15, 57, 59, 0.1);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-padding {
    padding: var(--space-lg) 0;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-weight: 500;
}

.lang-switcher a {
    color: var(--color-primary);
    /* Dark text for light header */
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--color-primary);
    /* Dark text */
    opacity: 1;
    font-weight: 700;
}

.lang-switcher .divider {
    color: #cbd5e1;
}

/* Scroll Animations */
/* Scroll Animations - Progressive Enhancement */
.reveal {
    opacity: 1;
    /* Default to visible if JS fails */
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* Only hide if JS is active */
body.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
}

body.js-enabled .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    /* Dark bars */
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.mobile-actions {
    display: none;
    /* Hidden on desktop */
}

/* Header */
/* Dynamic "Flip" Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.02);
    /* Start transparent/glass at top */
    backdrop-filter: blur(0px);
    /* Clear at top */
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    padding: 1rem 0;
    /* Larger at top */
}

/* Scrolled State - The "Flip" */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    /* Solid Tech White */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 57, 59, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    /* Compact */
    transform: translateY(0);
    animation: headerFlip 0.5s ease;
    /* Visual cue for the "flip" */
}

@keyframes headerFlip {
    0% {
        transform: perspective(1000px) rotateX(5deg) translateY(-2px);
        opacity: 0.9;
    }

    100% {
        transform: perspective(1000px) rotateX(0) translateY(0);
        opacity: 1;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.site-logo {
    height: 90px;
    /* Adjusted for transparent logo without padding */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    /* Subtle shadow for pop */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--color-text-main);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a:hover {
    color: var(--color-accent);
    /* Accent color on hover */
}

/* Nav link hover effect */
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.main-nav a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: var(--space-xl) 0 var(--space-lg);
    background-color: #ffffff;
    /* Soft Aurora Glows */
    background-image:
        radial-gradient(at 0% 0%, rgba(15, 57, 59, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 210, 133, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(255, 255, 255, 1) 0px, transparent 50%);
    /* Fade to white at bottom */
    overflow: hidden;
}

/* Subtle Micro-Dot Pattern (Connectivity Nodes) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Tiny dots instead of squares */
    background-image: radial-gradient(rgba(15, 57, 59, 0.15) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* Grid Removed as requested */
/* .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
} */

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    /* Kept left for grid layout */
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    /* Light Slate for readability */
    margin-bottom: var(--space-lg);
    max-width: 600px;
    line-height: 1.6;
}

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

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.highlight-card {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--transition-smooth);
}

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

.icon-box {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Value Prop / Steps */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    margin-bottom: -1.5rem;
}

/* Solutions Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.solution-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

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

.solution-card .card-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.solution-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.solution-card .link-text {
    font-weight: 600;
    color: var(--color-accent);
}

.highlight-solution {
    background: var(--color-primary);
    color: white;
}

.highlight-solution h3,
.highlight-solution p,
.highlight-solution .link-text {
    color: white;
}

.highlight-solution p {
    opacity: 0.9;
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-lg);
}

.footer-col ul {
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .main-nav a {
        font-size: 1.25rem;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }

    .mobile-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Highlights Grid */
    .highlights-grid,
    .partner-type-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-md);
    }

    .highlight-card {
        background: white;
        padding: var(--space-md);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid #f1f5f9;
        transition: var(--transition-smooth);
    }

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

    .icon-box {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    /* Value Prop / Steps */
    .section-header {
        text-align: center;
        max-width: 700px;
        margin: 0 auto var(--space-lg);
    }

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

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-md);
    }

    .step-item {
        text-align: center;
        position: relative;
    }

    .step-number {
        display: block;
        font-family: var(--font-heading);
        font-size: 4rem;
        font-weight: 800;
        color: rgba(0, 0, 0, 0.03);
        line-height: 1;
        margin-bottom: -1.5rem;
    }

    /* Solutions Section */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: var(--space-lg);
    }

    .solutions-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .solution-card {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: var(--transition-smooth);
        border: 1px solid transparent;
    }

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

    .solution-card .card-content {
        padding: var(--space-md);
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .solution-card h3 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }

    .solution-card p {
        color: var(--color-text-muted);
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

    .solution-card .link-text {
        font-weight: 600;
        color: var(--color-accent);
    }

    .highlight-solution {
        background: var(--color-primary);
        color: white;
    }

    .highlight-solution h3,
    .highlight-solution p,
    .highlight-solution .link-text {
        color: white;
    }

    .highlight-solution p {
        opacity: 0.9;
    }

    /* Footer */
    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer-col ul {
        gap: 0.5rem;
        display: flex;
        flex-direction: column;
    }

    .footer-col a:hover {
        color: white;
        text-decoration: underline;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: var(--space-lg);
        padding-top: var(--space-md);
        text-align: center;
        font-size: 0.875rem;
        opacity: 0.6;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .header-actions {
            display: none;
        }

        .hero-container {
            grid-template-columns: 1fr;
            text-align: center;
        }

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

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

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

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

        .main-nav {
            position: fixed;
            top: 80px;
            /* Header height */
            left: 0;
            width: 100%;
            background: white;
            padding: 2rem 1rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transform: translateY(-150%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 99;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            box-shadow: var(--shadow-lg);
        }

        .main-nav.active {
            transform: translateY(0);
        }

        .main-nav ul {
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }

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

        /* Hamburger Animation */
        .mobile-menu-toggle.active .bar:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

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

        .mobile-menu-toggle.active .bar:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        .mobile-actions {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            width: 100%;
            max-width: 300px;
        }

        .mobile-actions .btn {
            width: 100%;
        }


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

        /* Grids Collapse - Mobile */
        .highlights-grid,
        .steps-grid,
        .solutions-grid,
        .footer-grid,
        .partner-type-grid {
            grid-template-columns: 1fr;
        }

        .steps-grid {
            gap: 3rem;
        }

        .hero-container {
            padding-top: 2rem;
        }
    }

    /* Connectivity Graph Animation */
    .connectivity-graph-container {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        background: var(--gradient-surface);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: var(--shadow-lg);
    }

    .graph-node {
        position: absolute;
        background: white;
        border-radius: 50%;
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
        z-index: 2;
        transition: all 0.3s ease;
    }

    .graph-node.center {
        width: 60px;
        height: 60px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: var(--gradient-accent);
        border: 3px solid white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .graph-node.center::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid var(--color-primary);
        animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    }

    .graph-node.satellite {
        width: 40px;
        height: 40px;
        background: white;
        border: 2px solid var(--color-primary-light);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .graph-icon {
        font-size: 1.2rem;
    }

    .graph-node.satellite:nth-child(2) {
        top: 20%;
        left: 20%;
        animation: float 6s ease-in-out infinite;
    }

    .graph-node.satellite:nth-child(3) {
        top: 20%;
        right: 20%;
        animation: float 6s ease-in-out infinite 1s;
    }

    .graph-node.satellite:nth-child(4) {
        bottom: 20%;
        right: 20%;
        animation: float 6s ease-in-out infinite 2s;
    }

    .graph-node.satellite:nth-child(5) {
        bottom: 20%;
        left: 20%;
        animation: float 6s ease-in-out infinite 3s;
    }

    .graph-node.satellite:nth-child(6) {
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        animation: float-vertical 5s ease-in-out infinite 0.5s;
    }

    .graph-node.satellite:nth-child(7) {
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%);
        animation: float-vertical 5s ease-in-out infinite 2.5s;
    }

    .connection-lines {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
    }

    .connection-line {
        fill: none;
        stroke: var(--color-primary);
        stroke-width: 2;
        stroke-dasharray: 10;
        opacity: 0.2;
        animation: dash 30s linear infinite;
    }

    @keyframes pulse-ring {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        }
    }

    @keyframes float {

        0%,
        100% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(0, -10px);
        }
    }

    @keyframes float-vertical {

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

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

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

    /* Tooltip on hover */
    .graph-node.satellite:hover::before {
        content: attr(data-label);
        position: absolute;
        bottom: 110%;
        left: 50%;
        transform: translateX(-50%);
        background: var(--color-text-main);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: var(--radius-sm);
        font-size: 0.75rem;
        white-space: nowrap;
        opacity: 0;
        animation: fade-in 0.2s forwards;
    }

    @keyframes fade-in {
        to {
            opacity: 1;
        }
    }
}

/* 
   Mobile Hero Carousel 
   -------------------------------------------------- 
*/

.mobile-only-carousel {
    display: none;
    /* Hidden by default on desktop */
    margin-bottom: var(--space-md);
    width: 100%;
}

@media (max-width: 768px) {
    .mobile-only-carousel {
        display: block;
    }

    .hero-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--space-sm);
        padding-bottom: var(--space-xs);
        /* Space for scrollbar if visible */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .hero-carousel::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .carousel-item {
        flex: 0 0 85%;
        /* Show 85% of slide to encourage scroll */
        scroll-snap-align: center;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        margin-right: var(--space-xs);
    }

    .carousel-item:first-child {
        margin-left: 0;
    }

    .carousel-item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    /* Adjust Hero Spacing for Mobile when Carousel is present */
    .hero-section {
        padding-top: var(--space-md) !important;
    }

    .hero-content {
        padding-top: 0 !important;
    }
}