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

:root {
    --brand-primary: #4F6EF7;
    --brand-primary-light: #6B87F9;
    --brand-primary-dark: #3A54D9;
    --brand-accent: #7C5CFF;
    --brand-accent-light: #9B7FFF;
    --bg-dark: #0A0E1A;
    --bg-card: #111827;
    --bg-card-hover: #1A2332;
    --bg-surface: #0F1629;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --glow-purple: rgba(124, 92, 255, 0.3);
    --glow-blue: rgba(79, 110, 247, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ==================== Navigation ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(10, 14, 26, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: var(--radius-sm);
    color: white;
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-dot {
    color: var(--brand-primary);
    margin: 0 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-btn-outline {
    padding: 8px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.nav-btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.05);
}

.nav-btn-primary {
    padding: 8px 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
}

.nav-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-btn {
    text-align: center;
    margin-top: 8px;
}

/* ==================== Hero ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: var(--brand-primary);
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -200px;
    background: var(--brand-accent);
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 50%;
    background: #3B82F6;
    animation: float 6s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79, 110, 247, 0.1);
    border: 1px solid rgba(79, 110, 247, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brand-primary-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-accent-light), #60A5FA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 24px var(--glow-purple);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--glow-purple);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--brand-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ==================== Products Section ==================== */
.products {
    padding: 100px 24px;
    background: var(--bg-surface);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(79, 110, 247, 0.1);
    border: 1px solid rgba(79, 110, 247, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Featured Product Card */
.product-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), var(--brand-accent), transparent);
    opacity: 0.5;
}

.product-featured:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 48px rgba(0,0,0,0.4);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-badge.live {
    background: rgba(16, 185, 129, 0.1);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    animation: pulse 2s ease-in-out infinite;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-icon {
    font-size: 1.4rem;
}

.product-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.product-feature {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s ease;
}

.product-feature:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--border);
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 12px;
}

.btn-product-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px var(--glow-blue);
}

.btn-product-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--glow-blue);
}

.btn-product-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.btn-product-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

/* Product Visual */
.product-featured-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-window {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.window-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.window-content {
    padding: 20px;
}

.mock-manual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    animation: fadeSlide 0.6s ease forwards;
    opacity: 0;
}

.mock-step:nth-child(1) { animation-delay: 0.2s; }
.mock-step:nth-child(2) { animation-delay: 0.4s; }
.mock-step:nth-child(3) { animation-delay: 0.6s; }

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

.step-badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(79, 110, 247, 0.15);
    color: var(--brand-primary-light);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.step-screenshot {
    height: 40px;
    background: linear-gradient(135deg, rgba(79,110,247,0.1), rgba(124,92,255,0.1));
    border-radius: 6px;
    border: 1px solid rgba(79,110,247,0.1);
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.text-line {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
}

.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }

.visual-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.float-ai {
    top: 10%;
    right: -16px;
    color: var(--brand-accent-light);
    animation: floatBadge 3s ease-in-out infinite;
}

.float-auto {
    bottom: 15%;
    left: -20px;
    color: #34D399;
    animation: floatBadge 3s ease-in-out infinite 1.5s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Coming Soon Grid */
.products-coming {
    text-align: center;
}

.coming-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.coming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.coming-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.coming-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.coming-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.coming-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.coming-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.coming-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==================== Features Section ==================== */
.features {
    padding: 100px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(79, 110, 247, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(79, 110, 247, 0.1);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79,110,247,0.1), rgba(124,92,255,0.1));
    border-radius: var(--radius-md);
    color: var(--brand-primary-light);
}

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

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== CTA Section ==================== */
.cta {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb-cta-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: 30%;
    background: var(--brand-primary);
    opacity: 0.2;
}

.orb-cta-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: 20%;
    background: var(--brand-accent);
    opacity: 0.15;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 24px var(--glow-purple);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--glow-purple);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}

/* ==================== Footer ==================== */
.footer {
    padding: 60px 24px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-slogan {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

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

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
    .product-featured {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

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

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

    .coming-grid {
        grid-template-columns: 1fr;
    }

    .visual-float { display: none; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }

    .hero { padding: 100px 20px 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.4rem; }

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

    .footer-container {
        flex-direction: column;
    }

    .footer-links { gap: 32px; }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== Scroll Animations ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
