@import "main.css";

.cta-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0;
    overflow: visible;
    z-index: 2;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 5vw;
    gap: 4vw;
    overflow: visible;
}

.cta-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 2;
    overflow: visible;
}

.cta-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(11px, 1vw, 14px);
    color: var(--accent2);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.cta-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(40px, 5vw, 80px);
    font-weight: 500;
    line-height: 1.05;
    color: var(--text);
    transform: scaleX(1.15);
    @media (min-width: 2300px) {
        max-width: 40vw;
        font-size: 4.5vw;
    }
    transform-origin: left;
    margin-bottom: 32px;
}

.cta-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(12px, 1vw, 16px);
    color: var(--muted);
    line-height: 1.85;
    max-width: 560px;
}

.cta-desc--second {
    margin-top: 16px;
    margin-bottom: 40px;
    color: var(--muted2);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9vw;
    @media (max-width: 1400px) {
        font-size: clamp(12px, 1.1vw, 15px);
    }
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
    position: relative;
}

.cta-btn--primary {
    background: var(--accent2);
    color: var(--bg);
    border: 1px solid var(--accent2);
}

.cta-btn--primary:hover {
    box-shadow: 0 0 32px rgba(0, 225, 255, 0.45);
}

.cta-btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hi);
}

.cta-btn--outline:hover {
    border-color: var(--accent2);
    color: var(--accent2);
    box-shadow: 0 0 20px rgba(0, 225, 255, 0.15);
}

.cta-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55vh;
    @media (max-width: 2100px) {
        height: 50vh;
    }
    @media (max-width: 1600px) {
        height: 45vh;
    }
    @media (max-width: 1400px) {
        height: 35vh;
    }
    position: relative;
    z-index: 1;
    overflow: visible;
}

#ctaCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 900px) {
    .cta-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 40px;
        padding: 0 6vw;
    }
    .cta-right {
        height: clamp(300px, 55vw, 500px);
        width: 100%;
    }
    .cta-title {
        transform: none;
        font-size: clamp(28px, 8vw, 56px);
    }
    .cta-desc {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: clamp(35px, 9vw, 40px);
    }
    .cta-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    .cta-right {
        height: clamp(240px, 50vw, 420px);
    }
}
