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

:root {
    --bg-dark: #080809;
    --bg-card: #111113;
    --bg-elevated: #1a1a1c;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-light: #818cf8;
    --gold: #c5a368;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --glow: 0 0 60px rgba(99, 102, 241, 0.3);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 16px;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 10px 20px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 140px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

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

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Preview */
.hero-preview {
    position: relative;
    z-index: 1;
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    padding: 0 24px;
}

.preview-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px -20px rgba(0, 0, 0, 0.5),
        var(--glow);
}

.preview-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

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

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28ca41; }

.preview-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.preview-spacer {
    width: 52px;
}

.preview-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 400px;
}

.preview-sidebar {
    padding: 20px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
}

.info-card:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.info-card.urgent {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.info-card.urgent .info-icon {
    color: #f59e0b;
}

.info-icon {
    color: var(--primary-light);
    flex-shrink: 0;
}

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

.info-label {
    font-size: 11px;
    color: var(--text-muted);
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.action-dot {
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    flex-shrink: 0;
}

.preview-doc {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-page {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: linear-gradient(180deg, #18181f 0%, #111118 100%);
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Problem Section */
.problem {
    padding: 140px 0;
    background: var(--bg-dark);
}

.problem-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.problem-header h2 {
    font-size: clamp(36px, 5vw, 48px);
    margin-bottom: 16px;
}

.problem-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

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

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

.problem-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Features */
.features {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 100px;
}

.features-header h2 {
    font-size: clamp(36px, 5vw, 48px);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-content {
    max-width: 480px;
}

.feature-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.feature-content h3 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 16px;
}

.feature-content > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 5L7.5 14L4 10.5' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    flex-shrink: 0;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}

.stack-card {
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.stack-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.stack-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stack-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.signature-demo {
    padding: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    width: 100%;
    max-width: 320px;
}

.sig-line {
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.sig-svg {
    width: 200px;
    height: 60px;
    color: var(--text-primary);
}

.sig-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sig-date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.ocr-demo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ocr-before, .ocr-after {
    padding: 24px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.ocr-before {
    color: var(--text-muted);
    background: repeating-linear-gradient(
        45deg,
        var(--bg-elevated),
        var(--bg-elevated) 10px,
        var(--bg-card) 10px,
        var(--bg-card) 20px
    );
}

.ocr-after {
    color: var(--primary-light);
    border-color: var(--primary);
}

.ocr-arrow {
    color: var(--primary-light);
}

/* How It Works */
.how-it-works {
    padding: 140px 0;
    background: var(--bg-dark);
}

.how-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.how-header h2 {
    font-size: clamp(36px, 5vw, 48px);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    flex: 1;
    max-width: 280px;
    transition: all 0.3s;
}

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

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 14px;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border);
}

/* Trust */
.trust {
    padding: 100px 0;
    background: var(--bg-card);
}

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

.trust-card {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.trust-card:hover {
    border-color: var(--primary);
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: var(--primary-light);
}

.trust-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Download */
.download {
    position: relative;
    padding: 160px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-content h2 {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 16px;
}

.download-content > p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.btn-download {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 48px;
    background: var(--gradient);
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.btn-meta {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: 140px 0;
    background: var(--bg-card);
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.faq-header h2 {
    font-size: clamp(36px, 5vw, 48px);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item h4 {
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

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

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .preview-content {
        grid-template-columns: 1fr;
    }
    
    .preview-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-line {
        width: 2px;
        height: 40px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 48px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

