/* ==========================================================================
   BHARTIYA NAVCHETANA ENTERPRISES - 3D GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

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

:root {
    /* Brand & Accent Colors */
    --primary-cyan: #03e9f4;
    --primary-cyan-glow: rgba(3, 233, 244, 0.4);
    --accent-gold: #ffb800;
    --accent-gold-glow: rgba(255, 184, 0, 0.4);
    --accent-red: #ff3b5c;
    --accent-red-glow: rgba(255, 59, 92, 0.4);
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.4);
    --accent-blue: #2563eb;
    
    /* Background & Surface Palette */
    --bg-dark: #07090e;
    --bg-card: rgba(18, 22, 34, 0.65);
    --bg-card-hover: rgba(28, 35, 54, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(3, 233, 244, 0.4);
    
    /* Typography Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Layout & Spacing */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transitions & Dynamics */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #090b10;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-cyan), var(--accent-purple));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* 3D WebGL Canvas Layer */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 60%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card System */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}

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

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(3, 233, 244, 0.15), 0 0 20px rgba(3, 233, 244, 0.1);
    transform: translateY(-4px);
}

/* 3D Tilt Card Base */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform var(--transition-fast);
}

/* Glow Elements & Badges */
.glow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(3, 233, 244, 0.1);
    border: 1px solid rgba(3, 233, 244, 0.3);
    color: var(--primary-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(3, 233, 244, 0.2);
}

.glow-badge-gold {
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.2);
}

.glow-badge-red {
    background: rgba(255, 59, 92, 0.1);
    border: 1px solid rgba(255, 59, 92, 0.3);
    color: var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 59, 92, 0.2);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ff8c00 100%);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 184, 0, 0.4);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 35px rgba(255, 184, 0, 0.7);
    background: linear-gradient(135deg, #ffc425 0%, #ffa01c 100%);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #00b4d8 100%);
    box-shadow: 0 0 25px rgba(3, 233, 244, 0.4);
    color: #000;
}

.btn-cyan:hover {
    box-shadow: 0 0 35px rgba(3, 233, 244, 0.7);
}

.btn-red {
    background: linear-gradient(135deg, var(--accent-red) 0%, #dc2626 100%);
    box-shadow: 0 0 25px rgba(255, 59, 92, 0.4);
    color: #fff;
}

.btn-red:hover {
    box-shadow: 0 0 35px rgba(255, 59, 92, 0.7);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(3, 233, 244, 0.1);
}

.btn-outline:hover {
    background: rgba(3, 233, 244, 0.15);
    box-shadow: 0 0 25px rgba(3, 233, 244, 0.4);
    color: #fff;
}

/* Header & Sticky Navigation */
.header-glass {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-fast);
}

.nav-link {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-cyan);
    background: rgba(3, 233, 244, 0.12);
    border-color: rgba(3, 233, 244, 0.3);
    box-shadow: 0 0 15px rgba(3, 233, 244, 0.2);
    text-shadow: 0 0 8px rgba(3, 233, 244, 0.6);
}

/* Marquee / Infinite Slider */
.marquee-container {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 2rem;
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 14px 0;
    border-y: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 2rem;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Platform Logo Grid & Cards */
.logo-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all var(--transition-smooth);
    min-width: 160px;
    min-height: 100px;
}

.logo-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(3, 233, 244, 0.3);
}

.logo-card img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

.logo-card span {
    color: #475569;
    font-size: 0.75rem;
    margin-top: 6px;
    font-weight: 500;
    text-align: center;
}

/* Section Layout Wrappers */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Floating Animation Keyframes */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.animate-float {
    animation: floatAnim 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulseSlow 3s ease-in-out infinite;
}

@keyframes pulseSlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

/* Stat Counter Numbers */
.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modal Popup */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #0f131f;
    border: 1px solid var(--primary-cyan);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 540px;
    width: 90%;
    box-shadow: 0 0 50px rgba(3, 233, 244, 0.3);
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
}

.modal-backdrop.active .modal-container {
    transform: scale(1);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2.75rem !important; }
    h2 { font-size: 2.25rem !important; }
    .stat-number { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    .container-custom { padding: 0 16px; }
    .logo-card { min-width: 130px; padding: 12px; }
    .stat-number { font-size: 2.25rem; }
}

/* --------------------------------------------------------------------------
   3D FLOATING BIG GRID SYSTEM FOR PLATFORMS
   -------------------------------------------------------------------------- */
.platform-card-3d {
    background: rgba(18, 22, 34, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-smooth);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.platform-card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(3, 233, 244, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.platform-card-3d::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.platform-card-3d:hover {
    border-color: rgba(3, 233, 244, 0.5);
    box-shadow: 0 25px 50px rgba(3, 233, 244, 0.25), 0 0 35px rgba(3, 233, 244, 0.2);
    transform: translateY(-10px) scale(1.05);
}

.platform-card-3d:hover::before,
.platform-card-3d:hover::after {
    opacity: 1;
}

.platform-card-3d img {
    height: 56px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
    transition: transform var(--transition-smooth);
}

.platform-card-3d:hover img {
    transform: scale(1.1);
}

.platform-card-badge {
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-smooth);
}

.platform-card-3d:hover .platform-card-badge {
    background: rgba(3, 233, 244, 0.15);
    color: var(--primary-cyan);
    border-color: rgba(3, 233, 244, 0.4);
}

/* Staggered Floating Delays */
.float-stagger-1 { animation: floatAnim 7s ease-in-out 0s infinite; }
.float-stagger-2 { animation: floatAnim 7s ease-in-out 1.4s infinite; }
.float-stagger-3 { animation: floatAnim 7s ease-in-out 2.8s infinite; }
.float-stagger-4 { animation: floatAnim 7s ease-in-out 4.2s infinite; }
.float-stagger-5 { animation: floatAnim 7s ease-in-out 5.6s infinite; }
