/* SOLAR SYSTEM SOLUTIONS */
.solutions-solar-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem;
    background: radial-gradient(ellipse at top, rgba(0, 177, 225, 0.03), transparent 50%),
                radial-gradient(ellipse at bottom, rgba(255, 146, 1, 0.03), transparent 50%);
}

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

.solar-system {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.35);
    transition: transform 0.5s ease;
}

/* Small Mobile (320px-480px) */
@media (max-width: 480px) { .solar-system { transform: scale(0.5); } }

/* Medium Mobile (481px-767px) */
@media (min-width: 481px) and (max-width: 767px) { .solar-system { transform: scale(0.6); } }

/* Large Mobile (768px-1023px) */
@media (min-width: 768px) and (max-width: 1023px) { .solar-system { transform: scale(0.7); } }

/* Small Tablets (1024px-1279px) */
@media (min-width: 1024px) and (max-width: 1279px) { .solar-system { transform: scale(0.8); } }

/* Medium Tablets (1280px-1439px) */
@media (min-width: 1280px) and (max-width: 1439px) { .solar-system { transform: scale(0.9); } }

/* Large Tablets (1440px-1919px) */
@media (min-width: 1440px) and (max-width: 1919px) { .solar-system { transform: scale(1); } }

/* Small Laptops (1920px-2559px) */
@media (min-width: 1920px) and (max-width: 2559px) { .solar-system { transform: scale(1.15); } }

/* Medium Laptops (2560px-3839px) */
@media (min-width: 2560px) and (max-width: 3839px) { .solar-system { transform: scale(1.4); } }

/* Large Laptops (3840px-5119px) */
@media (min-width: 3840px) and (max-width: 5119px) { .solar-system { transform: scale(1.8); } }

/* Small Monitors / 49" Odyssey (5120px-7679px) */
@media (min-width: 5120px) and (max-width: 7679px) { .solar-system { transform: scale(2.2); } }

/* 57" Odyssey Neo G9 (7680px+) */
@media (min-width: 7680px) { .solar-system { transform: scale(2.8); } }

/* Vertical Monitors */
@media (orientation: portrait) and (max-width: 1023px) { 
    .solar-system { transform: scale(0.55); }
}
@media (orientation: portrait) and (min-width: 1024px) { 
    .solar-system { transform: scale(0.75); }
}

.sun {
    position: absolute;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    filter: drop-shadow(0 0 30px rgba(255, 146, 1, 0.2));
}

.sun h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

@media (min-width: 2560px) { .sun h1 { font-size: clamp(3rem, 3vw, 4rem); } }
@media (min-width: 5120px) { .sun h1 { font-size: clamp(4rem, 2.5vw, 5rem); } }
@media (min-width: 7680px) { .sun h1 { font-size: clamp(5rem, 2vw, 6rem); } }

.sun span {
    background: linear-gradient(135deg, #ff9201 0%, #ffb347 50%, #ff9201 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite, gradientFlow 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(255, 146, 1, 0.6));
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 146, 1, 0.6)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 146, 1, 0.9)); }
}

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

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-color: rgba(0, 177, 225, 0.3);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
    box-shadow: 
        0 0 30px rgba(0, 177, 225, 0.2), 
        inset 0 0 30px rgba(255, 146, 1, 0.1),
        0 0 60px rgba(147, 51, 234, 0.1);
    animation: orbitPulse 6s ease-in-out infinite;
}

@keyframes orbitPulse {
    0%, 100% { 
        border-color: rgba(0, 177, 225, 0.3);
        box-shadow: 0 0 30px rgba(0, 177, 225, 0.2), inset 0 0 30px rgba(255, 146, 1, 0.1);
    }
    50% { 
        border-color: rgba(255, 146, 1, 0.4);
        box-shadow: 0 0 50px rgba(255, 146, 1, 0.3), inset 0 0 50px rgba(0, 177, 225, 0.15);
    }
}

.dark-mode .orbit-ring {
    border-color: rgba(255, 255, 255, 0.15);
    opacity: 0.8;
}

.orbit-spinner {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    animation: spin linear infinite;
}

body.paused .orbit-spinner,
body.paused .planet-icon {
    animation-play-state: paused !important;
}

.planet-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform-origin: center;
    width: 0; height: 0;
}

.planet {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.planet:hover {
    transform: translate(-50%, -50%) scale(1.3);
    z-index: 100;
}

.planet-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-secondary) 100%);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.15),
        0 0 20px rgba(0, 177, 225, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    animation: counter-spin linear infinite, planetFloat 4s ease-in-out infinite;
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
    position: relative;
}

@keyframes planetFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(180deg); }
}

@media (max-width: 480px) { .planet-icon { width: 56px; height: 56px; font-size: 1.1rem; } }
@media (min-width: 481px) and (max-width: 767px) { .planet-icon { width: 64px; height: 64px; font-size: 1.25rem; } }
@media (min-width: 1920px) and (max-width: 2559px) { .planet-icon { width: 85px; height: 85px; font-size: 1.6rem; } }
@media (min-width: 2560px) and (max-width: 3839px) { .planet-icon { width: 100px; height: 100px; font-size: 1.8rem; } }
@media (min-width: 3840px) and (max-width: 5119px) { .planet-icon { width: 120px; height: 120px; font-size: 2.2rem; } }
@media (min-width: 5120px) and (max-width: 7679px) { .planet-icon { width: 140px; height: 140px; font-size: 2.5rem; } }
@media (min-width: 7680px) { .planet-icon { width: 160px; height: 160px; font-size: 3rem; } }

.planet:hover .planet-icon {
    background: linear-gradient(135deg, #00b1e1 0%, #ff9201 100%);
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.3), 
        0 0 40px currentColor,
        0 0 60px rgba(255, 146, 1, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transform: scale(1.1) translateY(-2px);
    color: white;
    border-color: transparent;
}

.planet-label {
    position: absolute;
    top: 75px;
    background: var(--card-bg);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.8;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 480px) { .planet-label { font-size: 9px; padding: 4px 7px; top: 60px; } }
@media (min-width: 481px) and (max-width: 767px) { .planet-label { font-size: 10px; padding: 5px 8px; top: 68px; } }
@media (min-width: 1920px) and (max-width: 2559px) { .planet-label { font-size: 13px; padding: 7px 11px; top: 95px; } }
@media (min-width: 2560px) and (max-width: 3839px) { .planet-label { font-size: 15px; padding: 8px 13px; top: 110px; } }
@media (min-width: 3840px) and (max-width: 5119px) { .planet-label { font-size: 17px; padding: 10px 15px; top: 135px; } }
@media (min-width: 5120px) and (max-width: 7679px) { .planet-label { font-size: 19px; padding: 12px 17px; top: 155px; } }
@media (min-width: 7680px) { .planet-label { font-size: 21px; padding: 14px 19px; top: 175px; } }

.planet:hover .planet-label { 
    opacity: 1; 
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

#description-card {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 450px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255, 146, 1, 0.2),
        0 0 40px rgba(0, 177, 225, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

@media (max-width: 374px) { 
    #description-card { 
        bottom: 20px; 
        padding: 16px; 
        max-width: 320px;
    } 
}

@media (min-width: 1920px) { 
    #description-card { 
        max-width: 550px; 
        padding: 32px;
    } 
}

@media (min-width: 2560px) { 
    #description-card { 
        max-width: 650px; 
        padding: 40px;
        bottom: 60px;
    } 
}

@media (min-width: 5120px) { 
    #description-card { 
        max-width: 800px; 
        padding: 48px;
        bottom: 80px;
    } 
}

@media (min-width: 7680px) { 
    #description-card { 
        max-width: 1000px; 
        padding: 56px;
        bottom: 100px;
    } 
}

#description-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.card-icon-preview {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00b1e1 0%, #ff9201 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(255, 146, 1, 0.4);
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 146, 1, 0.4); }
    50% { box-shadow: 0 6px 24px rgba(255, 146, 1, 0.6); }
}

@media (min-width: 2560px) { .card-icon-preview { width: 50px; height: 50px; font-size: 1.25rem; } }
@media (min-width: 5120px) { .card-icon-preview { width: 60px; height: 60px; font-size: 1.5rem; } }
@media (min-width: 7680px) { .card-icon-preview { width: 70px; height: 70px; font-size: 1.75rem; } }

.card-title h3 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; color: var(--text-primary); }
.card-meta { font-size: clamp(0.6rem, 1vw, 0.7rem); font-family: monospace; color: var(--text-secondary); text-transform: uppercase; }
.card-desc { font-size: clamp(0.8rem, 1.5vw, 0.9rem); line-height: 1.6; color: var(--text-secondary); }

@media (min-width: 2560px) {
    .card-title h3 { font-size: 1.5rem; }
    .card-meta { font-size: 0.85rem; }
    .card-desc { font-size: 1.1rem; }
}

@media (min-width: 5120px) {
    .card-title h3 { font-size: 1.75rem; }
    .card-meta { font-size: 1rem; }
    .card-desc { font-size: 1.3rem; }
}

@media (min-width: 7680px) {
    .card-title h3 { font-size: 2rem; }
    .card-meta { font-size: 1.15rem; }
    .card-desc { font-size: 1.5rem; }
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes counter-spin { 100% { transform: rotate(-360deg); } }
