/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

: root {
    --primary:  #6366f1;
    --primary-dark: #4f46e5;
    --secondary:  #8b5cf6;
    --bg:  #0f0f1a;
    --bg-light: #1a1a2e;
    --bg-card: #16162a;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.1);
    --gradient:  linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

. container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
. header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    list-style:  none;
    gap: 32px;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding:  10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background:  var(--gradient);
    color: black;
}

. btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: black;
    border: 1px solid var(--border);
}

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

.btn-white {
    background:  white;
    color: var(--primary-dark);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

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

.hero-bg {
    position:  absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

. hero-text h1 {
    font-size:  3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-text > p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom:  32px;
    max-width: 500px;
}

.hero-buttons {
    display:  flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display:  flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Video Container */
.hero-video {
    width: 100%;
    max-width:  700px;
    margin: 0 auto;
}

.video-container,
.video-wrapper {
    position:  relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

.video-container:: before,
.video-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
}

. video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: opacity 0.3s;
}

.video-poster. hidden {
    opacity:  0;
    pointer-events: none;
}

video {
    width:  100%;
    height: 100%;
    object-fit: cover;
}

. play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background:  rgba(99, 102, 241, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.play-button: hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
}

.play-button. playing {
    opacity: 0;
}

.video-wrapper:hover .play-button. playing {
    opacity: 1;
}

/* Sections */
.features,
.demos,
.pricing {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border:  1px solid var(--border);
    border-radius:  16px;
    padding: 32px;
    transition: all 0.3s;
}

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

.feature-icon {
    width:  48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:  20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

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

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius:  16px;
    overflow: hidden;
    transition: all 0.3s;
}

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

.video-wrapper {
    border-radius: 0;
}

.video-wrapper:: before {
    display: none;
}

.video-card h3 {
    padding: 20px 20px 8px;
    font-size: 1rem;
}

.video-card p {
    padding: 0 20px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display:  grid;
    grid-template-columns:  repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

. pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card: hover {
    transform: translateY(-5px);
}

.pricing-card. featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--bg-card) 100%);
}

.badge {
    position:  absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

. pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.price {
    margin-bottom: 32px;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

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

. pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom:  1px solid var(--border);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap:  12px;
}

.pricing-features li::before {
    content: '✓';
    color:  var(--primary);
    font-weight: bold;
}

. pricing-card . btn {
    width: 100%;
    justify-content: center;
}

/* CTA */
.cta {
    padding: 120px 0;
    text-align:  center;
    background: var(--gradient);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom:  16px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display:  flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer p {
    color:  var(--text-muted);
    font-size: 0.85rem;
}

/* Hero Title */
.hero-title {
    margin-bottom: 40px;
}

. hero-title h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

. hero-video {
    width: 100%;
    max-width:  800px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns:  1fr;
        text-align:  center;
    }

    .hero-text > p {
        margin:  0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns:  1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .features-grid,
    .video-grid {
        grid-template-columns:  1fr;
    }

    . section-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap:  16px;
        text-align: center;
    }
}