:root {
    /* Color Palette */
    --bg-main: #000000;
    --bg-accent: #111111;
    --primary: #add8e6;
    --primary-glow: rgba(173, 216, 230, 0.4);
    --accent: #add8e6;
    --accent-glow: rgba(173, 216, 230, 0.4);

    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #cccccc;

    /* Glassmorphism */
    --glass-bg: rgba(17, 17, 17, 0.45);
    --glass-border: rgba(173, 216, 230, 0.15);

    /* Typography */
    --font-sans:
        "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}

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

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

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    position: relative;
    width: 100%;
}

/* Deep Space Galaxy Background */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(173, 216, 230, 0.08) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(173, 216, 230, 0.08) 0%,
            transparent 40%
        );
    z-index: -1;
    pointer-events: none;
}

/* Rotating Starfield */
body::before {
    content: "";
    position: fixed;
    width: 200vw;
    height: 200vh;
    top: -50%;
    left: -50%;
    background-image:
        radial-gradient(1.5px 1.5px at 40px 60px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(
            2px 2px at 120px 150px,
            rgba(255, 255, 255, 0.8),
            rgba(0, 0, 0, 0)
        ),
        radial-gradient(
            1px 1px at 230px 80px,
            var(--primary),
            rgba(0, 0, 0, 0)
        ),
        radial-gradient(
            2px 2px at 340px 260px,
            rgba(255, 255, 255, 0.8),
            rgba(0, 0, 0, 0)
        ),
        radial-gradient(
            1.5px 1.5px at 110px 290px,
            var(--accent),
            rgba(0, 0, 0, 0)
        ),
        radial-gradient(1px 1px at 390px 150px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 400px 400px;
    animation: star-drift 150s linear infinite;
    z-index: -2;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes star-drift {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Scrollbar and Selection */
::selection {
    background: rgba(173, 216, 230, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ------------------------------------
   Typography & Utilities
------------------------------------ */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ------------------------------------
   Navigation
------------------------------------ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    text-decoration: none;
    transition:
        filter 0.3s ease,
        opacity 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 8px var(--primary-glow));
    opacity: 0.9;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--primary);
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.nav-links a:hover::before {
    width: 100%;
}

/* ------------------------------------
   Buttons
------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow:
        inset 0 0 10px rgba(173, 216, 230, 0.1),
        0 0 10px rgba(173, 216, 230, 0.1);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-glow),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: #000;
    background: var(--primary);
    box-shadow:
        0 0 20px var(--primary-glow),
        0 0 40px var(--primary-glow);
    border-color: var(--primary);
}

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

/* ------------------------------------
   Hero & Solar System Animations
------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 20px;
    
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(
        circle,
        rgba(173, 216, 230, 0.03) 0%,
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
    animation: pulse-bg 8s infinite alternate ease-in-out;
}

@keyframes pulse-bg {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    width: 100%;
    z-index: 10;
    max-width: 800px;
    background: rgba(17, 17, 17, 0.25);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(6px) saturate(180%);
    -webkit-backdrop-filter: blur(6px) saturate(180%);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(173, 216, 230, 0.05);
}

.hero-content h1 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.hero-content strong {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-glow);
}

/* ------------------------------------
   Sections Common
------------------------------------ */
.section {
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* ------------------------------------
   Strategy Section
------------------------------------ */
.strategy-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.strategy-split h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.strategy-list {
    list-style: none;
    margin-top: 30px;
}

.strategy-list li {
    margin-bottom: 25px;
    padding-left: 40px;
    position: relative;
    transition: transform 0.3s ease;
    z-index: 1;
}

.strategy-list li:hover {
    transform: translateX(10px);
}

.strategy-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    transition: all 0.3s ease;
}

.strategy-list li:hover::before {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* ------------------------------------
   Services Section
------------------------------------ */
.services-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-header div {
    color: var(--primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.services-grid > div {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Neon Top Border Effect */
.services-grid > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.services-grid > div:hover {
    transform: translateY(-10px);
    border-color: rgba(173, 216, 230, 0.6);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(173, 216, 230, 0.3),
        inset 0 0 20px rgba(173, 216, 230, 0.1);
}

.services-grid > div:hover::before {
    transform: scaleX(1);
}

.services-grid svg {
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.services-grid > div:hover svg {
    color: var(--accent);
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.services-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.services-grid > div:hover h3 {
    color: var(--primary);
}

/* Delay grid items fade-up */
.services-grid > div:nth-child(1) {
    animation-delay: 0.1s;
}
.services-grid > div:nth-child(2) {
    animation-delay: 0.2s;
}
.services-grid > div:nth-child(3) {
    animation-delay: 0.3s;
}
.services-grid > div:nth-child(4) {
    animation-delay: 0.4s;
}
.services-grid > div:nth-child(5) {
    animation-delay: 0.5s;
}
.services-grid > div:nth-child(6) {
    animation-delay: 0.6s;
}

/* ------------------------------------
   Products / Platforms Section
------------------------------------ */
.products-wrapper {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(17, 17, 17, 0.6),
        transparent
    );
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.products-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.product-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    cursor: pointer;
}

.product-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)) grayscale(0%);
    color: var(--text-main);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Platform specific hovers */
.product-logo:nth-child(1):hover svg {
    color: #add8e6;
    filter: drop-shadow(0 0 10px rgba(173, 216, 230, 0.5));
}
.product-logo:nth-child(2):hover svg {
    color: #add8e6;
    filter: drop-shadow(0 0 10px rgba(173, 216, 230, 0.5));
}
.product-logo:nth-child(3):hover svg {
    color: #add8e6;
    filter: drop-shadow(0 0 10px rgba(173, 216, 230, 0.5));
}
.product-logo:nth-child(4):hover svg {
    color: #add8e6;
    filter: drop-shadow(0 0 10px rgba(173, 216, 230, 0.5));
}

/* ------------------------------------
   Footer
------------------------------------ */
.footer {
    padding: 100px 5% 40px;
    background: linear-gradient(to top, #000000 50%, #111111 100%);
    border-top: 1px solid rgba(173, 216, 230, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(173, 216, 230, 0.4),
        rgba(173, 216, 230, 0.4),
        transparent
    );
    box-shadow: 0 0 20px rgba(173, 216, 230, 0.5);
}

/* Footer Status Indicator */
.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(173, 216, 230, 0.05);
    border: 1px solid rgba(173, 216, 230, 0.2);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    margin-top: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #add8e6;
    border-radius: 50%;
    box-shadow: 0 0 8px #add8e6;
    animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.footer-info-grid h4 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info-grid h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.footer-info-grid ul {
    list-style: none;
    padding-left: 0;
}

.footer-info-grid ul li {
    margin-bottom: 12px;
}

.footer-info-grid p,
.footer-info-grid a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-link {
    position: relative;
    display: inline-block;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-link::before {
    content: "›";
    color: var(--primary);
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.footer-bottom a.footer-link {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-decoration: none;
}

.footer-bottom a.footer-link:hover {
    color: #fff;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(173, 216, 230, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(173, 216, 230, 0.2);
    transform: translateY(-3px);
}

/* ------------------------------------
   Responsive Adjustments
------------------------------------ */
@media (max-width: 992px) {
    .strategy-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    .logo,
    .nav-actions {
        position: relative;
        z-index: 1000;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 999;
    }
    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .hero {
        padding-top: 120px;
    }
    .hero-content {
    width: 100%;
        padding: 30px 20px;
    }
    .hero-content h1 {
        font-size: 1.4rem;
    }
    .section {
        padding: 80px 5%;
    }
    .footer-info-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .strategy-split h2,
    .services-header h2,
    .products-wrapper h2 {
        font-size: 1.8rem;
    }
    .strategy-split {
        gap: 40px;
    }
    .strategy-split > div {
        max-width: 100%;
        min-width: 0;
    }
    .strategy-split svg {
        max-width: 100%;
        height: auto;
    }
    .logos-container {
        gap: 30px;
        flex-direction: column;
    }
    .product-logo {
            width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    div[style*="padding: 30px 60px"],
    div[style*="padding: 80px 40px"] {
        padding: 30px 20px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Handle inline grid and flex styles for mobile */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Button groups */
    div[style*="display: flex"][style*="justify-content: center"]:not(
            .product-logo
        ):not(.footer-bottom) {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    /* Stats and Integrations wrappers */
    .metrics-banner,
    .hero > div[style*="display: flex"],
    .products-wrapper > div > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .section a.btn,
    .products-wrapper a.btn,
    .hero-content a.btn {
        width: 100% !important;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }

    /* Stats text */
    .metrics-banner > div > div:first-child,
    div[style*="font-size: 3.5rem"] {
        font-size: 2.8rem !important;
    }

    /* Large Header text */
    h1[style],
    h2[style] {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    }

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

@media (max-width: 480px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 40px;
    }
    .hero-content {
    width: 100%;
        padding: 25px 15px;
    }
    nav {
        padding: 15px 5% !important;
        gap: 10px;
    }
    nav .logo img {
        max-height: 24px !important;
    }
    .nav-actions {
        gap: 10px !important;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
    nav .btn {
        padding: 8px 10px;
        font-size: 0.6rem;
        margin-bottom: 0;
        width: auto !important;
        flex: none !important;
        white-space: nowrap;
    }
    .strategy-split h2,
    .services-header h2,
    .products-wrapper h2 {
        font-size: 1.5rem !important;
    }
    .metrics-banner > div > div:first-child,
    div[style*="font-size: 3.5rem"] {
        font-size: 2.2rem !important;
    }
    .hero-content h1 {
        font-size: 1.1rem;
    }
}


