@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #ff0000;
    --primary-glow: rgba(255, 0, 0, 0.4);
    --bg: #080808;
    --bg-alt: #0e0e0e;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --outfit: 'Outfit', sans-serif;
    --grad: linear-gradient(135deg, #ff0000 0%, #990000 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
}

body {
    font-family: var(--outfit);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav.scrolled {
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.4);
    transform: scale(1.1);
    transition: transform 10s ease-out;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
}

.platform-pills {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.pill {
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill i {
    color: var(--primary);
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

/* --- Section Styling --- */
section {
    padding: 140px 0;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.section-head h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.1;
}

.gradient-text {
    background: var(--grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 60px;
}

.bento-item {
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: scale(0.98);
}

.bento-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.bento-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.bento-info p {
    font-size: 0.95rem;
    color: var(--text-dim);
    font-weight: 300;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* --- Timeline --- */
.timeline {
    margin-top: 80px;
    position: relative;
    max-width: 800px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--glass-border);
}

.timeline-step {
    padding-left: 60px;
    position: relative;
    margin-bottom: 60px;
}

.timeline-step::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--bg);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-step p {
    color: var(--text-dim);
    font-weight: 300;
}

/* --- Platform Marquee --- */
.platform-marquee {
    background: #000;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 0;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dim);
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.3s;
}

.marquee-item:hover {
    filter: grayscale(0);
    opacity: 1;
    color: var(--text);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- Feature Highlights --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 32px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--grad);
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-dim);
    display: none;
    font-weight: 300;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

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

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* --- Final CTA --- */
.final-cta {
    position: relative;
    padding: 180px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.final-cta h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dim);
}

input,
select,
textarea {
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 20px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Polished Footer --- */
.site-footer {
    padding: 100px 0 40px;
    background: linear-gradient(to bottom, transparent, rgba(8, 8, 8, 0.5));
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 320px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
}

.footer-contact .contact-item a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

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

.footer-nav-group {
    display: flex;
    gap: 80px;
}

.nav-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 10px;
    opacity: 0.5;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.social-grid {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-item:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px var(--primary-glow);
    border-color: var(--primary);
}

.footer-legal {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.legal-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #fff;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .footer-social {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 80px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-nav-group {
        justify-content: center;
        gap: 60px;
    }

    .footer-social {
        grid-column: span 1;
    }

    .legal-wrap {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-nav-group {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .bento-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

/* --- Mobile Responsive Fixes (≤900px) --- */
@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--text);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .platform-pills {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
    }

    .pill {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .hero-content div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .hero-content .pill[style*="padding: 18px 30px"] {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .section-head h2 {
        font-size: 2.25rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .glass-card {
        padding: 30px 20px;
    }

    .timeline-step {
        padding-left: 45px;
    }

    .final-cta {
        padding: 100px 0;
    }

    .final-cta h2 {
        font-size: 2.5rem;
    }
}

/* --- Small Mobile Fixes (≤576px) --- */
@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-head h2 {
        font-size: 1.85rem;
    }

    .section-header h2[style*="font-size: 3rem"] {
        font-size: 2.2rem !important;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
}