/* =========================================
   ZHIRIA - VIBRANT GRADIENT DESIGN SYSTEM
   ========================================= */

:root {
    /* Color Palette - Vibrant Teal/Cyan Gradient */
    --color-primary: #0DFF92;
    /* Vibrant Green */
    --color-secondary: #0DDEFF;
    /* Vibrant Teal/Cyan */
    --color-accent: #FFFFFF;

    /* Backgrounds - Vibrant Mesh Style */
    --bg-main: var(--color-primary);
    --bg-surface: rgba(255, 255, 255, 0.25);
    /* Light glassmorphism */
    --bg-glass: rgba(255, 255, 255, 0.4);

    /* Text - Dark contrast for legibility on vibrant bg */
    --text-main: #0A2D27;
    /* Deep Charcoal/Teal */
    --text-muted: #1B4D45;
    /* Muted version for details */

    /* Accents & Buttons */
    --btn-bg: #0A2D27;
    --btn-text: #FFFFFF;

    /* Layout */
    --max-width: 1080px;
    --section-pad: 120px 0;

    /* Typography */
    --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================
   RESET & BASICS
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.47059;
    letter-spacing: -0.022em;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

/* Animated Mesh Background Elements */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    animation: pulseBG 20s infinite alternate ease-in-out;
}

body::before {
    background: #FFFFFF;
    top: -200px;
    left: -200px;
}

body::after {
    background: #00FFEA;
    bottom: -200px;
    right: -200px;
    opacity: 0.3;
}

@keyframes pulseBG {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-pad);
}

/* =========================================
   TYPOGRAPHY
   ========================================= */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.381;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 1.05rem;
    background: var(--btn-bg);
    color: var(--btn-text);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    box-shadow: 0 10px 20px rgba(10, 45, 39, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(10, 45, 39, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.4);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.nav-link:hover {
    opacity: 0.7;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 0;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 50px;
    color: var(--text-muted);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* =========================================
   CARDS & GRIDS
   ========================================= */

.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.vision-grid,
.bento-grid,
.portfolio-grid {
    display: grid;
    gap: 24px;
}

.vision-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.bento-grid {
    grid-template-columns: repeat(3, 1fr);
}

.bento-item.span-2 {
    grid-column: span 2;
}

.vision-card h3,
.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.vision-card p,
.bento-item p {
    color: var(--text-muted);
}

/* =========================================
   PORTFOLIO & PARTNERS
   ========================================= */

.portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
}

.portfolio-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-img-placeholder {
    width: 100%;
    height: 350px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.portfolio-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
}

/* =========================================
   CONTACT CTA
   ========================================= */

.cta-box {
    background: var(--btn-bg);
    color: #FFFFFF;
    padding: 80px 60px;
    border-radius: 40px;
    text-align: center;
}

.cta-box .section-title {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.cta-box .section-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-link i {
    font-size: 1rem;
    opacity: 0.7;
}

.contact-link:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.cta-actions {
    margin-bottom: 28px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    background: #20C65E;
}

.contact-form {
    max-width: 480px;
    margin: 36px auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 36px;
}

.form-group {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 980px;
    padding: 6px;
}

.form-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: var(--text-main);
    font-size: 1.1rem;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group .btn-primary {
    background: #FFFFFF;
    color: var(--btn-bg);
    box-shadow: none;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.glass-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Layout Adjustments */
@media (max-width: 900px) {

    .bento-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.span-2 {
        grid-column: span 1;
    }
}