:root {
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text: #1e293b;
    --text-secondary: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
}

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

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

/* Header */
header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s;
}

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

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity 0.15s;
}

.nav-cta:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* Hero */
.hero {
    padding: 100px 5% 80px;
    text-align: center;
    background: var(--bg);
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.938rem;
    transition: opacity 0.15s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.938rem;
    border: 1px solid var(--border);
    transition: border-color 0.15s, background 0.15s;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background: var(--bg-alt);
}

/* Section defaults */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.75px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.063rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Features */
.features {
    padding: 80px 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

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

/* Platforms */
.platforms {
    padding: 80px 5%;
    background: var(--bg);
}

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

.platform-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.platform-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.platform-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.platform-card h4 {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.platform-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* How it works */
.how-it-works {
    padding: 80px 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 260px;
    margin: 0 auto;
}

/* Pricing */
.pricing {
    padding: 80px 5%;
    background: var(--bg);
}

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

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: border-color 0.15s;
}

.pricing-card:hover {
    border-color: #cbd5e1;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.pricing-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 16px 0 4px;
    letter-spacing: -1px;
}

.pricing-card .price span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0;
}

.pricing-card .price-desc {
    font-size: 0.813rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.pricing-card ul li {
    padding: 10px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card ul li::before {
    content: "\2713";
    width: 18px;
    height: 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.15s;
    cursor: pointer;
    border: none;
}

.pricing-btn.dark {
    background: var(--primary);
    color: #fff;
}

.pricing-btn.outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.pricing-btn:hover {
    opacity: 0.85;
}

/* Testimonials */
.testimonials {
    padding: 80px 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 0.875rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.testimonial-avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.813rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.testimonial-author .name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-author .role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: 80px 5%;
    background: var(--bg);
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--primary);
    user-select: none;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .arrow {
    transition: transform 0.2s;
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

/* Footer */
footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 48px 5%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand .logo-footer {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.813rem;
    max-width: 280px;
}

.footer-links-section h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-links-section button {
    display: block;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.813rem;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
    transition: color 0.15s;
}

.footer-links-section button:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    font-size: 0.75rem;
    text-align: center;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s;
}

.modal-content {
    background: var(--bg);
    margin: 4% auto;
    padding: 40px;
    width: 90%;
    max-width: 720px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}

.close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    line-height: 1;
}

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

.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.legal-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-label {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-email {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-phone {
    color: var(--text-secondary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }

    .hero {
        padding: 60px 5% 50px;
    }

    header {
        padding: 0 4%;
    }

    nav {
        gap: 16px;
    }

    .modal-content {
        width: 95%;
        padding: 24px;
    }

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

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