:root {
    --primary-color: #6C2BD9; /* Premium Purple */
    --primary-dark: #511CA8;
    --primary-light: #F3EFFF;
    --secondary-color: #FF7E00; /* Energetic Orange */
    --secondary-hover: #E67100;
    --dark-color: #0F172A;
    --text-color: #334155;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
    font-weight: 700;
}

/* Utilities */
.text-primary-custom { color: var(--primary-color) !important; }
.text-orange { color: var(--secondary-color) !important; }
.text-dark-custom { color: var(--dark-color) !important; }
.text-light-custom { color: #CBD5E1 !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-orange { background-color: var(--secondary-color) !important; }
.bg-dark-custom { background-color: var(--dark-color) !important; }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 43, 217, 0.3);
}

.btn-outline-primary-custom {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-orange {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 126, 0, 0.3);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar .nav-link {
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-img-wrapper {
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

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

/* Cards & Elements */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary-light);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-color);
    color: var(--white);
}

/* Pricing */
.pricing-table-wrapper {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table-custom thead th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.table-custom tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #E2E8F0;
}

/* Footer Links */
.footer-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* Sticky WhatsApp */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sticky-whatsapp:hover {
    background-color: #1EBE5D;
    color: var(--white);
    transform: scale(1.1);
}

/* Section padding */
.py-section {
    padding: 80px 0;
}

/* Badge */
.badge-custom {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

/* Images */
.img-placeholder {
    background: #E2E8F0;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Site-wide responsive UI and SEO-friendly layout polish */
:root {
    --border-color: #E2E8F0;
    --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 22px 50px rgba(15, 23, 42, 0.13);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
}

img, svg, video, iframe {
    max-width: 100%;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
}

.max-w-700 { max-width: 700px; }
.max-w-850 { max-width: 850px; }
.shadow-soft { box-shadow: var(--shadow-soft) !important; }
.transition-all { transition: all 0.3s ease; }
.object-fit-cover { object-fit: cover; }
.object-fit-contain { object-fit: contain; }

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f766e 100%) !important;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.navbar {
    backdrop-filter: blur(16px);
}

.navbar .container {
    gap: 0.75rem;
}

.navbar-brand,
.navbar .nav-link {
    white-space: nowrap;
}

.navbar .nav-link {
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: var(--primary-light);
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
}

.dropdown-item {
    min-height: 42px;
    display: flex;
    align-items: center;
}

.dropdown-item:active {
    background-color: var(--primary-color);
}

.hero-section {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(243,239,255,0.92) 100%),
        radial-gradient(circle at 86% 18%, rgba(255,126,0,0.14), transparent 28%);
}

.hero-img-wrapper img,
.py-section img,
.card img {
    height: auto;
}

.feature-card {
    border-radius: 12px;
    border-color: var(--border-color);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

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

.card {
    border-radius: 12px !important;
}

.card,
.pricing-table-wrapper,
.accordion {
    box-shadow: var(--shadow-soft);
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover) !important;
}

.card-body {
    min-width: 0;
}

.alert {
    border-radius: 12px;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color) !important;
    background-color: var(--white) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(108, 43, 217, 0.12);
}

main > .bg-primary-light.py-5,
main > .bg-gradient-primary.py-5 {
    position: relative;
    overflow: hidden;
}

main > .bg-primary-light.py-5 {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%) !important;
    border-bottom: 1px solid rgba(108, 43, 217, 0.08);
}

main > .bg-primary-light.py-5::after,
main > .bg-gradient-primary.py-5::after {
    content: "";
    position: absolute;
    inset: auto -10% -55% auto;
    width: 42%;
    aspect-ratio: 1;
    background: rgba(255, 126, 0, 0.10);
    border-radius: 999px;
    pointer-events: none;
}

.accordion-button {
    min-height: 58px;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(108, 43, 217, 0.12);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: var(--primary-light) !important;
}

.ratio iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 1199.98px) {
    .navbar-brand {
        font-size: 1.35rem !important;
    }

    .navbar .nav-link {
        padding-inline: 0.55rem;
        font-size: 0.94rem;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding-block: 0.75rem !important;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: var(--shadow-soft);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .navbar .nav-link {
        display: block;
        padding: 0.75rem 0.9rem;
        border-radius: 10px;
    }

    .navbar .d-flex.gap-2 {
        align-items: stretch !important;
        flex-direction: column;
        margin-top: 0.75rem;
        width: 100%;
    }

    .navbar .dropdown,
    .navbar .dropdown .btn,
    .navbar .btn-orange {
        width: 100%;
    }

    .navbar .dropdown-menu {
        width: 100%;
        position: static !important;
        transform: none !important;
        margin-top: 0.5rem;
    }

    .hero-section {
        padding: 72px 0 56px;
    }

    .hero-img-wrapper {
        animation: none;
    }

    .hero-img-wrapper .position-absolute {
        position: static !important;
        margin-top: 1rem;
    }

    .py-section {
        padding: 64px 0;
    }

    .ps-lg-5,
    .pe-lg-4 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 0.98rem;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    h1,
    .display-4 {
        font-size: 2.25rem;
        line-height: 1.12;
    }

    h2,
    .display-5 {
        font-size: 1.85rem;
        line-height: 1.18;
    }

    .display-6 {
        font-size: 1.65rem;
    }

    .lead {
        font-size: 1.05rem;
    }

    .hero-section {
        padding: 56px 0 44px;
        text-align: center;
    }

    .hero-section .d-flex.flex-wrap,
    .cta-section .d-flex.flex-wrap {
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-section .btn,
    .cta-section .btn,
    section .btn-lg,
    .card .btn {
        width: 100%;
    }

    .feature-card {
        padding: 22px;
    }

    .feature-icon-box {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .card-body.p-5,
    .card-body.p-md-5,
    .p-md-5 {
        padding: 1.5rem !important;
    }

    .py-section {
        padding: 52px 0;
    }

    footer {
        text-align: center;
    }

    footer .d-flex,
    footer .contact-info-list li {
        justify-content: center;
    }

    .sticky-whatsapp {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
        font-size: 30px;
    }

    .ratio-21x9 {
        --bs-aspect-ratio: 68%;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.15rem !important;
    }

    .navbar-brand i {
        font-size: 1.05rem;
    }

    h1,
    .display-4 {
        font-size: 2rem;
    }

    h2,
    .display-5 {
        font-size: 1.65rem;
    }

    .badge-custom,
    .badge {
        white-space: normal;
        line-height: 1.3;
    }

    .row.gy-5,
    .row.g-4,
    .row.gy-4 {
        --bs-gutter-y: 1.25rem;
    }

    .alert .d-flex {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
