/* Base & Typography */
:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-purple: #a855f7;
    --accent-purple-glow: rgba(168, 85, 247, 0.5);
    --accent-green: #4ade80;
    --accent-green-glow: rgba(74, 222, 128, 0.5);
    --grid-color: rgba(255, 255, 255, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Effects */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60vh;
    background: radial-gradient(circle at 50% 0%, rgba(88, 28, 135, 0.4), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.grid-floor {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0.3;
    z-index: 0;
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
}

/* Flow Chart (Simple CSS rep) */
.flow-chart-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.flow-node {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(5px);
}

.flow-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
}

.hero-image-wrapper {
    position: relative;
    height: 400px;
    /* Space for the photo */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: -2rem;
    /* Overlap with text slightly or sit above it? Ref image has text over person somewhat. Let's stack standard for now. */
}

.person-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.person-container::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    z-index: 1;
    filter: blur(50px);
    pointer-events: none;
}

.hero-image {
    height: 450px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: brightness(1.1) contrast(1.1);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.spotlights {
    /* Keeping spotlights as ambient background but lower intensity if needed */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 0;
}

.spotlight {
    width: 100px;
    height: 300px;
    background: linear-gradient(to top, var(--accent-purple-glow), transparent);
    border-radius: 50%;
    filter: blur(20px);
    transform-origin: bottom;
    transform: rotate(-15deg);
}

.spotlight:nth-child(2) {
    transform: rotate(15deg);
}

.spotlight:nth-child(3) {
    transform: rotate(-30deg);
    opacity: 0.5;
}

.spotlight:nth-child(4) {
    transform: rotate(30deg);
    opacity: 0.5;
}


.hero-content {
    position: relative;
    z-index: 3;
    margin-top: 2rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
}

.headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(to right, #c084fc, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subheadline {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-button {
    background: var(--accent-green);
    color: #000;
    font-weight: 800;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-green-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-green-glow);
}

.trust-badges {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 4rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.product-card.featured {
    border-color: var(--accent-purple);
    background: linear-gradient(to bottom, rgba(168, 85, 247, 0.05), rgba(0, 0, 0, 0));
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-purple);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.card-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.product-card:hover .card-btn {
    background: white;
    color: black;
    border-color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .headline {
        font-size: 2rem;
        word-wrap: break-word;
        /* Prevent long words breaking layout */
    }

    .subheadline {
        font-size: 1rem;
    }

    /* Fix Hero Background Overflow */
    .person-container::before {
        width: 100%;
        height: 300px;
        top: 20%;
        filter: blur(40px);
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-image {
        height: 300px;
        margin-top: 1rem;
    }

    .hero-image-wrapper {
        height: auto;
        margin-bottom: 0;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Flow Chart - Simplified for mobile */
    .flow-chart-container {
        display: none;
        /* Often cleaner to hide complex diagrams on mobile, or redesign completely */
    }

    /* Make spotlight subtle on mobile */
    .spotlights {
        opacity: 0.5;
    }

    .products-grid {
        gap: 2rem;
        margin-top: 3rem;
        grid-template-columns: 1fr;
        /* Force single column */
    }

    .cta-button {
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .tag-pill {
        font-size: 0.7rem;
    }
}