:root {
    --primary-color: #26549E;
    --secondary-color: #FF5C0A;
    --bg-color: #f4f6f8;
    --text-color: #111827;

    --card-shadow: rgba(0, 0, 0, 0.08);
    --button-hover-shadow: rgba(0, 0, 0, 0.1);
    --button-background: #26549E;
    --button-hover-background: #FF5C0A;
    
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f6f8;
    color: var(--text-color);
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Responsive Fluid Typography & Grid */
@media (max-width: 992px) {
    .glass-card-hero {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2.5rem 1.5rem !important;
    }
    
    .brand-logo-container {
        margin-right: 0 !important;
        margin-bottom: 2rem !important;
    }
    
    .brand-logo-container img {
        height: 140px !important;
    }
    
    .text-start {
        text-align: center !important;
    }

    .mission-section-enhanced {
        border-left: none !important;
        border-top: 6px solid #1e3a8a !important;
        padding: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; }
    .card-title-pro { font-size: 1rem !important; }
    .icon-container-refined { height: 110px !important; }
    .card-img-icon { height: 65px !important; }
}

@media (max-width: 576px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .glass-card-hero { margin-left: 0.5rem; margin-right: 0.5rem; }
}

/* Technical Innovation Background Layer */
.bg-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #f4f6f8 0%, #eceef1 100%);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 { width: 400px; height: 400px; background: #26549E; top: -100px; left: -100px; animation-duration: 25s; }
.orb-2 { width: 500px; height: 500px; background: #FF5C0A; bottom: -150px; right: -150px; animation-delay: -5s; animation-duration: 30s; }
.orb-3 { width: 300px; height: 300px; background: #0096FF; top: 40%; left: 60%; animation-delay: -10s; animation-duration: 22s; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(38, 84, 158, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 84, 158, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent);
    animation: gridPulse 8s infinite alternate ease-in-out;
}

@keyframes gridPulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.05); }
}

body::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 1000;
}

.header, .footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a6e 100%) !important;
    color: white !important;
}

.header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.8s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 100%;
    top: 100%;
}

.icon-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.glass-card:hover .glass-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 1);
}

.glass-card:hover .icon-container {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-img-icon {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: all 0.5s ease;
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.glass-card:hover {
    color: var(--secondary-color);
}

.glass-card-hero {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.card-edge-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    border-radius: 28px 28px 0 0;
}

.brand-logo-container {
    animation: floating 5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(38, 84, 158, 0.1));
    transition: all 0.5s ease;
}

.brand-logo-container:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 35px rgba(38, 84, 158, 0.3));
}

.shimmer-text {
    background: linear-gradient(90deg, #1e3a8a, #FF5C0A, #1e3a8a);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 5s linear infinite;
    font-weight: 800;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.animate-fade-down {
    animation: fadeDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-badge {
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
}

.icon-container-refined {
    border-radius: 22px;
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.card-icon {
    font-size: 3.5rem;
    transition: all 0.4s ease;
}

.card-title-pro {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.2px;
}

.card-desc-pro {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #555;
    opacity: 0.85;
}

.feature-list {
    list-style: none;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
}

.feature-list li {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

.launch-btn-pro {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    margin-top: auto;
    transition: all 0.3s ease;
}

.glass-card:hover .launch-btn-pro {
    transform: translateX(5px);
}

.card-mini-icon {
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer {
    padding: 0.4rem 0;
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.x-small {
    font-size: 0.72rem;
}

.card-img-icon {
    max-width: 80%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.glass-card:hover .card-img-icon {
    transform: scale(1.1);
}

.animate-up {
    animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
