:root {
    --bg-dark: #09090b;
    --bg-alt: #121217;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --highlight: #60a5fa;
    --whatsapp: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--highlight), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 48px;
    text-align: center;
}

.text-left {
    text-align: left !important;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: none;
}
@media (min-width: 768px) {
    .nav-link { display: block; }
}
.nav-link:hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
}
.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #000;
    box-shadow: 0 4px 24px var(--whatsapp-glow);
}
.btn-whatsapp:hover {
    background: #20b858;
    transform: translateY(-2px);
}
.btn-whatsapp i {
    font-size: 1.4rem;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-card);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
}

.link-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    text-decoration: underline;
}
.link-btn:hover {
    color: var(--text-main);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.hero-content p {
    font-size: 1.25rem;
    margin: 0 auto 40px auto;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.glow-bg {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    filter: blur(80px);
}

/* Sections */
.section {
    padding: 120px 0;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service-card {
    text-align: left;
}
.service-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 24px;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.about-desc {
    font-size: 1.25rem;
    line-height: 1.8;
}
.legal-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 16px;
}
.legal-card i {
    color: var(--highlight);
    font-size: 1.75rem;
}
.legal-info ul {
    list-style: none;
}
.legal-info li {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.legal-info li strong {
    color: var(--text-main);
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-card {
    text-align: center;
    padding: 48px 24px;
}

.contact-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.contact-card:hover .icon {
    color: var(--highlight);
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}
.contact-card p {
    margin-bottom: 16px;
    font-size: 1rem;
}

.contact-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}
.contact-link:hover {
    text-decoration: underline;
}

.whatsapp-card {
    position: relative;
    overflow: hidden;
}
.whatsapp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--whatsapp);
}
.whatsapp-card .icon {
    color: var(--whatsapp);
}
.whatsapp-card:hover .icon {
    color: #20b858;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-card);
    padding: 60px 0;
    text-align: center;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-logo span {
    color: var(--accent);
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background-color: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 32px var(--whatsapp-glow);
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 40px var(--whatsapp-glow);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: #121217;
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 48px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}
.modal-content h2 {
    margin-bottom: 24px;
}
.modal-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}
.close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--text-muted);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
}
.close-btn:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: left;
    }
    .hero-buttons {
        justify-content: flex-start;
    }
    .floating-whatsapp {
        bottom: 24px;
        right: 24px;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}
