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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Release Banner */
.release-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    padding: 12px 20px;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.release-content-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: opacity 0.2s ease;
}

.release-content-link:hover {
    opacity: 0.9;
}

.release-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    padding: 0 60px 0 20px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .release-content {
        padding: 0 40px 0 10px;
        gap: 10px;
        font-size: 13px;
    }
    
    .release-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .release-text {
        font-size: 13px;
    }
    
    .release-date {
        font-size: 12px;
        padding: 0 6px;
    }
    
    .release-link {
        font-size: 13px;
    }
    
    .banner-close {
        right: 10px;
        width: 24px;
        height: 24px;
    }
    
    .banner-close svg {
        width: 18px;
        height: 18px;
    }
}

.release-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.release-text {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.release-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.release-link {
    color: white;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.banner-close {
    position: fixed;
    right: 20px;
    top: 12px;
    transform: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 4px;
    margin: 0;
    width: 28px;
    height: 28px;
    line-height: 0;
    z-index: 1001;
}

.banner-close:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.banner-close:focus {
    outline: none;
}

.banner-close svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.release-banner.hidden {
    animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 20px;
    transition: padding-top 0.3s ease;
}

/* Add padding when banner is visible */
body.has-banner .container {
    padding-top: 70px;
}

.hero {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 40px;
}

.logo {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
}

h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 26px;
    font-weight: 300;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.tagline em {
    font-style: italic;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.alpha-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.alpha-link:hover {
    color: #667eea;
}

.description {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 30px;
}

.version-info {
    display: inline;
    margin-top: 15px;
    font-size: 14px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #667eea;
    font-weight: 600;
    animation: shimmer 3s linear infinite;
    padding: 0;
    line-height: inherit;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Benefits Section */
.benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 160px;
    transition: all 0.3s ease;
    animation: subtlePulse 4s ease-in-out infinite;
}

.benefit:nth-child(1) { animation-delay: 0s; }
.benefit:nth-child(2) { animation-delay: 1.3s; }
.benefit:nth-child(3) { animation-delay: 2.6s; }

.benefit:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.benefit-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1.2;
}

.benefit-detail {
    font-size: 10px;
    color: #888;
    text-align: center;
}

@keyframes subtlePulse {
    0%, 100% { 
        border-color: rgba(102, 126, 234, 0.3);
    }
    50% { 
        border-color: rgba(102, 126, 234, 0.5);
    }
}

.install-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Show/hide install sections based on screen size */
.install-section-mobile {
    display: none;
}

.install-section-desktop {
    display: flex;
}

@media (max-width: 767px) {
    .install-section-mobile {
        display: flex;
        flex-direction: column;
        margin: 20px 0;
    }
    
    .install-section-desktop {
        display: none;
    }
    
    /* Fix download container for smaller tablets */
    .download-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .download-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .os-toggle-btn {
        width: 100%;
        max-width: 320px;
        padding: 12px 20px;
    }
    
    .add-to-ide {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 12px 24px;
    }
    
    .install-section {
        flex-direction: column;
        gap: 16px;
    }
}

.install-command {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    gap: 16px;
    backdrop-filter: blur(10px);
}

.install-command span {
    color: #a0a0a0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
}

.install-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.add-to-ide {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-ide .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 18px;
    height: 18px;
}

.add-to-ide .icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    position: absolute;
    transition: opacity 0.3s ease;
}

.add-to-ide .icon .icon-hover {
    opacity: 0;
}

.add-to-ide .icon .icon-default {
    opacity: 1;
}

.add-to-ide:hover .icon .icon-hover {
    opacity: 1;
}

.add-to-ide:hover .icon .icon-default {
    opacity: 0;
}

.add-to-ide:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.add-to-ide-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.add-to-ide-main {
    font-size: 14px;
    font-weight: 600;
}

.add-to-ide-sub {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
}

.powered-by {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.footer-section {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-text {
    color: #888;
    font-size: 13px;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Background Grid */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.grid-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1500px;
}

.cube-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 32px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: bold;
    animation: floatShape 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    opacity: 0;
    color: rgba(102, 126, 234, 0.8);
    text-shadow: 
        0 0 30px rgba(102, 126, 234, 0.8),
        0 0 60px rgba(118, 75, 162, 0.6),
        0 0 90px rgba(102, 126, 234, 0.4);
    filter: blur(0.5px);
    transform: translateZ(0);
    will-change: transform, opacity;
    animation-fill-mode: both;
}

/* Terminal-inspired icons positioning */
.icon-1 { top: 8%; left: 20%; animation-delay: 0s; animation-duration: 23s; }
.icon-2 { top: 18%; right: 25%; animation-delay: 2s; animation-duration: 27s; }
.icon-3 { top: 35%; left: 30%; animation-delay: 4s; animation-duration: 25s; }
.icon-4 { top: 45%; right: 22%; animation-delay: 6s; animation-duration: 29s; }
.icon-5 { top: 60%; left: 25%; animation-delay: 8s; animation-duration: 26s; }
.icon-6 { top: 70%; right: 28%; animation-delay: 10s; animation-duration: 24s; }
.icon-7 { top: 25%; left: 40%; animation-delay: 12s; animation-duration: 28s; }
.icon-8 { top: 55%; right: 35%; animation-delay: 14s; animation-duration: 30s; }
.icon-9 { top: 80%; left: 35%; animation-delay: 16s; animation-duration: 22s; }
.icon-10 { top: 40%; left: 45%; animation-delay: 18s; animation-duration: 31s; }
.icon-11 { top: 65%; right: 40%; animation-delay: 20s; animation-duration: 27s; }
.icon-12 { top: 85%; left: 50%; animation-delay: 22s; animation-duration: 25s; }

/* Floating tool names */
.floating-tool-name {
    position: absolute;
    font-size: 14px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: rgba(102, 126, 234, 0.6);
    opacity: 0;
    animation: fadeInOut 15s ease-in-out infinite;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
}

.tool-1 { top: 12%; left: 60%; animation-delay: 0s; }
.tool-2 { top: 28%; right: 60%; animation-delay: 5s; }
.tool-3 { top: 48%; left: 65%; animation-delay: 10s; }
.tool-4 { top: 68%; right: 55%; animation-delay: 15s; }
.tool-5 { top: 82%; left: 58%; animation-delay: 20s; }
.tool-6 { top: 38%; right: 62%; animation-delay: 25s; }

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    10%, 25% { opacity: 0.4; transform: translateY(0px); }
    30% { opacity: 0; transform: translateY(-10px); }
}

/* Special 500+ counter */
.floating-counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 900;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: pulseCounter 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    text-shadow: 
        0 0 60px rgba(102, 126, 234, 0.4),
        0 0 120px rgba(118, 75, 162, 0.3);
    filter: blur(1px);
}

.app-tile {
    position: absolute;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border: 3px solid rgba(102, 126, 234, 0.9);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: floatTile 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6), 
                0 8px 24px rgba(0, 0, 0, 0.4),
                inset 0 0 20px rgba(102, 126, 234, 0.2);
    will-change: transform;
}

.app-tile:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(118, 75, 162, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-tile:hover:before {
    opacity: 1;
}

.app-tile:hover {
    transform: translateY(-5px) scale(1.1) rotate(12deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.5) 100%);
    border-color: rgba(102, 126, 234, 1);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.8), 
                0 15px 40px rgba(102, 126, 234, 0.4),
                inset 0 0 25px rgba(102, 126, 234, 0.3);
}

.tile-1 { 
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 15s;
}
.tile-2 { 
    top: 15%;
    right: 8%;
    animation-delay: 2.5s;
    animation-duration: 18s;
}
.tile-3 { 
    bottom: 20%;
    left: 8%;
    animation-delay: 5s;
    animation-duration: 20s;
}
.tile-4 { 
    bottom: 15%;
    right: 10%;
    animation-delay: 7.5s;
    animation-duration: 16s;
}
.tile-5 { 
    top: 50%;
    left: 10%;
    animation-delay: 1s;
    animation-duration: 22s;
}
.tile-6 { 
    top: 45%;
    right: 12%;
    animation-delay: 4s;
    animation-duration: 19s;
}

.tile-icon {
    font-size: 36px;
    margin-bottom: 8px;
    opacity: 1;
    filter: brightness(1.3) contrast(1.2);
}

.tile-content {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    font-family: 'Monaco', 'Courier New', monospace;
    letter-spacing: 0.8px;
    text-transform: lowercase;
    text-shadow: 0 0 12px rgba(102, 126, 234, 0.8),
                 0 1px 3px rgba(0, 0, 0, 0.8);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% { 
        transform: translateY(-25px) translateX(0px);
    }
    75% {
        transform: translateY(-15px) translateX(-10px);
    }
}

@keyframes floatShape {
    0% { 
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) scale(1);
        opacity: 0;
        filter: blur(2px);
    }
    10% {
        opacity: 0.2;
        filter: blur(0.5px);
    }
    30% {
        transform: translate3d(-20px, -30px, 50px) rotateX(180deg) rotateY(90deg) scale(1.1);
        opacity: 0.5;
        filter: blur(0px);
    }
    50% { 
        transform: translate3d(20px, -50px, 100px) rotateX(360deg) rotateY(180deg) scale(1.2);
        opacity: 0.4;
        filter: blur(0.5px);
    }
    70% {
        transform: translate3d(-10px, -30px, 50px) rotateX(540deg) rotateY(270deg) scale(1.1);
        opacity: 0.6;
        filter: blur(0px);
    }
    90% {
        opacity: 0.2;
        filter: blur(0.5px);
    }
    100% { 
        transform: translate3d(0, 0, 0) rotateX(720deg) rotateY(360deg) scale(1);
        opacity: 0;
        filter: blur(2px);
    }
}

@keyframes pulseCounter {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.9) rotateZ(0deg);
        opacity: 0;
        filter: blur(3px);
    }
    20% {
        opacity: 0.15;
        filter: blur(1px);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1) rotateZ(5deg);
        opacity: 0.25;
        filter: blur(0px);
    }
    80% {
        opacity: 0.15;
        filter: blur(1px);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) rotate(45deg); 
        opacity: 0.85; 
    }
    50% { 
        transform: scale(1.08) rotate(45deg); 
        opacity: 1; 
    }
}

@keyframes floatTile {
    0% { 
        transform: translateY(0px) scale(1);
    }
    25% { 
        transform: translateY(-5px) scale(1.01);
    }
    50% { 
        transform: translateY(-8px) scale(1.02);
    }
    75% { 
        transform: translateY(-5px) scale(1.01);
    }
    100% { 
        transform: translateY(0px) scale(1);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    margin: 2% auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #fff;
}

.modal h2 {
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ide-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.ide-category {
    margin-bottom: 16px;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    color: #a0a0a0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ide-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    position: relative;
    flex-direction: column;
    text-align: center;
    min-width: 120px;
}

.ide-btn.featured {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.05);
}

.ide-name {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.ide-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ide-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.ide-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.ide-icon {
    font-size: 18px;
}

.install-instructions {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.setup-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.instructions-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 200px;
}

.ide-instructions {
    display: none;
}

.ide-instructions.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.ide-instructions h3 {
    color: #fff;
    margin-bottom: 15px;
}

.ide-instructions p {
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.6;
}

.ide-instructions ol {
    color: #aaa;
    margin-left: 20px;
    line-height: 1.8;
}

.ide-instructions code {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
}

.file-path {
    margin-top: 15px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
    border-radius: 4px;
}

.copy-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.setup-steps {
    margin: 20px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.step-content p {
    color: #a0a0a0;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.benefits-preview {
    margin-top: 20px;
    padding: 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.benefits-preview h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefits-preview ul {
    margin: 0;
    padding-left: 20px;
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.6;
}

.benefits-preview li {
    margin-bottom: 6px;
}

.instruction-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.5;
    border-left: 3px solid #667eea;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tools showcase - Mobile first */
.tools-showcase {
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.4);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.2);
    max-width: 600px;
}

/* Desktop floating tiles */
@media (min-width: 1024px) {
    .tools-showcase {
        display: none;
    }
    
    .hero {
        max-width: 700px;
    }
    
    .background-grid .app-tile {
        display: flex !important;
        position: absolute;
    }
    
    /* Left side tiles - evenly distributed */
    .tile-1 { 
        top: 10%;
        left: 8%;
    }
    .tile-2 { 
        top: 25%;
        left: 12%;
    }
    .tile-3 { 
        top: 40%;
        left: 10%;
    }
    .tile-4 { 
        top: 55%;
        left: 14%;
    }
    .tile-5 { 
        top: 70%;
        left: 9%;
    }
    
    /* Right side tiles - evenly distributed */
    .tile-6 { 
        top: 15%;
        right: 10%;
    }
    .tile-7 { 
        top: 32%;
        right: 8%;
    }
    .tile-8 { 
        top: 50%;
        right: 12%;
    }
    .tile-9 { 
        top: 68%;
        right: 9%;
    }
}

.tools-label {
    font-size: 14px;
    color: rgba(102, 126, 234, 1);
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.mobile-tiles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 10px;
}

.tools-showcase .app-tile {
    position: static;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border: 3px solid rgba(102, 126, 234, 0.9);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.5), 
                inset 0 0 15px rgba(102, 126, 234, 0.2);
    animation: floatTile 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transition: all 0.3s ease;
}

.tools-showcase .app-tile:nth-child(1) { animation-delay: 0s; animation-duration: 8s; }
.tools-showcase .app-tile:nth-child(2) { animation-delay: 1.3s; animation-duration: 9s; }
.tools-showcase .app-tile:nth-child(3) { animation-delay: 2.6s; animation-duration: 10s; }
.tools-showcase .app-tile:nth-child(4) { animation-delay: 0.5s; animation-duration: 8.5s; }
.tools-showcase .app-tile:nth-child(5) { animation-delay: 1.8s; animation-duration: 9.5s; }
.tools-showcase .app-tile:nth-child(6) { animation-delay: 3s; animation-duration: 11s; }
.tools-showcase .app-tile:nth-child(7) { animation-delay: 0.8s; animation-duration: 9.2s; }
.tools-showcase .app-tile:nth-child(8) { animation-delay: 2.2s; animation-duration: 10.5s; }
.tools-showcase .app-tile:nth-child(9) { animation-delay: 1.5s; animation-duration: 8.8s; }

.tools-showcase .tile-icon {
    font-size: 32px;
    margin-bottom: 6px;
    filter: brightness(1.3);
}

.tools-showcase .tile-content {
    font-size: 12px;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.8);
}

/* Hide the floating background tiles */
.background-grid .app-tile {
    display: none;
}

/* Hide floating icons on mobile for cleaner look */
@media (max-width: 1023px) {
    .floating-icon, .floating-counter, .floating-tool-name {
        display: none;
    }
}

/* Hide background tiles on smaller screens to prevent overlap */
@media (max-width: 767px) {
    .background-grid .app-tile {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .benefits {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 25px auto;
        max-width: 500px;
        padding: 0 20px;
    }
    
    .benefit {
        width: 100%;
        padding: 16px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
    }
    
    .benefit-icon {
        margin-bottom: 0;
    }
    
    .benefit-text {
        text-align: left;
        font-size: 14px;
    }
    
    .benefit-icon {
        font-size: 28px;
    }
    
    .tools-showcase {
        margin: 20px 0 25px 0;
        padding: 15px 10px;
    }
    
    .tools-label {
        font-size: 13px;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }
    
    .mobile-tiles-container {
        gap: 10px;
    }
    
    .tools-showcase .app-tile {
        width: 85px;
        height: 85px;
    }
    
    .tools-showcase .tile-icon {
        font-size: 28px;
    }
    
    .tools-showcase .tile-content {
        font-size: 11px;
    }
    h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .tagline {
        font-size: 20px;
    }
    
    .description {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .hero {
        padding: 30px 20px;
        background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.9) 60%, rgba(10, 10, 10, 0.8) 100%);
    }
    
    .description {
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    .install-section-mobile {
        margin: 30px 0;
    }
    
    /* Create a mobile-friendly grid for tool tiles */
    .cube-grid {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 20px 10px;
        margin-top: 25px;
        margin-bottom: 30px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        z-index: 10;
        position: relative;
    }
    
    .app-tile {
        position: static !important;
        width: 90px;
        height: 90px;
        opacity: 1;
        animation: floatTile 8s ease-in-out infinite;
        margin: 0 auto;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
        border: 2px solid rgba(102, 126, 234, 1);
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), inset 0 0 20px rgba(102, 126, 234, 0.2);
    }
    
    .tile-icon {
        font-size: 32px;
        margin-bottom: 6px;
        opacity: 1;
        filter: brightness(1.3) contrast(1.2);
    }
    
    .tile-content {
        font-size: 12px;
        color: #ffffff;
        font-weight: 800;
        opacity: 1;
        text-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
        letter-spacing: 0.5px;
    }
    
    /* Reset individual tile positions for grid layout */
    .tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6 {
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
    }
    
    /* Stagger animations for visual interest */
    .tile-1 { animation-delay: 0s; }
    .tile-2 { animation-delay: 0.5s; }
    .tile-3 { animation-delay: 1s; }
    .tile-4 { animation-delay: 1.5s; }
    .tile-5 { animation-delay: 2s; }
    .tile-6 { animation-delay: 2.5s; }
    
    .floating-icon {
        display: none; /* Hide floating shapes on mobile */
    }
    
    .background-grid {
        opacity: 0.3; /* Reduce grid opacity on mobile */
    }
    
    .ide-selector {
        flex-direction: column;
        gap: 16px;
    }
    
    .category-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .ide-btn {
        width: 100%;
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        min-width: auto;
        padding: 14px 16px;
    }
    
    .ide-name {
        margin-top: 0;
        margin-left: 8px;
        font-size: 14px;
    }
    
    .setup-steps {
        margin: 16px 0;
    }
    
    .step {
        padding: 12px;
        gap: 12px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .step-content strong {
        font-size: 13px;
    }
    
    .step-content p {
        font-size: 12px;
    }
    
    .benefits-preview {
        padding: 12px;
    }
    
    .benefits-preview h4 {
        font-size: 13px;
    }
    
    .benefits-preview ul {
        font-size: 12px;
    }
    
    .instruction-note {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .add-to-ide-text {
        align-items: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 20px;
        max-height: 95vh;
    }
    
    /* OS Modal responsive adjustments */
    .os-modal-content {
        padding: 20px;
    }
    
    .os-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 16px 0;
    }
    
    .os-option {
        padding: 12px;
    }
    
    .os-icon {
        font-size: 24px;
    }
    
    .os-name {
        font-size: 14px;
    }
    
    .os-arch {
        font-size: 11px;
    }
    
    /* Adjust install section for mobile */
    .install-command {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        width: 100%;
        max-width: 280px;
    }
    
    .install-command span {
        font-size: 12px;
    }
    
    .install-btn {
        width: 100%;
    }
}

/* Download Button Styles */
.download-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 50;
}

.download-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 100;
}

.download-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    width: 100%;
    justify-content: center;
}

.download-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.download-dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.download-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.os-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 9999;
    margin-top: 8px;
    min-width: 280px;
    display: none;
    animation: slideDown 0.2s ease;
}

.os-dropdown.show {
    display: block;
}

.os-option-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.os-option-inline:last-child {
    border-bottom: none;
}

.os-option-inline:hover {
    background: rgba(102, 126, 234, 0.1);
}

.os-option-inline .os-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.os-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.os-details .os-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.os-details .os-arch {
    color: #a0a0a0;
    font-size: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.download-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Pulse animation for download button after OS selection */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 4px 32px rgba(102, 126, 234, 0.6), 0 0 0 8px rgba(102, 126, 234, 0.2);
    }
    100% {
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    }
}

.pulse-animation {
    animation: pulse 1.5s ease-in-out infinite;
}

.download-btn-main.pulse-animation {
    animation: pulse 1.5s ease-in-out infinite;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.download-label {
    font-size: 12px;
    opacity: 0.9;
}

.download-os {
    font-size: 18px;
    font-weight: 700;
}

.os-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.os-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.toggle-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.os-toggle-btn:hover .toggle-icon {
    transform: rotate(90deg);
}

/* Add a rotation animation as backup */
@keyframes gear-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(90deg); }
}

.os-toggle-btn:hover .toggle-icon {
    animation: gear-spin 0.3s ease forwards;
}

/* OS Selection Modal */
.os-modal-content {
    max-width: 600px;
    padding: 30px;
}

.modal-subtitle {
    color: #a0a0a0;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 20px;
    text-align: center;
}

.os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.os-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.os-option:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.os-option:hover .os-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.os-icon {
    font-size: 28px;
}

.os-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.os-arch {
    font-size: 12px;
    color: #a0a0a0;
}

.download-indicator {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    margin-top: 4px;
}

.os-option:hover .download-indicator {
    opacity: 1;
    transform: translateY(0);
}

.install-method {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.install-method h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #a0a0a0;
}

.code-block {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    max-width: 100%;
}

.code-block code {
    flex: 1;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    overflow-x: auto;
}

.code-block pre {
    flex: 1;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    white-space: pre;
    overflow-x: auto;
    margin: 0;
}

.copy-code-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Installation Instructions Modal */
.download-instructions-content {
    max-width: 700px;
    padding: 40px;
}

.install-status {
    text-align: center;
    margin: 24px 0;
    padding: 24px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
}

.install-status .install-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.install-methods {
    margin: 32px 0;
}

.install-method-option {
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: visible;
}

/* Code blocks inside installation methods */
.install-method-option .code-block {
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.5) rgba(0, 0, 0, 0.2);
}

.install-method-option .code-block::-webkit-scrollbar {
    height: 6px;
}

.install-method-option .code-block::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.install-method-option .code-block::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 3px;
}

.install-method-option .code-block::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

.install-method-option h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: white;
}

.method-note {
    font-size: 14px;
    color: #a0a0a0;
    margin-top: 8px;
    font-style: italic;
}

.coming-soon {
    position: relative;
    opacity: 0.7;
}

.coming-soon-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
}

.coming-soon-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 4px;
}

.coming-soon-subtitle {
    font-size: 12px;
    color: #a0a0a0;
    text-align: center;
}

/* Recommended installation method */
.install-method-option.recommended {
    border-color: rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.install-step {
    color: #888;
    font-size: 14px;
    margin-bottom: 12px;
}

.download-actions {
    margin-top: 16px;
}

.direct-download-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.direct-download-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.direct-download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.direct-download-btn.primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.next-steps h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.method-description {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.install-steps-guide {
    margin-top: 20px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.install-steps-guide h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.simple-steps {
    margin: 0;
    padding-left: 20px;
    color: #a0a0a0;
    line-height: 1.6;
}

.simple-steps li {
    margin-bottom: 8px;
}

.simple-steps code {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
}

.next-steps {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-steps p {
    color: #a0a0a0;
    margin-bottom: 16px;
}

.install-steps {
    margin: 32px 0;
}

.install-steps h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.alt-install {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.alt-install p {
    color: #a0a0a0;
    margin-bottom: 12px;
}

/* Mobile adjustments for download button */
@media (max-width: 767px) {
    .download-container {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .download-dropdown {
        width: 100%;
    }
    
    .download-btn-main {
        flex: 1;
        padding: 14px 55px 14px 24px;
        font-size: 16px;
    }
    
    .download-dropdown-toggle {
        right: 10px;
        padding: 8px;
    }
    
    .download-text {
        align-items: center;
    }
    
    .os-dropdown {
        min-width: 100%;
        left: 0;
        right: 0;
    }
    
    .os-option-inline {
        padding: 14px 16px;
    }
    
    .os-details .os-name {
        font-size: 15px;
    }
    
    .os-details .os-arch {
        font-size: 13px;
    }
    
    .os-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .os-option {
        padding: 16px;
    }
    
    .os-icon {
        font-size: 28px;
    }
    
    .os-name {
        font-size: 16px;
    }
    
    .os-arch {
        font-size: 12px;
    }
}

/* Medium screens - Tablets and smaller laptops */
@media (min-width: 768px) and (max-width: 1200px) {
    .hero {
        max-width: 650px;
    }
    
    /* Adjust download container for medium screens */
    .download-container {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        max-width: 420px;
        width: auto;
        padding: 4px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }
    
    /* Make download button more compact */
    .download-btn {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 280px;
        flex: 1;
    }
    
    .download-text {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-label {
        font-size: 11px;
    }
    
    .download-os {
        font-size: 16px;
    }
    
    .download-icon {
        font-size: 18px;
    }
    
    /* Keep settings button inline and compact */
    .os-toggle-btn {
        padding: 10px 14px;
        flex-shrink: 0;
    }
    
    .toggle-icon svg {
        width: 18px;
        height: 18px;
    }
    
    /* Adjust Add to IDE button */
    .add-to-ide {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 400px;
    }
    
    /* Adjust benefits section */
    .benefits {
        gap: 15px;
    }
    
    .benefit {
        min-width: 150px;
        padding: 12px;
    }
    
    /* Adjust floating tiles for medium screens */
    .background-grid .app-tile {
        width: 95px;
        height: 95px;
    }
    
    .tile-icon {
        font-size: 32px;
    }
    
    .tile-content {
        font-size: 13px;
    }
    
    /* Adjust social links for medium screens */
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .social-link {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .description br {
        display: none; /* Remove line breaks for better flow */
    }
    
    .mobile-tiles-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tools-showcase .app-tile {
        width: 80px;
        height: 80px;
    }
    
    .tools-showcase .tile-icon {
        font-size: 26px;
    }
    
    .tools-showcase .tile-content {
        font-size: 10px;
    }
}
/* Method Switcher */
.method-switcher {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
}

.method-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #a0a0a0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.method-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.method-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.method-icon {
    font-size: 24px;
}

.method-name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.method-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Setup Methods */
.setup-method {
    display: none;
}

.setup-method.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.method-header {
    text-align: center;
    margin-bottom: 30px;
}

.method-header h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

.method-description {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5;
}

/* Command Structure */
.setup-commands {
    margin-bottom: 30px;
}

.command-group h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.command-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.command-item.featured {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.command-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.command-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.command-icon {
    font-size: 28px;
    width: 40px;
    text-align: center;
}

.command-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.command-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.command-desc {
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.4;
}

.command-block {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: "Monaco", "Courier New", monospace;
}

.command-block code {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
}

.copy-command-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.copy-command-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Automation Benefits */
.automation-benefits {
    margin-top: 30px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.automation-benefits h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.automation-benefits ul {
    margin: 0;
    padding-left: 20px;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.8;
}

.automation-benefits li {
    margin-bottom: 8px;
}

/* Mobile adjustments for new structure */
@media (max-width: 767px) {
    .method-switcher {
        flex-direction: column;
        gap: 8px;
    }
    
    .method-btn {
        flex-direction: row;
        justify-content: center;
        padding: 12px 16px;
        gap: 12px;
    }
    
    .method-name {
        font-size: 13px;
    }
    
    .method-icon {
        font-size: 20px;
    }
    
    .command-item {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    
    .command-info {
        justify-content: center;
        text-align: center;
    }
    
    .command-block {
        justify-content: center;
    }
    
    .automation-benefits {
        padding: 16px;
    }
    
    .automation-benefits h4 {
        font-size: 15px;
    }
    
    .automation-benefits ul {
        font-size: 13px;
    }
}

/* AI Agents Section */
.ai-agents-section {
    margin: 40px 0;
    text-align: center;
}

.agents-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.agents-text {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

.agents-text strong {
    color: #fff;
}

@media (max-width: 767px) {
    .ai-agents-section {
        margin: 32px 0;
        padding: 0 16px;
    }
    
    .agents-header h3 {
        font-size: 18px;
    }
    
    .agents-text {
        font-size: 15px;
    }
}

/* OS Selection Interface */
.os-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.os-selection-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.os-selection-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.os-selection-btn .os-icon {
    font-size: 32px;
    width: 48px;
    text-align: center;
}

.os-selection-btn .os-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.os-selection-btn .os-name {
    font-size: 16px;
    font-weight: 600;
}

.os-selection-btn .os-arch {
    font-size: 13px;
    color: #a0a0a0;
}

.quick-install-option {
    margin-top: 40px;
    padding: 24px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    text-align: center;
}

.quick-install-option h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.os-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.current-os-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-os-display .os-icon {
    font-size: 28px;
    width: 40px;
    text-align: center;
}

.os-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.os-info .os-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.auto-detected {
    color: #667eea;
    font-size: 12px;
    font-weight: 500;
}

.change-os-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.change-os-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.change-os-btn svg {
    transition: transform 0.2s ease;
}

.change-os-btn:hover svg {
    transform: translateY(1px);
}

/* Mobile adjustments for OS selection */
@media (max-width: 767px) {
    .os-toggle-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding: 16px;
    }
    
    .current-os-display {
        justify-content: center;
    }
    
    .current-os-display .os-icon {
        font-size: 24px;
        width: 36px;
    }
    
    .os-info .os-name {
        font-size: 15px;
    }
    
    .change-os-btn {
        justify-content: center;
        padding: 10px 16px;
    }
    
    .os-selection-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0;
    }
    
    .os-selection-btn {
        padding: 16px;
        gap: 12px;
    }
    
    .os-selection-btn .os-icon {
        font-size: 28px;
        width: 40px;
    }
    
    .os-selection-btn .os-name {
        font-size: 15px;
    }
    
    .os-selection-btn .os-arch {
        font-size: 12px;
    }
    
    .quick-install-option {
        padding: 20px;
        margin-top: 30px;
    }
    
    .quick-install-option h3 {
        font-size: 16px;
    }
}

/* Update note styling */
.update-note {
    color: #a0a0a0;
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

.update-note code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 12px;
}
