/* ─── CSS Variables ──────────────────────────────────────────────────────── */
:root {
    --primary: #6366f1;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --bg-dark: #0f172a;
    --text-muted: #64748b;
    --font: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 25%, #e0e7ff 50%, #ecfeff 75%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #0f172a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ─── Background Orbs ────────────────────────────────────────────────────── */
.bg-vibe {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    filter: blur(80px);
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 500;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-container {
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo-fallback {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-dark);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.brand-name {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.accent-dot { color: var(--primary); }

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav-link:hover { color: #0f172a; }

.nav-btn {
    padding: 0.75rem 1.75rem !important;
    font-size: 0.8rem !important;
    border-radius: 1.25rem !important;
}

/* Hamburger menu button (mobile only) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.97);
    z-index: 400;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    animation: fadeIn 0.2s ease;
}

.mobile-nav-overlay.open { display: flex; }

.mobile-nav-overlay a,
.mobile-nav-overlay button {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay button:hover {
    color: var(--primary);
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font);
}

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

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--bg-dark);
    border: 2px solid rgba(15, 23, 42, 0.15);
}

.btn-outline:hover {
    border-color: var(--bg-dark);
    transform: translateY(-3px);
}

/* ─── Feature Badge ──────────────────────────────────────────────────────── */
.feature-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

/* ─── Floating WhatsApp ──────────────────────────────────────────────────── */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 300;
    transition: all 0.3s;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
}

/* ─── Bento Hero ─────────────────────────────────────────────────────────── */
.bento-hero {
    position: relative;
    z-index: 1;
    padding: 10rem 4rem 5rem;
    display: grid;
    grid-template-columns: 3.5fr 6.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text-content {
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.hero-text-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 420px;
}

.hero-btn-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-visual-content {
    position: relative;
    z-index: 1;
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.hero-image-wrapper {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2.5rem;
    padding: 0.75rem;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top;
    border-radius: 2rem;
    display: block;
}

/* ─── Section Title ──────────────────────────────────────────────────────── */
.section-title {
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 950;
    color: var(--bg-dark);
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Why Section ────────────────────────────────────────────────────────── */
.why-section {
    position: relative;
    z-index: 1;
    padding: 2rem 4rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 950;
    color: var(--bg-dark);
    letter-spacing: -0.04em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.07);
}

.why-icon-container {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--bg-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.why-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* ─── Features Bento Grid ────────────────────────────────────────────────── */
.features-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 1rem 4rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 2.5rem;
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.feature-card.large  { grid-column: span 8; }
.feature-card.medium { grid-column: span 4; }
.feature-card.small  { grid-column: span 4; }
.feature-card.xlarge { grid-column: span 12; }

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--bg-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 400px;
}

/* feature-visual is a <div> wrapper around <img> */
.feature-visual {
    width: 100%;
    height: 280px;
    border-radius: 1.5rem;
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-visual img {
    transform: scale(1.03);
}

.centered { text-align: center; max-width: 800px; margin: 0 auto; }
.small-visual { height: 150px !important; }
.large-visual { height: 400px !important; margin-top: 3rem; }
.centered-image img { object-position: center !important; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.main-footer {
    position: relative;
    z-index: 1;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8rem 4rem 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-cta {
    text-align: center;
    margin-bottom: 8rem;
}

.footer-cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 950;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: var(--bg-dark);
}

.footer-btn-group {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.large-btn {
    padding: 1.2rem 2.5rem !important;
    border-radius: 1.5rem !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img { height: 2.5rem; width: auto; }

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 950;
    letter-spacing: -0.04em;
    color: var(--bg-dark);
}

.footer-brand p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 280px;
}

.social-links { display: flex; gap: 1.5rem; font-size: 1.2rem; }

.social-link { color: #64748b; transition: all 0.3s; }
.social-link.li:hover { color: #0077b5; }
.social-link.wa:hover { color: #25d366; }
.social-link.tw:hover { color: #000000; }

.footer-links h4,
.footer-contact h4 {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bg-dark);
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.footer-contact ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i { margin-top: 0.2rem; color: var(--primary); flex-shrink: 0; }

.footer-bottom {
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p { color: #94a3b8; font-size: 0.85rem; font-weight: 500; }

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

.legal-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.legal-links a:hover { color: var(--primary); }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ─── Responsive: Tablet ─────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .main-nav { padding: 1rem 2rem; }
    .bento-hero { padding: 8rem 2rem 4rem; grid-template-columns: 1fr; text-align: center; max-width: 100%; }
    .hero-text-content p { max-width: 100%; }
    .hero-btn-group { justify-content: center; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-section { padding: 2rem 2rem 4rem; }
    .features-container { padding: 1rem 2rem 4rem; }
    .feature-card.large  { grid-column: span 12; }
    .feature-card.medium { grid-column: span 6; }
    .feature-card.small  { grid-column: span 6; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .main-footer { padding: 6rem 2rem 3rem; }
}

/* ─── Responsive: Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Nav */
    .main-nav { padding: 0.875rem 1.25rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    /* Hero */
    .bento-hero { padding: 6.5rem 1.25rem 3rem; gap: 2.5rem; }
    .hero-image { height: 280px; }
    .hero-btn-group { flex-direction: column; width: 100%; }
    .hero-btn-group .btn { width: 100%; justify-content: center; }

    /* Section */
    .section-title { padding: 3rem 1.25rem 1.5rem; }
    .section-header { margin-bottom: 2.5rem; }

    /* Why grid */
    .why-section { padding: 1rem 1.25rem 3rem; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 2rem; }

    /* Features */
    .features-container {
        grid-template-columns: 1fr;
        padding: 0.5rem 1.25rem 3rem;
        gap: 1rem;
    }
    .feature-card.large,
    .feature-card.medium,
    .feature-card.small,
    .feature-card.xlarge { grid-column: span 1; }
    .feature-card { padding: 2rem; border-radius: 1.75rem; }
    .feature-visual { height: 200px; }
    .large-visual { height: 220px !important; }

    /* Footer */
    .main-footer { padding: 4rem 1.25rem 2rem; }
    .footer-cta { margin-bottom: 4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-btn-group { flex-direction: column; }
    .footer-btn-group .btn { width: 100%; justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-links { justify-content: center; }
    .floating-whatsapp { width: 3rem; height: 3rem; font-size: 1.4rem; bottom: 1.25rem; right: 1.25rem; }
}