:root {
    --gp-primary: #1b7436;
    --gp-secondary: #c7f0bd;
    --gp-success: #41a91a;
    --gp-danger: #e55462;
    --gp-light: #f0f5f2;
    --gp-dark: #283441;
    --gp-dark-green: #023a29;
    --gp-medium-green: #004b17;
    --gp-line: #d4d9d6;
    --gp-ghost: #99d800;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--gp-dark);
    background: radial-gradient(circle at 12% 8%, rgba(199, 240, 189, 0.55), transparent 44%),
        linear-gradient(180deg, #f7fbf8 0%, var(--gp-light) 56%, #f7fbf8 100%);
}

.site-header {
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -140px;
    top: -140px;
    border-radius: 50%;
    background: rgba(65, 169, 26, 0.14);
    pointer-events: none;
}

.navbar {
    z-index: 2;
}

.navbar-brand img {
    width: 160px;
    height: auto;
}

.navbar-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.22rem;
}

.brand-slogan {
    display: block;
    color: rgba(40, 52, 65, 0.86);
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-left: 0.08rem;
}

.brand-slogan::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--gp-primary);
    margin-right: 0.4rem;
    vertical-align: middle;
}

.navbar-toggler {
    border: 1px solid rgba(27, 116, 54, 0.3);
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
}

.navbar-toggler-icon {
    background-image: url("../img/bars-light.svg");
    background-size: 22px;
}

.nav-link {
    color: var(--gp-dark);
    font-weight: 700;
    margin: 0 0.3rem;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--gp-primary);
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.55rem 1.25rem;
}

.btn-primary {
    background-color: var(--gp-primary);
    border-color: var(--gp-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--gp-medium-green);
    border-color: var(--gp-medium-green);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background-color: var(--gp-primary);
    border-color: var(--gp-primary);
}

.btn-light {
    background-color: #fff;
    border-color: var(--gp-line);
}

.hero {
    padding: 3rem 0 4.25rem;
    position: relative;
    z-index: 1;
}

.beta-alert {
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
}

.beta-alert p {
    margin: 0;
    border: 2px solid #1b7436;
    background: linear-gradient(120deg, rgba(199, 240, 189, 0.5), rgba(255, 255, 255, 0.95));
    border-radius: 14px;
    color: #023a29;
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    text-align: center;
    padding: 0.9rem 1rem;
    box-shadow: 0 8px 20px rgba(2, 58, 41, 0.12);
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 900;
    color: var(--gp-medium-green);
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
}

.hero h1 {
    font-weight: 900;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.hero-copy {
    font-size: 1.08rem;
    max-width: 620px;
    color: rgba(40, 52, 65, 0.86);
}

.hero-actions {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-metrics {
    margin-top: 1.7rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 560px;
}

.hero-metrics div {
    border: 1px solid var(--gp-line);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
}

.hero-metrics strong {
    display: block;
    font-size: 1rem;
    color: var(--gp-medium-green);
}

.hero-metrics span {
    font-size: 0.87rem;
}

.hero-visual {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 480px;
    border: 1px solid #c4d0c9;
    box-shadow: 0 20px 35px rgba(0, 48, 18, 0.18);
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 500ms ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--gp-line);
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    min-width: 180px;
    animation: card-pop 700ms ease both;
}

.hero-card .label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(40, 52, 65, 0.72);
}

.hero-card strong {
    display: block;
    font-size: 1.2rem;
    color: var(--gp-medium-green);
    line-height: 1.2;
}

.hero-card small {
    color: rgba(40, 52, 65, 0.7);
}

.card-income {
    top: 1.1rem;
    right: 1rem;
}

.card-expense {
    bottom: 5rem;
    left: 1rem;
    animation-delay: 130ms;
}

.card-account {
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    animation-delay: 220ms;
}

.card-account img {
    width: 32px;
    height: 32px;
}

.section-head h2 {
    font-weight: 900;
    font-size: clamp(1.65rem, 2.8vw, 2.6rem);
}

.section-head p {
    margin: 0.6rem auto 0;
    max-width: 740px;
    color: rgba(40, 52, 65, 0.76);
}

.feature-strip {
    background: linear-gradient(160deg, #f4faf6 0%, #ffffff 100%);
    border-top: 1px solid rgba(212, 217, 214, 0.72);
    border-bottom: 1px solid rgba(212, 217, 214, 0.72);
}

.feature-card {
    border: 1px solid var(--gp-line);
    border-radius: 18px;
    padding: 1.2rem;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 25px rgba(2, 58, 41, 0.11);
}

.feature-card img {
    width: 34px;
    height: 34px;
    background: var(--gp-primary);
    border-radius: 12px;
    padding: 8px;
    box-sizing: content-box;
    margin: 0 auto 0.85rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.feature-card p {
    margin-bottom: 0;
    color: rgba(40, 52, 65, 0.8);
}

.story-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(240, 245, 242, 0.8));
}

.story-phone {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto;
}

.story-section h2 {
    font-weight: 900;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    margin-bottom: 0.8rem;
}

.story-section p {
    color: rgba(40, 52, 65, 0.82);
}

.availability-strip {
    background: #f5f9f6;
    border-top: 1px solid rgba(212, 217, 214, 0.75);
    border-bottom: 1px solid rgba(212, 217, 214, 0.75);
}

.availability-strip h2 {
    text-transform: uppercase;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 900;
    margin-bottom: 1.1rem;
}

.availability-strip img {
    width: min(90%, 720px);
    height: auto;
}

.tools-section {
    background: #fff;
}

.tool-card {
    border: 1px solid var(--gp-line);
    border-radius: 18px;
    background: #fff;
    height: 100%;
    text-align: center;
    padding: 1rem 0.8rem;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(2, 58, 41, 0.1);
}

.tool-card img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.tool-card p {
    margin: 0;
    color: rgba(40, 52, 65, 0.82);
}

.pricing-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(199, 240, 189, 0.23));
}

.billing-toggle-wrap {
    gap: 0.7rem;
}

.beta-pricing-note {
    max-width: 760px;
    margin: 0 auto 1rem;
    text-align: center;
    font-weight: 700;
    color: #023a29;
    background: rgba(183, 255, 120, 0.45);
    border: 1px solid rgba(27, 116, 54, 0.4);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
}

.billing-label {
    font-weight: 700;
    color: rgba(40, 52, 65, 0.66);
}

.billing-label.active {
    color: var(--gp-dark);
}

.billing-label em {
    font-style: normal;
    color: var(--gp-success);
    font-weight: 900;
}

.billing-toggle {
    width: 62px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #9dc7ae;
    background: #fff;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 200ms ease;
}

.billing-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gp-primary);
    transition: transform 220ms ease;
}

.billing-toggle.yearly {
    background: rgba(65, 169, 26, 0.15);
}

.billing-toggle.yearly .billing-dot {
    transform: translateX(28px);
}

.price-card {
    border: 1px solid var(--gp-line);
    border-radius: 20px;
    padding: 1.4rem;
    background: #fff;
    height: 100%;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.price-card.featured {
    border-color: var(--gp-primary);
    box-shadow: 0 18px 28px rgba(2, 58, 41, 0.18);
}

.badge-popular {
    display: inline-block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--gp-primary);
    border-radius: 999px;
    padding: 0.3rem 0.55rem;
    margin-bottom: 0.65rem;
}

.price-card h3 {
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.plan-desc {
    color: rgba(40, 52, 65, 0.75);
    min-height: 46px;
}

.price {
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 900;
    color: var(--gp-medium-green);
    margin-bottom: 0.2rem;
}

.price-note {
    color: rgba(40, 52, 65, 0.72);
}

.price-card ul {
    padding-left: 1rem;
    margin: 1rem 0 1.1rem;
}

.price-card li {
    margin-bottom: 0.45rem;
}

.faq-section {
    background: #fff;
    border-top: 1px solid rgba(212, 217, 214, 0.75);
}

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

.faq-item {
    border: 1px solid var(--gp-line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 0.75rem;
}

.faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    padding: 1rem 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    align-items: center;
}

.faq-question:focus,
.faq-question:focus-visible {
    outline: none;
    box-shadow: none;
}

.faq-question img {
    width: 19px;
    height: auto;
    transition: transform 200ms ease;
}

.faq-question[aria-expanded="true"] img {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.1rem 1rem;
    color: rgba(40, 52, 65, 0.8);
    line-height: 1.65;
}

.contact-section {
    background: linear-gradient(180deg, #f8fcf9 0%, #ffffff 100%);
    border-top: 1px solid rgba(212, 217, 214, 0.75);
    border-bottom: 1px solid rgba(212, 217, 214, 0.75);
}

.contact-form {
    border: 1px solid var(--gp-line);
    border-radius: 18px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 10px 22px rgba(2, 58, 41, 0.08);
}

.contact-form label {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.contact-form .form-control {
    border-radius: 12px;
    border: 1px solid #cfd8d3;
    min-height: 45px;
}

.contact-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 0.2rem rgba(27, 116, 54, 0.18);
}

.contact-status {
    margin: 0.8rem 0 0;
    min-height: 1.3rem;
    font-weight: 700;
    color: var(--gp-dark);
}

.contact-status.success {
    color: var(--gp-medium-green);
}

.contact-status.error {
    color: var(--gp-danger);
}

.cta-section {
    background: linear-gradient(130deg, var(--gp-dark-green), #0f5130);
    color: #fff;
}

.cta-section h2 {
    font-weight: 900;
    margin-bottom: 0.65rem;
}

.cta-section p {
    color: rgba(240, 245, 242, 0.88);
    margin-bottom: 1.2rem;
}

.cta-section .btn-primary {
    background-color: var(--gp-success);
    border-color: var(--gp-success);
    color: #fff;
}

.site-footer {
    background: #f3f8f5;
    border-top: 1px solid var(--gp-line);
}

.site-footer p {
    margin: 0;
    color: rgba(40, 52, 65, 0.82);
}

.site-footer a {
    color: var(--gp-primary);
    font-weight: 700;
}

@keyframes card-pop {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.7rem;
        background: #fff;
        border: 1px solid var(--gp-line);
        border-radius: 12px;
        padding: 0.7rem;
    }

    .hero {
        padding-top: 1.9rem;
    }

    .hero-visual {
        min-height: 430px;
    }

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

@media (max-width: 767.98px) {
    .hero {
        padding-bottom: 3rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-width: 0;
    }

    .card-income {
        top: 0.75rem;
        right: 0.75rem;
    }

    .card-expense {
        bottom: 4.8rem;
        left: 0.75rem;
    }

    .card-account {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
    }
}
