:root {
    /* Colors - Dark Premium Theme */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #22d3ee;
    --accent-green: #10b981;

    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a27;
    --bg-gradient: linear-gradient(135deg, #0f0f1a 0%, #0a0a0f 50%, #0d0d15 100%);

    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #64748b;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    transition: var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item i {
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.7;
}

.has-dropdown {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-muted);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-white);
}

.btn-contact {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition-normal);
}

.btn-contact:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-fast);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.12), transparent),
        radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 300px 300px;
    animation: particleFloat 60s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-300px);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.poker-cards-floating {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 170px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card::before {
    content: '♠';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #1a1a2e;
}

.card-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.card-1::before {
    content: '♥';
    color: #dc2626;
}

.card-2 {
    top: 30%;
    right: 15%;
    animation-delay: -2s;
    transform: rotate(10deg);
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: -4s;
    transform: rotate(-5deg);
}

.card-3::before {
    content: '♦';
    color: #dc2626;
}

.floating-chips {
    position: absolute;
    bottom: 10%;
    right: 25%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    animation: floatCard 5s ease-in-out infinite;
    animation-delay: -1s;
}

.floating-chips::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rotate, 0deg));
    }

    50% {
        transform: translateY(-20px) rotate(var(--rotate, 0deg));
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* ========== CASE STUDY BANNER ========== */
.case-study-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.case-study-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.case-study-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.case-badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-content h2 {
    font-size: 24px;
    font-weight: 600;
    flex: 1;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.case-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========== SECTION STYLES ========== */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.product-card {
    position: relative;
    padding: 50px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition-normal);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-5px);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, var(--bg-card) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.product-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 24px;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
}

.product-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition-fast);
}

.product-card:hover .product-arrow {
    background: var(--primary);
    color: var(--text-white);
    transform: translateX(5px);
}

/* ========== SOLUTIONS SECTION ========== */
.solutions-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.solution-card {
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-normal);
}

.solution-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-8px);
}

.solution-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary-light);
}

.solution-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-white);
}

.solution-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 120px 0;
    background: var(--bg-darker);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.stat-item:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-plus {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-top: 8px;
    margin-bottom: 12px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== DEMO SECTION ========== */
.demo-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.demo-card {
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.demo-card:hover {
    border-color: var(--border-light);
    transform: translateY(-5px);
}

.demo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    font-size: 32px;
    color: var(--text-white);
}

.demo-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.demo-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.demo-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.demo-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--text-white);
}

.demo-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.demo-btn.primary:hover {
    background: var(--primary-light);
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.feature-highlight {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    margin-bottom: 30px;
}

.feature-highlight h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.feature-highlight>p {
    font-size: 16px;
    color: var(--text-muted);
}

.feature-highlight ul {
    list-style: none;
    margin-top: 20px;
}

.feature-highlight li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-subtle);
}

.feature-highlight li:last-child {
    border-bottom: none;
}

.feature-highlight li i {
    color: var(--accent-green);
    font-size: 14px;
}

.feature-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-stat {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-fast);
}

.feature-stat:hover {
    border-color: var(--primary);
}

.feature-stat .number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.feature-stat .icon {
    display: block;
    font-size: 36px;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.feature-stat .label {
    font-size: 14px;
    color: var(--text-muted);
}

.backoffice-section {
    margin-top: 80px;
    padding: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    text-align: center;
}

.backoffice-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.backoffice-section>p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.backoffice-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.bo-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.bo-feature i {
    color: var(--primary-light);
}

/* ========== GAMES SECTION ========== */
.games-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.games-section .container {
    max-width: 100%;
    padding: 0;
}

.games-section .container>section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.contact-info>p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-light);
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 10px;
    color: var(--text-white);
}

.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark);
}

.btn-submit {
    width: 100%;
    padding: 18px 32px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========== FOOTER ========== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
}

.footer-top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 8px 0;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-white);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0a0a0f;
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.02);
        box-shadow: none;
        border: none;
        display: none;
        padding-left: 20px;
        margin-top: 10px;
    }

    .nav-item.active .dropdown-menu,
    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .btn-contact {
        display: none;
        /* Hide regular contact button in header, maybe add to menu if needed */
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section-title {
        font-size: 32px;
    }

    .case-study-content {
        flex-direction: column;
        text-align: center;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- HERO SLIDER CSS --- */
.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* Ensure height */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-nav-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-dot.active {
    background: #6366f1;
    /* Fallback primary */
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.slide-visual-icon {
    font-size: 250px;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 0.1;
    color: #fff;
    filter: blur(2px);
    transition: transform 0.8s ease-out;
}

.hero-slide.active .slide-visual-icon {
    transform: translateY(-50%) rotate(0deg) scale(1.1);
}

@media (max-width: 768px) {
    .slide-visual-icon {
        font-size: 150px;
        right: -20px;
    }
}


/* =========================================
   HOMEPAGE SPECIFIC STYLES
   ========================================= */

/* Game Verticals Section */
.game-verticals {
    padding: 100px 0;
    background: var(--bg-dark);
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.vertical-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.vertical-card:hover {
    transform: translateY(-10px);
    border-color: var(--card-color);
}

.vertical-card:hover::before {
    opacity: 1;
}

.vertical-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    background: rgba(255, 255, 255, 0.03);
}

.vertical-icon-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-icon-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.vertical-card:hover .vertical-icon-img img {
    transform: scale(1.1);
}

.vertical-card h3 {
    color: var(--text-white);
    font-size: 24px;
    margin-bottom: 15px;
}

.vertical-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.vertical-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vertical-links a {
    color: var(--text-light);
    font-size: 13px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s;
}

.vertical-links a:hover {
    background: var(--card-color);
    color: #fff;
}

.explore-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--card-color);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.explore-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-item {
    text-align: center;
    padding: 30px;
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.why-item h4 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 10px;
}

.why-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Solutions Overview Section */
.solutions-overview {
    padding: 100px 0;
    background: var(--bg-dark);
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.sol-tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.sol-tab:hover,
.sol-tab.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.solutions-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sol-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
}

.sol-card:hover {
    border-color: #6366f1;
    transform: translateY(-5px);
}

.sol-card h4 {
    color: var(--text-white);
    margin-bottom: 10px;
}

.sol-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.sol-card .learn-more {
    color: #6366f1;
    font-size: 14px;
    font-weight: 500;
}

/* =========================================
   CONTACT CTA SECTION
   ========================================= */

.contact-cta {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a12 0%, #050508 50%), radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-left {
    padding-right: 40px;
}

.contact-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.contact-left h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-left h2 span {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-left p {
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-box i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    border-radius: 10px;
    color: #818cf8;
    font-size: 18px;
}

.benefit-box span {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.contact-stats {
    display: flex;
    gap: 40px;
}

.contact-stat {
    text-align: center;
}

.contact-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.contact-stat span {
    color: #64748b;
    font-size: 13px;
}

.contact-form-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 45px;
    position: relative;
    overflow: hidden;
}

.contact-form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

.form-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.contact-form select option {
    background: #1a1a2e;
    color: #fff;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.form-note {
    text-align: center;
    color: #64748b;
    font-size: 12px;
    margin-top: 20px;
}

.form-note i {
    color: #10b981;
    margin-right: 5px;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1024px) {
    .verticals-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-left {
        padding-right: 0;
        text-align: center;
    }

    .contact-benefits {
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .contact-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .verticals-grid,
    .why-grid,
    .solutions-showcase {
        grid-template-columns: 1fr;
    }

    .solutions-tabs {
        gap: 10px;
    }

    .sol-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .contact-left h2 {
        font-size: 36px;
    }

    .contact-benefits {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
}
