/* ============================================================
   RioCloud Solutions v5 — Premium Master Stylesheet
   Design: Modern Enterprise / Tech Elite (Vercel/Stripe/Linear inspired)
   ============================================================ */

/* Fonts loaded via <link> in header.php — no @import needed */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand Colors - Soft Professional Palette */
    --navy:      #111827; /* Soft charcoal */
    --blue:      #4F7CAC; /* Muted steel blue */
    --blue-light:#6B9BCF; /* Soft sky blue */
    --green:     #5B9A7D; /* Sage green */
    --orange:    #D4805A; /* Warm terracotta */
    --gold:      #C49B5C; /* Warm gold */

    /* Neutrals */
    --light-bg:  #F8F9FA; /* Warm off-white */
    --card-bg:   #FFFFFF;
    --text:      #1A2332; /* Deep ink */
    --muted:     #6B7B8D; /* Warm gray */
    --border:    #E5E9ED; /* Soft border */

    /* Trio.ai & VM specific — soft tones */
    --trio-bg:   #1A2332;
    --trio-accent:#5BA4C9; /* Soft ocean blue */
    --vm-bg:     #2A2040;
    --vm-purple: #8B7BB5; /* Muted lavender */

    /* Typography */
    --font-heading: 'Satoshi', system-ui, -apple-system, sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    /* Dimensions & Spacing */
    --section-pad: 6.5rem 0;
    --container:   1240px;
    --radius:      24px;
    --radius-sm:   12px;

    /* Soft Premium Shadows */
    --shadow-sm:  0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md:  0 12px 32px rgba(15, 23, 42, 0.06);
    --shadow-lg:  0 24px 64px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 40px rgba(79, 124, 172, 0.12);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Global Reset & Setup ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

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

a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease-smooth); }
a:hover { color: var(--blue-light); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.section-padding { padding: var(--section-pad); }

.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark p { color: #fff; }
.section-dark .text-muted { color: rgba(255,255,255,0.6); }

.section-light { background: var(--light-bg); }
.section-white { background: #fff; }

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header .badge {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}
.section-dark .section-header .badge {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.1);
}
.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--text);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    border: 1px solid var(--text);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-dark .btn-primary {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}
.section-dark .btn-primary:hover {
    background: #F8FAFC;
    color: var(--navy);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: var(--text);
    background: rgba(15, 23, 42, 0.02);
}
.section-dark .btn-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.section-dark .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.btn-gold {
    background: var(--blue);
    color: #fff;
    border: none;
}
.btn-gold:hover {
    background: var(--blue-light);
    color: #fff;
}

/* ---------- Cards (Glass & Clean) ---------- */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1;
}
.card-icon {
    font-size: 1.5rem;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ---------- Urgency Bar (Announcements) ---------- */
.urgency-bar {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
    letter-spacing: 0.01em;
}
.urgency-bar a {
    color: #60A5FA;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.urgency-bar a:hover {
    color: #93C5FD;
    border-bottom-color: #93C5FD;
}
.urgency-messages { position: relative; height: 1.4em; overflow: hidden; }
.urgency-messages span {
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.urgency-messages span.active { opacity: 1; }

/* ---------- Ultra-Premium Navigation ---------- */
.site-nav {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s var(--ease-smooth);
}
.site-nav.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo img { 
    height: 48px; /* Bigger logo presence */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-links a {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s var(--ease-smooth);
    text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(15, 23, 42, 0.04);
}
.nav-links a.nav-cta {
    background: var(--text);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    margin-left: 0.5rem;
    font-weight: 600;
}
.nav-links a.nav-cta:hover {
    background: var(--blue);
}
.nav-new-badge {
    font-size: 0.6rem;
    background: var(--blue);
    color: #fff;
    padding: 0.15rem 0.4rem;
    border-radius: 100px;
    margin-left: 0.25rem;
    font-weight: 700;
    vertical-align: top;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s var(--ease-smooth);
    border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-smooth);
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-toggle { z-index: 10000; position: relative; }
    .nav-links a {
        font-size: 1.25rem;
        padding: 1rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }
    .nav-links a.nav-cta {
        text-align: center;
        justify-content: center;
        margin-top: 1rem;
        border: none;
        border-radius: 100px;
    }
}

/* ---------- Ultra-Minimal Hero ---------- */
.hero {
    background: #000; /* Deep stark black */
    color: #fff;
    padding: 8rem 0 7rem;
    position: relative;
    overflow: hidden;
}
/* Beautiful ambient glow behind text */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 60%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.hero h1 .highlight {
    background: linear-gradient(130deg, #fff 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.25rem;
    color: #9CA3AF;
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-buttons .btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.hero-buttons .btn-primary:hover {
    background: #E5E7EB;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}
.hero-stat {
    text-align: left;
}
.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}
.hero-stat .label {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Abstract 3D/Code Visual for Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-orb {
    width: 380px;
    height: 380px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    animation: floatPanel 6s ease-in-out infinite alternate;
}
@keyframes floatPanel {
    0% { transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(0); }
    100% { transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(-20px); }
}
.hero-orb::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(37,99,235,0.5), transparent);
    border-radius: 30px;
    z-index: -1;
    filter: blur(2px);
}
.orb-label {
    position: absolute;
    background: #fff;
    color: #000;
    font-family: var(--font-mono);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}
.orb-label:nth-child(1) { top: -20px; left: -20px; animation: floatObj 4s ease-in-out infinite 0s; }
.orb-label:nth-child(2) { bottom: 40px; right: -30px; animation: floatObj 4s ease-in-out infinite 1s; background: var(--blue); color: #fff;}
.orb-label:nth-child(3) { top: 40%; left: -40px; animation: floatObj 4s ease-in-out infinite 2s; }
@keyframes floatObj {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
    .hero { padding: 5rem 0 4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); text-align: center; }
    .hero-visual { order: -1; margin-bottom: 2rem; }
    .hero-orb { width: 280px; height: 280px; transform: none; animation: none; }
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.service-card { 
    text-align: left; 
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border);
}
.service-card .card-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--light-bg);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Tech Stack Tabs ---------- */
.tab-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: 100px;
    background: var(--light-bg);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
}
.tab-btn.active, .tab-btn:hover {
    background: var(--text);
    color: #fff;
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp 0.4s ease; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.tech-item {
    background: var(--card-bg);
    padding: 1.5rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-smooth);
}
.tech-item:hover {
    border-color: var(--text);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.tech-item .tech-icon { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }

/* ---------- Process Steps ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}
.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.process-step .step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.process-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 768px) {
    .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .process-steps::before { display: none; }
}

/* ---------- Testimonials ---------- */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-smooth);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.testimonial-text { 
    font-size: 1.05rem; 
    color: var(--text); 
    margin-bottom: 2rem; 
    line-height: 1.6; 
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-company { font-size: 0.85rem; color: var(--muted); }
.testimonial-metric {
    display: inline-block;
    background: #ECFDF5;
    color: #047857;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-top: 0.5rem;
}

/* ---------- VibeMaster Section (Soft Dark) ---------- */
.vm-section {
    background: var(--navy);
    color: #fff;
    padding: var(--section-pad);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.vm-section h2, .vm-section h3, .vm-section p { color: #fff; }
.vm-section .text-muted { color: #A1A1AA; }
.vm-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.vm-feature {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    padding: 2rem;
    transition: all 0.3s var(--ease-smooth);
}
.vm-feature:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(139, 123, 181, 0.35);
}
.vm-feature .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* ---------- trio.ai Section ---------- */
.trio-section {
    background: #111827;
    color: #fff;
    padding: var(--section-pad);
}
.trio-section h2, .trio-section h3, .trio-section p { color: #fff; }
.trio-install-block {
    background: #030712;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
    margin: 2rem auto;
    font-family: var(--font-mono);
    color: #fff;
}
.trio-install-block .copy-btn {
    background: #1F2937;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font-body);
}
.trio-install-block .copy-btn:hover { background: #374151; }

.trio-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.trio-model-card {
    background: #1F2937;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
}
.trio-model-card .model-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.trio-model-card .model-name { font-family: var(--font-mono); font-weight: 600; color: var(--trio-accent); }
.trio-model-card .model-badge { font-size: 0.75rem; background: rgba(91,164,201,0.12); color: var(--trio-accent); padding: 0.2rem 0.5rem; border-radius: 4px; }
.trio-model-card .model-size { font-size: 0.85rem; color: #9CA3AF; margin-bottom: 0.5rem; }
.trio-model-card .model-desc { font-size: 0.9rem; color: #D1D5DB; margin-bottom: 1.5rem; }
.trio-model-card .model-actions { display: flex; gap: 0.5rem; }
.trio-model-card .model-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.trio-model-card .model-btn:hover { background: rgba(255,255,255,0.05); }

.trio-stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.trio-stat .stat-value { font-size: 2.5rem; font-weight: 700; font-family: var(--font-mono); color: #fff; }
.trio-stat .stat-label { font-size: 0.85rem; color: #9CA3AF; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- ROI Calculator ---------- */
.roi-calculator {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.roi-calculator label { font-weight: 600; margin-bottom: 0.5rem; display: block; }
.roi-calculator input, .roi-calculator select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1.5rem;
    background: var(--light-bg);
}
.roi-result {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}
.roi-result .roi-number { font-size: 3rem; font-weight: 800; color: var(--green); }

/* ---------- Lead Magnet ---------- */
.lead-magnet {
    background: #000;
    color: #fff;
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
}
.lead-magnet h3 { font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.lead-magnet p { color: #A1A1AA; margin-bottom: 2rem; }
.lead-magnet-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}
.lead-magnet-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    background: transparent;
    color: #fff;
}
.lead-magnet-form .btn-primary { border-color: #fff; }

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-smooth);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
    height: 220px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.blog-card-body { padding: 2rem; }
.blog-card-category { font-size: 0.75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; display: block; }
.blog-card-body h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.blog-card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.blog-card-meta { font-size: 0.85rem; color: #94A3B8; display: flex; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: #A1A1AA;
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand img { height: 48px; margin-bottom: 1.5rem; }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.footer-col a { display: block; color: #71717A; padding: 0.4rem 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #27272A; padding-top: 2rem; text-align: center; font-size: 0.85rem; }
.footer-bottom a { color: #A1A1AA; }

/* ---------- WhatsApp Float ---------- */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37,211,102,0.3);
    z-index: 9999;
    transition: transform 0.3s var(--ease-spring);
}
.wa-float:hover { transform: scale(1.1) translateY(-5px); }
.wa-float svg { width: 32px; height: 32px; }

/* ═══════════════════════════════════════════
   PREMIUM ANIMATIONS & EFFECTS
   Inspired by Code-Brew / Stripe / Linear
═══════════════════════════════════════════ */

/* Base reveal animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(79,124,172,0.1); }
    50% { box-shadow: 0 0 40px rgba(79,124,172,0.2); }
}

/* Fade up with stagger support */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Premium card hover — lift + glow */
.card:hover, .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 0 1px rgba(79,124,172,0.08);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated gradient border on hover */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(79,124,172,0.06), transparent, rgba(91,164,201,0.04));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}
.card:hover::after { opacity: 1; }
.card { position: relative; overflow: hidden; }
.card > * { position: relative; z-index: 1; }

/* Button shine animation on hover */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::after { left: 100%; }

/* Smooth section transitions */
section {
    transition: background 0.4s ease;
}

/* Badge pulse on dark sections */
.section-dark .badge {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Nav link underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s var(--ease-smooth), left 0.3s var(--ease-smooth);
}
.nav-links a { position: relative; }
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
    left: 0;
}
.nav-links a.nav-cta::after { display: none; }

/* Smooth page load */
body {
    animation: fadeIn 0.4s ease;
}

/* Image hover zoom */
.blog-card-image img {
    transition: transform 0.5s var(--ease-smooth);
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Counter number glow */
.counter {
    transition: color 0.3s;
}

/* Testimonial card subtle rotate on hover */
.testimonial-card:hover {
    transform: translateY(-4px) rotate(-0.5deg);
}

/* Process step number pulse */
.process-step .step-num {
    transition: all 0.3s var(--ease-smooth);
}
.process-step:hover .step-num {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: scale(1.08);
}

/* Tab button smooth transitions */
.tab-btn {
    transition: all 0.3s var(--ease-smooth);
    position: relative;
}
.tab-btn:hover {
    transform: translateY(-1px);
}

/* Smooth scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--blue) transparent;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-light); }

/* Loading skeleton shimmer for dynamic content */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

/* ---------- Footer Social Icons ---------- */
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #A1A1AA;
    transition: all 0.3s var(--ease-smooth);
}
.footer-social a:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.2); }
.footer-social a i { width: auto; height: auto; font-size: 18px; }

/* Font Awesome icons auto-size via font-size inheritance */

/* ---------- Contact Form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-form label { font-weight: 600; font-size: 0.9rem; margin-top: 0.75rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--border);
    border-radius: 8px; font-size: 1rem; font-family: inherit;
    background: var(--light-bg); transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,124,172,0.1);
}

/* ---------- Blog Post Content ---------- */
.blog-post-content { max-width: 780px; margin: 0 auto; font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.blog-post-content h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.blog-post-content h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.blog-post-content p { margin-bottom: 1.25rem; }
.blog-post-content ul, .blog-post-content ol { margin: 1rem 0 1.5rem 2rem; }
.blog-post-content li { margin-bottom: 0.5rem; }
.blog-post-content pre { background: var(--navy); color: #E5E9ED; padding: 1.5rem; border-radius: 8px; overflow-x: auto; margin: 1.5rem 0; }
.blog-post-content code { font-family: var(--font-mono); font-size: 0.9em; }
.blog-post-content blockquote { border-left: 3px solid var(--blue); padding-left: 1.5rem; color: var(--muted); font-style: italic; margin: 1.5rem 0; }

/* ---------- Share Buttons ---------- */
.share-buttons { display: flex; align-items: center; gap: 0.75rem; }
.share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--light-bg); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 0.9rem; font-weight: 700;
    text-decoration: none; transition: all 0.2s;
}
.share-btn:hover { background: var(--text); color: #fff; border-color: var(--text); }

/* ---------- Search Box ---------- */
.search-box { max-width: 500px; margin: 0 auto 2rem; }
.search-box form { display: flex; align-items: center; gap: 0.75rem; background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 0.5rem 1rem; }
.search-box svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search-box input { border: none; outline: none; font-size: 1rem; flex: 1; background: transparent; font-family: inherit; }

/* ---------- Category Filter ---------- */
.category-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination .current {
    padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
    border: 1px solid var(--border); color: var(--muted); text-decoration: none; transition: all 0.2s;
}
.pagination a:hover { border-color: var(--text); color: var(--text); }
.pagination .current { background: var(--text); color: #fff; border-color: var(--text); }

/* ---------- Admin Styles ---------- */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.admin-tab { padding: 0.6rem 1.25rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; font-family: inherit; font-weight: 500; font-size: 0.9rem; }
.admin-tab.active { background: var(--text); color: #fff; border-color: var(--text); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.admin-table th, .admin-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-table th { background: var(--light-bg); font-weight: 600; }
.editor-form { background: #fff; padding: 2rem; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.editor-form label { display: block; font-weight: 600; font-size: 0.9rem; margin: 1rem 0 0.4rem; }
.editor-form input, .editor-form select, .editor-form textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: var(--light-bg); }
.editor-form textarea { resize: vertical; }
.editor-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Ecosystem Grid ---------- */
.eco-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2.5rem; text-align: center; transition: all 0.3s var(--ease-smooth);
}
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.eco-icon { font-size: 2.5rem; display: block; margin-bottom: 1.25rem; }
.eco-icon i { font-size: 2rem; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ---------- Contact CTA Section ---------- */
.contact-cta {
    background: var(--navy); color: #fff; text-align: center; padding: 6rem 0;
}
.contact-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.contact-cta p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1.1rem; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
    background: var(--text); color: #fff; padding: 0.85rem 1.75rem;
    border-radius: 100px; font-size: 0.9rem; font-weight: 500;
    z-index: 10000; transition: bottom 0.4s var(--ease-smooth);
    box-shadow: var(--shadow-lg);
}
.toast.show { bottom: 2rem; }
.toast.error { background: #DC2626; }
.toast.success { background: var(--green); }

/* ═══════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE DESIGN
   Mobile-first: 480px → 640px → 768px → 900px → 1024px
═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    :root { --section-pad: 5rem 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    :root { --section-pad: 4rem 0; --radius: 16px; }
    .container { padding: 0 1.25rem; }
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .trio-models-grid { grid-template-columns: 1fr; }
    .trio-stats-bar { flex-wrap: wrap; gap: 2rem; justify-content: center; }
    .trio-stat { text-align: center; min-width: 120px; }
    .trio-stat .stat-value { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { text-align: center; }
    .hero-visual { order: -1; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .editor-form .two-col { grid-template-columns: 1fr; }
    .lead-magnet-form { flex-direction: column; }
    .lead-magnet-form input { border-radius: 8px; }
    .lead-magnet-form .btn-primary { border-radius: 8px; }
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.5rem 0.6rem; }
}

@media (max-width: 480px) {
    :root { --section-pad: 3rem 0; }
    .container { padding: 0 1rem; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 1rem; }
    .card { padding: 1.5rem; border-radius: 14px; }
    .service-card { padding: 1.5rem; }
    .btn-primary, .btn-secondary { font-size: 0.9rem; padding: 0.75rem 1.5rem; }
    .urgency-bar { font-size: 0.78rem; padding: 0.5rem 0.75rem; }
    .wa-float { width: 52px; height: 52px; bottom: 1.25rem; right: 1.25rem; }
    .wa-float svg { width: 26px; height: 26px; }
    .blog-card-image { height: 180px; }
    .testimonial-card { padding: 1.75rem; }
    .eco-card { padding: 1.75rem; }
    .vm-features { grid-template-columns: 1fr; }
}

/* ---------- Tablet landscape ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .trio-models-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Print ---------- */
@media print {
    .urgency-bar, .site-nav, .wa-float, .footer-social, .toast { display: none; }
    body { color: #000; background: #fff; }
    .section-dark { background: #f5f5f5; color: #000; }
}
