/**
 * PropForge-inspired Design for futurespropfirm.net
 * Light white/purple SaaS theme
 * Reference: https://propforge.io/
 */

/* ===================== FONTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===================== GLOBAL RESETS ===================== */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

a { color: #5d4fff; }
a:hover { color: #7c6fff; }

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(93, 79, 255, 0.1);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
}

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

.header-logo img {
    width: 36px;
    height: 36px;
}

.header-logo-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover, .nav-link.active {
    color: #5d4fff;
    background: rgba(93, 79, 255, 0.06);
}

.nav-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.nav-item {
    position: relative;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 200;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s;
}

.nav-dropdown-link:hover, .nav-dropdown-link.active {
    background: rgba(93, 79, 255, 0.07);
    color: #5d4fff;
}

.nav-dropdown-link small {
    font-size: 0.75rem;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 12px;
}

/* Header CTA */
.header-cta {
    background: #1a1a2e;
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-cta:hover {
    background: #5d4fff;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(93, 79, 255, 0.4);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Nav */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}

.mobile-overlay.active { display: block; }

.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 20px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6b7280;
}

.mobile-nav-close svg {
    width: 20px;
    height: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-item {
    border-radius: 8px;
    overflow: hidden;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: rgba(93, 79, 255, 0.07);
    color: #5d4fff;
}

.mobile-nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.mobile-nav-item.open > .mobile-nav-link svg {
    transform: rotate(180deg);
}

.mobile-nav-dropdown {
    display: none;
    flex-direction: column;
    padding: 4px 8px 8px 8px;
    gap: 2px;
}

.mobile-nav-item.open .mobile-nav-dropdown {
    display: flex;
}

.mobile-nav-dropdown a {
    padding: 9px 16px;
    font-size: 0.9rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
}

.mobile-nav-dropdown a:hover, .mobile-nav-dropdown a.active {
    background: rgba(93, 79, 255, 0.07);
    color: #5d4fff;
}

.mobile-nav-all {
    font-weight: 600;
    color: #5d4fff !important;
}

/* ===================== HERO ===================== */
.pf-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
    padding: 80px 20px 60px;
}

.pf-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(93, 79, 255, 0.12) 0%, rgba(155, 64, 255, 0.06) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.pf-hero::after {
    content: '';
    position: absolute;
    bottom: 100px;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(155, 64, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.pf-hero-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(93, 79, 255, 0.08);
    border: 1px solid rgba(93, 79, 255, 0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5d4fff;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.pf-hero-eyebrow svg {
    width: 14px;
    height: 14px;
    fill: #5d4fff;
}

.pf-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pf-hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.pf-hero-title span {
    background: linear-gradient(135deg, #5d4fff 0%, #9b40ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #6b7280;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 36px;
}

.pf-hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.pf-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a2e;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #1a1a2e;
}

.pf-btn-dark:hover {
    background: #5d4fff;
    border-color: #5d4fff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 79, 255, 0.4);
}

.pf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1a1a2e;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #e5e7eb;
}

.pf-btn-outline:hover {
    border-color: #5d4fff;
    color: #5d4fff;
    background: rgba(93, 79, 255, 0.05);
}

.pf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5d4fff 0%, #9b40ff 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.pf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 79, 255, 0.45);
    color: #ffffff;
}

.pf-hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.pf-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    color: #6b7280;
    font-weight: 500;
}

.pf-hero-trust-item svg {
    width: 16px;
    height: 16px;
    fill: #5d4fff;
    flex-shrink: 0;
}

.pf-hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

.pf-hero-browser {
    background: #1a1a2e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(93, 79, 255, 0.2), 0 10px 30px rgba(0,0,0,0.15);
}

.pf-hero-browser-bar {
    background: #2d2d45;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pf-browser-dot:nth-child(1) { background: #ff5f57; }
.pf-browser-dot:nth-child(2) { background: #ffbd2e; }
.pf-browser-dot:nth-child(3) { background: #28c840; }

.pf-hero-browser-url {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-left: 8px;
}

.pf-hero-browser img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================== INTEGRATIONS MARQUEE ===================== */
.pf-integrations {
    padding: 48px 0;
    background: #f9fafb;
    border-top: 1px solid #f0f0f6;
    border-bottom: 1px solid #f0f0f6;
    overflow: hidden;
}

.pf-integrations-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.pf-marquee-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.pf-marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: pf-marquee 30s linear infinite;
    align-items: center;
}

.pf-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes pf-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.pf-marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    opacity: 0.65;
    transition: opacity 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4b5563;
}

.pf-marquee-item:hover { opacity: 1; }

.pf-marquee-item img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.3);
}

/* ===================== SECTION SHARED ===================== */
.pf-section {
    padding: 90px 0;
}

.pf-section-alt {
    padding: 90px 0;
    background: #f9fafb;
}

.pf-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(93, 79, 255, 0.08);
    border: 1px solid rgba(93, 79, 255, 0.18);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5d4fff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.pf-section-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pf-section-title span {
    background: linear-gradient(135deg, #5d4fff 0%, #9b40ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-section-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 560px;
}

.pf-section-header-center {
    text-align: center;
    margin-bottom: 56px;
}

.pf-section-header-center .pf-section-desc {
    margin: 0 auto;
}

/* ===================== FEATURES 3-COLUMN ===================== */
.pf-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.pf-feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.pf-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5d4fff, #9b40ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pf-feature-card:hover {
    border-color: rgba(93, 79, 255, 0.3);
    box-shadow: 0 10px 35px rgba(93, 79, 255, 0.12);
    transform: translateY(-4px);
}

.pf-feature-card:hover::before {
    transform: scaleX(1);
}

.pf-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(93, 79, 255, 0.1) 0%, rgba(155, 64, 255, 0.1) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pf-feature-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.pf-feature-icon svg {
    width: 28px;
    height: 28px;
    fill: #5d4fff;
}

.pf-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.pf-feature-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ===================== SPLIT SECTION ===================== */
.pf-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.pf-split.pf-split-reverse {
    direction: rtl;
}

.pf-split.pf-split-reverse > * {
    direction: ltr;
}

.pf-split-text {}

.pf-split-text .pf-section-title {
    margin-top: 12px;
}

.pf-split-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-split-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #4b5563;
}

.pf-split-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235d4fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
    margin-top: 2px;
}

.pf-split-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(93, 79, 255, 0.15), 0 6px 20px rgba(0,0,0,0.1);
}

.pf-split-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================== STATS ===================== */
.pf-stats {
    padding: 72px 0;
    background: linear-gradient(135deg, #5d4fff 0%, #9b40ff 100%);
}

.pf-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.pf-stat-item {
    padding: 20px;
}

.pf-stat-number {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.pf-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===================== ANALYTICS 4-COLUMN GRID ===================== */
.pf-analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pf-analytics-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.pf-analytics-card:hover {
    border-color: rgba(93, 79, 255, 0.3);
    box-shadow: 0 8px 30px rgba(93, 79, 255, 0.1);
    transform: translateY(-4px);
}

.pf-analytics-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.pf-analytics-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pf-analytics-card:hover .pf-analytics-card-img img {
    transform: scale(1.04);
}

.pf-analytics-card-body {
    padding: 18px;
    flex: 1;
}

.pf-analytics-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}

/* ===================== CTA SECTION ===================== */
.pf-cta-section {
    padding: 90px 0;
    background: #f9fafb;
    text-align: center;
}

.pf-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.pf-cta-inner .pf-section-title {
    margin-bottom: 16px;
}

.pf-cta-inner .pf-section-desc {
    margin: 0 auto 36px;
}

.pf-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===================== FAQ ACCORDION ===================== */
.pf-faq {
    padding: 90px 0;
}

.pf-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.pf-faq-item.open {
    border-color: rgba(93, 79, 255, 0.3);
}

.pf-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 0.97rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #ffffff;
    transition: background 0.15s;
    user-select: none;
    gap: 16px;
}

.pf-faq-question:hover {
    background: rgba(93, 79, 255, 0.03);
}

.pf-faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.pf-faq-item.open .pf-faq-icon {
    background: #5d4fff;
    transform: rotate(45deg);
}

.pf-faq-icon svg {
    width: 14px;
    height: 14px;
    fill: #6b7280;
}

.pf-faq-item.open .pf-faq-icon svg {
    fill: #ffffff;
}

.pf-faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.7;
}

.pf-faq-item.open .pf-faq-answer {
    display: block;
}

/* ===================== CATEGORIES GRID ===================== */
.pf-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.pf-cat-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 24px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.pf-cat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5d4fff, #9b40ff);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.pf-cat-card:hover {
    border-color: rgba(93, 79, 255, 0.25);
    box-shadow: 0 8px 30px rgba(93, 79, 255, 0.1);
    transform: translateY(-3px);
}

.pf-cat-card:hover::after {
    transform: scaleX(1);
}

.pf-cat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(93, 79, 255, 0.1), rgba(155, 64, 255, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pf-cat-icon svg {
    width: 24px;
    height: 24px;
    fill: #5d4fff;
}

.pf-cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.pf-cat-count {
    font-size: 0.82rem;
    color: #9ca3af;
}

.pf-cat-arrow {
    margin-top: auto;
    padding-top: 16px;
    color: #5d4fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
}

.pf-cat-card:hover .pf-cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===================== TAGS SECTION ===================== */
.pf-tags-section {
    padding: 72px 0;
    background: #f9fafb;
}

.pf-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.pf-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
}

.pf-tag:hover {
    border-color: #5d4fff;
    color: #5d4fff;
    background: rgba(93, 79, 255, 0.05);
}

.pf-tag-count {
    background: #f3f4f6;
    color: #9ca3af;
    border-radius: 100px;
    padding: 1px 7px;
    font-size: 0.75rem;
}

.pf-tag:hover .pf-tag-count {
    background: rgba(93, 79, 255, 0.1);
    color: #5d4fff;
}

/* ===================== CAROUSEL ===================== */
.pf-carousel-section {
    padding: 72px 0;
}

.pf-carousel-section .container {
    overflow: visible;
}

/* ===================== PAGE HERO (internal pages) ===================== */
.pf-page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b6e 50%, #1a1a2e 100%);
    padding: 72px 20px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pf-page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(93, 79, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.pf-page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.pf-page-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pf-page-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.pf-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.pf-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.15s;
}

.pf-breadcrumb a:hover { color: #ffffff; }
.pf-breadcrumb-sep { opacity: 0.4; }
.pf-breadcrumb span { color: #a78fff; }

/* ===================== ARTICLE LAYOUT ===================== */
.pf-article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 48px 0;
}

.pf-article-body {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
}

.pf-article-body h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.pf-article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 32px 0 14px;
}

.pf-article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 24px 0 10px;
}

.pf-article-body p {
    color: #374151;
    line-height: 1.75;
    margin-bottom: 16px;
}

.pf-article-body ul, .pf-article-body ol {
    padding-left: 24px;
    color: #374151;
    margin-bottom: 16px;
}

.pf-article-body li {
    margin-bottom: 6px;
    line-height: 1.65;
}

.pf-article-body a {
    color: #5d4fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pf-article-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 16px 0;
}

.pf-article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pf-sidebar-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
}

.pf-sidebar-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.pf-sidebar-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 1px solid #f9fafb;
    transition: color 0.15s;
    line-height: 1.4;
}

.pf-sidebar-link:last-child { border-bottom: none; }
.pf-sidebar-link:hover { color: #5d4fff; }
.pf-sidebar-link::before {
    content: '→';
    color: #5d4fff;
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 1px;
}

/* ===================== ARTICLES GRID ===================== */
.pf-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.pf-article-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.pf-article-card:hover {
    border-color: rgba(93, 79, 255, 0.3);
    box-shadow: 0 8px 30px rgba(93, 79, 255, 0.1);
    transform: translateY(-3px);
}

.pf-article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.pf-article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.pf-article-card:hover .pf-article-card-img img {
    transform: scale(1.04);
}

.pf-article-card-body {
    padding: 20px;
    flex: 1;
}

.pf-article-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.45;
    margin-bottom: 8px;
}

.pf-article-card-meta {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ===================== SEO CONTENT ===================== */
.pf-seo-content {
    padding: 48px 0;
    border-top: 1px solid #e5e7eb;
}

.pf-seo-content p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 12px;
}

/* ===================== CONTACT PAGE ===================== */
.pf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 60px 0;
}

.pf-contact-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.pf-contact-info p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.pf-contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
}

.pf-contact-detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(93, 79, 255, 0.1), rgba(155, 64, 255, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-contact-detail-icon svg {
    width: 20px;
    height: 20px;
    fill: #5d4fff;
}

.pf-contact-detail-text {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.pf-contact-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
}

.pf-contact-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.pf-form-group {
    margin-bottom: 18px;
}

.pf-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.pf-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1a1a2e;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.pf-form-input:focus {
    border-color: #5d4fff;
    box-shadow: 0 0 0 3px rgba(93, 79, 255, 0.1);
}

.pf-form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #5d4fff 0%, #9b40ff 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}

.pf-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(93, 79, 255, 0.4);
}

/* ===================== 404 PAGE ===================== */
.pf-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.pf-404-code {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(4rem, 15vw, 9rem);
    font-weight: 900;
    background: linear-gradient(135deg, #5d4fff 0%, #9b40ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.pf-404 h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.pf-404 p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 32px;
}

/* ===================== FOOTER ===================== */
.footer {
    background: #1a1a2e;
    color: #9ca3af;
}

.footer .container {
    padding-top: 60px;
    padding-bottom: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .header-logo-text {
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-title {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover { color: #a78fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    font-size: 0.82rem;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p { margin: 0; }

.footer-disclaimer {
    color: #4b5563;
    font-size: 0.78rem;
    line-height: 1.6;
}

/* ===================== CAROUSEL (keywords) ===================== */
.kw-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.kw-pill:hover {
    border-color: #5d4fff;
    color: #5d4fff;
    background: rgba(93, 79, 255, 0.05);
}

/* Override old carousel styles */
.carousel-row {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: pf-marquee 40s linear infinite;
    margin-bottom: 10px;
}

.carousel-row.reverse { animation-direction: reverse; }
.carousel-row.slow { animation-duration: 55s; }

.carousel-triple {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-wrapper {
    overflow: hidden;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-static {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 20px;
}

/* Modal override */
.modal {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 1px solid #f3f4f6;
    padding: 20px 24px;
}

.modal-title { color: #1a1a2e; }

.modal-close {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
}

.modal-close:hover {
    background: rgba(93, 79, 255, 0.07);
    color: #5d4fff;
}

/* ===================== SUBCAT CHIPS ===================== */
.pf-subcat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.pf-subcat-chip {
    padding: 7px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.2s;
}

.pf-subcat-chip:hover, .pf-subcat-chip.active {
    border-color: #5d4fff;
    color: #5d4fff;
    background: rgba(93, 79, 255, 0.05);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .pf-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-analytics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pf-split.pf-split-reverse {
        direction: ltr;
    }
    .pf-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-article-layout {
        grid-template-columns: 1fr;
    }
    .pf-article-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-main { display: none; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }

    .pf-hero {
        padding: 56px 16px 48px;
        min-height: auto;
    }

    .pf-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pf-features-grid {
        grid-template-columns: 1fr;
    }

    .pf-analytics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pf-contact-grid {
        grid-template-columns: 1fr;
    }

    .pf-articles-grid {
        grid-template-columns: 1fr;
    }

    .pf-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pf-section, .pf-section-alt, .pf-faq, .pf-cta-section {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .pf-analytics-grid {
        grid-template-columns: 1fr;
    }

    .pf-cat-grid {
        grid-template-columns: 1fr;
    }

    .pf-hero-title {
        font-size: 1.9rem;
    }

    .pf-hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .pf-btn-dark, .pf-btn-outline, .pf-btn-primary {
        text-align: center;
        justify-content: center;
    }
}

/* ===================== MOBILE OVERFLOW FIXES ===================== */
@media (max-width: 480px) {
    .pf-hero-eyebrow {
        font-size: 0.75rem;
        padding: 5px 12px;
        max-width: 90vw;
        white-space: normal;
        text-align: center;
    }

    .pf-hero-title {
        font-size: 1.7rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .pf-hero-desc {
        font-size: 0.9rem;
    }

    .pf-hero-trust {
        gap: 14px;
    }

    .pf-hero-trust-item {
        font-size: 0.78rem;
    }

    .pf-hero {
        overflow-x: hidden;
    }

    .pf-hero-content {
        width: 100%;
        overflow-x: hidden;
    }
}

/* ===================== HERO OVERFLOW ROOT FIX ===================== */
.pf-hero-eyebrow {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.pf-hero, .pf-hero-content, .pf-hero-title {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ===================== FEATURED GUIDES ===================== */
.pf-featured-guides {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 12px;
}

.pf-featured-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pf-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5d4fff, #9b40ff);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.pf-featured-card:hover {
    border-color: rgba(93, 79, 255, 0.3);
    box-shadow: 0 12px 40px rgba(93, 79, 255, 0.12);
    transform: translateY(-4px);
    text-decoration: none;
}

.pf-featured-card:hover::before {
    opacity: 1;
}

.pf-featured-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: linear-gradient(135deg, #5d4fff, #9b40ff);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pf-featured-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(93,79,255,0.1), rgba(155,64,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pf-featured-icon svg {
    width: 24px;
    height: 24px;
    color: #5d4fff;
}

.pf-featured-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.35;
    padding-right: 80px;
}

.pf-featured-desc {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 20px;
    flex-grow: 1;
}

.pf-featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pf-featured-tags span {
    background: #f5f3ff;
    color: #5d4fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(93,79,255,0.12);
}

.pf-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5d4fff;
    font-size: 0.92rem;
    font-weight: 700;
    transition: gap 0.2s;
}

.pf-featured-card:hover .pf-featured-cta {
    gap: 12px;
}

@media (max-width: 768px) {
    .pf-featured-guides {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pf-featured-title {
        font-size: 1.1rem;
        padding-right: 0;
    }
    .pf-featured-badge {
        position: static;
        display: inline-block;
        margin-bottom: 16px;
    }
}
