:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --dark-bg: #000000;
    --light-bg: #FFFFFF;
    --gray-100: #F5F5F7;
    --gray-200: #E8E8ED;
    --gray-300: #D2D2D7;
    --gray-400: #AEAEB2;
    --gray-500: #8E8E93;
    --gray-600: #636366;
    --gray-700: #48484A;
    --gray-800: #2C2C2E;
    --gray-900: #1C1C1E;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0,122,255,0.1) 0%, rgba(255,255,255,0) 100%);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-github {
    background: var(--dark-bg);
    color: var(--light-bg) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.nav-github:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-media {
    position: relative;
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--gray-100);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.video-cta {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-cta:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.video-cta svg {
    flex-shrink: 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 122, 255, 0.3);
}

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

.btn-secondary {
    background: var(--gray-100);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--gray-100);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

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

/* Interface Preview */
.interface-preview {
    padding: 80px 0;
    background: white;
}

.interface-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.interface-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.interface-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.interface-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.interface-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.interface-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.interface-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Code Example */
.code-example {
    padding: 80px 0;
    background: var(--gray-900);
    color: white;
}

.code-example .section-title {
    color: white;
}

.code-block {
    background: var(--dark-bg);
    border-radius: 12px;
    padding: 2rem;
    overflow-x: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.code-block pre {
    margin: 0;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-comment {
    color: #6A9955;
}

.code-keyword {
    color: #C586C0;
}

.code-string {
    color: #CE9178;
}

/* Support Section */
.support {
    padding: 80px 0;
    background: white;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--gray-100);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.support-card.premium {
    background: var(--gradient-primary);
    color: white;
}

.premium-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.support-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.support-card p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.support-card.premium p {
    color: rgba(255, 255, 255, 0.9);
}

.support-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.support-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

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

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-400);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

.video-modal-content {
    max-width: 1200px;
    padding: 1rem;
    background: black;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.pricing-card {
    background: var(--gray-100);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

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

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card.featured .price span {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card.featured li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-media {
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .interface-showcase {
        grid-template-columns: 1fr;
    }
    
    .interface-image {
        margin-bottom: 2rem;
    }
}