/* =========================================
   PHIRAAO FEATURES PAGE
========================================= */

:root {
    --pf-blue: #0A3D91;
    --pf-green: #16A34A;
    --pf-green-dark: #12823B;
    --pf-text: #253858;
    --pf-muted: #65748B;
    --pf-border: #E4EAF2;
    --pf-light: #F5F9FF;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--pf-text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}


/* HEADER */

.pf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #EDF1F7;
}

.pf-nav-container {
    width: min(1180px, calc(100% - 48px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.pf-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.pf-logo img {
    display: block;
    width: 145px;
    height: auto;
}

.pf-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.pf-nav > a {
    color: #3C4D67;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pf-nav > a:hover,
.pf-nav > a.active {
    color: var(--pf-blue);
}

.pf-nav > a.active {
    position: relative;
}

.pf-nav > a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: var(--pf-green);
    border-radius: 5px;
}

.pf-nav-cta {
    padding: 13px 21px;
    background: var(--pf-blue);
    color: #ffffff;
    border: 1px solid var(--pf-blue);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.pf-nav-cta:hover {
    background: #082F70;
    transform: translateY(-1px);
}

.pf-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--pf-blue);
    font-size: 28px;
    cursor: pointer;
}


/* PAGE INTRO */

.pf-intro {
    max-width: 850px;
    margin: 0 auto;
    padding: 66px 24px 55px;
    text-align: center;
}

.pf-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--pf-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.pf-intro h1 {
    margin: 0 auto 18px;
    color: var(--pf-blue);
    font-size: clamp(34px, 4.5vw, 52px);
    line-height: 1.13;
    letter-spacing: -1.7px;
}

.pf-intro h1 span,
.pf-final-cta h2 span {
    color: var(--pf-green);
}

.pf-intro > p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--pf-muted);
    font-size: 16px;
    line-height: 1.8;
}


/* FEATURE LAYOUT */

.pf-feature-section {
    padding: 55px 24px;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.pf-feature-alt {
    background: var(--pf-light);
}

.pf-feature-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 65px;
}

.pf-feature-content {
    min-width: 0;
}

.pf-feature-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #435673;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pf-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #E1F8E9;
    color: var(--pf-blue);
    font-size: 12px;
    letter-spacing: 0;
}

.pf-feature-content h2 {
    margin: 0 0 18px;
    color: var(--pf-blue);
    font-size: clamp(31px, 3.2vw, 43px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -1.2px;
}

.pf-feature-content h2 span {
    color: var(--pf-green);
}

.pf-description {
    max-width: 490px;
    margin: 0 0 23px;
    color: var(--pf-muted);
    font-size: 15px;
    line-height: 1.85;
}

.pf-feature-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #435572;
    font-size: 14px;
    line-height: 1.6;
}

.pf-feature-list li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: #E0F8E8;
    color: var(--pf-green);
    font-size: 12px;
    font-weight: 900;
}


/* FEATURE BUTTONS */

.pf-feature-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.pf-btn-primary,
.pf-btn-secondary {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.pf-btn-primary {
    background: var(--pf-green);
    color: #ffffff;
    border: 1px solid var(--pf-green);
}

.pf-btn-primary:hover {
    background: var(--pf-green-dark);
    border-color: var(--pf-green-dark);
    transform: translateY(-2px);
}

.pf-btn-primary span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.pf-btn-primary:hover span {
    transform: translateX(3px);
}

.pf-btn-secondary {
    background: #ffffff;
    color: var(--pf-blue);
    border: 1px solid #D6E0EF;
}

.pf-btn-secondary:hover {
    background: #F1F6FF;
    border-color: var(--pf-blue);
    transform: translateY(-2px);
}


/* FEATURE VISUALS */

.pf-feature-visual {
    min-width: 0;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pf-customer-visual {
    height: 440px;
    min-height: 0;
    overflow: hidden;
    align-items: flex-start;
}

.pf-customer-image {
    display: block;
    width: 125%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: top center;
}


/* CSS DASHBOARD PREVIEWS */

.pf-preview {
    width: 100%;
    max-width: 465px;
    padding: 26px;
    border: 1px solid #E5ECF5;
    border-radius: 23px;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(10, 61, 145, 0.09);
}

.pf-preview-top,
.pf-repeat-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.pf-preview-top > div,
.pf-repeat-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pf-preview-top strong,
.pf-repeat-heading strong {
    color: var(--pf-blue);
    font-size: 15px;
}

.pf-preview-top small,
.pf-repeat-heading small {
    color: #8190A5;
    font-size: 11px;
}

.pf-preview-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: #E6F8ED;
    color: var(--pf-green);
    font-size: 23px;
}

.pf-status {
    margin-left: auto;
    padding: 7px 10px;
    border-radius: 20px;
    background: #E6F8ED;
    color: var(--pf-green);
    font-size: 10px;
    font-weight: 700;
}

.pf-campaign-banner {
    margin-top: 24px;
    padding: 27px 23px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EAF2FF, #E5F9EC);
}

.pf-campaign-banner > span {
    color: var(--pf-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pf-campaign-banner h3 {
    margin: 12px 0 10px;
    color: var(--pf-blue);
    font-size: 26px;
    line-height: 1.2;
}

.pf-campaign-banner p {
    margin: 0;
    color: #64748B;
    font-size: 12px;
    line-height: 1.7;
}

.pf-campaign-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.pf-campaign-stats > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
    border: 1px solid #E8EEF6;
    border-radius: 12px;
}

.pf-campaign-stats small {
    color: #8491A5;
    font-size: 10px;
}

.pf-campaign-stats strong {
    color: var(--pf-blue);
    font-size: 12px;
}

.pf-preview-footer,
.pf-wallet-note,
.pf-repeat-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 21px;
    color: #687992;
    font-size: 11px;
}

.pf-green-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--pf-green);
}


/* WALLET PREVIEW */

.pf-wallet-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.pf-wallet-heading small {
    color: #7C8AA0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pf-wallet-heading h3 {
    margin: 8px 0 0;
    color: var(--pf-blue);
    font-size: 19px;
}

.pf-wallet-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border-radius: 15px;
    background: #E5F8EB;
    color: var(--pf-green);
    font-size: 25px;
    font-weight: 800;
}

.pf-wallet-balance {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding: 25px;
    border-radius: 17px;
    background: linear-gradient(135deg, #0A3D91, #2566D1);
    color: #ffffff;
}

.pf-wallet-balance small {
    color: #D8E5FF;
    font-size: 12px;
}

.pf-wallet-balance strong {
    font-size: 35px;
    letter-spacing: -1px;
}

.pf-wallet-balance > span {
    color: #D8E5FF;
    font-size: 11px;
}

.pf-wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 17px;
}

.pf-wallet-actions > div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 15px 11px;
    border: 1px solid #E5ECF5;
    border-radius: 12px;
}

.pf-wallet-actions > div > span {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #E5F8EB;
    color: var(--pf-green);
    font-size: 18px;
}

.pf-wallet-actions strong {
    color: var(--pf-blue);
    font-size: 11px;
}


/* REPEAT PURCHASE PREVIEW */

.pf-repeat-heading {
    margin-bottom: 25px;
}

.pf-repeat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 13px;
    background: #E6F8ED;
    color: var(--pf-green);
    font-size: 26px;
}

.pf-repeat-customer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 0;
    border-top: 1px solid #EDF1F6;
    border-bottom: 1px solid #EDF1F6;
}

.pf-avatar {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #E3EEFF;
    color: var(--pf-blue);
    font-size: 12px;
    font-weight: 800;
}

.pf-repeat-info strong {
    color: var(--pf-blue);
    font-size: 13px;
}

.pf-repeat-info small {
    color: #8290A4;
    font-size: 10px;
}

.pf-repeat-check {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    margin-left: auto;
    flex-shrink: 0;
    border-radius: 50%;
    background: #E5F8EB;
    color: var(--pf-green);
    font-weight: 800;
}

.pf-repeat-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 14px;
    background: #F2F7FF;
}

.pf-repeat-message > span {
    color: var(--pf-green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pf-repeat-message p {
    margin: 12px 0 0;
    color: #4D607B;
    font-size: 13px;
    line-height: 1.8;
}


/* FINAL CTA */

.pf-final-cta {
    padding: 72px 24px;
    background: linear-gradient(115deg, #0A3D91, #174FA6);
    text-align: center;
}

.pf-final-cta-inner {
    max-width: 720px;
    margin: 0 auto;
}

.pf-final-cta .pf-eyebrow {
    color: #9CE6B2;
}

.pf-final-cta h2 {
    margin: 0 auto 18px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.pf-final-cta h2 span {
    color: #8FE5A9;
}

.pf-final-cta p {
    max-width: 580px;
    margin: 0 auto 27px;
    color: #E0EAFE;
    font-size: 15px;
    line-height: 1.8;
}

.pf-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 49px;
    padding: 0 25px;
    border: 0;
    border-radius: 50px;
    background: #ffffff;
    color: var(--pf-blue);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.pf-btn-white:hover {
    background: #E7F8EC;
    transform: translateY(-2px);
}


/* FOOTER */

.pf-footer {
    padding: 48px 24px 0;
    background: #082F70;
    color: #ffffff;
}

.pf-footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding-bottom: 37px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 40px;
}

.pf-footer-brand img {
    display: block;
    width: 145px;
    height: auto;
    margin-bottom: 17px;
}

.pf-footer-brand p {
    max-width: 260px;
    margin: 0;
    color: #D1DDF1;
    font-size: 13px;
    line-height: 1.8;
}

.pf-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.pf-footer-links strong {
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 13px;
}

.pf-footer-links a,
.pf-footer-bottom a {
    color: #D1DDF1;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pf-footer-links a:hover,
.pf-footer-bottom a:hover {
    color: #91E8AA;
}

.pf-footer-bottom {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.pf-footer-bottom p {
    margin: 0;
    color: #D1DDF1;
    font-size: 12px;
}


/* TABLET */

@media (max-width: 900px) {
    .pf-nav {
        gap: 17px;
    }

    .pf-feature-container {
        gap: 32px;
    }

    .pf-feature-content h2 {
        font-size: 34px;
    }

    .pf-feature-buttons {
        gap: 9px;
    }

    .pf-btn-primary,
    .pf-btn-secondary {
        padding: 0 16px;
        font-size: 12px;
    }

    .pf-footer-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: 35px;
    }
}


/* MOBILE */

@media (max-width: 700px) {
    .pf-nav-container {
        width: calc(100% - 36px);
        min-height: 72px;
    }

    .pf-logo img {
        width: 125px;
    }

    .pf-menu-toggle {
        display: block;
    }

    .pf-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px 20px 22px;
        background: #ffffff;
        border-bottom: 1px solid #E5ECF5;
        box-shadow: 0 15px 25px rgba(10, 61, 145, 0.07);
    }

    .pf-nav.is-open {
        display: flex;
    }

    .pf-nav > a {
        padding: 14px 5px;
    }

    .pf-nav > a.active::after {
        display: none;
    }

    .pf-nav-cta {
        margin-top: 10px;
        min-height: 46px;
    }

    .pf-intro {
        padding: 49px 21px 37px;
    }

    .pf-intro h1 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .pf-intro > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .pf-feature-section {
        padding: 42px 21px;
    }

    .pf-feature-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .pf-feature-content h2 {
        font-size: 33px;
    }

    .pf-description {
        font-size: 14px;
    }

    .pf-feature-list {
        gap: 11px;
    }

    .pf-feature-list li {
        font-size: 13px;
    }

    .pf-feature-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 23px;
    }

    .pf-btn-primary,
    .pf-btn-secondary {
        width: 100%;
        min-height: 48px;
        font-size: 13px;
    }

    .pf-feature-visual {
        min-height: 0;
    }

    .pf-customer-visual {
        height: 330px;
        overflow: hidden;
    }

    .pf-customer-image {
        width: 115%;
        max-width: 480px;
    }

    .pf-preview {
        padding: 20px;
        border-radius: 19px;
    }

    .pf-campaign-banner h3 {
        font-size: 23px;
    }

    .pf-wallet-balance {
        padding: 21px;
    }

    .pf-wallet-balance strong {
        font-size: 31px;
    }

    .pf-final-cta {
        padding: 55px 22px;
    }

    .pf-final-cta p {
        font-size: 14px;
    }

    .pf-footer {
        padding: 38px 22px 0;
    }

    .pf-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .pf-footer-brand {
        grid-column: 1 / -1;
    }

    .pf-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .pf-intro h1 {
        font-size: 31px;
    }

    .pf-feature-content h2 {
        font-size: 30px;
    }

    .pf-footer-inner {
        grid-template-columns: 1fr;
    }

    .pf-footer-brand {
        grid-column: auto;
    }
}
/* =========================================
   HEADER
========================================= */

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #EDF1F6;
}

.navbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 200px;
  max-height: 100px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links > a:not(.nav-cta) {
  color: #53627A;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  min-height: 42px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: #124FA8;
}

.menu-toggle {
  display: none;
}

/* Mobile fix: stack the footer into one column and keep the feature image
   within the viewport so the page does not scroll sideways on phones. */
@media (max-width: 700px) {
  .pf-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pf-customer-image {
    max-width: 100%;
    height: auto;
  }
}
