/* redesign.css */

:root {
    --primary-color: #0DABCD;
    --primary-dark: #0A8BA6;
    --primary-light: #9FE5F0;
    --dark: #05161F;
    --light: #EDFCFE;
    --gray-100: #F8FAFC;
    --gray-600: #525252;
    --gray-900: #0C212D;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--dark);
    line-height: 1.5;
    overflow: hidden;
}

/* Learning Academy Banner */
.academy-banner {
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--light) 100%);
    padding: 12px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(13, 171, 205, 0.1);
    font-size: 14px;
    color: var(--dark);
    position: relative;
    z-index: 100;
}

.academy-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.academy-banner a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.academy-banner a:hover {
    color: var(--primary-dark);
}

.academy-icon {
    font-size: 16px;
}

/* Split Container */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 45px);
}

/* Left Panel - Campaign */
.left-panel {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13,171,205,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.left-panel .panel-content {
    max-width: 600px;
    z-index: 1;
}

.logo-left {
    margin-bottom: 2rem;
}

/* Campaign Hero */
.badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.highlight-amount {
    color: var(--primary-color);
    font-size: 3rem;
    display: inline-block;
}

.value-prop {
    margin: 1.5rem 0;
}

.big-text {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.big-text strong {
    color: var(--primary-color);
}

/* Benefits Quick */
.benefits-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.benefit-quick {
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.benefit-quick:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(13,171,205,0.15);
}

/* CTA Box */
.cta-box {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-preorder, .btn-call {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-preorder {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(13,171,205,0.4);
}

.btn-preorder:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13,171,205,0.5);
}

.btn-call {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-call:hover {
    background: var(--light);
}

/* Right Panel - Support */
.right-panel {
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-left: 2px solid rgba(13,171,205,0.2);
    overflow: auto;
}

.right-panel .panel-content {
    max-width: 550px;
    margin: auto;
    width: 100%;
}

/* Support Box */
.support-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.support-box h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    text-align: center;
}

.support-subtitle {
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-download {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.25rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(13,171,205,0.3);
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13,171,205,0.4);
}

.btn-download:disabled {
    background: var(--success);
    cursor: not-allowed;
}

/* Instructions Box */
.instructions-box {
    margin-top: 1.5rem;
    animation: slideDown 0.4s ease-out;
}

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

.download-success {
    background: var(--light);
    border-left: 4px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.download-success a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Quick Steps */
.quick-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quick-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 8px;
}

.step-num {
    background: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.quick-step strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.mini-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Error Note */
.error-note {
    background: #FEF3C7;
    border: 2px solid var(--warning);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #92400E;
}

.error-note a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Footer */
.contact-footer {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-line {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-line:last-child {
    margin-bottom: 0;
}

.contact-line strong {
    color: var(--primary-color);
}

/* Pre-order Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    animation: fadeIn 0.3s;
}

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

.modal-content-small {
    position: relative;
    margin: 10% auto;
    width: 90%;
    max-width: 500px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-body {
    padding: 2.5rem;
}

.modal-body h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.modal-body > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.modal-benefits {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-benefits div {
    padding: 0.5rem 0;
    font-weight: 500;
}

.modal-cta {
    text-align: center;
}

.modal-cta p {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.btn-modal-call {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(13,171,205,0.3);
}

.btn-modal-call:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13,171,205,0.4);
}

.modal-close {
    color: var(--gray-600);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--gray-900);
}

/* Responsive */
@media (max-width: 1024px) {
    .split-container {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
    
    .left-panel, .right-panel {
        height: auto;
        min-height: 50vh;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .highlight-amount {
        font-size: 2.25rem;
    }
    
    .benefits-quick {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .highlight-amount {
        font-size: 2rem;
    }
    
    .big-text {
        font-size: 1.1rem;
    }
}