:root {
    --bg-dark: #0a0a0c;
    --bg-card: #16161a;
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
    --accent-blue: #007aff;
    --accent-purple: #bf5af2;
    --gradient-primary: linear-gradient(135deg, #007aff 0%, #bf5af2 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

/* Typography Utilities */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Nav */
header {
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.btn-primary {
    background: var(--gradient-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
}

.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 4rem;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-accent-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

.hero-accent-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

/* Features */
.features {
    padding: 10rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-muted);
}

/* How It Works */
.how-it-works {
    background: #0d0d0f;
    padding: 10rem 5%;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-muted);
}

/* Showcase */
.showcase {
    padding: 10rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.showcase-item {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.showcase-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-info {
    padding: 2rem;
}

.showcase-info h3 {
    margin-bottom: 0.5rem;
}

.showcase-info p {
    color: var(--text-muted);
}

/* Video Showcase */
.video-showcase {
    padding: 10rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Support */
.support {
    padding: 10rem 5%;
    display: flex;
    justify-content: center;
}

.support-card {
    max-width: 800px;
    width: 100%;
    padding: 4rem;
    border-radius: 32px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.support-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.support-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.support-info {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-blue);
}

#open-video {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#open-video .icon {
    font-size: 0.8rem;
}

.contact-item a {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1.2rem;
}

.faq {
    text-align: left;
}

.faq h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

details {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '↓';
    color: var(--accent-blue);
    font-weight: 800;
}

details[open] summary::after {
    content: '↑';
}

details p {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    nav .nav-links,
    nav .btn-primary {
        display: none;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .support-card {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}