:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-hover: #d63a54;
    --success: #00bf63;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo svg {
    width: 36px;
    height: 36px;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.btn-header {
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-header:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(233,69,96,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 500px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* Form Card */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff6b6b);
    border-radius: var(--radius) var(--radius) 0 0;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-title svg {
    width: 24px;
    height: 24px;
    color: var(--success);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-option {
    flex: 1;
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
}

.radio-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option input:checked + label {
    border-color: var(--accent);
    background: rgba(233,69,96,0.08);
    color: var(--accent);
}

.radio-option label:hover {
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233,69,96,0.3);
}

.form-footer-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 24px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px dashed var(--accent);
    border-radius: 50%;
    opacity: 0.3;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Differentials Section */
.differentials {
    padding: 100px 0;
    background: var(--bg-light);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.diff-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.diff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.diff-icon {
    width: 64px;
    height: 64px;
    background: rgba(233,69,96,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.diff-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.diff-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.diff-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background: var(--primary);
    color: var(--white);
}

.partners-collapsible {
    max-width: 800px;
    margin: 0 auto;
}

.partners-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: var(--radius);
    padding: 24px 32px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.partners-header:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
}

.partners-header h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    margin: 0;
}

.partners-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.partners-collapsible.active .partners-icon {
    transform: rotate(180deg);
}

.partners-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.partners-collapsible.active .partners-content {
    max-height: 600px;
    padding-top: 24px;
}

.partners-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.7;
}

.checklist {
    list-style: none;
    margin-bottom: 28px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.9);
}

.checklist li svg {
    width: 22px;
    height: 22px;
    color: var(--success);
    flex-shrink: 0;
}

.btn-partners {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-partners:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.accordion-question {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-answer {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--accent);
}

.footer-social a:hover svg {
    color: var(--white);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    color: var(--text);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--success);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,191,99,0.4);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

.floating-whatsapp span {
    font-weight: 600;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-card {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-text {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow);
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .hero-image img {
        max-height: 200px;
        width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .floating-whatsapp span {
        display: none;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .form-card {
        padding: 24px 20px;
    }
}

/* Form States */
#formLoading, #formSuccess {
    padding: 40px 0;
    text-align: center;
}

.loading-wrapper, .success-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-wrapper p {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

.loading-wrapper span {
    font-size: 14px;
    color: var(--text-light);
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

@keyframes scaleUp {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-wrapper h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.success-wrapper p {
    font-size: 15px;
    color: var(--text-light);
}

.success-hint {
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 13px !important;
}

.success-loader {
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.success-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--success);
    animation: progress 2s linear forwards;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}
