/* ==================== LAUNCH PAGE STYLES ==================== */

/* Page Layout */
.launch-page {
    min-height: 100vh;
}

.launch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== MINIMAL NAV (LOGO ONLY) ==================== */
.nav-minimal {
    justify-content: center;
}

.nav-minimal .nav-logo {
    margin: 0;
}

/* ==================== HERO SECONDARY LINK ==================== */
.hero-secondary-link {
    color: var(--color-text-tertiary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.hero-secondary-link:hover {
    color: var(--color-text-secondary);
}

/* ==================== SCROLL ANIMATION INITIAL STATES ==================== */
/* These will be animated by GSAP ScrollTrigger */
.tool-item,
.launch-plan-card {
    will-change: transform, opacity;
}

/* ==================== TOOLS SECTION ==================== */
.launch-tools {
    padding: 60px 0;
    background: var(--color-bg-elevated);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.tools-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(80, 38, 127, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.tools-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.tools-header .section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.tools-header .section-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 600;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    position: relative;
}

.tool-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
    position: relative;
}

.tool-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Checkmark */
.tool-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-check svg {
    width: 12px;
    height: 12px;
    color: white;
}

.tool-item.checked .tool-check {
    opacity: 1;
    transform: scale(1);
}

.tool-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(80, 38, 127, 0.3) 0%, rgba(80, 38, 127, 0.1) 100%);
    border-radius: var(--radius-md);
    color: var(--color-accent-light);
    flex-shrink: 0;
}

.tool-icon svg {
    width: 20px;
    height: 20px;
}

.tool-info {
    flex: 1;
    min-width: 0;
}

.tool-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1px;
    color: var(--color-text);
    display: block;
}

.tool-replaces {
    font-size: 12px;
    color: var(--color-text-tertiary);
    display: block;
}

/* Cost badge */
.tool-cost {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-tertiary);
    text-decoration: line-through;
    flex-shrink: 0;
    background: rgba(231, 76, 140, 0.12);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

/* Savings section */
.tools-savings {
    text-align: center;
    padding-top: 24px;
    position: relative;
}

.savings-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.savings-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.savings-label {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.savings-amount {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: #c9302c;
    line-height: 1.2;
}

.savings-tagline {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.savings-tagline strong {
    color: var(--color-accent-light);
    font-weight: 700;
    font-size: 18px;
}

/* ==================== FEATURES/COCKPIT OVERRIDE ==================== */
/* Override the negative margin from styles.css for launch page */
.launch-page .features {
    margin-top: 0;
}

/* ==================== SOCIAL PROOF / TESTIMONIAL CAROUSEL ==================== */
.launch-proof {
    padding: 100px 0;
    background: var(--color-bg);
    overflow: hidden;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-header .section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.testimonial-header .section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
}

.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-slide.prev {
    transform: translateX(-20px);
}

.testimonial-content {
    text-align: center;
    padding: 0 20px;
    min-height: 200px;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 40px;
    color: var(--color-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

/* Carousel Navigation */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.testimonial-prev,
.testimonial-next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--color-bg-elevated);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.testimonial-prev svg,
.testimonial-next svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 12px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.testimonial-dot.active {
    background: var(--color-accent-light);
    transform: scale(1.2);
}

/* ==================== PRICING SECTION ==================== */
.launch-pricing {
    padding: 100px 0;
    background: var(--color-bg);
}

.launch-pricing .pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.launch-pricing .pricing-header .section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.launch-pricing .pricing-header .section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
}

.launch-pricing .pricing-header .section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
}

.launch-pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Show Pro card first on mobile */
.launch-plan-card.featured {
    order: -1;
}

.launch-plan-card {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.launch-plan-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.launch-plan-card.featured {
    border-color: rgba(80, 38, 127, 0.5);
    background: linear-gradient(135deg, rgba(80, 38, 127, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.launch-plan-card.featured:hover {
    background: linear-gradient(135deg, rgba(80, 38, 127, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    white-space: nowrap;
}

.launch-plan-card .card-header {
    text-align: center;
    margin-bottom: 32px;
}

.launch-plan-card .plan-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.launch-plan-card .plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.launch-plan-card .price-original {
    font-size: 14px;
    color: var(--color-text-tertiary);
    text-decoration: line-through;
}

.launch-plan-card .price-main {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.launch-plan-card .price-discounted {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent-light);
    line-height: 1;
}

.launch-plan-card .price-period {
    font-size: 18px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.launch-plan-card .price-duration {
    font-size: 14px;
    color: var(--color-text-tertiary);
    margin-top: 4px;
}

.launch-plan-card .plan-features {
    list-style: none;
    flex: 1;
    margin-bottom: 0;
}

.launch-plan-card .plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.launch-plan-card .plan-features li:last-child {
    border-bottom: none;
}

.launch-plan-card .plan-features .check {
    width: 20px;
    height: 20px;
    background: var(--color-accent-glow);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.launch-plan-card .plan-features .check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 5px;
    height: 8px;
    border: 2px solid var(--color-accent-light);
    border-top: none;
    border-left: none;
}

.launch-plan-card .card-cta {
    margin-top: auto;
    padding-top: 32px;
}

.launch-plan-card .card-cta .btn-full {
    width: 100%;
    justify-content: center;
}

/* ==================== FINAL CTA SECTION ==================== */
.launch-final-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}

.launch-final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 6vw, 36px);
    font-weight: 700;
    margin-bottom: 32px;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* ==================== FOOTER ==================== */
.launch-footer {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.launch-footer p {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--color-text-tertiary);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-text-secondary);
}

/* ==================== TABLET STYLES ==================== */
@media (min-width: 640px) {
    .tools-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tool-item {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
        gap: 0;
    }

    .tool-check {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 24px;
        height: 24px;
    }

    .tool-check svg {
        width: 14px;
        height: 14px;
    }

    .tool-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
    }

    .tool-icon svg {
        width: 26px;
        height: 26px;
    }

    .tool-info {
        text-align: center;
    }

    .tool-name {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .tool-cost {
        position: absolute;
        top: 12px;
        left: 12px;
        font-size: 11px;
        padding: 3px 6px;
    }

    .savings-amount {
        font-size: 40px;
    }

    .savings-tagline strong {
        font-size: 20px;
    }
}

/* ==================== DESKTOP STYLES ==================== */
@media (min-width: 768px) {
    .launch-container {
        padding: 0 48px;
    }

    .launch-tools {
        padding: 80px 0;
    }

    .tools-glow {
        width: 800px;
        height: 500px;
    }

    .tools-header {
        margin-bottom: 48px;
    }

    .tools-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    .tool-item {
        padding: 28px 20px;
    }

    .tool-check {
        top: 14px;
        right: 14px;
    }

    .tool-icon {
        width: 56px;
        height: 56px;
    }

    .tool-icon svg {
        width: 28px;
        height: 28px;
    }

    .tool-cost {
        top: 14px;
        left: 14px;
        font-size: 12px;
        padding: 4px 8px;
    }

    .savings-amount {
        font-size: 48px;
    }

    .savings-tagline {
        font-size: 18px;
    }

    .savings-tagline strong {
        font-size: 22px;
    }

    .launch-proof {
        padding: 100px 0;
    }

    .launch-pricing {
        padding: 100px 0;
    }

    .launch-pricing-cards {
        flex-direction: row;
        gap: 32px;
    }

    .launch-plan-card {
        flex: 1;
    }

    /* Reset order on desktop - Plus first, Pro second */
    .launch-plan-card.featured {
        order: 0;
        transform: scale(1.02);
    }

    .launch-final-cta {
        padding: 120px 0;
    }

    .launch-footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 32px 48px;
    }
}

/* ==================== LARGE DESKTOP ==================== */
@media (min-width: 1024px) {
    .launch-container {
        padding: 0 64px;
    }

    .launch-plan-card {
        padding: 40px 32px;
    }

    .launch-plan-card.featured {
        padding: 48px 40px;
    }
}
