/* ========================
   CSS VARIABLES
======================== */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A24;
    --secondary: #0080FF;
    --secondary-dark: #006ACC;
    --accent: #00FF88;
    --dark: #1E1E32;
    --light: #FFFFFF;
    --gray: #969AA0;
    --bg-light: #F8F9FA;
    --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.1);
    --shadow-md: 0 4px 20px rgba(255, 107, 53, 0.15);
    --shadow-lg: 0 10px 40px rgba(255, 107, 53, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================
   RESET & BASE
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================
   HEADER / NAVIGATION
======================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--light);
    border-bottom: 2px solid var(--primary);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

.logo span {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* ========================
   BUTTONS
======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--light);
}

/* ========================
   HERO SECTION
======================== */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, var(--bg-light) 100%);
    padding: 160px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   SECTIONS
======================== */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 42px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 60px;
    color: var(--dark);
    font-weight: 700;
}

/* ========================
   BENEFITS SECTION
======================== */
.benefits {
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background-color: var(--light);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 600;
}

.benefit-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================
   PORTFOLIO SECTION
======================== */
.portfolio {
    background-color: var(--light);
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-card {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
}

/* ========================
   COMPARISON SECTION
======================== */
.comparison {
    background-color: var(--light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    max-width: 100%;
    width: 100%;
    min-width: 500px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: var(--light);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table td, .comparison-table th {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
    font-size: 14px;
}

.comparison-table th {
    background-color: var(--dark);
    color: var(--light);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.comparison-table th.highlight-col {
    background-color: var(--primary);
}

.comparison-table tr:hover {
    background-color: var(--bg-light);
}

.check {
    color: var(--accent);
    font-weight: bold;
}

.cross {
    color: var(--gray);
}

/* ========================
   PRICING SECTION
======================== */
.pricing {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.pricing-card {
    background-color: var(--light);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 600;
}

.price {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.price span {
    font-size: 20px;
    color: var(--gray);
    font-weight: 400;
}

.pricing-list {
    text-align: left;
    margin: 30px 0;
    list-style: none;
}

.pricing-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--gray);
}

.pricing-list li:before {
    content: "✓ ";
    color: var(--accent);
    font-weight: bold;
    margin-right: 10px;
}

.pricing-note {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.pricing-note p {
    color: var(--dark);
    font-size: 16px;
}

/* ========================
   FAQ SECTION
======================== */
.faq {
    background-color: var(--light);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
}

.faq-item h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 12px;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item h3:hover {
    color: var(--primary-dark);
}

.faq-item h3::after {
    content: '+';
    font-size: 28px;
    transition: var(--transition);
}

.faq-item.active h3::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.7;
    padding-top: 8px;
}

/* ========================
   CONTACT SECTION
======================== */
.contact {
    background-color: var(--bg-light);
}

.contact-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 60px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================
   WHATSAPP FORM
======================== */
.whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.whatsapp-form input,
.whatsapp-form textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.whatsapp-form textarea {
    resize: vertical;
    min-height: 100px;
}

.whatsapp-form button {
    width: 100%;
}

/* ========================
   FOOTER
======================== */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-section h4 {
        font-size: 14px;
    }
}

/* ========================
   BACK TO TOP
======================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .menu-toggle {
        display: flex;
    }

    header .container {
        padding: 16px 16px;
    }

    .logo {
        font-size: 22px;
    }

    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }

    nav a {
        padding: 12px 0;
        border-bottom: 1px solid #e2e8f0;
    }

    nav.active {
        right: 0;
    }

    .comparison-table {
        min-width: auto;
    }

    .comparison-table td, .comparison-table th {
        padding: 10px 8px;
        font-size: 12px;
        white-space: normal;
    }

    .comparison-table th {
        font-size: 11px;
        padding: 8px 6px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .benefits-grid,
    .pricing-grid,
    .contact-methods,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card,
    .pricing-card,
    .contact-card,
    .portfolio-card {
        padding: 24px;
    }

    .benefit-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .benefit-card h3,
    .pricing-card h3,
    .contact-card h3 {
        font-size: 18px;
    }

    .pricing-card.featured {
        transform: scale(1);
        border: 2px solid var(--primary);
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .pricing-options {
        grid-template-columns: 1fr !important;
    }
        font-size: 36px;
    }

    .price span {
        font-size: 16px;
    }

    .badge {
        font-size: 12px;
        padding: 4px 12px;
    }

    .faq-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .contact-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .pricing-note {
        padding: 16px;
        margin-top: 40px;
    }

    .pricing-note p {
        font-size: 14px;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
    }

    header .container {
        padding: 12px 12px;
    }

    .logo {
        font-size: 18px;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .benefit-card,
    .pricing-card,
    .contact-card,
    .portfolio-card {
        padding: 16px;
    }

    .benefit-icon {
        font-size: 32px;
    }

    .benefit-card h3,
    .pricing-card h3,
    .contact-card h3 {
        font-size: 16px;
    }

    .benefit-card p,
    .pricing-list li,
    .faq-answer p {
        font-size: 13px;
    }

    .price {
        font-size: 28px;
    }

    .price span {
        font-size: 14px;
    }

    .faq-item h3 {
        font-size: 14px;
    }

    .faq-item h3::after {
        font-size: 24px;
    }

    .comparison-table {
        min-width: 100%;
    }

    .comparison-table td, .comparison-table th {
        padding: 8px 6px;
        font-size: 11px;
    }

    .contact-icon {
        font-size: 36px;
    }

    .whatsapp-form input,
    .whatsapp-form textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .whatsapp-form textarea {
        min-height: 80px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .footer-logo {
        font-size: 18px;
    }

    .footer-section h4 {
        font-size: 12px;
    }
}
