:root {
    --bg-color: #0f1115;
    --card-bg: #181b21;
    --primary: #8e24aa;
    --primary-hover: #7b1fa2;
    --accent: #ba68c8;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: #2d3139;
    --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
    color-scheme: dark;
}

.lang-selector select {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.lang-selector select:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.lang-selector select option {
    background-color: #1a1d23;
    color: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.logo svg {
    color: var(--primary);
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.navbar nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.navbar nav a:hover {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: #23272f;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 16px 32px;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border: none;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, white, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
}

.stat .number {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    flex: 1;
    /* Styles for the mockup */
}

/* Mockup */
.mockup-window {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    height: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(45deg, #111, #1a1a1a);
}

.mockup-header {
    background: #252830;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #eab308;
}

.dot.green {
    background: #22c55e;
}

.mockup-body {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mockup-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    text-align: center;
}

.trans-source {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.trans-target {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

/* Products */
.products {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: linear-gradient(145deg, #1e222a, #14171d);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(142, 36, 170, 0.2);
}

.product-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: white;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.video-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.video-preview {
    margin-top: 0;
    /* Override the margin-top if needed */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.video-preview:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}


/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(180deg, #1e2532 0%, #11141a 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.small-text {
    font-size: 0.85rem !important;
    margin-top: 20px;
    margin-bottom: 0 !important;
    opacity: 0.7;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0;
    background: var(--card-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand span {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .navbar nav {
        display: none;
        /* simple hide for mobile for this demo */
    }
}