:root {
    --bg-dark: #090909;
    --card-bg: rgba(20, 20, 31, 0.65);
    --card-border: rgba(90, 183, 255, 0.15);
    --card-border-hover: rgba(123, 109, 255, 0.35);
    --blue-neon: #5AB7FF;
    --purple-neon: #7B6DFF;
    --text-white: #ffffff;
    --text-muted: #8F8FA0;
    --font-primary: 'Exo 2', sans-serif;
    --glow-shadow-blue: 0 0 15px rgba(90, 183, 255, 0.5);
    --glow-shadow-purple: 0 0 15px rgba(123, 109, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-primary);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    line-height: 1.6;
}

#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 12% 18%, rgba(123, 109, 255, 0.28) 0%, rgba(212, 90, 255, 0.12) 30%, transparent 65%),
        radial-gradient(circle at 28% 28%, rgba(90, 183, 255, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 50% 30%, #0d0d17 0%, #06060a 80%);
    pointer-events: none;
}

.main-content {
    position: relative;
    width: 100%;
}

.planet-region-wrapper {
    position: relative;
    background: transparent;
    width: 100%;
    z-index: 2;
}

#globe-3d-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nebula-singularity {
    position: fixed;
    top: -120px;
    left: -120px;
    width: 600px;
    height: 480px;
    background: radial-gradient(ellipse at center, 
        rgba(123, 109, 255, 0.3) 0%, 
        rgba(212, 90, 255, 0.15) 30%, 
        rgba(90, 183, 255, 0.08) 55%, 
        transparent 75%
    );
    filter: blur(55px);
    transform: rotate(-25deg) scaleX(1.9);
    z-index: -2;
    pointer-events: none;
    opacity: 0.9;
}

.brand-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7vw 2rem 5vw 2rem;
    text-align: center;
    width: 100%;
    height: 29vw;
    min-height: 310px;
    z-index: 10;
    overflow: hidden;
}

.brand-orbit-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    height: 380px;
    z-index: -1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-orbit-svg {
    width: 100%;
    height: 100%;
    opacity: 0.95;
    filter: drop-shadow(0 0 15px rgba(90, 183, 255, 0.15));
}

.brand-text-container {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.brand-display-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    font-weight: 200;
    letter-spacing: 24px;
    text-indent: 24px;
    margin-bottom: 0.8rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.brand-display-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 8px;
    text-indent: 8px;
    color: var(--blue-neon);
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(90, 183, 255, 0.4);
}

.hero-section {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(90, 183, 255, 0.08);
    border: 1px solid rgba(90, 183, 255, 0.2);
    color: var(--blue-neon);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: inset 0 0 8px rgba(90, 183, 255, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-neon), var(--purple-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(123, 109, 255, 0.25));
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    background: rgba(9, 9, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-neon), var(--purple-neon));
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(123, 109, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(123, 109, 255, 0.5), 
                inset 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.btn-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.btn-secondary {
    background: rgba(20, 20, 31, 0.8);
    border: 1px solid var(--purple-neon);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(123, 109, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--purple-neon);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow-purple);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bridge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 420px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.02);
    transition: border-color 0.4s ease;
}

.bridge-container:hover {
    border-color: var(--card-border-hover);
}

.bridge-device {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(9, 9, 9, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.device-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    color: var(--text-white);
}

.device-icon {
    width: 28px;
    height: 28px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.device-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.device-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phone-node .device-icon { color: var(--blue-neon); }
...phone-node .device-glow { background: radial-gradient(circle, rgba(90,183,255,0.15) 0%, transparent 70%); }
.phone-node:hover {
    border-color: rgba(90,183,255,0.4);
    box-shadow: 0 0 20px rgba(90,183,255,0.2);
}
.phone-node:hover .device-glow { opacity: 1; }
.phone-node:hover .device-icon { transform: scale(1.1); }

.pc-node .device-icon { color: #ffffff; }
.pc-node .device-glow { background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); }
.pc-node:hover {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.pc-node:hover .device-glow { opacity: 1; }
.pc-node:hover .device-icon { transform: scale(1.1); }

.tg-node .device-icon { color: var(--purple-neon); }
.tg-node .device-glow { background: radial-gradient(circle, rgba(123,109,255,0.15) 0%, transparent 70%); }
.tg-node:hover {
    border-color: rgba(123,109,255,0.4);
    box-shadow: 0 0 20px rgba(123,109,255,0.2);
}
.tg-node:hover .device-glow { opacity: 1; }
.tg-node:hover .device-icon { transform: scale(1.1); }

.bridge-line {
    width: 100%;
    height: 44px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pulse-path {
    stroke-dasharray: 6, 6;
    animation: dash 3s linear infinite;
}

.bt-indicator, .qr-indicator {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(9, 9, 9, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.bt-indicator svg {
    width: 12px;
    height: 12px;
    color: var(--blue-neon);
}

.qr-indicator svg {
    width: 12px;
    height: 12px;
    color: var(--purple-neon);
}

.steps-section {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 3.5rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 15px 30px rgba(123, 109, 255, 0.1),
                inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.step-num {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.step-card:hover .step-num {
    color: rgba(90, 183, 255, 0.08);
}

.step-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(90, 183, 255, 0.06);
    border: 1px solid rgba(90, 183, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-neon);
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 8px rgba(90, 183, 255, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrapper {
    background: rgba(123, 109, 255, 0.1);
    border-color: var(--purple-neon);
    color: var(--purple-neon);
    box-shadow: var(--glow-shadow-purple);
}

.step-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.step-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.steps-cta {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.features-section {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 15px 30px rgba(90, 183, 255, 0.08);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.glow-blue {
    background: rgba(90, 183, 255, 0.08);
    border: 1px solid rgba(90, 183, 255, 0.3);
    color: var(--blue-neon);
}

.feature-card:hover .glow-blue {
    box-shadow: var(--glow-shadow-blue);
    background: rgba(90, 183, 255, 0.15);
}

.glow-purple {
    background: rgba(123, 109, 255, 0.08);
    border: 1px solid rgba(123, 109, 255, 0.3);
    color: var(--purple-neon);
}

.feature-card:hover .glow-purple {
    box-shadow: var(--glow-shadow-purple);
    background: rgba(123, 109, 255, 0.15);
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.feature-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #06060c;
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-white);
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-rights {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes pulseCore {
    0% {
        stroke-width: 4;
        filter: drop-shadow(0 0 2px rgba(90, 183, 255, 0.4));
    }
    100% {
        stroke-width: 5.5;
        filter: drop-shadow(0 0 10px rgba(90, 183, 255, 0.7));
    }
}

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

@media (max-width: 1024px) {
    .hero-container {
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .space-horizon {
        top: 850px;
        width: 200vw;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Mobile optimization for 3D Globe and Header */
    #globe-3d-container {
        display: none !important;
    }
    
    .brand-showcase {
        height: auto;
        min-height: 180px;
        padding: 3.5rem 1rem 1.5rem 1rem;
    }
    
    .brand-orbit-backdrop {
        height: 180px;
        max-width: 100%;
    }
    
    .brand-display-title {
        font-size: 1.8rem;
        letter-spacing: 6px;
        text-indent: 6px;
        margin-bottom: 0.4rem;
    }
    
    .brand-display-subtitle {
        font-size: 0.65rem;
        letter-spacing: 4px;
        text-indent: 4px;
    }
    
    .hero-section {
        padding: 1rem 1.25rem 3.5rem 1.25rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 2rem;
        line-height: 1.6;
    }
}

@keyframes satellite-orbit {
    0% {
        offset-distance: 0%;
    }
    100% {
        offset-distance: 100%;
    }
}

.satellite-dot {
    offset-path: path('M 0,200 a 500,130 0 1,0 1000,0 a 500,130 0 1,0 -1000,0');
    animation: satellite-orbit 4s linear infinite;
    transform-box: fill-box;
    transform-origin: center;
}
