/* ClawBus Master Stylesheet */

/* 1. Color Palette & Variables */
:root {
    --bg-dark: #0a0a0c;
    --bg-card: #141417;
    --bg-card-hover: #1c1c21;
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.4);
    --accent-gradient: linear-gradient(90deg, #7c3aed, #3b82f6);
    --text-main: #ffffff;
    --text-dim: #9ca3af;
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 3. Navigation */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    /* Adjusted for standard navbar height */
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* 4. Buttons */
.btn-primary {
    background: var(--accent);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--accent-glow);
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary {
    color: var(--text-main) !important;
    text-decoration: none;
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    color: var(--text-main) !important;
    text-decoration: none;
    transition: var(--transition);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* 5. Hero Section */
.hero {
    padding: 120px 0 100px 0;
    text-align: center;
    background: radial-gradient(circle at top, #1e1b4b 0%, #0a0a0c 60%);
}

.badge {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 6. Features Section (Alternating Horizontal) */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 6rem;
    letter-spacing: -1px;
}

.feature-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* Alternating Logic */
.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text-content {
    flex: 1;
    max-width: 500px;
}

.feature-image-wrapper {
    flex: 1.2;
    overflow: visible;
    /* Allows hover scale to pop */
}

.feature-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.feature-text-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.feature-text-content p {
    color: var(--text-dim);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Feature Asset Styling */
.feature-asset {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 24px;
    display: block;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    background: var(--bg-card);
    /* Fallback while loading */
}

.feature-row:hover .feature-asset {
    border-color: var(--accent);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.6);
}

/* 7. CTA Section */
.cta {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, #1e1b4b 0%, #7c3aed 100%);
    padding: 5rem 2rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.2);
}

.cta-box h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 3rem;
}

/* 8. Footer */
footer {
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
}

/* 9. Responsive */
@media (max-width: 992px) {

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .feature-text-content {
        max-width: 100%;
    }

    .feature-horizontal-list {
        gap: 6rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .feature-asset {
        border-radius: 16px;
    }
}