﻿/* ===== RESET (scoped to landing page) ===== */
html:has(.landing-page) {
    scroll-behavior: smooth;
}

:where(.landing-page) *,
:where(.landing-page) *::before,
:where(.landing-page) *::after {
    margin: 0;
    padding: 0;
}

.landing-page,
.landing-page *,
.landing-page *::before,
.landing-page *::after {
    box-sizing: border-box;
}

.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a27;
    background: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

    .landing-page a {
        text-decoration: none;
        color: inherit;
    }

    .landing-page ul {
        list-style: none;
    }

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

.section-alt {
    background: #F8F7FF;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: clamp(1.7rem, 3vw, 2.4rem);
        font-weight: 800;
        color: #1a1a27;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 1rem;
        color: #5a5a72;
        max-width: 580px;
        margin: 0 auto;
        line-height: 1.7;
    }

/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1.5px solid;
    margin-bottom: 16px;
}

.badge-primary {
    background: #EBE9FB;
    color: #594AE2;
    border-color: rgba(89, 74, 226, 0.25);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-primary {
    background: #594AE2;
    color: #fff;
    border-color: #594AE2;
    box-shadow: 0 4px 14px rgba(89, 74, 226, 0.35);
}

    .btn-primary:hover {
        background: #3B30C5;
        border-color: #3B30C5;
        transform: translateY(-1px);
    }

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

    .btn-ghost:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-1px);
    }

.btn-outline {
    background: transparent;
    color: #594AE2;
    border-color: #594AE2;
}

    .btn-outline:hover {
        background: #EBE9FB;
        transform: translateY(-1px);
    }

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a1238 0%, #3B30C5 40%, #594AE2 100%);
    overflow: hidden;
    padding-top: 60px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}

.hero__blob--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1EC8A0 0%, transparent 70%);
    top: -150px;
    right: -80px;
}

.hero__blob--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #FF4081 0%, transparent 70%);
    bottom: -80px;
    left: -50px;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 40px 0 48px;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-left:24px !important;
}

.hero__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.hero__title-highlight {
    background: linear-gradient(135deg, #1EC8A0, #4DD9B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 28px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__dashboard {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 320px;
}

/* Dashboard cards */
.hero__card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero__card--main {
    top: 0;
    left: 0;
    right: 0;
}

.hero__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.hero__card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero__card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1EC8A0;
}

.hero__card-date {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero__cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
}

.hero__cal-wd {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    padding: 2px 0;
}

.hero__cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.hero__cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    height: 26px;
    border-radius: 6px;
}

.hero__cal-day--today {
    background: linear-gradient(135deg, #594AE2, #1EC8A0);
    color: #fff;
    font-weight: 700;
}

.hero__card--qr {
    bottom: 60px;
    right: 0;
    width: 130px;
    text-align: center;
}

.hero__qr-icon {
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
}

.hero__qr-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 0 !important;
}

.hero__qr-badge {
    font-size: 0.7rem;
    background: rgba(30, 200, 160, 0.2);
    color: #1EC8A0;
    padding: 2px 8px;
    border-radius: 100px;
    margin-top: 4px;
    display: inline-block;
}

.hero__card--notif {
    bottom: 0;
    left: 0;
    width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}

.hero__notif-icon {
    font-size: 1.2rem;
}

.hero__notif-title {
    font-size: 0.82rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.hero__notif-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0 !important;
}

/* ===== STATS ===== */
.stats-section {
    padding: 0;
}

.stats-section__inner {
    background: linear-gradient(135deg, #594AE2 0%, #3B30C5 100%);
    padding: 18px 0;
    position: relative;
    overflow: hidden;
}

    .stats-section__inner::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
        background-size: 48px 48px;
    }

.stats-section__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-section__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

    .stats-section__item:last-child {
        border-right: none;
    }

.stats-section__value {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stats-section__label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-weight: 500;
}

/* ===== FEATURES ===== */
.features {
    background: #FFFFFF;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: #FFFFFF;
    border: 1.5px solid #EEEEEE;
    border-radius: 20px;
    padding: 20px 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #594AE2, #1EC8A0);
        transform: scaleX(0);
        transition: transform 0.3s ease;
        transform-origin: left;
    }

    .feature-card:hover {
        border-color: #7B6EEB;
        box-shadow: 0 10px 40px rgba(89, 74, 226, 0.16), 0 4px 16px rgba(0, 0, 0, 0.08);
        transform: translateY(-4px);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-card__icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #EBE9FB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.feature-card:hover .feature-card__icon-wrap {
    background: #594AE2;
}

.feature-card__title {
    font-size: 0.97rem;
    font-weight: 700;
    color: #1a1a27;
    margin-bottom: 6px;
}

.feature-card__desc {
    font-size: 0.85rem;
    color: #5a5a72;
    line-height: 1.6;
    margin-bottom: 10px;
}

.feature-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-card__tag {
    padding: 3px 10px;
    border-radius: 100px;
    background: #F8F7FF;
    color: #5a5a72;
    font-size: 0.74rem;
    font-weight: 500;
    border: 1px solid #E0E0E0;
}

.feature-card:hover .feature-card__tag {
    background: #EBE9FB;
    color: #594AE2;
    border-color: rgba(89, 74, 226, 0.2);
}

/* ===== PRICING ===== */
.pricing {
    background: #F8F7FF;
}

.pricing__plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: #FFFFFF;
    border: 1.5px solid #EEEEEE;
    border-radius: 20px;
    padding: 24px 20px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

    .pricing-card:hover {
        box-shadow: 0 10px 40px rgba(89, 74, 226, 0.16), 0 4px 16px rgba(0, 0, 0, 0.08);
        transform: translateY(-4px);
    }

.pricing-card--popular {
    border-color: #594AE2;
    box-shadow: 0 0 0 3px rgba(89, 74, 226, 0.12), 0 10px 40px rgba(89, 74, 226, 0.16), 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

    .pricing-card--popular:hover {
        transform: translateY(-10px);
    }

.pricing-card__popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #594AE2;
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(89, 74, 226, 0.35);
}

.pricing-card__name {
    font-size: 1.6rem;
    font-weight: 800;
    color: rgb(89, 74, 226);
    margin-bottom: 16px;
    text-align: center;
}

.pricing-card__desc {
    font-size: 0.85rem;
    color: #5a5a72;
    margin-bottom: 16px;
}

.pricing-card__price {
    display: block;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 20px;
}

.pricing-card__currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5a5a72;
    margin-top: 4px;
}

.pricing-card__amount {
    font-size: 2.6rem;
    font-weight: 900;
    color: #1a1a27;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-card--popular .pricing-card__amount {
    color: #594AE2;
}

.pricing-card__period {
    font-size: 0.88rem;
    color: #5a5a72;
    margin-left: 2px;
}

.pricing-card__cta {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-card__features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #5a5a72;
}

.pricing-card__check {
    color: #594AE2;
    flex-shrink: 0;
}

.pricing__note {
    text-align: center;
    margin-top: 28px;
    font-size: 0.83rem;
    color: #5a5a72;
}

    .pricing__note a {
        color: #594AE2;
        font-weight: 600;
    }

/* ===== FOOTER ===== */
.footer {
    background: #1a1a27;
    color: rgba(255, 255, 255, 0.75);
}

.footer__main {
    padding: 40px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer__logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.footer__tagline {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

    .footer__contact-item svg {
        flex-shrink: 0;
        margin-top: 2px;
        color: #7B6EEB;
    }

    .footer__contact-item a {
        color: rgba(255, 255, 255, 0.55);
        transition: color 0.2s;
    }

        .footer__contact-item a:hover {
            color: #1EC8A0;
        }

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__legal-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.footer__legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-left: 0;
}

.footer__legal-link {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

    .footer__legal-link:hover {
        color: #fff;
    }

.footer__contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

    .footer__contact-btn:hover {
        background: #594AE2;
        border-color: #594AE2;
        color: #fff;
    }

.footer__bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 16px 0;
}

.footer__copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        display: none;
    }

    .pricing__plans {
        grid-template-columns: 1fr;
    }

    .stats-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-section__item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

        .stats-section__item:nth-child(odd) {
            border-right: 1px solid rgba(255, 255, 255, 0.15);
        }

        .stats-section__item:nth-last-child(-n+2) {
            border-bottom: none;
        }
}

@media (max-width: 640px) {
    .features__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 40px 0;
    }
}
