:root {
    /* Brand Colors */
    --bg-dark: #020617;
    --text-white: #ffffff;
    --text-gray: #94a3b8;

    /* Vibrant Brand Colors */
    --horsplace-green: #10b981;
    --horsplace-glow: #34d399;

    --horstable-purple: #6366f1;
    --horstable-glow: #818cf8;

    --horscape-amber: #f59e0b;
    --horsflow-pink: #ec4899;

    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --container-padding: 8%;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Aurora Background */
.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.15), transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.1), transparent 50%);
    filter: blur(60px);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(to right, var(--horsplace-glow), var(--horstable-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.nav-left {
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.nav-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--horsplace-green);
    transition: width 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: var(--horsplace-green);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--horsplace-green);
    color: #000;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-nav:hover {
    background: var(--horsplace-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--container-padding);
    padding-top: 120px;
    /* Space for fixed nav */
    text-align: center;
    align-items: center;
    position: relative;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--horsplace-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--horsplace-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin: 0;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-gray);
    max-width: 800px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.btn-xl {
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
}

.btn-primary {
    background: var(--horsplace-green);
    color: #000;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: var(--horsplace-glow);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-icon {
    transition: transform 0.3s;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: auto;
    padding-bottom: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Bento Grid Section */
.bento-section {
    padding: 6rem var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--horsplace-green);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.card-large {
    grid-column: span 6;
    grid-row: span 2;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.05), rgba(255, 255, 255, 0.02));
}

.card-medium {
    grid-column: span 6;
    grid-row: span 1;
}

.card-horstable:hover {
    border-color: var(--horstable-purple);
}

.card-horscape:hover {
    border-color: var(--horscape-amber);
}

.card-horsflow:hover {
    border-color: var(--horsflow-pink);
}

.logo-pill {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-pill img {
    height: 24px;
    width: auto;
    display: block;
}

.tag {
    background: var(--horstable-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
    vertical-align: middle;
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-gray);
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

/* Integration Strip */
.integration-strip {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
}

.strip-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.strip-label {
    color: var(--text-gray);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.strip-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.partner-logo {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
}

.partner-logo img {
    height: 100%;
    width: auto;
}

.partner-text {
    color: var(--text-gray);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 8rem var(--container-padding);
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1), transparent 60%);
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .nav-container {
        grid-template-columns: 1fr auto;
        padding: 1rem 1.5rem;
    }

    .nav-center {
        display: none;
    }

    .nav-right {
        grid-column: 2;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-large,
    .card-medium {
        grid-column: span 1;
        grid-row: auto;
        min-height: 300px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .top-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: none;
        /* Hide links on mobile for simplicity in this demo */
    }
}