:root {
    --primary-color: #6f42c1;
    --primary-dark: #5a32a3;
    --text-dark: #1b1b18;
    --text-light: #706f6c;
    --bg-light: #FDFDFC;
    --border-light: #EEEDE9;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ── Navbar ───────────────────────────────────────────── */
.navbar {
    padding: 18px 0;
    background: rgba(253, 253, 252, .92) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo {
    height: 34px;
    width: auto;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: .95rem;
    margin: 0 .9rem;
    transition: color .2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-cta {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(111, 66, 193, .22);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(111, 66, 193, .28);
    transform: translateY(-1px);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero-section {
    position: relative;
    padding: 96px 0 92px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -160px;
    right: -200px;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, .18) 0%, rgba(139, 92, 246, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F3F0FB;
    border: 1px solid #E5DBF9;
    color: var(--primary-color);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.1rem;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.hero-title em {
    font-style: italic;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 480px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 22px;
    font-size: .84rem;
    color: var(--text-light);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.hero-image-container {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 62% 38%, rgba(111, 66, 193, .16), rgba(111, 66, 193, 0) 62%);
    z-index: 0;
}

.hero-image-frame {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    box-shadow: 0 40px 76px -24px rgba(17, 17, 17, .26);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.hero-image-toolbar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: #F5F4F2;
    border-bottom: 1px solid var(--border-light);
}

.hero-image-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.hero-image-toolbar span:nth-child(1) { background: #FF5F57; }
.hero-image-toolbar span:nth-child(2) { background: #FEBC2E; }
.hero-image-toolbar span:nth-child(3) { background: #28C840; }

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

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

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

.hero-title, .hero-subtitle, .hero-trust, .hero-badge {
    animation: fadeInUp .8s ease both;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 30px;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 10px;
    border: none;
    transition: all .2s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 12px 24px rgba(111, 66, 193, .26);
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(111, 66, 193, .32);
    color: #fff;
}

.btn-purple {
    background: var(--primary-color) !important;
    color: white !important;
}

.btn-purple:hover {
    background: var(--primary-dark) !important;
    color: white !important;
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--text-dark);
    padding: 14px 30px;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    transition: all .2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ── Section shell ────────────────────────────────────── */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Features ─────────────────────────────────────────── */
.features-section {
    position: relative;
}

.feature-card {
    background: white;
    border-radius: 18px;
    padding: 2.1rem 1.9rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px -20px rgba(17, 17, 17, .16);
    border-color: #E5DBF9;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: #F3F0FB;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: var(--text-dark);
}

.feature-description {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ── Pricing ──────────────────────────────────────────── */
#pricing.section {
    background: #FBFAF9;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.billing-toggle {
    display: inline-flex;
    background: #F0EEEB;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
}

.billing-toggle-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: .88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: transparent;
    color: var(--text-light);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.billing-toggle-btn.active {
    background: #fff;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(17, 17, 17, .1);
}

.billing-toggle-badge {
    background: rgba(111, 66, 193, .14);
    color: var(--primary-color);
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 8px;
}

.pricing-card {
    background: white;
    border-radius: 18px;
    padding: 2.4rem 1.8rem;
    box-shadow: 0 4px 14px rgba(17, 17, 17, .04);
    transition: all .2s ease;
    height: 100%;
    border: 1px solid var(--border-light);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px -20px rgba(17, 17, 17, .16);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 28px 52px -20px rgba(111, 66, 193, .28);
}

.pricing-card.featured:hover {
    transform: translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(111, 66, 193, .3);
}

.pricing-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.1rem;
}

.pricing-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: .2rem;
}

.pricing-period {
    font-size: .84rem;
    color: var(--text-light);
    margin-bottom: 1.7rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    flex: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .84rem;
    color: #3a3a37;
    line-height: 1.4;
    padding: 0;
    border: none;
}

.pricing-feature i {
    color: var(--primary-color);
    margin-top: 2px;
    font-size: .82rem;
}

.pricing-card .pricing-btn {
    display: block;
    text-align: center;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 13px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s ease;
}

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

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

.pricing-card.featured .pricing-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ── Contact ──────────────────────────────────────────── */
.contact-section {
    background: #FAF9FC;
}

.contact-form {
    background: white;
    padding: 2.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 48px -24px rgba(17, 17, 17, .14);
    max-width: 620px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: .45rem;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    padding: 12px 16px;
    font-size: .92rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(111, 66, 193, .14);
}

/* ── CTA band ─────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
    padding: 88px 0;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.08rem;
    margin-bottom: 2rem;
    opacity: .88;
}

.cta-section .btn-primary-custom {
    background: #fff;
    color: var(--primary-color);
    box-shadow: none;
}

.cta-section .btn-primary-custom:hover {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

/* ── Footer ───────────────────────────────────────────── */
footer {
    background-color: #1b1b18;
    color: white;
    padding: 0 0 1.5rem;
}

.footer-topbar {
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #6D28D9);
}

footer .container {
    padding-top: 64px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 3rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
}

.footer-section:first-child {
    max-width: 400px;
}

.footer-logo {
    height: 32px;
    width: 32px;
}

.footer-wordmark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-section p {
    color: rgba(255, 255, 255, .7);
    line-height: 1.7;
    font-size: .9rem;
}

.footer-section h5 {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: .82rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: .7rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1.5rem;
    font-size: .82rem;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 56px 0 60px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        max-width: none;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .contact-form {
        padding: 1.75rem;
    }
}
