/* ===================================
   Global Styles & Reset
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Optical Theme */
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --primary-light: #3385d6;
    --secondary-color: #00c9a7;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

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

/* ===================================
   Header
   =================================== */
.header {
    background: var(--background-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 500;
}

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

.header-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
}

.header-nav a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: var(--text-light) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.header-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: var(--text-light);
    padding: 100px 0 80px;
    overflow: hidden;
}

.optical-hero {
    background: linear-gradient(135deg, #0066cc 0%, #00c9a7 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="50" fill="rgba(255,255,255,0.05)"/><circle cx="900" cy="400" r="80" fill="rgba(255,255,255,0.05)"/><circle cx="1100" cy="150" r="60" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: #ffeb3b;
    display: inline-block;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 35px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 15px;
    opacity: 0.9;
    margin-top: 20px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #e55a28;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--background-white);
    color: var(--primary-color);
    border: 2px solid var(--background-white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--text-light);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ===================================
   Sections
   =================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Why Section
   =================================== */
.why-section {
    background: var(--background-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--background-white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   Features Section
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 45px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===================================
   Modules Section
   =================================== */
.modules-section {
    background: var(--background-light);
}

.modules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.module-item {
    background: var(--background-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.module-icon {
    font-size: 35px;
}

.module-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 0;
}

.module-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.benefit-number {
    font-size: 60px;
    font-weight: 800;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
}

.benefit-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===================================
   FAQs Section
   =================================== */
.faqs-section {
    background: var(--background-white);
    padding: 80px 20px;
}

.faqs-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-light);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 28px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question span:first-child {
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    background: var(--background-light);
}

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

.testimonial-card {
    background: var(--background-white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.testimonial-author strong {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 14px;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-section {
    background: var(--background-white);
    padding: 80px 0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-dark);
}

.discount-badge {
    background: var(--accent-color);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 5px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--background-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: var(--shadow-hover);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-header h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.plan-description {
    color: var(--text-gray);
    font-size: 14px;
}

.plan-price {
    text-align: center;
    margin-bottom: 10px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    vertical-align: top;
    margin-right: 5px;
}

.plan-price .amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

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

.plan-billing {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.plan-features li {
    padding: 12px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--background-light);
    font-size: 15px;
}

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

.pricing-card .btn {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.pricing-footer {
    text-align: center;
    margin-top: 40px;
}

.pricing-footer p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.pricing-note {
    font-size: 13px;
    color: #999;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 30px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    margin: 0;
    color: var(--text-gray);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Contact Form */
.contact-form-container {
    background: var(--background-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
}

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

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social a {
    display: inline-block;
    margin-right: 15px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
    color: #aaa;
}

.footer-tech {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid,
    .why-grid,
    .benefits-grid,
    .modules-container,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
    
    .plan-price .amount {
        font-size: 48px;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.section-title,
.section-subtitle {
    animation: fadeInUp 0.8s ease-out;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}