:root {
    /* Brand Colors */
    --indigo-ink: #27187eff;
    --cornflower-blue: #758bfdff;
    --periwinkle: #aeb8feff;
    --white: #ffffff;
    --light-grey: #f8fafc;
    --text-dark: #27187e;
    --text-body: #475569;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(39, 24, 126, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(39, 24, 126, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(39, 24, 126, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(39, 24, 126, 0.06);
}


/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--indigo-ink);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-body);
}

.text-xs {
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--indigo-ink), var(--cornflower-blue));
    color: white;
    box-shadow: var(--shadow-md);
}

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

.link-secondary {
    color: var(--indigo-ink);
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.link-secondary:hover {
    border-color: var(--cornflower-blue);
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(39, 24, 126, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Ensure vertical alignment */
    width: 100%;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-body);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    background: radial-gradient(circle at top right, rgba(174, 184, 254, 0.2), transparent 40%);
}

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

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(39, 24, 126, 0.05);
    color: var(--indigo-ink);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--indigo-ink);
}

.gradient-text {
    background: linear-gradient(90deg, var(--cornflower-blue), var(--indigo-ink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 24px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(117, 139, 253, 0.15));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Clients Section */
.clients {
    padding: 60px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-grey);
}

.logos-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logos-container:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logos-img {
    height: 80px;
    object-fit: contain;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--indigo-ink);
    text-align: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light-grey);
}

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

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--periwinkle);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(117, 139, 253, 0.1);
    color: var(--indigo-ink);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

/* Pricelist */
.pricelist {
    padding: 100px 0;
    background: var(--white);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
}

.price-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.3s ease;
}

.price-card:hover {
    border-color: var(--cornflower-blue);
    box-shadow: var(--shadow-lg);
}

.price-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--cornflower-blue);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cornflower-blue);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--indigo-ink);
    margin: 24px 0;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-body);
    font-weight: 400;
}

.plan-features li {
    margin-bottom: 12px;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--cornflower-blue);
    font-weight: bold;
}

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

.btn-outline:hover {
    background: var(--indigo-ink);
    color: var(--white);
}

/* Contact */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--indigo-ink), var(--cornflower-blue));
    color: var(--white);
    text-align: center;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    padding: 60px 0 30px;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    color: var(--text-body);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--indigo-ink);
    opacity: 0.7;
    transition: all 0.3s;
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hamburger Styles */
.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--indigo-ink);
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-subheadline {
        margin: 0 auto 32px auto;
    }

    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn,
    .hero-cta-group .link-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Mobile Nav */
    .hamburger {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - var(--nav-height));
        padding: 24px;
        transition: 0.3s;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
        gap: 24px;
    }

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

    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-grey);
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 20px;
    }

    /* Stack Grids */
    .features-grid,
    .price-grid {
        grid-template-columns: 1fr;
    }

    .logos-container {
        flex-wrap: wrap;
        gap: 24px;
    }

    .client-logos-img {
        height: 60px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}