/* ============================================
   GCSERVER V2 - ULTRA MODERN DESIGN
   ============================================ */

:root {
    /* Primary Colors */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    
    /* Secondary Colors */
    --color-secondary: #f97316;
    --color-secondary-dark: #ea580c;
    --color-secondary-light: #fb923c;
    
    /* Neutrals */
    --color-dark: #0f172a;
    --color-dark-light: #1e293b;
    --color-gray: #64748b;
    --color-gray-light: #cbd5e1;
    --color-white: #ffffff;
    --color-off-white: #f8fafc;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Effects */
    --blur-sm: blur(8px);
    --blur-md: blur(12px);
    --blur-lg: blur(20px);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.24);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background: var(--color-off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   PARTICLES BACKGROUND
   ============================================ */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

#particlesCanvas {
    width: 100%;
    height: 100%;
}

/* ============================================
   NAVIGATION PREMIUM
   ============================================ */
.nav-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-premium.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur-md);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 3D Logo Cube */
.logo-3d {
    perspective: 1000px;
    width: 50px;
    height: 50px;
}

.logo-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-white);
    font-size: 1.2rem;
    opacity: 0.9;
}

.cube-face.front  { transform: rotateY(0deg) translateZ(25px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(25px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(25px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(25px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(25px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(25px); }

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--color-gray);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-glass {
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: var(--blur-sm);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-glass:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-burger span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    transition: all 0.3s;
}

/* ============================================
   HERO MODERN
   ============================================ */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 8rem 2rem 4rem;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--blur-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary-hero svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-primary-hero:hover svg {
    transform: translateX(5px);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--color-white);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.btn-secondary-hero:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-hero svg {
    width: 18px;
    height: 18px;
}

.hero-stats-modern {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-card-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    font-weight: 500;
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollLineMove 2s infinite;
}

@keyframes scrollLineMove {
    0%, 100% { opacity: 0; transform: translateY(-20px); }
    50% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CONTAINER
   ============================================ */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header-modern {
    margin-bottom: 4rem;
}

.section-header-modern.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-big {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 600px;
}

.section-header-modern.center .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   PLATFORMS SECTION - GLASSMORPHISM
   ============================================ */
.platforms-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.platform-card-glass {
    position: relative;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--blur-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.platform-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.platform-card-glass:hover::before {
    opacity: 1;
}

.platform-card-glass:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.platform-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    border-radius: 50%;
    filter: blur(40px);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.platform-card-glass:hover .platform-card-glow {
    opacity: 1;
}

.platform-card-glow.glow-orange {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.platform-icon-3d {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s;
}

.platform-card-glass:hover .platform-icon-3d {
    transform: rotateY(180deg);
}

.platform-icon-3d.icon-orange {
    background: var(--gradient-secondary);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.platform-icon-3d svg {
    width: 35px;
    height: 35px;
    color: var(--color-white);
}

.platform-badge {
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-badge.badge-orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-secondary);
}

.platform-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.platform-desc {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.platform-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-dark);
    font-weight: 500;
}

.feature-chip svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
}

.platform-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.platform-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.platform-btn:hover svg {
    transform: translateX(5px);
}

.platforms-info {
    max-width: 900px;
    margin: 0 auto;
}

.info-card-modern {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
}

.info-card-modern svg {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-card-modern p {
    color: var(--color-dark);
    line-height: 1.7;
}

/* ============================================
   ABOUT MODERN
   ============================================ */
.about-modern {
    padding: 8rem 0;
    background: var(--color-off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.pillar-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.pillar-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.pillar-item p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Ecosystem Orbit Animation */
.ecosystem-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-center {
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
    z-index: 2;
}

.center-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
}

.center-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.ecosystem-orbit {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: rotateOrbit 30s linear infinite;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: rotate(calc(var(--i) * 90deg));
}

.orbit-item span {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(var(--i) * -90deg));
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 30px;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    animation: floatOrbitItem 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.75s);
}

@keyframes floatOrbitItem {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(calc(var(--i) * -90deg)); }
    50% { transform: translateX(-50%) translateY(-10px) rotate(calc(var(--i) * -90deg)); }
}

/* ============================================
   FEATURES BENTO GRID
   ============================================ */
.features-bento {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.bento-card {
    padding: 2rem;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card.tall {
    grid-row: span 2;
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bento-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.bento-card p {
    color: var(--color-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   USE CASES MODERN
   ============================================ */
.usecases-modern {
    padding: 8rem 0;
    background: var(--color-off-white);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.usecase-card-modern {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.usecase-card-modern:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-xl);
}

.usecase-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.usecase-image svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.9);
}

.usecase-content {
    padding: 2rem;
}

.usecase-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.usecase-content p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.usecase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.usecase-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.usecase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================================
   CONTACT MODERN
   ============================================ */
.contact-modern {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--color-white);
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-left .section-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--color-primary-light);
}

.contact-left .section-title-big {
    color: var(--color-white);
}

.contact-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-form-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item-modern {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s;
}

.info-item-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.info-item-modern h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.info-item-modern p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.form-modern {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-group-modern label {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group-modern input::placeholder,
.form-group-modern textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.12);
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-modern {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-submit-modern svg {
    width: 20px;
    height: 20px;
}

.form-message-modern {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message-modern.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message-modern.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ============================================
   FOOTER MODERN
   ============================================ */
.footer-modern {
    background: var(--color-dark);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-cube-small {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-white);
    font-size: 1.2rem;
}

.footer-logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo-tag {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    line-height: 1.7;
    max-width: 350px;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links-group a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.footer-links-group a:hover {
    color: var(--color-primary-light);
    padding-left: 5px;
}

.footer-bottom-modern {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card.large {
        grid-column: span 2;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: var(--blur-md);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-burger {
        display: flex;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid-modern {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid-modern {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-stats-modern {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-card,
    .bento-card.large,
    .bento-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-modern {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .ecosystem-orbit {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
    }
}

