/**
 * PocFin website shared styles — aligned with docs/ui-style-guide.md (app plan-form UI)
 * Responsive marketing widths; do not force 520px app shell.
 */

@font-face {
    font-family: 'Zalando Sans Expanded';
    src: url('/fonts/Zalando_Sans_Expanded/ZalandoSansExpanded-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* App tokens */
    --pfBlue: #04CAAC;
    --pfDarkBlue: #00826e;
    --pfDarkestBlue: #013551;
    --pfText: #1a2e2b;
    --pfMuted: #4a5c58;
    --pfCard: #ffffff;
    --pfCardBorder: #e8eeec;
    --pfInputBorder: #e4ecea;
    --pfInfoBg: #e8f7f4;
    --pfPageWashStart: #f0faf7;
    --pfPageWashEnd: #e8f4f1;
    --pfDanger: #ef4444;
    --pfShadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    --pfShadowHover: 0 8px 24px rgba(1, 53, 81, 0.1);

    /* Legacy aliases */
    --white: #ffffff;
    --light-grey: #f6f9f8;
    --soft-green: #e8f7f4;
    --subtle-green: #a8d5cc;
    --soft-blue: #e8f4f1;
    --subtle-blue: #7ec9bc;
    --dark-text: var(--pfText);
    --light-text: var(--pfMuted);
    --primary-action: var(--pfDarkBlue);
    --secondary-action: var(--pfDarkestBlue);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'Zalando Sans Expanded', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--pfText);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.containerX {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ---------- Shared primitives ---------- */

.pfCard {
    background: var(--pfCard);
    border: 1px solid var(--pfCardBorder);
    border-radius: 16px;
    box-shadow: var(--pfShadow);
    padding: 16px;
}

.pfSection {
    padding: 80px 0;
}

.pfPageWash {
    background:
        radial-gradient(circle at 12% 18%, rgba(4, 202, 172, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(1, 53, 81, 0.08) 0%, transparent 40%),
        linear-gradient(160deg, var(--pfPageWashStart) 0%, #ffffff 48%, var(--pfPageWashEnd) 100%);
}

.pfBtn,
.pfBtnPrimary,
.pfBtnOutline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pfBtnPrimary {
    background: var(--pfDarkBlue);
    color: #fff;
    border-color: var(--pfDarkBlue);
    box-shadow: 0 4px 14px rgba(0, 130, 110, 0.28);
}

.pfBtnPrimary:hover {
    background: #006b5a;
    border-color: #006b5a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 130, 110, 0.35);
}

.pfBtnOutline {
    background: #fff;
    color: var(--pfDarkBlue);
    border-color: var(--pfDarkBlue);
}

.pfBtnOutline:hover {
    background: var(--pfInfoBg);
    transform: translateY(-1px);
}

.pfBtnDanger {
    background: #fff;
    color: var(--pfDanger);
    border: 1.5px solid var(--pfDanger);
    border-radius: 999px;
    min-height: 48px;
    padding: 12px 28px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pfField {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.pfLabel {
    font-size: 12px;
    font-weight: 600;
    color: var(--pfMuted);
}

.pfInputWrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--pfInputBorder);
    border-radius: 999px;
    background: #fff;
    padding: 0 14px;
    min-height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pfInputWrap:focus-within {
    border-color: var(--pfBlue);
    box-shadow: 0 0 0 3px rgba(4, 202, 172, 0.18);
}

.pfInput,
.pfInputWrap input,
.pfInputWrap select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    color: var(--pfText);
    min-height: 44px;
    width: 100%;
}

.pfInput {
    border: 1.5px solid var(--pfInputBorder);
    border-radius: 999px;
    padding: 12px 16px;
    min-height: 48px;
    font-family: inherit;
    font-size: 15px;
    color: var(--pfText);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pfInput:focus {
    outline: none;
    border-color: var(--pfBlue);
    box-shadow: 0 0 0 3px rgba(4, 202, 172, 0.18);
}

.pfSectionTitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--pfText);
    margin: 0 0 12px;
}

/* ---------- Header / nav ---------- */

.logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--pfCardBorder);
    box-shadow: 0 8px 24px rgba(1, 53, 81, 0.06);
    position: sticky;
    top: 0;
    z-index: 990;
    transition: all 0.3s ease;
}

header.menu-active {
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    gap: 20px;
}

.logoimg {
    width: 48px;
    min-width: 48px;
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--pfText);
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    background: transparent;
    border: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--pfDarkestBlue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--pfDarkBlue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-download-btn {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--pfDarkBlue);
    border: 1px solid var(--pfDarkBlue);
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 130, 110, 0.25);
}

.nav-download-btn:hover {
    color: #fff;
    background: #006b5a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 130, 110, 0.32);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--pfCardBorder);
    box-shadow: 0 10px 22px rgba(1, 53, 81, 0.08);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--pfDarkestBlue);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger-line:not(:last-child) {
    margin-bottom: 5px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1, 53, 81, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 247, 244, 0.96) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--pfCardBorder);
    box-shadow: -18px 0 38px rgba(1, 53, 81, 0.12);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--pfCardBorder);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-header .logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--pfDarkBlue);
}

.mobile-close-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--pfCardBorder);
    background: var(--pfDarkBlue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    right: 260px;
    top: 10px;
    position: absolute;
    box-shadow: 0 10px 20px rgba(1, 53, 81, 0.14);
}

.mobile-close-btn:hover {
    background-color: var(--pfBlue);
    transform: translateY(-1px);
}

.mobile-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.mobile-nav-menu {
    flex: 1;
    padding: 40px 0;
    overflow-y: auto;
    width: 100%;
}

.mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    padding: 16px 30px;
    color: var(--pfText);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.02em;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:focus {
    background-color: rgba(4, 202, 172, 0.1);
    border-left-color: var(--pfDarkBlue);
    color: var(--pfDarkBlue);
    transform: translateX(8px);
}

.mobile-nav-menu .nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    opacity: 0.7;
}

.mobile-nav-footer {
    padding: 30px 30px;
    border-top: 1px solid var(--pfCardBorder);
    text-align: center;
}

.mobile-cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--pfDarkBlue);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(0, 130, 110, 0.25);
}

.mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 130, 110, 0.3);
}

/* ---------- Footer ---------- */

footer {
    background-color: var(--white);
    color: var(--pfText);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid var(--pfCardBorder);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer .footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer .footer-nav li {
    margin: 0 15px;
}

footer .footer-nav a {
    text-decoration: none;
    color: var(--pfMuted);
    transition: color 0.3s ease;
}

footer .footer-nav a:hover {
    color: var(--pfDarkBlue);
}

.social-icons a {
    color: var(--pfText);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--pfDarkBlue);
}

.social-icons a i {
    color: inherit !important;
}

/* ---------- Legacy marketing sections (about / shared) ---------- */

.hero-section {
    min-height: 75vh;
    background: linear-gradient(135deg, var(--pfBlue) 0%, var(--pfDarkestBlue) 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.cta-buttons .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-buttons .btn-primary {
    background-color: #ffffff;
    color: var(--pfDarkestBlue);
    border: 2px solid #ffffff;
}

.cta-buttons .btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid white;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--pfDarkestBlue);
    color: var(--white);
}

.features-section,
.pricing-section,
.feature-showcase,
.start-now-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.features-section h2,
.pricing-section h2,
.feature-showcase h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--pfText);
}

.start-now-section h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--light-grey);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.feature-item {
    background-color: var(--pfDarkBlue);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--pfShadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid var(--pfCardBorder);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--pfShadowHover);
}

.feature-item i {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.feature-item p {
    color: #fff;
    font-size: 0.95em;
}

.feature-showcase {
    background-color: var(--light-grey);
}

.feature-showcase:nth-of-type(even) {
    background-color: var(--white);
}

.feature-showcase .container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.feature-showcase .text-content {
    flex: 1;
}

.feature-showcase .img-content {
    flex: 1;
}

.feature-showcase img {
    max-width: 100%;
    border-radius: 16px;
}

.feature-showcase.reverse .container {
    flex-direction: row-reverse;
}

.feature-showcase .text-content p {
    margin-bottom: 25px;
}

.link-arrow {
    text-decoration: none;
    color: var(--pfDarkBlue);
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-arrow i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    transform: translateX(5px);
}

.link-arrow:hover i {
    transform: translateX(2px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--pfCard);
    border: 1px solid var(--pfCardBorder);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--pfShadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pfShadowHover);
}

.pricing-card.pro {
    border-color: var(--pfDarkBlue);
}

.pricing-card h3 {
    font-size: 2em;
    color: var(--pfText);
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--pfDarkBlue);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--pfMuted);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 15px;
    color: var(--pfMuted);
}

.mockup-section {
    padding: 80px 0;
    background-color: var(--pfInfoBg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.device-mockup {
    width: 70%;
    max-width: 800px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--pfShadowHover);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite alternate;
}

.device-mockup img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.start-now-section {
    background: linear-gradient(135deg, var(--pfBlue) 0%, var(--pfDarkestBlue) 100%);
    padding: 80px 20px;
}

.start-now-section h2 {
    font-size: 2.8em;
}

.start-now-section p {
    font-size: 1.1em;
    color: var(--light-grey);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.threeImg {
    max-width: 140% !important;
    width: 150%;
}

.animated {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: both;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.how-it-works {
    padding: 100px 0;
    background-color: var(--white);
}

.steps-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
}

.steps-image {
    width: 45%;
}

.steps-image img {
    width: 100%;
    border-radius: 10px;
}

.steps-content {
    width: 50%;
}

.step-item {
    display: flex;
    margin-bottom: 30px;
}

.step-number {
    background-color: var(--pfDarkBlue);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step-text p {
    color: var(--pfMuted);
}

/* FAQ */
.faqNeo {
    padding: 88px 20px;
    background:
        radial-gradient(circle at 12% 20%, rgba(4, 202, 172, 0.12) 0%, rgba(4, 202, 172, 0) 42%),
        radial-gradient(circle at 88% 78%, rgba(1, 53, 81, 0.1) 0%, rgba(1, 53, 81, 0) 40%),
        linear-gradient(160deg, #f7fbfa 0%, #ffffff 48%, #f0faf7 100%);
}

.faqNeoInner {
    max-width: 860px;
    margin: 0 auto;
}

.faqNeoHeader {
    text-align: center;
    margin-bottom: 40px;
}

.faqNeoBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(4, 202, 172, 0.12);
    border: 1px solid var(--pfCardBorder);
    color: var(--pfDarkestBlue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.faqNeoHeader h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--pfDarkestBlue);
    font-weight: 700;
    line-height: 1.2;
}

.faqNeoHeader p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--pfMuted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.faqNeoList {
    display: grid;
    gap: 12px;
}

.faqNeoItem {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--pfCardBorder);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--pfShadow);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faqNeoItem[open],
.faqNeoItem:hover {
    border-color: rgba(4, 202, 172, 0.4);
    box-shadow: var(--pfShadowHover);
}

.faqNeoItem summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--pfDarkestBlue);
    line-height: 1.4;
}

.faqNeoItem summary::-webkit-details-marker {
    display: none;
}

.faqNeoItem summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 202, 172, 0.12);
    color: var(--pfDarkBlue);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faqNeoItem[open] summary::after {
    content: '–';
    background: var(--pfDarkBlue);
    color: #fff;
}

.faqNeoAnswer {
    padding: 0 22px 20px;
    color: var(--pfMuted);
    font-size: 1rem;
    line-height: 1.75;
}

.faqNeoAnswer p {
    margin: 0;
}

.faqNeoAnswer a {
    color: var(--pfDarkBlue);
    font-weight: 600;
    text-decoration: none;
}

.faqNeoAnswer a:hover {
    text-decoration: underline;
}

.testimonials-section {
    background: var(--pfInfoBg);
    padding: 80px 0;
}

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow {
    background: none;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: var(--pfDarkestBlue);
    cursor: pointer;
    z-index: 3;
    transition: color 0.2s;
}

.testimonial-arrow:hover {
    color: var(--pfDarkBlue);
}

.testimonial-arrow.left { left: -40px; }
.testimonial-arrow.right { right: -40px; }

/* ---------- Calculator hub + tool pages ---------- */

.calculators-section,
.calculator-section {
    padding: 80px 0;
    min-height: 80vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(4, 202, 172, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(1, 53, 81, 0.08) 0%, transparent 40%),
        linear-gradient(160deg, var(--pfPageWashStart) 0%, #ffffff 48%, var(--pfPageWashEnd) 100%);
}

.calculators-header,
.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculators-header h1,
.calculator-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--pfText);
    margin-bottom: 15px;
}

.calculators-header p,
.calculator-header p {
    font-size: 1.1em;
    color: var(--pfMuted);
    max-width: 700px;
    margin: 0 auto;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.calculator-card {
    background: var(--pfCard);
    border-radius: 16px;
    box-shadow: var(--pfShadow);
    padding: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--pfCardBorder);
}

.calculator-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pfShadowHover);
    border-color: rgba(4, 202, 172, 0.45);
}

.calculator-card-icon {
    font-size: 3em;
    color: var(--pfDarkBlue);
    margin-bottom: 20px;
    display: block;
}

.calculator-card h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--pfText);
    margin-bottom: 15px;
}

.calculator-card p {
    color: var(--pfMuted);
    font-size: 0.95em;
    margin: 0;
    line-height: 1.7;
}

.calculator-card-arrow {
    margin-top: 20px;
    color: var(--pfDarkBlue);
    font-size: 1.2em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.calculator-card:hover .calculator-card-arrow {
    transform: translateX(5px);
}

.calculator-container {
    background: var(--pfCard);
    border-radius: 16px;
    border: 1px solid var(--pfCardBorder);
    box-shadow: var(--pfShadow);
    padding: 40px;
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    color: var(--pfMuted);
    font-size: 12px;
}

.input-group input,
.input-group select {
    padding: 12px 16px;
    border: 1.5px solid var(--pfInputBorder);
    border-radius: 999px;
    font-size: 15px;
    font-family: inherit;
    color: var(--pfText);
    background: #fff;
    min-height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--pfBlue);
    box-shadow: 0 0 0 3px rgba(4, 202, 172, 0.18);
}

.input-group input[type="number"] {
    -moz-appearance: textfield;
}

.input-group input[type="number"]::-webkit-outer-spin-button,
.input-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-group small {
    color: var(--pfMuted);
    font-size: 12px;
    line-height: 1.45;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--pfDarkBlue);
}

.radio-option label {
    cursor: pointer;
    font-weight: 400;
    font-size: 15px;
    color: var(--pfText);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--pfDarkBlue);
}

.checkbox-group label {
    cursor: pointer;
    font-weight: 400;
    font-size: 15px;
    color: var(--pfText);
}

.calculate-btn,
.go-further-btn button,
.calculate-inflation-btn {
    background: var(--pfDarkBlue);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 1em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 130, 110, 0.28);
    margin-top: 10px;
}

.calculate-btn {
    width: 100%;
}

.calculate-btn:hover,
.go-further-btn button:hover,
.calculate-inflation-btn:hover {
    background: #006b5a;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 130, 110, 0.35);
}

.calculate-btn:active,
.go-further-btn button:active {
    transform: translateY(0);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results-card {
    background: var(--pfInfoBg);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--pfCardBorder);
}

.results-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--pfText);
    margin-bottom: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--pfCardBorder);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--pfMuted);
    font-size: 0.95em;
    width: 35%;
}

.result-value {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--pfDarkBlue);
    width: 60%;
}

.chart-container {
    margin-top: 20px;
    background: var(--pfCard);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--pfCardBorder);
}

.chart-container canvas {
    max-height: 400px;
}

.go-further-btn {
    margin-top: 30px;
    text-align: center;
}

.go-further-btn button {
    padding: 15px 40px;
}

.inflation-section {
    padding: 16px;
    background: var(--pfInfoBg);
    border-radius: 16px;
    border: 1px solid var(--pfCardBorder);
    display: none;
}

.inflation-section.active {
    display: block;
    animation: slideDown 0.4s ease;
    width: 100%;
    margin: 20px auto;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.inflation-section h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--pfText);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inflation-section .subtitle {
    color: var(--pfMuted);
    font-size: 0.95em;
    margin-bottom: 25px;
}

.inflation-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}

.inflation-input-group {
    background: var(--pfCard);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--pfCardBorder);
    box-shadow: var(--pfShadow);
}

.inflation-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--pfMuted);
    margin-bottom: 8px;
}

.inflation-input-group select,
.inflation-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--pfInputBorder);
    border-radius: 999px;
    font-size: 15px;
    font-family: inherit;
    min-height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inflation-input-group select:focus,
.inflation-input-group input:focus {
    outline: none;
    border-color: var(--pfBlue);
    box-shadow: 0 0 0 3px rgba(4, 202, 172, 0.18);
}

.calculate-inflation-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.inflation-results {
    margin-top: 25px;
    padding: 25px;
    background: var(--pfCard);
    border-radius: 16px;
    border: 1px solid var(--pfCardBorder);
    box-shadow: var(--pfShadow);
    display: none;
}

.inflation-results.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.inflation-results h4 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--pfText);
    margin-bottom: 20px;
    text-align: center;
}

.inflation-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.inflation-result-item {
    background: var(--pfInfoBg);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--pfCardBorder);
}

.inflation-result-label {
    display: block;
    font-size: 0.85em;
    color: var(--pfMuted);
    margin-bottom: 8px;
    font-weight: 500;
}

.inflation-result-value {
    display: block;
    font-size: 1em;
    font-weight: 700;
    color: var(--pfDarkBlue);
}

.inflation-explanation {
    margin-top: 20px;
    padding: 15px;
    background: var(--pfInfoBg);
    border-radius: 12px;
    font-size: 0.9em;
    color: var(--pfMuted);
    line-height: 1.6;
}

.share-section {
    margin-top: 30px;
    padding: 25px;
    background: var(--pfInfoBg);
    border-radius: 16px;
    border: 1px solid var(--pfCardBorder);
    text-align: center;
}

.share-section h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--pfText);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.share-btn {
    background: var(--white);
    color: var(--pfDarkBlue);
    border: 1.5px solid var(--pfDarkBlue);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    background: var(--pfDarkBlue);
    color: var(--white);
    transform: translateY(-1px);
}

.disclaimer-section {
    margin-top: 40px;
    padding: 25px;
    background: var(--pfInfoBg);
    border-radius: 16px;
    border-left: 4px solid var(--pfDarkBlue);
}

.disclaimer-section h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--pfText);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-section p {
    color: var(--pfMuted);
    font-size: 0.95em;
    margin: 0;
    line-height: 1.7;
}

.app-note {
    margin-top: 30px;
    padding: 20px;
    background: var(--pfDarkBlue);
    border-radius: 16px;
    color: var(--white);
    text-align: center;
}

.app-note h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.app-note p {
    font-size: 1em;
    margin: 0;
    opacity: 0.95;
}

.app-note a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.app-note a:hover {
    opacity: 0.8;
}

/* ---------- Content hubs (resources / tips / blogs) ---------- */

.contentHubSection {
    padding: 80px 0;
    min-height: 70vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(4, 202, 172, 0.12) 0%, transparent 42%),
        linear-gradient(160deg, var(--pfPageWashStart) 0%, #ffffff 55%, var(--pfPageWashEnd) 100%);
}

.contentHubCard {
    background: var(--pfCard);
    border: 1px solid var(--pfCardBorder);
    border-radius: 16px;
    box-shadow: var(--pfShadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contentHubCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--pfShadowHover);
    border-color: rgba(4, 202, 172, 0.4);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    header .container,
    .container {
        padding: 0 20px;
    }

    .hero-section {
        padding: 0;
        min-height: 92vh;
    }

    .features-section,
    .pricing-section,
    .feature-showcase,
    .start-now-section {
        padding: 40px 0;
    }

    .threeImg {
        max-width: 100% !important;
    }

    .nav-links,
    .nav-download-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-content h1 { font-size: 2.5em; }
    .hero-content p { font-size: 1em; }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        margin-bottom: 15px;
        width: 80%;
        max-width: 250px;
    }

    .hero-image {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .device-mockup {
        width: 90%;
    }

    .feature-showcase .container,
    .feature-showcase.reverse .container {
        flex-direction: column;
        text-align: center;
    }

    #logoTxt {
        display: none;
    }

    .logoimg {
        width: 30px;
        min-width: 20px;
    }

    .faqNeo {
        padding: 64px 16px;
    }

    .faqNeoItem summary {
        padding: 16px 18px;
        font-size: 1rem;
    }

    .faqNeoAnswer {
        padding: 0 18px 16px;
    }

    footer .container {
        flex-direction: column;
    }

    footer .copyright {
        margin-bottom: 20px;
    }

    .social-icons {
        margin-top: 15px;
    }

    .calculators-section,
    .calculator-section {
        padding: 40px 0;
    }

    .calculators-header h1,
    .calculator-header h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .calculators-header p,
    .calculator-header p {
        font-size: 0.95em;
    }

    .calculators-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calculator-card {
        padding: 30px 20px;
    }

    .calculator-container {
        padding: 20px 15px;
        margin: 10px;
        border-radius: 16px;
        width: calc(100% - 20px);
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1500px) {
    .threeImg {
        max-width: 100% !important;
    }
}
