/* ============================================
   QBEX.AI - PREMIUM TECH UI
   Glassmorphism | 3D Cards | Micro-animations
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1438;
    --bg-tertiary: #141a42;
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --glass-hover: rgba(255,255,255,0.08);
    --accent-cyan: #00d4ff;
    --accent-purple: #7c3aed;
    --accent-orange: #ed8936;
    --accent-green: #10b981;
    --accent-pink: #ec4899;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --shadow-glow: 0 0 30px rgba(0,212,255,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
    --transition-smooth: 0.4s cubic-bezier(0.4,0,0.2,1);
    --transition-bounce: 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-grid {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.gradient-orb {
    position: fixed; border-radius: 50%; filter: blur(120px);
    pointer-events: none; z-index: 0;
}
.gradient-orb-1 {
    width: 600px; height: 600px; top: -200px; right: -200px;
    background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
    animation: orbFloat1 20s ease-in-out infinite;
}
.gradient-orb-2 {
    width: 500px; height: 500px; bottom: -150px; left: -150px;
    background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 70%);
    animation: orbFloat2 25s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-80px,80px) scale(1.1); }
}
@keyframes orbFloat2 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(60px,-60px) scale(1.15); }
}

/* ============================================
   CONTAINER
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.language-selector {
    position: fixed; top: 16px; right: 16px; z-index: 9999;
    display: flex; gap: 6px;
    background: rgba(10,14,39,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 8px 12px; border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.lang-btn {
    padding: 6px 12px; border: 1px solid transparent;
    background: transparent; color: var(--text-secondary);
    border-radius: var(--radius-sm); cursor: pointer;
    font-size: 12px; font-weight: 600;
    transition: var(--transition-fast);
    white-space: nowrap;
}
.lang-btn:hover { background: var(--glass-hover); color: var(--text-primary); }
.lang-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white; border-color: transparent;
    box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(10,14,39,0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.navbar .container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 28px; }
.logo-img { height: 36px; width: auto; object-fit: contain; }
.logo-text {
    font-size: 24px; font-weight: 800; color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display: flex; list-style: none; gap: 8px; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--text-secondary); font-weight: 500;
    font-size: 14px; padding: 8px 16px; border-radius: var(--radius-sm);
    transition: var(--transition-fast); position: relative;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent-cyan); background: rgba(0,212,255,0.08);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
    background: var(--accent-cyan); transition: var(--transition-smooth);
    transform: translateX(-50%); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; padding: 8px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.hero::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 800px; height: 800px; transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
    animation: heroPulse 4s ease-in-out infinite;
}
@keyframes heroPulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%,-50%) scale(1.2); opacity: 1; }
}
.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 600;
    background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2);
    color: var(--accent-cyan); margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}
.hero-content h1 {
    font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.1;
    margin-bottom: 24px; letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: clamp(16px, 2vw, 20px); color: var(--text-secondary);
    margin-bottom: 40px; max-width: 650px; margin-left: auto; margin-right: auto;
}

/* ============================================
   HERO VIDEO CAROUSEL
   ============================================ */
.hero-video-carousel {
    position: relative; z-index: 2;
    max-width: 800px; margin: 0 auto;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.08);
    padding: 12px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero-carousel-container {
    position: relative; overflow: hidden;
    border-radius: var(--radius-md);
    width: 100%; padding-bottom: 56.25%;
    height: 0; background: #000;
}
.hero-carousel-container iframe,
.hero-video-thumb {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: none;
    object-fit: cover;
}
.hero-play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,0,0,0.85); border: none;
    color: white; font-size: 28px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    z-index: 5;
}
.hero-play-btn:hover {
    background: rgba(255,0,0,1); transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 40px rgba(255,0,0,0.4);
}
.hero-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10,14,39,0.85);
    color: var(--text-primary); font-size: 18px; cursor: pointer;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    display: flex; align-items: center; justify-content: center; z-index: 10;
}
.hero-carousel-btn:hover {
    background: var(--accent-cyan); color: var(--bg-primary);
    border-color: var(--accent-cyan); box-shadow: 0 0 20px rgba(0,212,255,0.4);
}
.hero-prev { left: -22px; }
.hero-next { right: -22px; }
.hero-carousel-dots {
    display: flex; justify-content: center; gap: 8px;
    padding: 12px 0 4px;
}
.hero-carousel-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--text-muted); border: none; cursor: pointer;
    transition: var(--transition-fast); padding: 0;
}
.hero-carousel-dot.active {
    background: var(--accent-cyan); box-shadow: 0 0 8px rgba(0,212,255,0.5);
    transform: scale(1.2);
}

/* ============================================
   BUTTONS & CTA
   ============================================ */
.cta-btn, .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px; border: none; border-radius: var(--radius-lg);
    font-size: 16px; font-weight: 700; cursor: pointer;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white; text-decoration: none;
    transition: var(--transition-smooth);
    position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.cta-btn::before, .btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    opacity: 0; transition: var(--transition-smooth);
}
.cta-btn:hover, .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0,212,255,0.4);
}
.cta-btn:hover::before, .btn-primary:hover::before { opacity: 1; }
.cta-btn span, .btn-primary span { position: relative; z-index: 1; }
.cta-btn:active, .btn-primary:active { transform: translateY(-1px) scale(0.98); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border: 2px solid var(--glass-border);
    border-radius: var(--radius-lg); font-size: 15px; font-weight: 600;
    cursor: pointer; background: var(--glass-bg); color: var(--text-primary);
    text-decoration: none; transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    border-color: var(--accent-cyan); background: rgba(0,212,255,0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,212,255,0.15);
}

.btn-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-border);
    background: var(--glass-bg); color: var(--text-primary); cursor: pointer;
    transition: var(--transition-fast); font-size: 18px;
}
.btn-icon:hover {
    background: var(--accent-cyan); color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 100px 20px; position: relative; }
.section-dark { background: var(--bg-secondary); }
.section-darker { background: var(--bg-tertiary); }

section h2, .section-title {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800;
    margin-bottom: 16px; color: var(--text-primary);
    letter-spacing: -0.5px;
}
.section-title-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.subtitle, .section-subtitle {
    font-size: 18px; color: var(--text-secondary); margin-bottom: 48px;
    max-width: 600px;
}
.text-center { text-align: center; }
.text-center .subtitle, .text-center .section-subtitle {
    margin-left: auto; margin-right: auto;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
    position: relative; overflow: hidden;
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(0,212,255,0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), var(--shadow-glow);
}
.glass-card .card-icon {
    width: 60px; height: 60px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));
    border: 1px solid rgba(0,212,255,0.1);
}
.glass-card h3 {
    font-size: 20px; font-weight: 700; margin-bottom: 12px;
    color: var(--text-primary);
}
.glass-card p {
    font-size: 15px; color: var(--text-secondary); line-height: 1.7;
}

/* ============================================
   3D TILT CARDS
   ============================================ */
.card-3d {
    perspective: 1000px;
}
.card-3d-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.card-3d-inner:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.1);
}
.card-3d-inner .card-shine {
    position: absolute; inset: 0; border-radius: var(--radius-lg);
    background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%),
        rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none; opacity: 0; transition: opacity 0.4s;
}
.card-3d-inner:hover .card-shine { opacity: 1; }

/* ============================================
   PRODUCT CARDS (Solution Cards)
   ============================================ */
.solutions-grid, .grid-3, .grid-4, .products-grid {
    display: grid; gap: 24px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px; position: relative; overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.product-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover::after { transform: scaleX(1); }
.product-card:hover {
    background: var(--glass-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(0,212,255,0.08);
}
.product-card .product-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(124,58,237,0.12));
}
.product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.product-card .card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; color: var(--accent-cyan); font-size: 14px; font-weight: 600;
    text-decoration: none; transition: var(--transition-fast);
}
.product-card .card-link:hover { gap: 10px; }

/* ============================================
   SOLUTION CARDS - ANIMATED BORDERS
   ============================================ */
@keyframes borderRotate {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.solution-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle),
        transparent 40%,
        var(--card-accent, var(--accent-cyan)) 50%,
        transparent 60%
    );
    animation: borderRotate 4s linear infinite;
    transition: var(--transition-smooth);
    overflow: hidden;
}
.solution-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle),
        transparent 30%,
        var(--card-accent, var(--accent-cyan)) 50%,
        transparent 70%
    );
    animation: borderRotate 4s linear infinite;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.solution-card:hover::before {
    opacity: 1;
}
.solution-card-border {
    display: none;
}
.solution-card-content {
    position: relative; z-index: 1;
    background: var(--bg-secondary);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 32px 28px;
    height: 100%;
    text-align: left;
    transition: var(--transition-smooth);
}
.solution-card:hover .solution-card-content {
    background: linear-gradient(
        165deg,
        rgba(10,14,39,1) 0%,
        rgba(15,20,50,1) 50%,
        rgba(10,14,39,1) 100%
    );
}
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.solution-icon-wrap {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--card-accent, var(--accent-cyan)) 15%, transparent),
        color-mix(in srgb, var(--card-accent, var(--accent-cyan)) 5%, transparent)
    );
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent-cyan)) 20%, transparent);
    transition: var(--transition-smooth);
}
.solution-card:hover .solution-icon-wrap {
    transform: scale(1.1);
    box-shadow: 0 0 20px color-mix(in srgb, var(--card-accent, var(--accent-cyan)) 30%, transparent);
}
.solution-icon { font-size: 26px; line-height: 1; }
.solution-card-content h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 10px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}
.solution-card:hover .solution-card-content h3 {
    color: var(--card-accent, var(--accent-cyan));
}
.solution-card-content p {
    font-size: 14px; color: var(--text-secondary);
    line-height: 1.7; margin-bottom: 16px;
}
.solution-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--card-accent, var(--accent-cyan));
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}
.solution-link:hover { gap: 12px; }
.solution-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}
.solution-link:hover span {
    transform: translateX(4px);
}

/* ============================================
   METRIC CARDS
   ============================================ */
.metric-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px; text-align: center;
    transition: var(--transition-smooth);
}
.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: rgba(0,212,255,0.2);
}
.metric-number {
    font-size: 52px; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 12px;
}
.metric-label { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.metric-card p { font-size: 14px; color: var(--text-secondary); }

/* ============================================
   TABS
   ============================================ */
.tabs-container { margin-bottom: 40px; }
.tabs-nav {
    display: flex; gap: 4px; padding: 4px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); overflow-x: auto;
    backdrop-filter: blur(10px); margin-bottom: 32px;
}
.tab-btn {
    padding: 12px 24px; border: none; background: transparent;
    color: var(--text-secondary); font-size: 14px; font-weight: 600;
    border-radius: var(--radius-md); cursor: pointer;
    transition: var(--transition-fast); white-space: nowrap;
    flex: 1; text-align: center;
}
.tab-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white; box-shadow: 0 4px 15px rgba(0,212,255,0.3);
}
.tab-panel { display: none; animation: fadeInUp 0.4s ease-out; }
.tab-panel.active { display: block; }

/* ============================================
   ACCORDION
   ============================================ */
.accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); overflow: hidden;
    transition: var(--transition-fast);
}
.accordion-item:hover { border-color: rgba(0,212,255,0.15); }
.accordion-item.active { border-color: rgba(0,212,255,0.3); }
.accordion-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; cursor: pointer; background: transparent;
    border: none; width: 100%; color: var(--text-primary);
    font-size: 16px; font-weight: 600; text-align: left;
    transition: var(--transition-fast);
}
.accordion-header:hover { background: rgba(255,255,255,0.02); }
.accordion-icon {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    font-size: 14px; transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.accordion-item.active .accordion-body { max-height: 500px; }
.accordion-body-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary); font-size: 15px; line-height: 1.7;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: var(--bg-secondary); border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl); padding: 40px;
    max-width: 560px; width: 100%;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-smooth);
    position: relative; overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--glass-border); background: var(--glass-bg);
    color: var(--text-secondary); font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
}
.modal-close:hover { background: rgba(245,101,101,0.2); color: #f56565; border-color: #f56565; }
.modal h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.modal p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* ============================================
   TOAST / SNACKBAR
   ============================================ */
.toast-container {
    position: fixed; bottom: 24px; right: 24px; z-index: 10001;
    display: flex; flex-direction: column; gap: 10px;
}
.toast {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 24px; border-radius: var(--radius-md);
    background: var(--bg-secondary); border: 1px solid var(--glass-border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    min-width: 320px; max-width: 420px;
    transform: translateX(120%); opacity: 0;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    color: var(--text-primary); font-size: 14px; font-weight: 500;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.hide { transform: translateX(120%); opacity: 0; }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-success { border-left: 4px solid var(--accent-green); }
.toast-info { border-left: 4px solid var(--accent-cyan); }
.toast-warning { border-left: 4px solid var(--accent-orange); }
.toast-error { border-left: 4px solid #f56565; }
.toast-close {
    margin-left: auto; background: none; border: none;
    color: var(--text-muted); cursor: pointer; font-size: 16px;
    padding: 4px; transition: var(--transition-fast);
}
.toast-close:hover { color: var(--text-primary); }

/* ============================================
   CHIPS
   ============================================ */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600;
    border: 1px solid var(--glass-border); background: var(--glass-bg);
    color: var(--text-secondary); cursor: pointer;
    transition: var(--transition-fast);
}
.chip:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); background: rgba(0,212,255,0.08); }
.chip.active {
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(124,58,237,0.2));
    border-color: var(--accent-cyan); color: var(--accent-cyan);
}
.chip .chip-close { font-size: 14px; opacity: 0.6; transition: var(--transition-fast); }
.chip .chip-close:hover { opacity: 1; }

/* ============================================
   BADGES
   ============================================ */
.badge-pill {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}
.badge-cyan { background: rgba(0,212,255,0.15); color: var(--accent-cyan); }
.badge-purple { background: rgba(124,58,237,0.15); color: var(--accent-purple); }
.badge-orange { background: rgba(237,137,54,0.15); color: var(--accent-orange); }
.badge-green { background: rgba(16,185,129,0.15); color: var(--accent-green); }

/* ============================================
   STRATEGY TABLE (Decision Matrix)
   ============================================ */
.matrix-wrapper {
    overflow-x: auto; border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}
.decision-matrix { width: 100%; border-collapse: collapse; }
.decision-matrix thead {
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(124,58,237,0.1));
}
.decision-matrix th {
    padding: 16px 20px; text-align: left; font-weight: 700;
    font-size: 13px; color: var(--accent-cyan);
    text-transform: uppercase; letter-spacing: 0.5px;
    border-bottom: 1px solid var(--glass-border);
}
.decision-matrix td {
    padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 14px; color: var(--text-secondary);
}
.decision-matrix tbody tr { transition: var(--transition-fast); }
.decision-matrix tbody tr:hover {
    background: rgba(0,212,255,0.04);
}
.badge-high { display:inline-block; padding:4px 10px; border-radius:4px; font-size:11px; font-weight:700; background:rgba(0,212,255,0.15); color:var(--accent-cyan); }
.badge-medium { display:inline-block; padding:4px 10px; border-radius:4px; font-size:11px; font-weight:700; background:rgba(237,137,54,0.15); color:var(--accent-orange); }
.badge-low { display:inline-block; padding:4px 10px; border-radius:4px; font-size:11px; font-weight:700; background:rgba(100,116,139,0.2); color:var(--text-muted); }

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px; margin-top: 48px;
}
.contact-card {
    background: var(--glass-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 32px; text-align: center; transition: var(--transition-smooth);
}
.contact-card:hover {
    transform: translateY(-4px); border-color: rgba(0,212,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.country-flag { font-size: 48px; margin-bottom: 16px; }
.contact-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.office-name { color: var(--accent-cyan); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.address { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.phone { font-size: 14px; color: var(--accent-cyan); font-weight: 500; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 0; }
.field-error {
    display: none; color: #f56565; font-size: 13px; text-align: left;
    margin-top: 4px; font-weight: 500;
}
.field-error.visible { display: block; }
.contact-form input.invalid, .contact-form textarea.invalid {
    border-color: #f56565; box-shadow: 0 0 0 2px rgba(245,101,101,0.2);
}
.contact-form input.valid, .contact-form textarea.valid {
    border-color: var(--accent-green); box-shadow: 0 0 0 2px rgba(16,185,129,0.2);
}
.contact-form input, .contact-form textarea {
    padding: 14px 18px; border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); font-size: 15px; font-family: inherit;
    background: var(--glass-bg); color: var(--text-primary);
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

/* ============================================
   CHALLENGE VS SOLUTION DUAL SLIDER
   ============================================ */
.dual-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
    position: relative;
}
.dual-slider-col {
    position: relative;
    min-height: 280px;
}
.dual-slider-col .dual-label {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.dual-label-problem {
    background: rgba(245,101,101,0.15);
    color: #f56565;
    border: 1px solid rgba(245,101,101,0.3);
}
.dual-label-solution {
    background: rgba(0,212,255,0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0,212,255,0.3);
}
.dual-slide-card {
    position: absolute;
    inset: 0;
    top: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.dual-slide-card.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.dual-slide-card.problem-card {
    background: linear-gradient(135deg, rgba(245,101,101,0.08), rgba(245,101,101,0.02));
    border: 1px solid rgba(245,101,101,0.2);
}
.dual-slide-card.solution-card-dual {
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,212,255,0.02));
    border: 1px solid rgba(0,212,255,0.2);
}
.dual-slide-card .card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.dual-slide-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}
.dual-slide-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 400px;
}
.dual-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.dual-slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.dual-slider-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
}
.dual-slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}
.dual-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}
.dual-slider-dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0,212,255,0.5);
    transform: scale(1.3);
}
.dual-slider-arrow {
    display: none;
    font-size: 40px;
    color: var(--accent-cyan);
    align-self: center;
    opacity: 0.5;
}
@media (min-width: 769px) {
    .dual-slider-arrow { display: flex; align-items: center; justify-content: center; }
    .dual-slider {
        grid-template-columns: 1fr auto 1fr;
    }
}
@media (max-width: 768px) {
    .dual-slider { grid-template-columns: 1fr; gap: 20px; }
    .dual-slider-col { min-height: 220px; }
    .dual-slide-card { padding: 28px 20px; }
    .dual-slide-card h3 { font-size: 19px; }
    .dual-slide-card .card-icon { font-size: 40px; }
}

/* ============================================
   FULLSCREEN INTRO BLOCK SLIDER
   ============================================ */
.intro-block-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.ib-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
}
.ib-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.ib-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 8s ease;
}
.ib-slide.active .ib-slide-bg {
    transform: scale(1.05);
}
.ib-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,14,23,0.88) 0%, rgba(10,14,23,0.65) 50%, rgba(10,14,23,0.4) 100%);
    z-index: 1;
}
.ib-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.ib-slide-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.ib-slide-content .ib-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.ib-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
    perspective: 1000px;
}
.ib-cards-row.ib-cards-row-4 {
    grid-template-columns: repeat(4, 1fr);
}
.ib-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    background: conic-gradient(
        from var(--border-angle),
        transparent 40%,
        var(--accent-cyan) 50%,
        transparent 60%
    );
    animation: borderRotate 4s linear infinite;
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease;
    overflow: hidden;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
}
.ib-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    background: conic-gradient(
        from var(--border-angle),
        transparent 30%,
        var(--accent-cyan) 50%,
        transparent 70%
    );
    animation: borderRotate 4s linear infinite;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.ib-card:hover::before {
    opacity: 1;
}
.ib-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: calc(var(--radius-lg) - 2px);
    background: var(--bg-secondary);
    z-index: 1;
}
.ib-card > * {
    position: relative;
    z-index: 2;
}
.ib-card:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.1);
}
.ib-card-shine {
    position: absolute;
    inset: 2px;
    border-radius: calc(var(--radius-lg) - 2px);
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 3;
}
.ib-card:hover .ib-card-shine {
    opacity: 1;
}
.ib-card .ib-card-icon {
    font-size: 40px;
    margin-bottom: 14px;
    display: block;
}
.ib-card .ib-metric-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1.1;
}
.ib-card h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ib-card .ib-metric-label {
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.ib-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.ib-card-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    background: rgba(0,212,255,0.12);
    border: 1px solid rgba(0,212,255,0.25);
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ib-slider-nav {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}
.ib-slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ib-slider-btn:hover {
    background: var(--accent-cyan);
    color: #0a0e17;
    border-color: var(--accent-cyan);
}
.ib-slider-dots {
    display: flex;
    gap: 8px;
}
.ib-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ib-slider-dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .ib-cards-row { grid-template-columns: 1fr; gap: 16px; }
    .ib-cards-row.ib-cards-row-4 { grid-template-columns: repeat(2, 1fr); }
    .ib-slide-content h2 { font-size: 26px; }
    .ib-card .ib-metric-number { font-size: 36px; }
    .intro-block-slider { height: auto; min-height: 100vh; }
    .ib-slide { position: relative; padding: 80px 0 100px; }
    .ib-slide:not(.active) { display: none; }
}
@media (max-width: 600px) {
    .ib-slide-content h2 { font-size: 22px; }
    .ib-card { padding: 26px 18px; }
}

/* ============================================
   VIDEO CAROUSEL
   ============================================ */
.video-carousel { position: relative; margin-top: 40px; overflow: hidden; }
.carousel-container { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
    display: flex; gap: 20px; padding: 20px;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.video-item {
    flex: 0 0 400px; min-width: 400px; height: 225px;
    border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}
.video-item:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.video-item iframe { width: 100%; height: 100%; border: none; }
.video-thumb-item { position: relative; cursor: pointer; }
.video-thumb-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--glass-border); background: rgba(10,14,39,0.9);
    color: var(--text-primary); font-size: 20px; cursor: pointer;
    backdrop-filter: blur(10px); transition: var(--transition-fast);
    display: flex; align-items: center; justify-content: center; z-index: 10;
}
.carousel-btn:hover { background: var(--accent-cyan); color: var(--bg-primary); border-color: var(--accent-cyan); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

/* ============================================
   BRICKS IMAGE
   ============================================ */
.bricks-image {
    max-width: 100%; height: auto; border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-top: 40px; transition: var(--transition-smooth);
}
.bricks-image:hover { transform: scale(1.01); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(5,7,20,0.95); border-top: 1px solid var(--glass-border);
    padding: 60px 20px 30px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand p { color: var(--text-secondary); font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 300px; }
.footer h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: var(--transition-fast); }
.footer ul a:hover { color: var(--accent-cyan); }
.footer-bottom {
    padding-top: 24px; border-top: 1px solid var(--glass-border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: var(--transition-fast); }
.footer-bottom-links a:hover { color: var(--accent-cyan); }

/* ============================================
   ANIMATIONS (CSS)
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* GSAP reveal targets */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.85); }

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.process-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); padding: 28px;
    transition: var(--transition-smooth); position: relative;
}
.process-card:hover {
    transform: translateY(-4px); border-color: rgba(0,212,255,0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.process-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white; font-size: 18px; font-weight: 800; margin-bottom: 16px;
}
.process-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.process-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.process-tag {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    font-size: 12px; font-weight: 600;
    background: rgba(0,212,255,0.1); color: var(--accent-cyan);
    border: 1px solid rgba(0,212,255,0.2);
}

/* ============================================
   TEAM / USER CARDS
   ============================================ */
.user-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); padding: 28px; text-align: center;
    transition: var(--transition-smooth);
}
.user-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.2); }
.user-avatar {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: white; font-weight: 700;
    border: 3px solid rgba(0,212,255,0.3);
}
.user-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.user-card .role { font-size: 13px; color: var(--accent-cyan); font-weight: 600; margin-bottom: 12px; }
.user-card p { font-size: 14px; color: var(--text-secondary); }

/* ============================================
   MATRIX NOTE
   ============================================ */
.matrix-note {
    margin-top: 24px; padding: 20px 24px; border-radius: var(--radius-md);
    background: rgba(0,212,255,0.05); border-left: 4px solid var(--accent-cyan);
    font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .language-selector { top: auto; bottom: 16px; right: 16px; left: 16px; justify-content: center; flex-wrap: wrap; }
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,14,39,0.98); backdrop-filter: blur(20px); padding: 20px; border-bottom: 1px solid var(--glass-border); gap: 4px; }
    .menu-toggle { display: block; }
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-video-carousel { margin: 0 -8px; }
    .hero-prev { left: 4px; }
    .hero-next { right: 4px; }
    .hero-carousel-btn { width: 36px; height: 36px; font-size: 14px; }
    .grid-3, .grid-4, .products-grid, .solutions-grid { grid-template-columns: 1fr; }
    section { padding: 60px 20px; }
    .tabs-nav { flex-wrap: wrap; }
    .video-item { flex: 0 0 300px; min-width: 300px; height: 169px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .lang-btn { padding: 5px 8px; font-size: 11px; }
    .hero-content h1 { font-size: 28px; }
    .hero-video-carousel { padding: 8px; }
    .cta-btn, .btn-primary { padding: 14px 28px; font-size: 15px; }
    section h2, .section-title { font-size: 24px; }
    .subtitle, .section-subtitle { font-size: 15px; }
    .video-item { flex: 0 0 260px; min-width: 260px; height: 146px; }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
    position: fixed; bottom: 80px; right: 24px; z-index: 9998;
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,212,255,0.4); }

/* ============================================
   LOADING / SKELETON
   ============================================ */
.page-loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
    width: 48px; height: 48px; border-radius: 50%;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent-cyan);
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   PRINT STYLES
   ============================================ */
/* Social Links */
.social-links a { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); transition:all .3s; }
.social-links a:hover { background:var(--accent); border-color:var(--accent); }
.social-links a:hover i { color:#fff !important; }

@media print {
    .language-selector, .scroll-top, .bg-grid, .gradient-orb { display: none; }
    body { background: white; color: #333; }
    .glass-card, .product-card, .metric-card { border: 1px solid #ccc; background: white; }
}
