:root {
    --bg: #f8f9fb;
    --surface: #ffffff;
    --surface2: #f1f3f5;
    --surface3: #e5e7eb;
    --border: #e4e7ec;
    --border-focus: #818cf8;
    --text: #111827;
    --text-secondary: #4b5563;
    --text-dim: #9ca3af;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: #eef2ff;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --success: #10b981;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-xs: 7px;
    --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ===== Header ===== */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.logo-text {
    font-size: 1.25em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-xs);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 1px 3px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: var(--surface3);
    color: var(--text);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    background: var(--surface2);
    border-color: var(--surface3);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1em;
}

.btn-full {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: var(--text-dim);
}

.hero-note svg {
    color: var(--success);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.demo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 320px;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
}

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

.demo-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
}

.demo-title {
    font-weight: 600;
    font-size: 0.9em;
}

.demo-content {
    padding: 32px 24px;
}

.demo-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-xs);
    transition: all var(--transition);
}

.demo-step.active {
    background: var(--accent-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.step-icon {
    font-size: 1.5em;
}

.step-text {
    font-weight: 500;
    color: var(--text-secondary);
}

.demo-step.active .step-text {
    color: var(--accent);
}

.demo-arrow {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.2em;
    margin: 8px 0;
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

/* ===== Features ===== */
.features {
    background: var(--surface);
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* ===== How It Works ===== */
.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ===== Pricing ===== */
.pricing {
    background: var(--surface);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    transform: scale(1.02);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.pricing-card:not(.featured) .plan-badge {
    background: var(--text-dim);
}

.plan-name {
    font-size: 1.5em;
    font-weight: 700;
    margin: 24px 0 16px;
}

.plan-price {
    margin-bottom: 32px;
}

.price {
    font-size: 3em;
    font-weight: 800;
    color: var(--accent);
}

.period {
    color: var(--text-dim);
    font-size: 0.9em;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.plan-features svg {
    color: var(--success);
    flex-shrink: 0;
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.author-role {
    color: var(--text-dim);
    font-size: 0.9em;
}

/* ===== FAQ ===== */
.faq {
    background: var(--surface);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    cursor: pointer;
    background: var(--surface);
    transition: all var(--transition);
}

.faq-question:hover {
    background: var(--surface2);
}

.faq-question h3 {
    font-weight: 600;
    margin: 0;
}

.faq-question svg {
    color: var(--text-dim);
    transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition);
    background: var(--surface2);
}

.faq-item.open .faq-answer {
    padding: 24px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.cta .btn-primary {
    background: #fff;
    color: var(--accent);
}

.cta .btn-primary:hover {
    background: var(--surface2);
    transform: translateY(-2px);
}

.cta-note {
    margin-top: 16px;
    font-size: 0.9em;
    opacity: 0.8;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.link-group h4 {
    font-weight: 600;
    margin-bottom: 16px;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.link-group a:hover {
    color: var(--accent);
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav {
        height: 64px;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .hero {
        padding: 48px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .btn-large {
        padding: 12px 24px;
        width: 100%;
    }
    
    section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 2em;
        margin-bottom: 32px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step {
        gap: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2em;
    }
    
    .demo-card {
        width: 100%;
        max-width: 280px;
    }
    
    .pricing-card {
        padding: 24px 20px;
    }
    
    .testimonial {
        padding: 24px 20px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { 
    background: var(--surface3); 
    border-radius: 3px; 
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--text-dim); 
}

/* ===== Selection ===== */
::selection { 
    background: var(--accent-light); 
    color: var(--accent-hover); 
}