/* 2027 Gen Z award-winning redesign - proper section flow and transitions */

/* Smooth section transitions with gradient overlays */
section {
    position: relative;
    isolation: isolate;
}

/* Clean section spacing - no weird overlaps */
#hero {
    padding: 140px 24px 100px !important;
}

/* Demo section - clean spacing */
#demo-section {
    padding: 100px 24px !important;
}

/* Tech and download - clean spacing */
#tech {
    padding: 100px 24px !important;
}

#download {
    padding: 100px 24px !important;
    border-top: 1px solid var(--border-subtle);
}

/* Download card container */
.download-card {
    background: rgba(28, 25, 23, 0.6);
    border: 1px solid rgba(45, 212, 191, 0.15);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover {
    border-color: rgba(45, 212, 191, 0.3);
    background: rgba(28, 25, 23, 0.8);
    transform: translateY(-2px);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(168, 162, 158, 0.08);
}

.download-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(45, 212, 191, 0.05));
    border: 1px solid rgba(45, 212, 191, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
}

.download-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.download-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.download-meta {
    font-size: 13px;
    color: var(--text-dim);
}

.download-version-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 8px;
}

.download-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.download-spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(12, 10, 9, 0.4);
    border: 1px solid rgba(168, 162, 158, 0.06);
    border-radius: 8px;
}

.download-spec-label {
    font-size: 11px;
    color: var(--text-ghost);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.download-spec-value {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.download-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.download-button {
    flex: 1;
    padding: 14px 24px;
    background: var(--accent-primary);
    color: var(--bg-base);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.download-button:hover {
    background: #5eead4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 212, 191, 0.3);
}

.download-button-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(168, 162, 158, 0.2);
    flex: 0 0 auto;
    padding: 14px 20px;
}

.download-button-secondary:hover {
    background: rgba(45, 212, 191, 0.05);
    border-color: rgba(45, 212, 191, 0.3);
    color: var(--accent-primary);
}

.download-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(45, 212, 191, 0.03);
    border-left: 2px solid var(--accent-primary);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.download-coming-soon {
    opacity: 0.5;
    pointer-events: none;
}

.download-coming-soon .download-button {
    background: rgba(168, 162, 158, 0.1);
    color: var(--text-dim);
    cursor: not-allowed;
}

.download-coming-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: rgba(168, 162, 158, 0.1);
    border: 1px solid rgba(168, 162, 158, 0.2);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-ghost);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

@media (max-width: 768px) {
    #hero, #demo-section, #tech, #download {
        padding: 60px 20px !important;
    }

    .download-specs {
        grid-template-columns: 1fr;
    }

    .download-actions {
        flex-direction: column;
    }

    .download-button {
        width: 100%;
    }
}

/* Tighter vertical rhythm */
h1 {
    line-height: 1.1 !important;
    margin-bottom: 16px !important;
}

h2 {
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}

p {
    margin-bottom: 20px !important;
}

/* Nav improvements */
nav {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(12, 10, 9, 0.8);
}

/* Better link styling */
a {
    text-decoration: none;
}

/* Smooth everything */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
