/* ===================================================
   VERTEXZENTARA - CORE DESIGN SYSTEM & GLOBAL STYLES (main.css)
   Osmo-Grade Clean White, Grey & Electric Green Aesthetic
   Zero Emojis, Pure SVG Icons, Fully Animated Architecture
   =================================================== */

:root {
    /* Base Canvas & Greys */
    --color-bg: #F7F8FA;
    --color-white: #FFFFFF;
    --color-surface: #FFFFFF;
    --color-surface-grey: #EFF1F5;
    --color-surface-subtle: #E4E7ED;
    --color-border: #E2E6EC;
    --color-border-hover: #10B981;
    --color-border-subtle: rgba(12, 14, 18, 0.08);

    /* Contrast Tech Slate (For Osmo Pill Nav, Contrast Cards & Modules) */
    --color-dark-surface: #0C0E12;
    --color-dark-card: #14171E;
    --color-dark-border: rgba(255, 255, 255, 0.1);

    /* Signature Electric Green (Osmo Green Palette) */
    --color-green: #10B981;
    --color-green-neon: #00E575;
    --color-green-dark: #059669;
    --color-green-glow: rgba(16, 185, 129, 0.3);
    --color-green-tint: rgba(16, 185, 129, 0.08);
    --color-green-tint-hover: rgba(16, 185, 129, 0.16);

    /* Typography Neutrals */
    --color-text-main: #0C0E12;
    --color-text-body: #475467;
    --color-text-muted: #667085;
    --color-text-subtle: #98A2B3;
    --color-text-inverse: #FFFFFF;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 6.5rem;
    --space-4xl: 8.5rem;

    /* Layout */
    --container-max: 1240px;
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 24px;
    --border-radius-pill: 999px;

    /* Transitions */
    --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-Index */
    --z-ambient: 0;
    --z-content: 10;
    --z-overlay: 900;
    --z-nav: 1000;
    --z-floating: 1100;
    --z-toast: 9999;
}

/* === CSS RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-body);
    background-color: var(--color-bg);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

::selection {
    background: var(--color-green-neon);
    color: #000000;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

/* === AMBIENT SUBTLE GREEN GLOWS === */
.ambient-glow {
    position: fixed;
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-ambient);
    filter: blur(140px);
    opacity: 0.08;
    transform: translateZ(0);
}

.ambient-glow-1 {
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--color-green) 0%, transparent 70%);
}

.ambient-glow-2 {
    bottom: 20%;
    left: -150px;
    background: radial-gradient(circle, #059669 0%, transparent 70%);
    opacity: 0.05;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--color-text-main);
}

h1 {
    font-size: clamp(2.4rem, 5.5vw + 1rem, 4.75rem);
}

h2 {
    font-size: clamp(2rem, 3.8vw + 0.5rem, 3.25rem);
}

h3 {
    font-size: clamp(1.35rem, 2.2vw + 0.4rem, 1.85rem);
}

h4 {
    font-size: clamp(1.1rem, 1.5vw + 0.3rem, 1.35rem);
}

p {
    color: var(--color-text-body);
    line-height: 1.75;
}

/* === UTILITY CLASSES === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

.desktop-only {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* Section Header Structure */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-green-dark);
    background: var(--color-green-tint);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 0.4rem 1rem;
    margin-bottom: var(--space-sm);
    border-radius: var(--border-radius-pill);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* === BUTTONS (OSMO HIGH-PRECISION) === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.85rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #00D068;
    color: #000000;
    border-color: #00D068;
    box-shadow: 0 4px 14px rgba(0, 208, 104, 0.22);
}

.btn-primary:hover {
    background: #00E575;
    border-color: #00E575;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 208, 104, 0.32);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-text-main);
    border-color: var(--color-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: var(--color-surface-grey);
    border-color: var(--color-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-main);
    border-color: var(--color-border);
}

.btn-outline:hover {
    background: var(--color-surface-grey);
    border-color: var(--color-green);
    color: var(--color-green-dark);
}

/* === FOOTER (MATCHES SCREENSHOT media_1794296628876_61f7b642.jpg) === */
.footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4xl) 0 var(--space-xl);
    position: relative;
}

.footer-accent-rule {
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--color-border);
    margin-bottom: var(--space-3xl);
}

.footer-rule-dot-anchor {
    position: absolute;
    top: 50%;
    left: 48px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-rule-solid-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
}

.footer-rule-ring {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 50%;
}

.footer-grid-4col {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: baseline;
    color: var(--color-text-main);
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-accent {
    color: var(--color-green-dark);
}

.footer-brand .logo-dot {
    color: var(--color-green-neon);
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 340px;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-main);
    margin-bottom: var(--space-md);
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-list a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.footer-link-list a:hover {
    color: var(--color-green-dark);
    transform: translateX(4px);
}

.footer-contact-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 8px;
}

.footer-bottom-bar {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.footer-bottom-bar p {
    color: var(--color-text-subtle);
    font-size: 0.85rem;
}

/* === FLOATING WHATSAPP BUTTON === */
.floating-whatsapp {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: var(--z-floating);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
}

@media (max-width: 640px) {
    .floating-whatsapp {
        bottom: 18px;
        right: 18px;
        width: 48px;
        height: 48px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* === NOTIFICATION TOAST === */
.toast-container {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--color-dark-surface);
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: var(--border-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    font-family: var(--font-display);
    font-size: 0.825rem;
    font-weight: 700;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 992px) {
    .footer-grid-4col {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 580px) {
    .footer-grid-4col {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-rule-dot-anchor {
        left: 20px;
    }
}
