/* === UBX - Ultimate Blueprint Exporter Page Styles === */

/* Hero */
.ubx-hero {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1a 100%);
    color: white;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.ubx-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(59, 159, 216, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 184, 0, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.ubx-hero-content {
    position: relative;
    z-index: 1;
}

.ubx-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.ubx-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.ubx-tagline {
    font-size: 1.25rem;
    color: var(--color-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ubx-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ubx-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ubx-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.ubx-btn.primary {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 159, 216, 0.35);
}

.ubx-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 159, 216, 0.45);
}

.ubx-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ubx-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.ubx-btn.large {
    padding: 1.1rem 2.25rem;
    font-size: 1.05rem;
}

.ubx-hero-visual {
    position: relative;
    z-index: 1;
}

.ubx-icon-large {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-orange) 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(255, 184, 0, 0.3);
}

.ubx-icon-large svg {
    width: 90px;
    height: 90px;
    color: white;
}

/* Specs Bar */
.ubx-specs-bar {
    background: #0f0f1a;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ubx-specs-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.ubx-spec {
    text-align: center;
}

.ubx-spec-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-yellow);
}

.ubx-spec-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Features Section */
.ubx-features-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ubx-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.ubx-feature-card {
    background: var(--color-bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.ubx-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ubx-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.ubx-feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.ubx-feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.ubx-feature-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Workflow Section */
.ubx-workflow-section {
    padding: 6rem 2rem;
    background: var(--color-bg-alt);
}

.ubx-workflow-section .section-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.ubx-workflow {
    max-width: 900px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ubx-workflow-step {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.ubx-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1rem;
}

.ubx-workflow-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.ubx-workflow-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.ubx-workflow-arrow {
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.ubx-modifiers {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    border: 1px solid var(--color-border);
}

.ubx-modifiers h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

.ubx-modifier-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ubx-modifier {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ubx-modifier code {
    background: #1a1a24;
    color: var(--color-yellow);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    min-width: 100px;
    text-align: center;
}

.ubx-modifier span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Output Section */
.ubx-output-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ubx-output-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ubx-tab {
    padding: 0.6rem 1.25rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.ubx-tab:hover {
    background: var(--color-bg-card);
    color: var(--color-text);
}

.ubx-tab.active {
    background: var(--color-blue);
    color: white;
    border-color: var(--color-blue);
}

.ubx-output-content {
    background: #1a1a24;
    border-radius: 12px;
    overflow: hidden;
}

.ubx-code {
    margin: 0;
    padding: 2rem;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.7;
}

.ubx-code.hidden {
    display: none;
}

.ubx-code code {
    color: #e8e8ed;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Supported Section */
.ubx-supported-section {
    padding: 6rem 2rem;
    background: var(--color-bg-alt);
}

.ubx-supported-section .section-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.ubx-supported-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.ubx-supported-item {
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.ubx-supported-item h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-blue);
}

.ubx-supported-item ul {
    list-style: none;
}

.ubx-supported-item li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--color-border);
}

.ubx-supported-item li:last-child {
    border-bottom: none;
}

/* CTA Section */
.ubx-cta-section {
    padding: 6rem 2rem;
    text-align: center;
}

.ubx-cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ubx-cta-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ubx-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 8rem 1.5rem 3rem;
    }

    .ubx-hero-visual {
        display: none;
    }

    .ubx-hero-cta {
        justify-content: center;
    }

    .ubx-specs-content {
        gap: 2rem;
    }

    .ubx-workflow-arrow {
        display: none;
    }

    .ubx-workflow-step {
        min-width: 100%;
    }

    .ubx-modifier {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
