/* ============================================================
   ASGK Technology – Portfolio Products Page
   File: style/portfolio-products.css
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --pf-navy:        #0f172a;
    --pf-navy-mid:    #1e293b;
    --pf-navy-light:  #334155;
    --pf-purple:      #7c3aed;
    --pf-purple-mid:  #8b5cf6;
    --pf-purple-light:#a78bfa;
    --pf-blue:        #3b82f6;
    --pf-blue-light:  #60a5fa;
    --pf-teal:        #0d9488;
    --pf-teal-light:  #2dd4bf;
    --pf-gold:        #d97706;
    --pf-gold-light:  #fbbf24;
    --pf-silver:      #64748b;
    --pf-silver-light:#94a3b8;
    --pf-orange:      #ea580c;
    --pf-orange-light:#fb923c;
    --pf-pink:        #ec4899;
    --pf-white:       #ffffff;
    --pf-text:        #e2e8f0;
    --pf-text-muted:  #94a3b8;
    --pf-card-bg:     #ffffff;
    --pf-card-text:   #1e293b;
    --pf-card-muted:  #64748b;
    --pf-border:      rgba(255,255,255,0.08);
    --pf-shadow:      0 4px 24px rgba(0,0,0,0.25);
    --pf-radius:      16px;
    --pf-radius-sm:   10px;
    --pf-transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Shared Layout ---- */
.pf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.pf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

.pf-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pf-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}
.pf-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #7c3aed, transparent);
    top: -100px; left: -150px;
    animation: pf-float 10s ease-in-out infinite;
}
.pf-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #3b82f6, transparent);
    bottom: -80px; right: -100px;
    animation: pf-float 12s ease-in-out infinite reverse;
}
.pf-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #0d9488, transparent);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: pf-float 8s ease-in-out infinite;
}

.pf-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

@keyframes pf-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.05); }
}

.pf-hero > .pf-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.pf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.4);
    color: var(--pf-purple-light);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pf-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pf-purple-light);
    animation: pf-pulse 2s ease-in-out infinite;
}

@keyframes pf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

.pf-hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    color: var(--pf-white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.pf-gradient-text {
    background: linear-gradient(135deg, #a78bfa, #60a5fa, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--pf-text);
    margin-bottom: 16px;
    line-height: 1.4;
}

.pf-hero-desc {
    font-size: 15px;
    color: var(--pf-text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.pf-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ---- Shared Buttons ---- */
.pf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--pf-purple), var(--pf-blue));
    color: var(--pf-white);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--pf-transition);
    box-shadow: 0 4px 20px rgba(124,58,237,0.4);
    white-space: nowrap;
}
.pf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124,58,237,0.6);
}

.pf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--pf-white);
    padding: 13px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--pf-transition);
    white-space: nowrap;
}
.pf-btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.pf-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--pf-white);
    padding: 13px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--pf-transition);
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    white-space: nowrap;
}
.pf-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* ---- Hero Visual ---- */
.pf-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pf-floating-cards {
    position: relative;
    width: 340px;
    height: 340px;
}

.pf-hero-center-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--pf-purple), var(--pf-blue));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--pf-white);
    box-shadow: 0 8px 40px rgba(124,58,237,0.5);
    z-index: 2;
}

.pf-float-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 90px; height: 90px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    color: var(--pf-white);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}
.pf-float-card i { font-size: 24px; }

.fc-1 { top: 0;   left: 0;   animation: pf-card-float 6s ease-in-out infinite; }
.fc-2 { top: 0;   right: 0;  animation: pf-card-float 7s ease-in-out infinite 1s; }
.fc-3 { bottom: 0; left: 0;  animation: pf-card-float 8s ease-in-out infinite 0.5s; }
.fc-4 { bottom: 0; right: 0; animation: pf-card-float 6.5s ease-in-out infinite 1.5s; }

.fc-1 i { color: #60a5fa; }
.fc-2 i { color: #fbbf24; }
.fc-3 i { color: #2dd4bf; }
.fc-4 i { color: #a78bfa; }

@keyframes pf-card-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* ============================================================
   FILTER SECTION
   ============================================================ */
.pf-filter-section {
    background: var(--pf-navy);
    padding: 40px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    border-bottom: 1px solid rgba(124,58,237,0.2);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.pf-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pf-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: var(--pf-transition);
    white-space: nowrap;
}
.pf-filter-btn:hover {
    color: var(--pf-white);
    background: rgba(124,58,237,0.15);
    border-color: rgba(124,58,237,0.4);
    transform: translateY(-2px);
}
.pf-filter-btn.active {
    background: linear-gradient(135deg, var(--pf-purple), var(--pf-blue));
    color: var(--pf-white);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.pf-filter-btn i {
    font-size: 14px;
}

/* ============================================================
   PRODUCTS GRID SECTION
   ============================================================ */
.pf-products-section {
    background: linear-gradient(180deg, var(--pf-navy) 0%, #0d1424 100%);
    padding: 80px 0 100px;
}

.pf-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* ---- Product Card ---- */
.pf-product-card {
    position: relative;
    background: var(--pf-card-bg);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--pf-transition), box-shadow var(--pf-transition);
    opacity: 0;
    transform: translateY(28px);
}
.pf-product-card.pf-card-entered {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--pf-transition);
}
.pf-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(124,58,237,0.15);
}
.pf-product-card.pf-card-hidden {
    opacity: 0 !important;
    transform: scale(0.9) !important;
    pointer-events: none;
}
.pf-product-card.pf-card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card glow on hover */
.pf-card-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--pf-radius);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--pf-transition);
    background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(59,130,246,0.06));
}
.pf-product-card:hover .pf-card-glow { opacity: 1; }

/* Card Top */
.pf-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 0;
    gap: 12px;
}

/* Product Icon */
.pf-product-icon-wrap {
    position: relative;
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pf-product-icon {
    font-size: 28px;
    color: var(--pf-white);
    position: relative;
    z-index: 1;
}
.pf-icon-ring {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid;
    opacity: 0.3;
    animation: pf-ring-pulse 3s ease-in-out infinite;
}
@keyframes pf-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50%       { transform: scale(1.08); opacity: 0.6; }
}

/* Color variants */
.pf-color-blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.pf-color-blue   .pf-icon-ring { border-color: #3b82f6; }
.pf-color-gold   { background: linear-gradient(135deg, #b45309, #d97706); }
.pf-color-gold   .pf-icon-ring { border-color: #d97706; }
.pf-color-silver { background: linear-gradient(135deg, #475569, #64748b); }
.pf-color-silver .pf-icon-ring { border-color: #64748b; }
.pf-color-teal   { background: linear-gradient(135deg, #0f766e, #0d9488); }
.pf-color-teal   .pf-icon-ring { border-color: #0d9488; }
.pf-color-purple { background: linear-gradient(135deg, #6d28d9, #7c3aed); }
.pf-color-purple .pf-icon-ring { border-color: #7c3aed; }
.pf-color-orange { background: linear-gradient(135deg, #c2410c, #ea580c); }
.pf-color-orange .pf-icon-ring { border-color: #ea580c; }

/* Category Badges */
.pf-category-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge-blue   { background: #eff6ff; color: #1d4ed8; }
.badge-gold   { background: #fffbeb; color: #92400e; }
.badge-silver { background: #f8fafc; color: #334155; }
.badge-teal   { background: #f0fdfa; color: #0f766e; }
.badge-purple { background: #f5f3ff; color: #5b21b6; }
.badge-orange { background: #fff7ed; color: #9a3412; }

/* Card Body */
.pf-card-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pf-product-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--pf-card-text);
    margin: 0 0 4px;
    line-height: 1.2;
}

.pf-product-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--pf-card-muted);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pf-product-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

.pf-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pf-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pf-card-text);
    font-weight: 500;
}
.pf-features-list li i {
    font-size: 13px;
    color: #22c55e;
    flex-shrink: 0;
}

/* Card Footer */
.pf-card-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.pf-btn-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--pf-purple), var(--pf-blue));
    color: var(--pf-white);
    border: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pf-transition);
    text-decoration: none;
    white-space: nowrap;
}
.pf-btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124,58,237,0.4);
}
.pf-btn-details i { font-size: 12px; }

.pf-btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: transparent;
    color: var(--pf-purple);
    border: 1.5px solid var(--pf-purple);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pf-transition);
    text-decoration: none;
    white-space: nowrap;
}
.pf-btn-visit:hover {
    background: var(--pf-purple);
    color: var(--pf-white);
    transform: translateY(-2px);
}

/* No Results */
.pf-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 24px;
    color: var(--pf-text-muted);
    text-align: center;
}
.pf-no-results i { font-size: 48px; opacity: 0.5; }
.pf-no-results p { font-size: 16px; }

/* ============================================================
   WHY CHOOSE SECTION
   ============================================================ */
.pf-why-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
    overflow: hidden;
}
.pf-why-bg { position: absolute; inset: 0; pointer-events: none; }
.pf-why-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}
.pf-why-orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, #7c3aed, transparent); top: -100px; right: 10%; }
.pf-why-orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, #3b82f6, transparent); bottom: -60px; left: 5%; }

.pf-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.pf-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.4);
    color: var(--pf-purple-light);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.pf-section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--pf-white);
    margin-bottom: 16px;
    line-height: 1.2;
}
.pf-section-subtitle {
    font-size: 16px;
    color: var(--pf-text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.pf-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.pf-why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--pf-radius);
    padding: 32px 20px;
    text-align: center;
    transition: var(--pf-transition);
}
.pf-why-card:hover {
    background: rgba(124,58,237,0.1);
    border-color: rgba(124,58,237,0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(124,58,237,0.2);
}

.pf-why-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--pf-white);
}
.pf-wc-blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.pf-wc-purple { background: linear-gradient(135deg, #6d28d9, #7c3aed); }
.pf-wc-teal   { background: linear-gradient(135deg, #0f766e, #0d9488); }
.pf-wc-gold   { background: linear-gradient(135deg, #b45309, #d97706); }
.pf-wc-orange { background: linear-gradient(135deg, #c2410c, #ea580c); }

.pf-why-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--pf-white);
    margin-bottom: 10px;
}
.pf-why-card p {
    font-size: 13px;
    color: var(--pf-text-muted);
    line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.pf-cta-section {
    position: relative;
    padding: 80px 0;
    background: var(--pf-navy);
    overflow: hidden;
}
.pf-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.pf-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}
.pf-cta-orb-1 { width: 350px; height: 350px; background: radial-gradient(circle, #7c3aed, transparent); top: -80px; left: -60px; }
.pf-cta-orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, #0d9488, transparent); bottom: -60px; right: -40px; }

.pf-cta-box {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(59,130,246,0.08));
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: 24px;
    padding: 60px 48px;
    backdrop-filter: blur(16px);
}

.pf-cta-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--pf-purple), var(--pf-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--pf-white);
    margin: 0 auto 24px;
    box-shadow: 0 8px 32px rgba(124,58,237,0.4);
}

.pf-cta-title {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--pf-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.pf-cta-desc {
    font-size: 15px;
    color: var(--pf-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.pf-cta-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.pf-cta-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-text);
}
.pf-cta-feat i { color: #22c55e; font-size: 13px; }

.pf-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.pf-contact-strip {
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.1));
    border-top: 1px solid rgba(124,58,237,0.2);
    border-bottom: 1px solid rgba(124,58,237,0.2);
    padding: 28px 0;
}

.pf-contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pf-contact-company {
    font-size: 15px;
    font-weight: 700;
    color: var(--pf-white);
}

.pf-contact-strip-items {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.pf-contact-strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--pf-text-muted);
    text-decoration: none;
    transition: var(--pf-transition);
}
.pf-contact-strip-item i { color: var(--pf-purple-light); font-size: 15px; }
.pf-contact-strip-item:hover { color: var(--pf-white); }

/* ============================================================
   PRODUCT DETAIL MODALS
   ============================================================ */
.pf-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pf-modal.pf-modal-open {
    display: flex;
}

.pf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.pf-modal-panel {
    position: relative;
    background: var(--pf-white);
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: pf-modal-in 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes pf-modal-in {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.pf-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 10;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    border: none;
    color: var(--pf-card-text);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--pf-transition);
}
.pf-modal-close:hover { background: rgba(0,0,0,0.2); }

/* Modal Header color variants */
.pf-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 32px 24px;
    border-radius: 20px 20px 0 0;
}
.pf-mh-blue   { background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: white; }
.pf-mh-gold   { background: linear-gradient(135deg, #92400e, #d97706); color: white; }
.pf-mh-silver { background: linear-gradient(135deg, #334155, #64748b); color: white; }
.pf-mh-teal   { background: linear-gradient(135deg, #0f766e, #0d9488); color: white; }
.pf-mh-purple { background: linear-gradient(135deg, #5b21b6, #7c3aed); color: white; }
.pf-mh-orange { background: linear-gradient(135deg, #9a3412, #ea580c); color: white; }

.pf-modal-icon-wrap {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    flex-shrink: 0;
}

.pf-modal-category {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.pf-modal-title {
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.1;
}

/* Modal Body */
.pf-modal-body {
    padding: 28px 32px;
}

.pf-modal-overview {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.pf-modal-overview h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pf-card-text);
    margin-bottom: 12px;
}
.pf-modal-overview h3 i { color: var(--pf-purple); }
.pf-modal-overview p {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

.pf-modal-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.pf-modal-two-col h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pf-card-text);
    margin-bottom: 14px;
}
.pf-modal-two-col h3 i { color: var(--pf-purple); }

.pf-modal-features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pf-modal-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}
.pf-modal-features li i { color: #22c55e; font-size: 13px; flex-shrink: 0; }

.pf-modal-suited {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pf-modal-suited li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}
.pf-modal-suited li i { color: var(--pf-purple); font-size: 12px; flex-shrink: 0; }

/* Modal Footer */
.pf-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 32px 28px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    .pf-hero > .pf-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .pf-hero-desc { margin: 0 auto 36px; }
    .pf-hero-cta  { justify-content: center; }
    .pf-hero-visual { order: -1; }
    .pf-floating-cards { width: 280px; height: 280px; }
    .pf-hero-center-icon { width: 80px; height: 80px; font-size: 32px; }
    .pf-float-card { width: 76px; height: 76px; }
    .pf-float-card i { font-size: 20px; }

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

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .pf-hero { padding: 100px 0 60px; }

    .pf-filter-section { padding: 20px 0; top: 60px; }
    .pf-filter-bar { gap: 8px; }
    .pf-filter-btn { padding: 8px 14px; font-size: 12px; }
    .pf-filter-btn span { display: none; }
    .pf-filter-btn i   { font-size: 16px; }
    /* Show text for active */
    .pf-filter-btn.active span { display: inline; }

    .pf-products-section { padding: 48px 0 64px; }
    .pf-products-grid { grid-template-columns: 1fr; }

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

    .pf-cta-box { padding: 40px 24px; }
    .pf-cta-features { gap: 16px; }

    .pf-contact-strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .pf-contact-strip-items { flex-direction: column; gap: 12px; }

    .pf-modal-panel { max-height: 95vh; }
    .pf-modal-header { padding: 24px 20px 18px; gap: 14px; }
    .pf-modal-title { font-size: 20px; }
    .pf-modal-body { padding: 20px; }
    .pf-modal-two-col { grid-template-columns: 1fr; }
    .pf-modal-footer { padding: 16px 20px 24px; }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .pf-hero-title { font-size: 32px; }
    .pf-why-grid   { grid-template-columns: 1fr; }
    .pf-cta-buttons { flex-direction: column; align-items: center; }
    .pf-btn-primary,
    .pf-btn-outline,
    .pf-btn-whatsapp { width: 100%; justify-content: center; }
    .pf-filter-btn { padding: 8px 10px; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
.pf-modal-panel::-webkit-scrollbar { width: 6px; }
.pf-modal-panel::-webkit-scrollbar-track { background: #f8fafc; }
.pf-modal-panel::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .pf-filter-section,
    .whatsapp-float,
    .scroll-to-top { display: none !important; }
    .pf-product-card { opacity: 1 !important; transform: none !important; }
}
