/* App Install Reminder Banner */
.app-install-reminder {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 12px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    display: none;
    animation: slideDownBanner 0.4s ease-out;
}

.app-install-reminder.show {
    display: block;
}

@keyframes slideDownBanner {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.install-reminder-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.install-reminder-icon {
    font-size: 1.3rem;
}

.install-reminder-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.install-reminder-cta {
    background: white;
    color: #7c3aed;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.install-reminder-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.install-reminder-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 8px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.install-reminder-close:hover {
    opacity: 1;
}

body.has-install-banner .modern-nav {
    top: 52px;
}

body.has-install-banner .hero-modern {
    padding-top: 140px;
}

@media (max-width: 600px) {
    .install-reminder-text {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .install-reminder-content {
        gap: 8px;
    }
    
    body.has-install-banner .hero-modern {
        padding-top: 160px;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #333;
    line-height: 1.7;
    -webkit-tap-highlight-color: transparent;
}

/* Smooth transitions for all interactive elements */
button, a, input, textarea, select, .card, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    button, .btn, a.btn, input[type="submit"] {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1.05rem;
    }
    
    input, textarea, select {
        min-height: 48px;
        font-size: 16px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
    min-height: auto;
}

.logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.tagline {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.95);
    color: #7c3aed;
    padding: 14px 35px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.subtitle {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.92);
    color: #1e293b;
    padding: 16px 32px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* View Programs Button */
.view-programs-btn {
    display: inline-block;
    background: white;
    color: #7c3aed;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 20px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid white;
}

.view-programs-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: #f3f4f6;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 40px;
    text-align: center;
    animation: fadeInUp 1.5s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 500;
}

.scroll-arrow {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes fadeInUp {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

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

/* Categories Section */
.categories {
    background: #f4f8fb;
    padding: 60px 20px;
    min-height: 100vh;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.section-desc {
    text-align: center;
    color: #718096;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.category-section {
    margin-bottom: 60px;
}

.category-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #4a5568;
    text-align: center;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) and (min-width: 769px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.category-card.substance {
    border-color: #f56565;
}

.category-card.behavioral {
    border-color: #4299e1;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    display: block;
    line-height: 1.2;
    text-align: center;
}

.category-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2d3748;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.card-desc {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 15px;
}

.card-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Features Section */
.features {
    background: white;
    padding: 80px 20px;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2d3748;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2d3748;
}

.feature p {
    color: #718096;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sub Header */
.sub-header {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 30px 20px;
}

.back-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 15px;
    opacity: 0.9;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.sub-header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.assessment-name {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Assessment Page */
.assessment-page {
    background: #f4f8fb;
    min-height: 100vh;
    padding: 40px 20px;
}

.progress-bar {
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #718096;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.question {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.question.active {
    display: block;
    animation: fadeIn 0.4s;
}

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

.question-text {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #2d3748;
    line-height: 1.5;
}

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

.option-label {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-label:hover {
    background: #edf2f7;
    border-color: #7c3aed;
}

.option-label input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.option-label input[type="radio"]:checked + .option-text {
    font-weight: 600;
    color: #7c3aed;
}

.option-text {
    font-size: 1.05rem;
    color: #2d3748;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72, 187, 120, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 20px;
}

.confidential-notice {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: #edf2f7;
    border-radius: 8px;
    color: #4a5568;
}

/* Results Page */
.results-page {
    background: #f4f8fb;
    min-height: 100vh;
    padding: 40px 20px;
}

.results-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.score-section {
    text-align: center;
    margin-bottom: 40px;
}

.score-display {
    display: inline-block;
    padding: 30px 50px;
    border-radius: 16px;
    border: 4px solid;
    margin-top: 20px;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.risk-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.feedback-section {
    background: #edf2f7;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.feedback-section h3 {
    margin-bottom: 15px;
    color: #2d3748;
}

.ai-feedback {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.subscription-section {
    margin-bottom: 40px;
}

.subscription-section h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #2d3748;
}

.subscription-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.sub-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sub-header-info h4 {
    font-size: 1.5rem;
    color: #2d3748;
}

.sub-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7c3aed;
}

.sub-desc {
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.included {
    margin-bottom: 20px;
}

.included h5 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tools-list,
.products-list {
    list-style: none;
    padding-left: 0;
}

.tools-list li,
.products-list li {
    padding: 8px 0;
    color: #4a5568;
}

.guarantee {
    text-align: center;
    color: #718096;
    font-size: 0.95rem;
    margin-top: 15px;
}

.resources-section h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #2d3748;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.resource-card {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.resource-card h4 {
    margin-bottom: 10px;
    color: #2d3748;
}

.resource-card p {
    color: #718096;
    margin-bottom: 5px;
}

.resource-card a {
    color: #7c3aed;
    text-decoration: none;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* Payment Buttons Container - Desktop */
.payment-buttons-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.payment-method-btn {
    min-height: 48px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.payment-method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    /* Make hero section compact on mobile */
    .hero {
        padding: 40px 20px 30px;
        min-height: auto;
    }
    
    .header-logo {
        max-width: 120px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    /* Make button prominent on mobile */
    .view-programs-btn {
        font-size: 1rem;
        padding: 14px 30px;
        margin: 15px auto;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }
    
    /* Make scroll indicator less prominent (button is more important) */
    .scroll-indicator {
        margin-top: 15px;
        opacity: 0.8;
    }
    
    .scroll-indicator span {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .scroll-arrow {
        font-size: 2.5rem;
        color: #fbbf24;
    }
    
    /* Make categories section stand out */
    .categories {
        padding: 40px 15px;
    }
    
    .categories h2 {
        font-size: 1.8rem;
        color: #7c3aed;
        font-weight: 700;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    /* Make category cards smaller on mobile to fit 3 per row */
    .category-card {
        padding: 15px 8px;
        border-radius: 12px;
        min-height: 240px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .category-card h4 {
        font-size: 0.75rem;
        margin-bottom: 5px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .card-desc {
        font-size: 0.65rem;
        margin-bottom: 8px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .card-price {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .card-btn {
        font-size: 0.65rem;
        padding: 6px 8px;
        line-height: 1.1;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* CRITICAL: Make icons visible and properly sized on mobile */
    .card-icon {
        font-size: 2.5rem !important;
        margin-bottom: 8px !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
        display: block !important;
        text-align: center !important;
        line-height: 1 !important;
        height: auto !important;
        width: 100% !important;
    }
    
    .sub-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .question-text {
        font-size: 1.2rem;
    }
    
    /* Payment buttons mobile fix */
    .payment-method-btn {
        font-size: 0.85rem !important;
        padding: 12px 10px !important;
        line-height: 1.4;
        min-height: 48px;
    }
    
    /* Stack buttons vertically on tablets and below */
    .payment-buttons-container {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .payment-buttons-container .payment-method-btn {
        width: 100% !important;
        flex: none !important;
    }
    
    /* Payment methods icons - wrap on mobile */
    .payment-methods {
        padding: 15px 10px !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        font-size: 0.85rem !important;
    }
    
    .payment-methods > div {
        flex-shrink: 0;
    }
    
    .payment-methods p {
        font-size: 0.7rem !important;
    }
    
    /* Success page mobile */
    .success-container {
        margin: 40px auto !important;
        padding: 20px !important;
    }
    
    .success-icon {
        font-size: 3.5rem !important;
    }
    
    .next-steps {
        padding: 20px !important;
    }
    
    .step {
        padding: 15px !important;
    }
    
    .step h3 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    /* Results page mobile */
    .results-card {
        padding: 20px !important;
    }
    
    .subscription-card {
        padding: 20px !important;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 14px 20px;
    }
    
    /* Resources grid mobile */
    .resources-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .resource-card {
        padding: 20px;
    }
    
    /* Admin dashboard mobile */
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Progress page mobile */
    .progress-container {
        padding: 20px !important;
    }
    
    .milestone {
        padding: 15px !important;
    }
    
    /* Dashboard action buttons mobile fix */
    .action-btn {
        min-width: auto !important;
        font-size: 0.95rem !important;
        padding: 12px 20px !important;
    }
    
    /* Modal forms mobile */
    #contactModal > div {
        margin: 20px auto !important;
        padding: 20px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero {
        padding: 60px 15px 40px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .header-logo {
        max-width: 150px;
    }
    
    .categories {
        padding: 40px 15px;
    }
    
    .categories h2 {
        font-size: 1.8rem;
    }
    
    .category-section h3 {
        font-size: 1.4rem;
    }
    
    /* Payment buttons on very small screens */
    .payment-method-btn {
        font-size: 0.9rem !important;
        padding: 14px 12px !important;
        line-height: 1.5;
        min-height: 52px;
        white-space: normal !important;
        word-wrap: break-word;
    }
    
    /* Ensure full-width buttons on small screens */
    .payment-buttons-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 10px;
    }
    
    .payment-buttons-container .payment-method-btn {
        width: 100% !important;
        max-width: 100%;
        flex: none !important;
        box-sizing: border-box;
    }
    
    /* Payment methods icons - smaller on very small screens */
    .payment-methods {
        padding: 12px 8px !important;
        gap: 6px !important;
    }
    
    .payment-methods > div:nth-child(odd) {
        font-size: 2rem !important;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Ensure containers don't overflow */
    .container, .results-card, .subscription-card {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Input fields */
    input[type="email"],
    input[type="tel"] {
        font-size: 0.9rem !important;
        padding: 12px !important;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    .btn-large {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
    
    /* Success page extra small */
    .success-container {
        margin: 20px auto !important;
        padding: 15px !important;
    }
    
    .success-container h1 {
        font-size: 1.5rem;
    }
    
    .success-container p {
        font-size: 1rem !important;
    }
}

/* ========================================
   LOCK OVERLAY COMPONENTS - Mobile Responsive
   ======================================== */

/* Base overlay styles - Mobile first */
.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 2;
    max-width: 90%;
    width: 280px;
}

.lock-overlay--apps {
    background: rgba(124, 58, 237, 0.95);
}

.lock-overlay--kit {
    background: rgba(16, 185, 129, 0.95);
}

.lock-overlay__icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1;
}

.lock-overlay__title {
    margin: 0 0 8px 0;
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 600;
    line-height: 1.2;
}

.lock-overlay__description {
    margin: 0 0 12px 0;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    opacity: 0.95;
    line-height: 1.4;
}

.lock-overlay__features {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: clamp(0.75rem, 2.5vw, 0.8rem);
    line-height: 1.6;
}

.lock-overlay__features br {
    display: block;
    content: "";
    margin: 2px 0;
}

/* Tablet screens */
@media (min-width: 481px) and (max-width: 768px) {
    .lock-overlay {
        padding: 1.25rem 1.5rem;
        width: 300px;
        max-width: 85%;
    }
    
    .lock-overlay__icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .lock-overlay__title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .lock-overlay__description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .lock-overlay__features {
        padding: 10px;
        font-size: 0.8rem;
    }
}

/* Desktop screens */
@media (min-width: 769px) {
    .lock-overlay {
        padding: 1.5rem 2rem;
        width: 320px;
        max-width: 400px;
    }
    
    .lock-overlay__icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .lock-overlay__title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .lock-overlay__description {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .lock-overlay__features {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* Ensure parent positioning */
.resources-section {
    position: relative;
}

.resources-section .blurred-preview {
    position: relative;
    filter: blur(4px);
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}
/* Mobile Viewport Fix - Prevent zoom on input focus */
input[type='email'], input[type='tel'], input[type='text'], input[type='password'], textarea { font-size: 16px !important; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
    }
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 35px;
        height: 35px;
    }
}

/* ========================================
   ENHANCED UX/UI IMPROVEMENTS (Nov 2025)
   ======================================== */

/* Enhanced Card Designs with Better Shadows */
.card, .results-card, .worksheet-card, .resource-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover, .worksheet-card:hover, .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Improved Typography for Better Readability */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.6em;
}

p {
    margin-bottom: 1em;
    color: #475569;
    line-height: 1.8;
}

/* Enhanced Button Styles with Active States */
.btn, button, input[type="submit"], .card-btn {
    cursor: pointer;
    user-select: none;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn:active, button:active, input[type="submit"]:active {
    transform: scale(0.98);
}

.btn:disabled, button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Ripple Effect for Buttons */
.btn::after, button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after, button:active::after {
    width: 300px;
    height: 300px;
}

/* Improved Form Inputs with Focus States */
input:not([type="radio"]):not([type="checkbox"]), 
textarea, 
select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

input:focus, textarea:focus, select:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    outline: none;
}

/* Smooth Loading States */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Enhanced Progress Bars */
.progress-bar {
    background: #e2e8f0;
    border-radius: 100px;
    overflow: hidden;
    height: 12px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 100%);
    border-radius: 100px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

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

/* Mobile-First Spacing Improvements */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 16px 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .card, .results-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    /* Better mobile navigation */
    .nav-links {
        padding: 12px;
    }
    
    .nav-links a {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

/* Smooth Scroll Padding for Fixed Headers */
html {
    scroll-padding-top: 80px;
}

/* Enhanced Tooltips */
[title] {
    position: relative;
    cursor: help;
}

/* Accessibility Improvements */
:focus-visible {
    outline: 3px solid #7c3aed;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Improved Link Styles */
a {
    color: #7c3aed;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #6d28d9;
    text-decoration: underline;
}

/* Better Image Loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skeleton Loading for Better Perceived Performance */
.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #f8f8f8 50%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Improved Mobile Bottom Navigation */
@media (max-width: 768px) {
    .bottom-nav {
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
        padding: 8px 0;
    }
    
    .bottom-nav a {
        padding: 8px 4px;
        min-width: 64px;
    }
}

/* Enhanced Modal/Dialog Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.modal, .dialog {
    animation: fadeIn 0.3s ease-out, slideUp 0.3s ease-out;
}

/* Print Styles */
@media print {
    .no-print, .bottom-nav, .whatsapp-float, header, .sub-header {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .container {
        max-width: 100%;
    }
}

/* ========================================
   REDESIGNED LANDING PAGE STYLES (Dec 2025)
   Modern, Visual, User-Friendly Design
   ======================================== */

body.redesigned {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.6;
}

/* Modern Navigation */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: #7c3aed;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

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

.nav-link {
    padding: 10px 16px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #7c3aed;
    background: #f5f3ff;
    text-decoration: none;
}

.nav-greeting {
    color: #64748b;
    font-size: 0.9rem;
    margin-right: 8px;
}

.nav-cta {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #64748b;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section - Modern */
.hero-modern {
    padding: 120px 24px 60px;
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
    overflow: hidden;
}

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

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

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    color: #7c3aed;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-icon {
    display: flex;
    align-items: center;
}

.badge-icon svg {
    fill: #7c3aed;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1e293b;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
    text-decoration: none;
    color: white;
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #64748b;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-secondary-large:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    text-decoration: none;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    margin-left: -12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-avatar:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-rating {
    display: flex;
    gap: 2px;
}

.trust-text strong {
    font-size: 0.9rem;
    color: #1e293b;
}

/* Hero Image Section */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-main-img {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon.green {
    background: #d1fae5;
    color: #10b981;
}

.float-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.hero-float-card div:last-child {
    display: flex;
    flex-direction: column;
}

.hero-float-card strong {
    font-size: 0.95rem;
    color: #1e293b;
}

.hero-float-card span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    padding: 60px 24px;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.stat-item.animate .stat-number {
    animation: countUp 1s ease-out;
}

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

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    color: #7c3aed;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 24px;
    background: #f8fafc;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 280px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    margin-bottom: 24px;
    color: #7c3aed;
}

.step-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.step-connector {
    color: #7c3aed;
    opacity: 0.5;
}

/* Visual Steps with Photos */
.steps-visual-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-visual-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-width: 300px;
    flex: 1;
    min-width: 260px;
}

.step-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.15);
}

.step-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.step-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.step-visual-card:hover .step-photo {
    transform: scale(1.05);
}

.step-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-content {
    padding: 24px;
    text-align: center;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.step-arrow svg {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .steps-visual-grid {
        flex-direction: column;
        gap: 24px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .step-visual-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Programs Section */
.programs-section {
    padding: 100px 24px;
    background: white;
}

.program-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon.substance-icon {
    background: #fee2e2;
    color: #ef4444;
}

.category-icon.behavioral-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.category-header h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.program-card {
    text-decoration: none;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.program-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    transform: translateY(-4px);
    text-decoration: none;
}

.program-card-inner {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.program-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

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

.program-info h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.program-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #7c3aed;
}

.program-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f3ff;
    color: #7c3aed;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.program-card:hover .program-btn {
    background: #7c3aed;
    color: white;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 24px;
    background: #f8fafc;
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
}

.testimonial-card.featured .testimonial-text {
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-card.featured .author-info span {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1rem;
    color: #1e293b;
}

.testimonial-card.featured .author-info strong {
    color: white;
}

.author-info span {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Features Section - Modern */
.features-modern {
    padding: 100px 24px;
    background: white;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-image {
    position: relative;
}

.feature-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.features-content h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 40px;
    line-height: 1.2;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box.green {
    background: #d1fae5;
    color: #10b981;
}

.feature-icon-box.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.feature-icon-box.blue {
    background: #dbeafe;
    color: #3b82f6;
}

.feature-icon-box.orange {
    background: #ffedd5;
    color: #f97316;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    padding: 100px 24px;
}

.cta-section.cta-with-image {
    padding: 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-container-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.cta-image-side {
    position: relative;
    overflow: hidden;
}

.cta-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-content-side {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content-side h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-content-side > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.cta-stats-mini {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.cta-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #7c3aed;
    padding: 18px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.cta-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-top: 24px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .cta-container-full {
        grid-template-columns: 1fr;
    }
    
    .cta-image-side {
        height: 300px;
    }
    
    .cta-content-side {
        padding: 40px 24px;
        text-align: center;
    }
    
    .cta-stats-mini {
        justify-content: center;
    }
    
    .cta-content-side h2 {
        font-size: 1.8rem;
    }
    
    .btn-cta-large {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        margin: 0 auto;
    }
    
    .cta-guarantee {
        justify-content: center;
    }
}

/* Modern Footer */
.modern-footer {
    background: #1e293b;
    color: white;
    padding: 80px 24px 40px;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #7c3aed;
    transform: translateY(-3px);
}

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

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-disclaimer {
    color: #64748b;
    font-size: 0.85rem;
}

.admin-link {
    display: inline-block;
    margin-top: 16px;
    color: #64748b;
    font-size: 0.8rem;
    opacity: 0.5;
}

.admin-link:hover {
    opacity: 1;
}

/* Fade In Animation */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive - Redesigned */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        display: flex;
        justify-content: center;
    }
    
    .hero-main-img {
        max-width: 400px;
    }
    
    .hero-float-card.card-1 {
        left: 10%;
    }
    
    .hero-float-card.card-2 {
        right: 10%;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-image {
        order: -1;
    }
    
    .feature-img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 8px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link, .nav-cta {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
    
    .hero-modern {
        padding: 100px 20px 50px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-large, .btn-secondary-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-float-card {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-connector {
        transform: rotate(90deg);
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .btn-cta-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .step-card {
        padding: 30px 20px;
    }
}

/* Scroll to top button update for redesign */
body.redesigned .scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

body.redesigned .scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.redesigned .scroll-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
}

body.redesigned .scroll-to-top:active {
    transform: translateY(0) scale(1);
}

body.redesigned .scroll-to-top svg {
    display: block;
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

/* Mobile scroll-to-top visibility fix */
@media (max-width: 768px) {
    body.redesigned .scroll-to-top {
        bottom: 90px;
        right: 16px;
        width: 52px;
        height: 52px;
        z-index: 9990;
        box-shadow: 0 4px 16px rgba(124, 58, 237, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.9);
    }
    
    body.redesigned .scroll-to-top svg {
        width: 22px;
        height: 22px;
    }
}

/* WhatsApp button positioning for redesign */
body.redesigned .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
}
