:root {
    --bg-color: #020202;
    --text-color: #ffffff;
    --accent-purple: #7000ff;
    --accent-pink: #d600ff;
    --accent-blue: #00f3ff;
    --accent-green: #00ff9d;

    /* Matte Dark Tokens */
    --card-bg: #0a0a0a;
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.2);

    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    scrollbar-width: none;
    /* Ambient Gradient Mesh Background */
    background-image:
        radial-gradient(circle at 20% 10%, rgba(112, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(214, 0, 255, 0.1) 0%, transparent 40%);
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
    /* Dim the 3D slightly to let UI pop */
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: white;
    font-weight: 700;
}

h1 {
    font-family: var(--font-heading);
}

h2,
h3 {
    font-family: var(--font-body);
}

/* Layout */
#main-content {
    position: relative;
    z-index: 1;
}

.section {
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    /* Hero Gradient Glow */
    background: radial-gradient(circle at 50% 30%, rgba(112, 0, 255, 0.2), transparent 60%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tag {
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    /* Switch to cleaner sans for the main huge text */
    font-weight: 700;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #888;
    max-width: 500px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Button Styles */
.btn-primary {
    background: white;
    color: black;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-text {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.btn-purple {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Ticker --- */
.ticker-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent */
    backdrop-filter: blur(5px);
    padding: 2rem 0;
    margin-top: 2rem;
    position: relative;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    /* Slower, smoother */
}

.ticker__item {
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    /* Syncopate */
    font-weight: 700;
    font-size: 1.5rem;
    /* Larger */
    padding: 0 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.ticker__item::after {
    content: "✦";
    /* Star instead of bullet */
    margin-left: 3rem;
    color: var(--accent-purple);
    font-size: 1rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* --- Stats Section --- */
.stats-container {
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-body);
    /* Clean sans */
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Services (Bento) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-5px);
}

/* Featured card specific styling */
.bento-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #0f0f0f 0%, #050505 100%);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-tags {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #ccc;
    text-transform: uppercase;
}

.service-icon-large {
    color: #ff0055;
    /* Just an accent */
    font-size: 2rem;
}


/* --- Process --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.step-num {
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.process-step p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}


/* --- Testimonials --- */
.testimonial-card {
    background: linear-gradient(180deg, #111, #0a0a0a);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.testimonial-card .quote {
    font-size: 1.1rem;
    color: #ddd;
    font-style: normal;
}


/* --- FAQ --- */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: #0a0a0a;
    border: 1px solid var(--card-border);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #333;
}

.faq-question {
    font-weight: 500;
    color: #eee;
}

.plus {
    color: #666;
}


/* --- Contact / Footer --- */
.contact-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020202;
    padding: 4rem 0 2rem;
}


/* Responsive */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack bento */
    }

    .bento-card.featured {
        grid-column: span 1;
    }

    .stats-grid,
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 1.5rem;
        /* Less padding */
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-primary,
    .btn-text {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: block;
        padding: 1rem;
        box-sizing: border-box;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        /* Single column stats */
        gap: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Perf: Reduce or remove blur on mobile */
    .ticker-wrap,
    .hero-tag {
        backdrop-filter: none;
        background: rgba(0, 0, 0, 0.8);
    }

    /* Adjust ticker text size */
    .ticker__item {
        font-size: 1rem;
        padding: 0 1.5rem;
    }

    .ticker__item::after {
        margin-left: 1.5rem;
        font-size: 0.8rem;
    }
}