:root {
    --bg-color: #050505;
    --text-color: #e5e5e5;
    --text-muted: #a3a3a3;
    --primary-gradient: linear-gradient(90deg, #7928ca, #ff0080);
    --secondary-gradient: linear-gradient(180deg, #333, #111);
    --accent-glow: rgba(121, 40, 202, 0.15);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

/* Background Ambient Glow */
.background-glow {
    position: fixed;
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(121,40,202,0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}


.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

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

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

/* Dynamic Text Styles */
.highlight-text {
    font-weight: 700;
    color: #fff;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.highlight-text.fade-out {
    opacity: 0;
    transform: translateY(5px);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.3);
}

/* Video Section */
.demo-container {
    margin: 4rem auto 8rem;
    max-width: 900px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    background: #000;
}

.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    display: flex;
    justify-content: center;
    padding-bottom: 8rem;
}

.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.form-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-card p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #7928ca;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* Utility */
.hidden {
    display: none;
}

#successMessage {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

#successMessage h3 {
    color: #10b981; /* Green */
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center;
    padding: 2rem;
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #111;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .form-card {
        padding: 1.5rem;
    }
}