:root {
    --ink: #211d1b;
    --red: #b8223d;
    --green: #00795a;
    --paper: #f5f3ef;
    --muted: #6f6964;
    --line: #ddd7d0;
    --soft-red: #f7e8ec;
    --soft-green: #e5f3ef;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink)
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: 'Space Grotesk', sans-serif
}

.navbar {
    background: rgba(245, 243, 239, .94);
    backdrop-filter: blur(12px);
    padding: 0px;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -1px
}

.navbar-brand .red {
    color: var(--red)
}

.nav-link {
    font-weight: 600;
    color: var(--ink) !important
}

.btn {
    font-weight: 700;
    border-radius: 50px;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}

.readmore-link{
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
}

.btn:active {
    transform: translateY(1px) scale(.97)
}

.btn-brand {
    position: relative;
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    overflow: hidden;
    z-index: 1
}

.btn-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    left: -75%;
    width: 50%;
    background: rgba(255, 255, 255, .22);
    transform: skewX(-20deg);
    transition: left .5s ease;
    z-index: -1
}

.btn-brand:hover {
    background: #921a30;
    border-color: #921a30;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(184, 34, 61, .35)
}

.btn-brand:hover::after {
    left: 125%
}

.btn-dark-brand {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

.btn-dark-brand:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(33, 29, 27, .3)
}

.btn-outline-dark {
    color: var(--ink);
    border-color: var(--ink)
}

.btn-outline-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(33, 29, 27, .25)
}

.hero {
    padding: 46px 0 46px
}

.eyebrow {
    color: var(--red);
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: .78rem;
    text-transform: uppercase
}

.display-title {
    font-size: 62px;
    line-height: .97;
    letter-spacing: -3px;
    font-weight: 700
}

.hero-rotate {
    display: inline-block;
    transition: opacity .5s ease
}

.text-red {
    color: var(--red)
}

.text-green {
    color: var(--green)
}

.text-muted2 {
    color: var(--muted)
}

.hero-card {
    background: var(--ink);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 25px 70px rgba(33, 29, 27, .2)
}

.dashboard {
    background: #faf9f6;
    border-radius: 15px;
    padding: 22px
}

.metric {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px
}

.metric strong {
    font-size: 1.6rem
}

.section-pad {
    padding: 60px 0
}

.section-white {
    background: #fff
}

.card-clean {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px
}

/* 404 page */
.error-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft-red);
    color: var(--red);
    font-size: 2.4rem;
    animation: error-float 3.5s ease-in-out infinite
}

@keyframes error-float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.error-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease
}

.error-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px)
}

.card-clean:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(33, 29, 27, .08);
    transition: .2s
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--soft-red);
    color: var(--red);
    font-weight: 800;
    transition: background-color .35s ease, color .35s ease
}

.icon-box.icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 16px
}

/* Solution cards: animated gradient hover */
.solution-card {
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: border-color .35s ease, transform .25s ease, box-shadow .25s ease
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--red) 0%, #6e1220 100%);
    opacity: 0;
    transition: opacity .45s ease
}

.solution-card:hover::before {
    opacity: 1
}

.solution-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(184, 34, 61, .35)
}

.solution-card h2,
.solution-card h3,
.solution-card p {
    transition: color .35s ease
}

.solution-card:hover h2,
.solution-card:hover h3,
.solution-card:hover .readmore-link {
    color: #fff
}

.solution-card:hover p,
.solution-card:hover .text-muted2 {
    color: #cfc8c2 !important
}

.solution-card:hover .icon-box {
    background: #fff;
    color: var(--red)
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    transition: color .35s ease
}

.contact-line:first-child {
    border-top: 0
}

.contact-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft-red);
    color: var(--red);
    font-size: .8rem;
    transition: background-color .35s ease, color .35s ease
}

.contact-icon-green {
    background: var(--soft-green);
    color: var(--green)
}

.solution-card:hover .contact-line {
    color: #fff;
    border-top-color: rgba(255, 255, 255, .15)
}


.solution-card:hover .contact-icon {
    background: #fff;
    color: var(--red)
}

.icon-green {
    background: var(--soft-green);
    color: var(--green)
}

.feature-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px
}

/* Reminder flow (index.php) */
.notify-step {
    flex: 1;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 16px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease
}

.notify-step:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: var(--red);
    box-shadow: 0 14px 30px rgba(33, 29, 27, .1)
}

.notify-arrow {
    align-items: center;
    justify-content: center;
    color: var(--line);
    font-size: 1.3rem
}

.pulse-red {
    animation: notify-pulse-red 2.6s ease-in-out infinite
}

.pulse-green {
    animation: notify-pulse-green 2.6s ease-in-out infinite
}

@keyframes notify-pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 34, 61, .4)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(184, 34, 61, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 34, 61, 0)
    }
}

@keyframes notify-pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 121, 90, .35)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 121, 90, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 121, 90, 0)
    }
}

.badge-soft {
    background: #eee9e4;
    color: var(--ink);
    font-weight: 700
}

.step {
    background: var(--ink);
    color: #fff;
    border-radius: 16px;
    padding: 28px;
    height: 100%
}

.step-no {
    color: #ff9eb0;
    font-weight: 800
}

.cta {
    background: var(--ink);
    color: #fff;
    border-radius: 24px;
    padding: 60px
}

.price-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: 0 20px 45px rgba(184, 34, 61, .18)
}

.price-card.popular {
    border: 2px solid var(--red);
    position: relative
}

.popular-label {
    position: absolute;
    top: -14px;
    right: 22px;
    background: var(--red);
    color: #fff;
    border-radius: 99px;
    padding: 5px 12px;
    font-size: .75rem;
    font-weight: 800
}

.price {
    font-size: 2.3rem;
    font-family: 'Space Grotesk';
    font-weight: 700
}

.feature-check {
    color: var(--green);
    font-weight: 800
}

.table-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: auto
}

.pricing-table {
    min-width: 850px;
    margin: 0
}

.pricing-table th,
.pricing-table td {
    padding: 16px;
    border-color: var(--line)
}

.pricing-table th {
    font-family: 'Space Grotesk';
    white-space: nowrap
}

.pricing-table .price-row {
    background: #faf0f2
}

.faq .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent
}

.faq .accordion-button {
    background: transparent;
    font-weight: 700;
    padding-left: 0;
    padding-right: 0
}

.faq .accordion-button:not(.collapsed) {
    color: var(--red);
    box-shadow: none
}

.form-control,
.form-select {
    padding: .8rem 1rem;
    border-color: #cfc7bf
}

footer {
    background: var(--ink);
    color: #cfc8c2;
    padding: 45px 0
}

.footer-logo {
    color: #fff;
    font-family: 'Space Grotesk';
    font-weight: 800;
    font-size: 1.4rem
}

@media(max-width:991px) {
    .hero {
        padding: 70px 0
    }

    .display-title {
        letter-spacing: -2px
    }

    .cta {
        padding: 38px 25px
    }
}

.navbar-logo{
    width: 200px;
}
.feature-title{
    font-size: 30px;
    font-weight: 700;
}
.feature-image img{
    border: 8px solid #ccc;
    border-radius: 20px;
}


/* Pricing Duration */
.pricing-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: #f5f5f5;
    border-radius: 12px;
}

.duration-btn {
    position: relative;
    border: 0;
    background: transparent;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.duration-btn:hover {
    color: #111;
}

.duration-btn.active {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.save-badge {
    position: absolute;
    top: -12px;
    right: -8px;
    font-size: 9px;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 20px;
    background: #111;
    color: #fff;
    white-space: nowrap;
}

/* Price transition */
.plan-price {
    display: inline-block;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.price-changing {
    opacity: 0;
    transform: translateY(-5px);
}

@media (max-width: 575px) {

    .pricing-duration {
        width: 100%;
        justify-content: center;
    }

    .duration-btn {
        padding: 10px 12px;
        font-size: 14px;
    }

    .save-badge {
        font-size: 8px;
        top: -10px;
    }
    .display-title{
        font-size: 30px;
    }
    .hero {
        padding: 40px 0;
    }
     .navbar-logo {
        width: 146px;
    }
}

@media (max-width: 680px) {
    .display-title{
        font-size: 30px;
    }
    .hero {
        padding: 40px 0;
    }
    .navbar-logo {
        width: 146px;
    }
    .nav-link{
        border-bottom: 1px solid #c2b5b5;
    }
}

.text-gold{
    color: #FFD966 !important;
}

