:root {
    --primary: #00a884;
    /* WhatsApp Green */
    --primary-dark: #008f6f;
    --secondary: #128c7e;
    --bg-dark: #0b141a;
    --bg-card: #111b21;
    --text-main: #e9edef;
    --text-muted: #8696a0;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

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

header {
    height: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(11, 20, 26, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

header .container>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 3rem;
    /* Enforce minimum space between logo and nav */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    /* Prevent logo from shrinking */
}

.logo span {
    color: var(--white);
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-grow: 1;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a,
.dropdown-trigger {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    /* Explicitly set for all nav elements */
    transition: var(--transition);
    white-space: nowrap;
}

nav a:hover,
.dropdown:hover .dropdown-trigger {
    color: var(--primary);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--glass);
}

.dropdown-trigger::after {
    content: '▾';
    font-size: 0.8rem;
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 4rem auto 8rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 168, 132, 0.05);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 132, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 132, 0.2);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--glass);
}

/* Features */
.features {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.card .icon {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Legal Content Style */
.legal-content {
    padding: 4rem 0 8rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: var(--primary);
}

.legal-content h2 {
    margin: 2rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        height: auto;
        padding: 1rem 0;
    }

    header .container>div {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}