/*
 * LGArmor Premium SaaS Design System
 * Inspired by Stripe / Vercel / Linear
 */

:root {
    /* Stripe-esque Refined Palette */
    --saas-bg: #0a0a0c;
    --saas-card-bg: rgba(255, 255, 255, 0.03);
    --saas-border: rgba(255, 255, 255, 0.08);
    --saas-border-bright: rgba(255, 255, 255, 0.15);
    --saas-accent: #6366f1; /* Stripe Indigo */
    --saas-accent-glow: rgba(99, 102, 241, 0.15);
    --saas-text-primary: #fcfcfd;
    --saas-text-muted: #94a3b8;
}

/* Global Overrides */
body {
    color: var(--saas-text-primary) !important;
    background-color: var(--saas-bg) !important;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.text-t-primary {
    color: var(--saas-text-primary) !important;
}

/* --- Stripe-Style Glassmorphism --- */
.glass-panel {
    background: var(--saas-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--saas-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.glass-panel-bright {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--saas-border-bright);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- Typography Masterclass (Stripe Style) --- */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.05em !important;
    font-weight: 700 !important;
    color: var(--saas-text-primary) !important;
    line-height: 1.1 !important;
}

.text-balance {
    text-wrap: balance;
}

/* --- Ultra-Premium Border --- */
.premium-border {
    position: relative;
    overflow: hidden;
}

.premium-border::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--saas-border-bright), transparent);
}

/* --- 3D Scroll Background (More subtle, like Stripe) --- */
.bg-parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    perspective: 1000px;
    overflow: hidden;
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(3vw, 3vh) rotate(2deg) scale(1.05); }
    66% { transform: translate(-3vw, 5vh) rotate(-2deg) scale(0.95); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

.bg-parallax-blob {
    position: absolute;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    will-change: transform;
    animation: drift 30s infinite ease-in-out;
}

.blob-1 { background: var(--saas-accent); top: -20%; right: -10%; animation-delay: 0s; }
.blob-2 { background: #3b82f6; bottom: -20%; left: -10%; animation-delay: -10s; }
.blob-3 { background: #a855f7; top: 30%; left: 20%; animation-delay: -20s; }

/* --- Product Card V3: The "Stripe" look --- */
.product-card-premium {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--saas-border);
    border-radius: 1rem;
}

.product-card-premium:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--saas-border-bright);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px var(--saas-accent-glow);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.product-image-container img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-premium:hover .product-image-container img {
    transform: scale(1.08);
}

.badge-premium {
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}