/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f8fafc;
    --accent-color: #16a34a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.highlight {
    color: var(--primary-color);
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.cta-nav {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: var(--border-radius);
}

.cta-nav:hover {
    background: #15803d;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: var(--white);
}

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

.problem-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.problem-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Reasons Section */
.reasons {
    padding: 80px 0;
    background: var(--secondary-color);
}

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

.reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.reason-card p {
    color: var(--text-light);
}

/* Package Section */
.package {
    padding: 80px 0;
    background: var(--white);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.package-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.package-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.package-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.package-item:hover i {
    color: var(--white);
}

.package-item h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.package-visual {
    text-align: center;
}

.package-visual img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--secondary-color);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto 4rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.price-header {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
}

.period {
    font-size: 1.2rem;
    opacity: 0.9;
}

.price-sub {
    font-size: 1.1rem;
    opacity: 0.9;
}

.price-features {
    padding: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.feature:last-child {
    border-bottom: none;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature.renewal {
    background: #f0f9ff;
    margin: 1rem -2rem -2rem;
    padding: 1.5rem 2rem;
}

.feature.renewal i {
    color: var(--primary-color);
}

.pricing-visual {
    text-align: center;
}

.pricing-visual img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: var(--white);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.demo-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    align-self: start;
}

.demo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.demo-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.demo-item:hover .demo-overlay {
    opacity: 1;
}

.demo-item:hover .demo-image img {
    transform: scale(1.05);
}

.demo-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.demo-btn-view {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.demo-btn-link {
    background: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.demo-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.demo-btn-link:hover {
    background: #15803d;
    border-color: #15803d;
}

.demo-content {
    padding: 2rem;
}

.demo-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.demo-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background: var(--secondary-color);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: var(--secondary-color);
    font-weight: 600;
    color: var(--text-dark);
}

.highlight-col {
    background: #f0f9ff !important;
    color: var(--primary-color);
    font-weight: 500;
}

.total-row {
    background: var(--secondary-color);
}

.comparison-table i.fas.fa-check {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Savings Section */
.savings {
    padding: 80px 0;
    background: var(--secondary-color);
}

.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.savings-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.savings-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.savings-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.old-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.new-price {
    color: var(--accent-color);
    font-weight: 600;
}

.savings-total {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.total-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.total-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.total-label {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.total-amount.old {
    color: var(--text-light);
    text-decoration: line-through;
}

.total-amount.new {
    color: var(--accent-color);
}

.savings-highlight {
    background: #f0fdf4;
    color: var(--accent-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
}

/* Order Form Section */
.order-form {
    padding: 80px 0;
    background: var(--white);
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.whatsapp-form {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.form-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Conclusion Section */
.conclusion {
    padding: 80px 0;
    background: var(--secondary-color);
}

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

.conclusion-price {
    margin-bottom: 2rem;
}

.conclusion-price h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.conclusion-analogy {
    margin-bottom: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.conclusion-analogy p {
    text-align: left;
}

.conclusion-analogy ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.conclusion-analogy li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    text-align: left;
}

.conclusion-analogy li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

.conclusion-benefits {
    margin-bottom: 3rem;
}

.conclusion-benefits p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-text p {
    color: #94a3b8;
    margin: 0;
}

.footer-contact {
    display: flex;
    justify-content: flex-end;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: 20px auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: visible;
    min-height: auto;
}

.modal-close {
    position: fixed;
    top: 15px;
    right: 25px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: none;
}

.modal-footer {
    padding: 1.5rem;
    text-align: center;
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .demo-content {
        padding: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .total-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-contact {
        justify-content: center;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-card {
        margin: 0 15px 4rem;
    }

    .whatsapp-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }
}

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

.reason-card,
.package-item,
.savings-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: var(--accent-color);
}

/* Loading state for form */
.btn-whatsapp.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-whatsapp.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
