*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #0f0f1a;
    margin: 0;
    padding: 0;
}

/* ── COLOUR TOKENS ── */
:root {
    --purple: #43e97b;
    --purple-light: #63e990;
    --purple-dark: #37ba63;
    --green: #10b981;
    --green-light: #34d399;
    --amber: #f59e0b;
    --bg: #ffffff;
    --surface: #f8f7ff;
    --border: #e5e4f0;
    --text: #0f0f1a;
    --muted: #6b7280;
}

/* ── GRADIENT HELPERS ── */
.grad-text {
    background: linear-gradient(135deg, var(--purple), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-bg {
    background: linear-gradient(135deg, var(--purple), var(--purple-light), var(--green));
}

.grad-card {
    background: linear-gradient(135deg, #faf5ff, #f0fdf4);
}

/* ── NAVBAR ── */
#mainNav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}

#mainNav.scrolled {
    box-shadow: 0 4px 24px rgba(124, 58, 237, .08);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--purple);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--purple), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo .logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-link-item {
    color: var(--muted) !important;
    font-weight: 500;
    font-size: .925rem;
    transition: color .2s;
    text-decoration: none;
    padding: .4rem .75rem;
}

.nav-link-item:hover {
    color: var(--purple) !important;
}

.btn-primary-g {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    border: none;
    border-radius: 100px;
    padding: .5rem 1.4rem;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-primary-g:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, .35);
    color: white;
}

.btn-outline-g {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
    border-radius: 100px;
    padding: .48rem 1.4rem;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-outline-g:hover {
    background: var(--purple);
    color: white;
    transform: translateY(-1px);
}

/* ── HERO ── */
#hero {
    background: url('../assets/images/bg2.jpg') !important;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .15;
    pointer-events: none;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--purple);
    top: -200px;
    left: -150px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--green);
    bottom: -150px;
    right: -100px;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--amber);
    top: 30%;
    left: 60%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #f0fdf4;
    color: var(--green);
    border: 1px solid #bbf7d0;
    border-radius: 100px;
    padding: .35rem 1rem;
    font-weight: 600;
    font-size: .8rem;
    margin-bottom: 1.75rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

.hero-h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--purple);
    display: block;
}

.stat-lbl {
    font-size: .8rem;
    color: var(--muted);
    font-weight: 500;
}

/* ── SECTION SHARED ── */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: .75rem;
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 3rem;
}

/* ── SERVICES ── */
#services {
    background: var(--surface);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.25rem;
    border: 1px solid var(--border);
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(124, 58, 237, .12);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-purple {
    background: #f5f3ff;
}

.icon-green {
    background: #ecfdf5;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .9rem;
}

.step-num {
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-text {
    font-size: .95rem;
    color: #374151;
    line-height: 1.5;
}

/* ── PRICING ── */
#pricing {
    background: white;
}

.plan-group-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.label-creator {
    background: linear-gradient(135deg, #7c3aed20, #a855f720);
    color: var(--purple);
}

.label-worker {
    background: linear-gradient(135deg, #10b98120, #34d39920);
    color: var(--green);
}

/* Pricing Slider Styles */
.pricing-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 0 60px;
}

.pricing-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
}

.pricing-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 0;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    left: 0;
    right: 0;
    padding: 0 10px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.2);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--purple);
    width: 24px;
    border-radius: 4px;
}

/* Responsive slider adjustments */
@media (max-width: 992px) {
    .pricing-slide {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .pricing-slider-container {
        padding: 0 50px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .pricing-slider {
        gap: 1rem;
    }

    .pricing-slide {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 576px) {
    .pricing-slider-container {
        padding: 0 40px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
    }

    .slider-btn svg {
        width: 16px;
        height: 16px;
    }

    .pricing-slide {
        flex: 0 0 100%;
    }
}

.price-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

.price-card.featured {
    border-color: var(--purple);
    box-shadow: 0 8px 32px rgba(124, 58, 237, .18);
}

.price-card.featured-green {
    border-color: var(--green);
    box-shadow: 0 8px 32px rgba(16, 185, 129, .18);
}

.badge-recommended {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .85rem;
    border-radius: 100px;
    white-space: nowrap;
}

.badge-recommended-green {
    background: linear-gradient(135deg, var(--green), var(--green-light));
}

.price-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: .15rem;
}

.price-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.price-desc {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .9rem;
    margin-bottom: .55rem;
    color: #374151;
}

.check {
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}

.check-purple {
    color: var(--purple);
}

.btn-plan {
    width: 100%;
    border-radius: 12px;
    padding: .65rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    border: none;
    cursor: pointer;
    transition: all .2s;
}

.btn-plan-purple {
    background: var(--purple);
    color: white;
}

.btn-plan-purple:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

.btn-plan-purple-outline {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.btn-plan-purple-outline:hover {
    background: var(--purple);
    color: white;
}

.btn-plan-green {
    background: var(--green);
    color: white;
}

.btn-plan-green:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-plan-green-outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.btn-plan-green-outline:hover {
    background: var(--green);
    color: white;
}

/* ── FAQ ── */
#faq {
    background: var(--surface);
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: .75rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.4rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .97rem;
    user-select: none;
    transition: background .2s;
}

.faq-question:hover {
    background: #faf9ff;
}

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .3s;
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    transition: transform .3s;
}

.faq-item.open .faq-icon {
    background: var(--purple);
}

.faq-item.open .faq-icon svg {
    stroke: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-answer-inner {
    padding: 0 1.4rem 1.2rem;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.65;
}

/* ── FOOTER ── */
footer {
    background: #0f0f1a;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.footer-logo {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.footer-desc {
    font-size: .9rem;
    color: #9ca3af;
    max-width: 260px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1f2937;
    color: #9ca3af;
    text-decoration: none;
    transition: all .2s;
    margin-right: .4rem;
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--purple);
    color: white;
}

.footer-col h5 {
    color: white;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: #9ca3af;
    font-size: .9rem;
    text-decoration: none;
    margin-bottom: .55rem;
    transition: color .2s;
}

.footer-col a:hover {
    color: white;
}

.footer-divider {
    border-color: #1f2937;
    margin: 2.5rem 0 1.5rem;
}

.footer-copy {
    font-size: .8rem;
    color: #6b7280;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
    .hero-h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .nav-cta-group {
        display: none !important;
    }
}

@media (max-width: 575px) {
    #hero {
        padding: 5rem 1rem 3rem;
    }
}

/* Hamburger toggler cleanup */
.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none;
}