:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --secondary: #06B6D4;
    --secondary-dark: #0891B2;
    --tertiary: #F59E0B;
    --success: #10B981;
    --danger: #EF4444;
    --dark-bg: #0F172A;
    --dark-surface: #1E293B;
    --dark-border: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --accent-orange: #FF6B35;
    --accent-pink: #D946EF;
}

* {
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f3a 100%);
    color: var(--text-primary);
    overflow-x: hidden;
}

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    border-bottom: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--primary) !important;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(217, 70, 239, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #A78BFA 0%, var(--secondary) 50%, var(--tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Stats Section */
.stats {
    background: var(--dark-surface);
    padding: 60px 0;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Cards */
.card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

/* Equal height cards for side-by-side layouts (one card per column) */
.row > [class*="col-"] > .card:only-child {
    height: 100%;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    transform: translateY(-5px);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--dark-border);
    padding: 20px;
}

.card .card-title {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 20px;
}

.card .card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

/* Feature Grid */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 30px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tech Stack */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.tech-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tech-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(217, 70, 239, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: var(--text-secondary);
    margin: 0;
}

/* Code Block */
.code-block {
    background: #0a0e27;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    color: var(--primary-light);
    font-size: 0.9rem;
}

/* Badge */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-primary {
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-light);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

/* Footer */
footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-section h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 30px;
    margin-top: 30px;
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    bottom: 20px;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

/* Marketing Section - UGC Results & Creative Best Practices boxes */
.card.bg-success .card-body .list-unstyled li,
.card.bg-success .card-body .list-unstyled li strong,
.card.bg-primary .card-body .list-unstyled li {
    color: #FFFFFF;
}

.card.bg-success .card-body .card-title,
.card.bg-primary .card-body .card-title {
    color: #FFFFFF;
}

/* Growth Flywheel section text visibility */
.card.border-primary .card-body p.fw-bold,
.card.border-primary .card-body p.text-muted {
    color: #FFFFFF !important;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    color: white;
}

/* Mobile menu smooth animation */
.navbar-collapse {
    transition: height 0.35s ease, opacity 0.25s ease;
}

.navbar-collapse.collapsing {
    height: 0;
    overflow: hidden;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    border-top: 1px solid var(--dark-border);
    padding: 20px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-consent.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    color: var(--text-secondary);
    flex: 1;
    min-width: 250px;
}

/* Email Signup Form */
.signup-form .form-control {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: var(--text-primary);
    padding: 16px 20px;
}

.signup-form .form-control:focus {
    background: var(--dark-surface);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25);
}

.signup-form .form-control::placeholder {
    color: var(--text-secondary);
}

.signup-form .btn-primary {
    padding: 16px 32px;
    min-width: 140px;
}

/* Loading/Skeleton animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--dark-surface) 25%,
        var(--dark-border) 50%,
        var(--dark-surface) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 2em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-card {
    height: 200px;
}

/* Focus styles for better accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Improved contrast for some elements */
.text-muted {
    color: #94a3b8 !important;
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content .d-flex {
        justify-content: center;
    }
}



