:root {
    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-glass: rgba(30, 41, 59, 0.7);
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.5);
    --accent: #4ade80;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    /* Lighter for better contrast on dark metrics */
    --gradient-main: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --font-main: 'Outfit', 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary-glow);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
    /* Dark text for logo */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: #334155;
    /* Darker slate-700 for better contrast on white */
    /* Darker grey for links */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    text-shadow: none;
    /* Removed glow as it might look odd on white */
}

.cta-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.5);
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(234, 88, 12, 0.7);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Features/Trust */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Brands Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.brand-card {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brand-card:hover img {
    transform: scale(1.1);
}

.brand-info {
    padding: 1.5rem;
    text-align: center;
}

.brand-btn {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--bg-surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary);
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none;
    }
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

select.form-input option {
    background: var(--bg-surface);
    color: #fff;
}

fieldset {
    min-width: 0;
    /* Fix grid issues */
}

/* Floating Contact Widget */
.contact-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1001;
    /* Above header */
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-phone {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.contact-btn span {
    font-size: 1.4rem;
}

/* Mobile adjustments for widget & Menu */
@media (max-width: 768px) {
    .contact-widget {
        bottom: 0;
        right: 0;
        left: 0;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    }

    .contact-btn {
        flex: 1;
        justify-content: center;
        padding: 0.8rem 0.5rem;
        font-size: 0.95rem;
        /* Slightly smaller text to fit */
        border-radius: 12px;
        /* More like a button bar */
        box-shadow: none;
    }

    /* Undo hover transform on mobile to prevent sticky states */
    .contact-btn:hover {
        transform: none;
        box-shadow: none;
    }

    /* Hamburger Menu Trigger */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 2000;
        padding: 10px;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background: #0f172a;
        margin: 6px 0;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile Menu Overlay */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1500;
        display: flex;
        /* Flex but hidden via opacity/visibility usually, or simpler: transform */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    .mobile-nav-link {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0f172a;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        background: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        /* Large touch target 56px approx */
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        background: var(--primary);
        color: white;
    }

    /* Ensure content isn't hidden behind bottom bar */
    footer {
        padding-bottom: 7rem;
    }
}

@media (min-width: 769px) {

    .hamburger,
    .mobile-menu {
        display: none;
    }
}