:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #10B981;
    --dark: #1E293B;
    --light: #F8FAFC;
    --text: #334155;
    --text-light: #64748B;
    --gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 600px; /* Mobile-first, optimal reading width */
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.bg-light { background-color: var(--light); }

/* Buttons */
.cta-button {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: var(--gradient);
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 24px 0 12px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
    background: linear-gradient(to bottom, #EEF2FF, #ffffff);
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #FEF2F2;
    color: #DC2626;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.headline {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.headline span {
    color: var(--primary);
    display: block;
}

.subheadline {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.terms {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin: 32px auto 0;
    border: 4px solid white;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    font-size: 1.125rem;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--gradient);
}

/* Features Grid (One Column for Mobile) */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid #F1F5F9;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Action Section */
.action {
    background: var(--dark);
    color: white;
}

.action h2 {
    color: white;
}

.action p {
    color: #94A3B8;
}

/* Footer */
.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 40px 0;
}

.footer h3 {
    color: white;
    margin-bottom: 16px;
}

.footer p {
    margin-bottom: 8px;
}

.footer strong {
    color: white;
}

.copyright {
    margin-top: 24px;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Animations */
.opacity-0 { opacity: 0; }
.fade-in { animation: fadeIn 0.8s ease forwards; }
.slide-up { animation: slideUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); }
.zoom-in { animation: zoomIn 0.8s ease forwards; opacity: 0; transform: scale(0.9); }

.animate-active { opacity: 1; transform: translateY(0) scale(1); }

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Desktop optimization (though mobile-first is priority) */
@media (min-width: 768px) {
    .container {
        max-width: 800px;
    }
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .headline {
        font-size: 3.5rem;
    }
    .cta-button {
        display: inline-block;
        width: auto;
        min-width: 300px;
    }
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Disabled CTA Button */
.cta-button.disabled {
    background: #94A3B8;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    animation: none;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #94A3B8;
    cursor: pointer;
}

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

.modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.modal-content h3 {
    margin-bottom: 12px;
    color: #DC2626;
}

.modal-content p {
    color: var(--text);
    margin-bottom: 24px;
}

.modal-btn {
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.modal-btn:hover {
    background: #334155;
}

/* Class Grid */
.class-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.class-grid .cta-button {
    margin: 0;
    padding: 16px;
    font-size: 1.05rem;
}

@media (min-width: 600px) {
    .class-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Logo */
.navbar {
    padding: 16px 0;
    background: white;
    border-bottom: 1px solid #F1F5F9;
}
.logo {
    max-height: 50px;
    width: auto;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.gallery-img, .testi-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.testi-img {
    height: auto;
    object-fit: contain;
    background: white;
    padding: 8px;
}
.gallery-img:hover, .testi-img:hover {
    transform: scale(1.03);
}
@media (min-width: 600px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-img {
        height: 200px;
    }
}

/* Founder */
.founder-card {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #F1F5F9;
    max-width: 500px;
    margin: 0 auto;
}
.founder-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 16px;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow);
}
.founder-card h3 {
    margin-bottom: 12px;
}
.founder-card p {
    font-style: italic;
    color: var(--text-light);
}

/* Test Modal Styles */
.test-modal-content {
    max-width: 500px;
    padding: 24px 20px;
}

.test-modal-content h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.progress-container {
    width: 100%;
    background-color: #E2E8F0;
    border-radius: 999px;
    height: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

.question-counter {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.question-text {
    font-size: 1.15rem;
    margin-bottom: 20px;
    min-height: 60px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background-color: #F8FAFC;
    border: 2px solid #E2E8F0;
    color: var(--text);
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.option-btn:hover, .option-btn:active {
    background-color: #EEF2FF;
    border-color: var(--primary);
    color: var(--primary);
}

/* Results Styles */
.result-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.domain-label {
    width: 80px;
    font-weight: 600;
    font-size: 0.9rem;
}

.bar-bg {
    flex: 1;
    height: 12px;
    background-color: #E2E8F0;
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0%;
    transition: width 1s ease-out;
}

.score-text {
    width: 45px;
    text-align: right;
    font-weight: bold;
    font-size: 0.9rem;
}

