:root {
    --bg-dark: #0a0e17;
    --bg-card: #131b2c;
    --primary: #3b82f6;
    --primary-glow: #3b82f6aa;
    --accent: #06b6d4;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --transition: all 0.3s ease;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Global Form Controls & Dropdown Selects */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(19, 27, 44, 0.95);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1em;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-white);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

select:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background-color: rgba(25, 35, 58, 0.95);
}

select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background-color: rgba(25, 35, 58, 1);
}

/* Ensure options dropdown menu has high contrast dark background and clean white text */
select option {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
}

select option:checked {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
}

select option:disabled {
    color: #64748b !important;
}


/* ==========================================================================
   Corporate Top Navigation Bar (Header Corporativo)
   ========================================================================== */
.corp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: rgba(10, 14, 23, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 0.65rem 0;
}

.corp-header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 0.45rem 0;
}

.corp-header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Brand Logo */
.corp-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.corp-logo:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.corp-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
}

.corp-logo-text .accent {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Menu Desktop */
.corp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 1.5rem;
}

.corp-nav-list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.corp-nav-item {
    position: relative;
}

.corp-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    color: var(--text-gray);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.corp-nav-link i:not(.corp-chevron) {
    font-size: 0.85rem;
    opacity: 0.8;
}

.corp-nav-link:hover,
.corp-nav-link.active,
.corp-dropdown:hover .corp-nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.corp-nav-link.active {
    color: var(--primary);
}

/* Core OS Highlight Badge */
.corp-nav-link.core-os-highlight {
    color: #e0e7ff;
    position: relative;
}

.corp-nav-link.core-os-highlight i {
    color: #38bdf8;
}

.badge-nav-pulse {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    margin-left: 0.25rem;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    animation: navPulse 2.5s infinite;
}

@keyframes navPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

/* Dropdown */
.corp-chevron {
    font-size: 0.65rem;
    margin-left: 0.2rem;
    transition: transform 0.25s ease;
}

.corp-dropdown:hover .corp-chevron,
.corp-dropdown.open .corp-chevron {
    transform: rotate(180deg);
}

.corp-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 230px;
    background: rgba(19, 27, 44, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 1px rgba(255, 255, 255, 0.2) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1060;
}

.corp-dropdown:hover .corp-dropdown-menu,
.corp-dropdown.open .corp-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.corp-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.corp-dropdown-item i {
    width: 18px;
    text-align: center;
    color: #38bdf8;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.corp-dropdown-item:hover {
    background: rgba(59, 130, 246, 0.16);
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateX(4px);
}

.corp-dropdown-item:hover i {
    color: #60a5fa;
    transform: scale(1.1);
}

.corp-dropdown-item.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.15));
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
    font-weight: 600;
}


/* ==========================================================================
   Core OS - La Joyita de la Empresa (Extremo Derecho)
   ========================================================================== */
.corp-coreos-dropdown {
    position: relative;
}

.corp-btn-coreos {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1rem 0.45rem 0.85rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.22) 100%);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 50px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25), inset 0 0 12px rgba(56, 189, 248, 0.1);
    position: relative;
    overflow: hidden;
}

.corp-btn-coreos::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    animation: shineGlow 4s infinite;
}

@keyframes shineGlow {
    0% { transform: translateX(-100%) rotate(45deg); }
    30%, 100% { transform: translateX(100%) rotate(45deg); }
}

.corp-btn-coreos:hover,
.corp-coreos-dropdown.open .corp-btn-coreos {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.55), 0 4px 15px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.coreos-sparkle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fbbf24;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    transition: transform 0.3s ease;
}

.corp-btn-coreos:hover .coreos-sparkle {
    transform: scale(1.15) rotate(12deg);
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
}

.coreos-label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.coreos-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.coreos-sub {
    font-size: 0.68rem;
    color: #cbd5e1;
    font-weight: 500;
    opacity: 0.9;
}

.badge-coreos-glow {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: #0f172a;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.5);
    margin-left: 0.15rem;
}

.coreos-chevron {
    font-size: 0.7rem;
    color: #cbd5e1;
    margin-left: 0.2rem;
    transition: transform 0.25s ease;
}

.corp-coreos-dropdown.open .coreos-chevron {
    transform: rotate(180deg);
}

/* Core OS Menu Desplegable */
.corp-coreos-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: 320px;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1065;
}

.corp-coreos-dropdown:hover .corp-coreos-menu,
.corp-coreos-dropdown.open .corp-coreos-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.coreos-menu-header {
    padding: 0.5rem 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
}

.coreos-menu-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.coreos-menu-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.3;
}

.coreos-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.coreos-menu-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.coreos-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.item-access .coreos-item-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.item-register .coreos-item-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.item-info .coreos-item-icon {
    background: rgba(147, 51, 234, 0.2);
    color: #c084fc;
    border: 1px solid rgba(147, 51, 234, 0.4);
}

.coreos-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.coreos-item-text strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.coreos-item-text span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.coreos-arrow {
    font-size: 0.75rem;
    color: var(--text-gray);
    transition: transform 0.2s ease, color 0.2s ease;
}

.coreos-menu-item:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateX(3px);
}

.coreos-menu-item:hover .coreos-arrow {
    transform: translateX(3px);
    color: #ffffff;
}

.coreos-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.2rem 0;
}

/* Mobile Toggle Hamburger Button */
.corp-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1070;
}

.corp-mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.corp-mobile-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.corp-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.corp-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.corp-header-backdrop {
    display: none;
}

/* Page Layout adjustments for fixed header */
body:has(.corp-header) {
    padding-top: 68px;
}


.main-content {
    width: 100%;
}

/* Mobile & Tablet Responsiveness (< 992px) */
@media (max-width: 992px) {
    .corp-mobile-toggle {
        display: flex;
    }

    .corp-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85vw, 360px);
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5.5rem 1.5rem 2rem;
        margin: 0;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1060;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .corp-nav.active {
        right: 0;
    }

    .corp-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .corp-nav-link {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .corp-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.03);
        margin-top: 0.35rem;
        margin-left: 1rem;
        padding: 0.25rem 0.5rem;
        display: none;
    }

    .corp-dropdown.open .corp-dropdown-menu {
        display: block;
    }

    .corp-nav-actions {
        margin-left: 0;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .corp-btn-coreos {
        width: 100%;
        justify-content: space-between;
        padding: 0.65rem 1rem;
    }

    .corp-coreos-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid rgba(56, 189, 248, 0.2);
        background: rgba(15, 23, 42, 0.6);
        margin-top: 0.5rem;
        display: none;
    }

    .corp-coreos-dropdown.open .corp-coreos-menu {
        display: block;
    }

    .corp-header-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1055;
    }

    .corp-header-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .accent {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--glass);
    border-color: var(--primary);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.btn-white {
    background: white;
    color: var(--bg-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* New Hero Layout - Compact Version */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    /* Reduced from 4rem */
    align-items: center;
    width: 100%;
    max-width: 1100px;
    /* Constrain max-width slightly more */
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.4rem 0.9rem;
    /* Slightly smaller padding */
    border-radius: 50px;
    font-size: 0.8rem;
    /* Reduced from 0.85rem */
    color: var(--primary);
    margin-bottom: 1.2rem;
    /* Reduced margin */
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.05rem;
    /* Reduced from 1.15rem */
    color: var(--text-gray);
    margin-bottom: 2rem;
    /* Reduced margin */
    max-width: 95%;
}

.hero-btns {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    /* Reduced margin */
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    opacity: 0.8;
}

.trust-icons {
    display: flex;
    gap: 1.2rem;
    font-size: 1.3rem;
    /* Reduced size */
}

.trust-icons i {
    transition: var(--transition);
}

.trust-icons i:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    display: inline-block;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
}

.hero-visual-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(37, 99, 235, 0.15) 45%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
    pointer-events: none;
    animation: floatGlow 8s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% { transform: scale(0.9) translate(-10px, -10px); }
    100% { transform: scale(1.1) translate(10px, 10px); }
}

.hero-avatar-frame {
    position: relative;
    z-index: 1;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(56, 189, 248, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-avatar-frame:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.25), inset 0 0 30px rgba(56, 189, 248, 0.25);
    border-color: rgba(56, 189, 248, 0.4);
}

.hero-avatar-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(56, 189, 248, 0.25)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-avatar-img:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 25px 45px rgba(56, 189, 248, 0.45)) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
}

.hero-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.1rem;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.hero-chip i {
    color: #38bdf8;
    font-size: 0.95rem;
}

.chip-top {
    top: 15px;
    left: 0;
    animation: float 5s ease-in-out infinite;
}

.chip-bottom {
    bottom: 15px;
    right: 0;
    animation: float 6s ease-in-out infinite 1.5s;
}

.hero-chip:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #38bdf8;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
        /* Reduced movement range */
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 1.5rem;
        transform: scale(0.85);
        /* Existing scale logic + reduction */
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-gray);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/* Sections General */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3.8rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.08rem;
    line-height: 1.6;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(19, 27, 44, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.2rem;
    border-radius: 20px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #38bdf8;
    margin-bottom: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.92rem;
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1.2rem;
}

.card-actions {
    margin-top: auto;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #38bdf8;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.learn-more:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Process Steps with Glowing Connectors */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    position: relative;
}

.step {
    text-align: left;
    position: relative;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(56, 189, 248, 0.12);
    margin-bottom: -1.2rem;
    margin-left: 1.5rem;
    position: relative;
    z-index: 0;
    letter-spacing: -2px;
}

.step-content {
    background: rgba(19, 27, 44, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.2rem 1.8rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    height: 100%;
    transition: all 0.3s ease;
}

.step:hover .step-content {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.step h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.step p {
    color: var(--text-gray);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* About Section & Bento Stats */
.about-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.highlight-text {
    font-size: 1.15rem;
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1rem;
    border-radius: 10px;
}

.about-features i {
    color: #22c55e;
    font-size: 1.1rem;
}

/* Stats Bento Grid */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 2.2rem 1.5rem;
    text-align: center;
    border-radius: 18px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat-item:hover {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    display: inline-block;
    line-height: 1;
}

.stat-item span {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
    margin-top: 0.6rem;
}

/* Tech Stack */
.tech-stack {
    background: transparent;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 3rem;
}

.tech-item {
    background: rgba(19, 27, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: #cbd5e1;
    transition: all 0.25s ease;
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tech-item i {
    font-size: 1.6rem;
    color: #94a3b8;
    transition: all 0.25s ease;
}

.tech-item:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(30, 41, 59, 0.8);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.tech-item:hover i {
    transform: scale(1.15);
}


/* Models Section */
.models-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-gray);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 400px;
    /* Prevent layout shift when filtering */
}

/* Animation for filtering */
.model-card.hide {
    display: none;
}

.model-card.show {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.model-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.model-preview {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.model-preview i {
    transition: var(--transition);
}

.model-card:hover .model-preview i {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.4);
}

.model-info {
    padding: 1.5rem;
}

.model-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.model-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-sm {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-white);
    border-radius: 4px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--primary);
    border-color: var(--primary);
}


/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
    font-weight: 600;
}

.course-badge.popular {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent);
}

.course-card h3 {
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.course-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.course-meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-meta i {
    color: var(--primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.author h4 {
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.author span {
    color: var(--accent);
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 5rem 0;
    text-align: center;
    margin: 4rem 0;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: rgba(19, 27, 44, 0.85);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

@media (max-width: 640px) {
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.input-group {
    margin-bottom: 1.3rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.45rem;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(10, 14, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #64748b;
}


.full-width {
    width: 100%;
}

/* Footer */


/* Professional Footer Styles */
.site-footer {
    background: linear-gradient(to bottom, #0a0e17, #0f172a);
    padding: 5rem 0 0;
    margin-top: 5rem;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column ul li a {
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.brand-col p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-logo span {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.contact-list li {
    display: flex;
    gap: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .brand-col p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Animations Helpers */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (min-width: 992px) {
    /* Auto-show sidebar on large screens if desired, or keep it collapsible. 
       Let's keep it collapsible but maybe push content? 
       For now, let's just ensure it behaves well. */
}

@media (max-width: 768px) {
    .sidebar {
        width: 250px;
        left: -250px;
    }

    .sidebar.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--text-white);
        transition: var(--transition);
    }

    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Service Card Updates */
.service-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-card p {
    flex-grow: 1;
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.service-card:hover .learn-more {
    opacity: 1;
    gap: 0.8rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 500px;
    /* Reduced max-width */
    border-radius: 16px;
    padding: 2rem;
    /* Reduced padding */
    border: 1px solid var(--border);
    position: relative;
    z-index: 2001;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    /* Ensure it fits in viewport */
    overflow-y: auto;
    /* Scroll if needed */
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 1rem;
    /* Reduced margin */
}

.modal-icon {
    font-size: 2.5rem;
    /* Reduced size */
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.modal-header h3 {
    font-size: 1.5rem;
    /* Reduced size */
    color: var(--text-white);
}

.modal-body {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    /* Reduced margin */
    line-height: 1.5;
    font-size: 0.95rem;
    /* Reduced size */
}

.modal-features-list ul {
    margin-top: 1rem;
    text-align: left;
    display: inline-block;
}

.modal-features-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.modal-features-list i {
    color: var(--accent);
}

.modal-footer {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Enhanced Modal Styling */
.modal-meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.meta-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

.meta-item strong {
    color: var(--text-white);
    font-size: 1rem;
}

.modal-features-section {
    margin-top: 1.5rem;
    text-align: left;
}

.modal-features-section h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
    padding-left: 0.8rem;
}

.modal-form-section {
    margin-top: 1.5rem;
    animation: slideUp 0.4s ease;
}

.modal-form-section h4 {
    margin-bottom: 1.2rem;
    text-align: center;
    color: var(--primary);
}

.quote-form-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-meta-info {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Models Search */
.models-search {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 10;
}

.models-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
}

#model-search {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-white);
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

#model-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* No Results Message */
#no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
    grid-column: 1 / -1;
    animation: fadeIn 0.5s ease;
}

#no-results.hidden {
    display: none;
}

#no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Chat Widgets */
.chat-widgets {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    text-decoration: none;
}

.widget-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25d366;
}

.chat-btn {
    background: var(--primary);
}

/* Chatbot Window */
.chatbot-window {
    position: fixed;
    bottom: 6rem;
    /* Above the buttons */
    right: 2rem;
    width: 350px;
    height: 450px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
}

.chatbot-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--primary);
    padding: 1rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.bot-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-info h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 4px;
}

.status-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.close-chat:hover {
    opacity: 1;
}

.chatbot-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #0f1522;
}

.chat-message {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    max-width: 85%;
    line-height: 1.4;
    font-size: 0.9rem;
}

.chat-message.bot {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-gray);
    border-top-left-radius: 0;
}

.chat-message.user {
    background: var(--primary);
    color: white;
    margin-left: auto;
    border-top-right-radius: 0;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.chat-option-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.chat-option-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

.chatbot-footer {
    padding: 0.8rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

.chatbot-footer input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    color: white;
    outline: none;
}

.chatbot-footer button {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 1rem 1.2rem;
    width: fit-content;
}

.typing-indicator span {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--text-gray);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Chatbot Section Groups */
.chat-section-group {
    border-bottom: 1px solid var(--border);
    margin-bottom: 5px;
}

.chat-section-group:last-child {
    border-bottom: none;
}

.chat-section-trigger {
    background: transparent;
    border: none;
    color: var(--text-white);
    padding: 0.8rem 0.5rem;
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.chat-section-trigger:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
}

.chat-section-trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.chat-section-trigger.active i {
    transform: rotate(180deg);
}

.chat-section-content {
    display: none;
    padding: 0.5rem 0.5rem 1rem 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.chat-section-content.active {
    display: flex;
}

/* FAQ Item Styles */
.faq-item {
    margin-bottom: 0.5rem;
}

.faq-question {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--primary);
}

.faq-question.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.faq-question i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(90deg);
}

.faq-answer {
    display: none;
    padding: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    margin-top: -5px;
    border: 1px solid var(--border);
    border-top: none;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

.faq-answer.active {
    display: block;
}

/* =========================================
   SHARED COMPONENTS (Moved from Page Headers)
   ========================================= */

/* Hero Styles (Solutions & About) */
.solutions-hero {
    background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #0a0e17 80%);
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
}

.solutions-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

.solutions-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Filter Container */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

/* Solution Card (Standardized) */
.sol-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* border-dim */
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sol-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.sol-card:hover::before {
    opacity: 1;
}

.sol-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.sol-card:hover .sol-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.sol-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.sol-title {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
    line-height: 1.2;
}

.sol-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.sol-problem {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid var(--danger);
    padding: 12px 15px;
    font-size: 0.9rem;
    color: #fca5a5;
    margin-bottom: 25px;
    width: 100%;
    border-radius: 0 8px 8px 0;
}

.sol-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: gap 0.3s ease;
}

.sol-link i {
    color: var(--primary);
}

.sol-link:hover {
    gap: 15px;
    color: var(--primary);
}

/* =========================================
   NOSOTROS PAGE SPECIFIC STYLES
   ========================================= */

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #1e293b;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-gray);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 2px var(--border);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    color: var(--text-white);
    box-shadow: 0 0 0 2px var(--primary);
    background: var(--primary);
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.team-role.role-ceo {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.team-role.role-dev {
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
}

.team-role.role-design {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.team-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Values Section Redesign - Premium */
.section.values {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

/* Background ambient light */
.section.values::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    z-index: 0;
    filter: blur(80px);
    pointer-events: none;
}

.section.values::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    z-index: 0;
    filter: blur(80px);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.value-card {
    background: rgba(19, 27, 44, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Gradient Border Effect on Hover */
.value-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    background: rgba(19, 27, 44, 0.7);
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Specific Glows */
.value-card[data-color="success"]:hover {
    box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.value-card[data-color="accent"]:hover {
    box-shadow: 0 20px 50px -10px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.3);
}

.value-card[data-color="danger"]:hover {
    box-shadow: 0 20px 50px -10px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.3);
}

/* Number */
.value-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    z-index: 0;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.value-card:hover .value-number {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.15;
    -webkit-text-stroke: 0;
    color: var(--text-white);
}

.value-card[data-color="success"]:hover .value-number {
    color: var(--success);
}

.value-card[data-color="accent"]:hover .value-number {
    color: var(--accent);
}

.value-card[data-color="danger"]:hover .value-number {
    color: var(--danger);
}

/* Icon Container */
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.value-icon,
.icon-box {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Inner glow for icon */
.value-card:hover .icon-box {
    transform: translateY(-5px) scale(1.05);
}

.value-card[data-color="success"] .icon-box {
    color: var(--success);
}

.value-card[data-color="accent"] .icon-box {
    color: var(--accent);
}

.value-card[data-color="danger"] .icon-box {
    color: var(--danger);
}

.value-card[data-color="success"]:hover .icon-box {
    background: var(--success);
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    border-color: transparent;
}

.value-card[data-color="accent"]:hover .icon-box {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
    border-color: transparent;
}

.value-card[data-color="danger"]:hover .icon-box {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    border-color: transparent;
}


/* Text */
.value-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-white);
    position: relative;
    z-index: 1;
}

.value-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

/* Trust & Support Section */
.trust-support-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #131b2c 100%);
    padding: 6rem 0;
}

/* Process / Methodology Section Redesign */
.section.process {
    padding: 8rem 0;
    position: relative;
    /* Transparent background to allow animated blobs */
    background: transparent;
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    position: relative;
    margin-top: 5rem;
}

/* Connecting Line (Horizontal) - Desktop only */
@media (min-width: 992px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 30px;
        /* Center with the circle */
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg,
                transparent 0%,
                var(--primary) 20%,
                var(--accent) 80%,
                transparent 100%);
        z-index: 0;
        opacity: 0.3;
        pointer-events: none;
    }
}

.step {
    position: relative;
    text-align: center;
    z-index: 1;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 2.5rem;
    /* More space for arrow */
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-gray);
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 10px #0a0e17;
    /* Fake spacing/cutout for line */
    cursor: default;
}

/* Active State / Hover */
.step:hover .step-number {
    border-color: transparent;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5), 0 0 0 10px #0a0e17;
}

.step-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

/* Little arrow pointing up from content to number */
.step-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #0f1522;
    /* Match section bg */
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transition: var(--transition);
    z-index: 2;
}

.step:hover .step-content {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.step:hover .step-content::before {
    border-color: var(--primary);
    background: #0f1522;
    /* Keep same bg but change border */
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--text-white);
    font-weight: 700;
}

.step:hover h3 {
    color: var(--accent);
}

.step p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    flex-grow: 1;
}

/* Mobile Layout */
@media (max-width: 991px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 2rem;
        text-align: left;
        padding-bottom: 3rem;
    }

    /* Vertical connector line */
    .process-steps::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 30px;
        /* Center with circle */
        width: 2px;
        background: linear-gradient(to bottom, var(--primary), var(--accent));
        opacity: 0.2;
        transform: translateX(-50%);
    }

    .step-number {
        margin: 0;
        width: 60px;
        height: 60px;
    }

    .step-content::before {
        top: 30px;
        /* Center vertically with circle */
        left: -9px;
        /* Move to left side */
        transform: translateY(-50%) rotate(-45deg);
        /* Point left */
        background: #0f1522;
    }
}