:root {
    --bg-color: #0a0a0a;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --surface-color: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

img, svg {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

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

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

.text-center {
    text-align: center;
}

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

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Progress bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

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

.btn-glow {
    background: var(--accent-gradient);
    color: white;
    border: none;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--surface-color);
    border-color: var(--text-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15), transparent 25%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content {
    max-width: 800px;
}

.subtitle {
    font-size: 1.25rem;
    margin: 1.5rem auto 2.5rem;
    max-width: 600px;
}

.hero-trust {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Advantages */
.grid {
    display: grid;
    gap: 2rem;
}

.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.adv-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.adv-card:hover {
    background: var(--surface-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.adv-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Counters */
.counters-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.counter-item {
    text-align: center;
}

.counter-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    display: inline-block;
}

.counter-plus {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-purple);
}

.counter-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.counter-divider {
    width: 1px;
    height: 60px;
    background: var(--border-color);
}

/* Instructions Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.step-progress-line {
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step-progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.5s ease;
}

.step {
    position: relative;
    z-index: 1;
    width: 25%;
    padding: 0 1rem;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.step.active .step-circle {
    border-color: var(--accent-blue);
    background: var(--accent-gradient);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Secondary CTA */
.cta-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 4rem;
}

.price-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card.highlighted {
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), transparent);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.currency {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    align-self: flex-end;
    margin-bottom: 0.75rem;
}

.price-details {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 20px;
}

.discount {
    color: #10b981;
    font-weight: 600;
}

.features-list {
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.price-card .btn {
    width: 100%;
}

/* Platforms */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-8px);
    background: var(--surface-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.platform-card h4 {
    margin-bottom: 1.5rem;
}

/* Comparison */
.comparison-table {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-top: 3rem;
    background: var(--surface-color);
}

.comp-header {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.comp-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comp-col {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    align-items: center;
}

.comp-col:first-child {
    font-weight: 600;
    color: var(--text-secondary);
}

.free-col {
    color: var(--text-secondary);
    border-left: 1px solid var(--border-color);
}

.paid-col {
    background: rgba(59, 130, 246, 0.05);
    border-left: 1px solid var(--border-color);
    font-weight: 600;
}

.comp-row.stagger-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.comp-row.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.bad {
    color: #ef4444;
}

.good {
    color: #10b981;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.uc-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.uc-card:hover {
    background: var(--surface-hover);
    border-color: rgba(139, 92, 246, 0.4);
}

.uc-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.review-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.author {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.review-card p {
    font-size: 0.875rem;
    font-style: italic;
}

/* Marquee */
.marquee-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.marquee {
    display: flex;
    animation: marquee 35s linear infinite;
}

.marquee span {
    padding: 0 2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Guarantees */
.shield-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.guarantee-tags {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.guarantee-tags span {
    background: var(--surface-color);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem 2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3rem;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
    color: var(--text-secondary);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-content {
    padding: 1.5rem 2rem;
    color: var(--text-secondary);
}

/* SEO Text */
.seo-text {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
}

.seo-title {
    margin-top: 2rem;
    font-size: 1.25rem;
}

.seo-title:first-child {
    margin-top: 0;
}

.seo-text p, .seo-text ul {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.8;
}

.seo-text ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.seo-text a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.seo-text strong {
    color: var(--text-primary);
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: 8rem 0;
}

.overlay-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.final-box h2 {
    margin-bottom: 3rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.final-btn {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

.final-tags {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky CTA Mobile */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 4rem auto 0;
    }
    
    .price-card.highlighted {
        transform: scale(1);
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .counters-container {
        flex-direction: column;
        padding: 2rem;
    }
    
    .counter-divider {
        width: 60px;
        height: 1px;
    }
    
    .stepper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .step {
        width: 100%;
        max-width: 300px;
    }
    
    .step-progress-line {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    .step-progress-fill {
        width: 100%;
        height: 0%;
        transition: height 0.5s ease;
    }

    .comp-header {
        font-size: 0.875rem;
    }

    .comp-col {
        padding: 1rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .use-cases-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        scroll-padding: 0 1.5rem;
    }
    
    .uc-card {
        min-width: 280px;
        scroll-snap-align: start;
    }

    .sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 60px; /* space for sticky cta */
    }
}
