/* ==========================================================================
   Products Page — Premium Redesign
   ========================================================================== */

.ph-hero,
.ph-products,
.ph-custom,
.ph-final {
    --ph-radius: 20px;
    --ph-radius-sm: 14px;
    --ph-radius-lg: 28px;
    --ph-ink: #0a0a14;
    --ph-ink-soft: #1a1a2e;
    --ph-line: rgba(255, 255, 255, 0.08);
    --ph-line-strong: rgba(255, 255, 255, 0.16);
    --ph-text-dim: rgba(255, 255, 255, 0.65);
    --ph-text-faint: rgba(255, 255, 255, 0.45);
}

.ph-hero *,
.ph-products *,
.ph-custom *,
.ph-final * {
    box-sizing: border-box;
}

/* Override global `.container a { margin-top: 20px; }` rule from base.css */
.ph-hero .container a,
.ph-products .container a,
.ph-custom .container a,
.ph-final .container a {
    margin-top: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.ph-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

.ph-btn i {
    font-size: 0.85em;
    transition: transform 0.25s ease;
}

.ph-btn--primary {
    background: linear-gradient(135deg, #9747ff 0%, #7117f2 60%, #1e1f63 100%);
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 12px 28px -10px rgba(113, 23, 242, 0.55);
}

.ph-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 18px 36px -12px rgba(113, 23, 242, 0.65);
}

.ph-btn--primary:hover i {
    transform: translateX(3px);
}

.ph-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.ph-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.ph-hero {
    position: relative;
    padding: 9rem 0 4rem;
    background: var(--ph-ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

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

.ph-hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 35% at 18% 22%, rgba(113, 23, 242, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 45% 30% at 82% 30%, rgba(30, 31, 99, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(151, 71, 255, 0.25) 0%, transparent 70%);
}

.ph-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
}

.ph-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: phFloat 18s ease-in-out infinite;
}

.ph-hero-orb--1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #ffc857 0%, transparent 70%);
    top: 10%;
    right: -80px;
    opacity: 0.18;
}

.ph-hero-orb--2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #9747ff 0%, transparent 70%);
    bottom: -120px;
    left: -100px;
    opacity: 0.32;
    animation-delay: -9s;
}

@keyframes phFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.ph-hero .container {
    position: relative;
    z-index: 1;
}

.ph-hero-content {
    max-width: 880px;
}

.ph-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ph-line-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
}

.ph-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: phPulse 2.4s ease-out infinite;
}

@keyframes phPulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.ph-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem;
    color: #fff;
}

.ph-hero-title em {
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(135deg, #ffc857 0%, #fff 60%, #9747ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ph-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    color: var(--ph-text-dim);
    max-width: 640px;
    margin: 0 0 2.5rem;
}

.ph-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--ph-line);
    border-bottom: 1px solid var(--ph-line);
    margin-bottom: 2.5rem;
}

.ph-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ph-stat-num {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ph-stat-label {
    font-size: 0.85rem;
    color: var(--ph-text-faint);
    letter-spacing: 0.02em;
}

.ph-stat-divider {
    width: 1px;
    height: 28px;
    background: var(--ph-line-strong);
}

.ph-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Products Section
   -------------------------------------------------------------------------- */
.ph-products {
    position: relative;
    padding: 4.5rem 0 7rem;
    background: #ffffff;
    z-index: 1;
}

.ph-products::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafd 100%);
    pointer-events: none;
    z-index: -1;
}

.ph-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.ph-toolbar-text {
    flex: 1 1 360px;
    min-width: 0;
}

.ph-section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ph-ink);
    margin: 0 0 0.5rem;
}

.ph-section-sub {
    font-size: 1.05rem;
    color: #5b5b73;
    line-height: 1.55;
    margin: 0;
    max-width: 520px;
}

.ph-filters {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid #e6e6ef;
    border-radius: 999px;
    box-shadow: 0 2px 8px -2px rgba(15, 15, 31, 0.05);
}

.ph-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.05rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #5b5b73;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.ph-filter i {
    font-size: 0.95em;
}

.ph-filter:hover:not(.is-active) {
    background: #f1f1f6;
    color: var(--ph-ink);
}

.ph-filter.is-active {
    background: var(--ph-ink);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(15, 15, 31, 0.4);
}

.ph-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 0.72rem;
    font-weight: 700;
}

.ph-filter.is-active .ph-filter-count {
    background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Bento Grid
   -------------------------------------------------------------------------- */
.ph-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Product Cards
   -------------------------------------------------------------------------- */
.ph-card {
    --card-grad-from: #6366f1;
    --card-grad-to: #4338ca;
    --card-glow: rgba(99, 102, 241, 0.4);

    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: var(--ph-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    isolation: isolate;
    min-height: 380px;
}

.ph-card[data-platform]:not(.ph-card--static) {
    cursor: pointer;
}

.ph-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 15, 31, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 24px 48px -16px rgba(15, 15, 31, 0.18);
}

.ph-card.is-hidden {
    display: none;
}

/* Featured (spans 2 cols) */
.ph-card--featured {
    grid-column: span 2;
    flex-direction: row;
    min-height: 420px;
}

.ph-card--featured .ph-card-visual {
    flex: 0 0 48%;
    min-height: 100%;
}

.ph-card--featured .ph-card-body {
    flex: 1;
    padding: 2.5rem 2.25rem;
    justify-content: center;
}

.ph-card--featured .ph-card-title {
    font-size: 1.85rem;
}

.ph-card--featured .ph-card-tagline {
    font-size: 1.05rem;
}

.ph-card--featured .ph-card-desc {
    font-size: 1rem;
    max-width: 460px;
}

/* Card Visual (gradient header area) */
.ph-card-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-grad-from) 0%, var(--card-grad-to) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.ph-visual-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    top: -40px;
    right: -40px;
    filter: blur(40px);
    pointer-events: none;
    transition: transform 0.6s ease;
}

.ph-card:hover .ph-visual-glow {
    transform: translate(-30px, 30px) scale(1.2);
}

.ph-visual-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(135deg, #000 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 80%);
    pointer-events: none;
}

.ph-visual-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 12px 28px -10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.ph-visual-icon i {
    font-size: 2.4rem;
}

.ph-card:hover .ph-visual-icon {
    transform: translateY(-4px) rotate(-3deg) scale(1.05);
}

.ph-visual-logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 16px 32px -12px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
}

.ph-visual-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ph-visual-logo--svg {
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.ph-visual-logo--svg img {
    object-fit: contain;
}

.ph-card:hover .ph-visual-logo {
    transform: translateY(-4px) rotate(-2deg) scale(1.04);
}

/* Featured visual chips */
.ph-visual-chips {
    position: absolute;
    inset: auto 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 1;
}

.ph-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.ph-chip i {
    font-size: 0.78em;
    opacity: 0.9;
}

.ph-card--featured .ph-visual-icon {
    margin-bottom: 4rem;
}

.ph-card--featured .ph-card-visual {
    align-items: flex-start;
    padding-top: 3rem;
}

/* Card Body */
.ph-card-body {
    flex: 1;
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.ph-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.ph-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ph-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ph-status--live {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.ph-status--live .ph-status-dot {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.ph-status--beta {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

.ph-status--beta .ph-status-dot {
    background: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.ph-status--private {
    background: rgba(124, 58, 237, 0.1);
    color: #6d28d9;
}

.ph-status--private .ph-status-dot {
    background: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.ph-status--soon {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
}

.ph-status--soon .ph-status-dot {
    background: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
}

.ph-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #5b5b73;
    font-weight: 500;
}

.ph-platform i {
    font-size: 0.95em;
}

.ph-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ph-tag--featured {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.ph-tag--new {
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
    color: #5b21b6;
}

.ph-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ph-ink);
    margin: 0 0 0.3rem;
}

.ph-card-tagline {
    font-size: 0.92rem;
    font-weight: 500;
    color: #2d2d44;
    margin: 0 0 0.85rem;
}

.ph-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #5b5b73;
    margin: 0 0 1.5rem;
    flex: 1;
}

.ph-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ph-ink);
    transition: gap 0.3s ease;
    margin-top: auto;
}

.ph-card-cta i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.ph-card:hover .ph-card-cta {
    gap: 0.7rem;
}

.ph-card:hover .ph-card-cta i {
    transform: translateX(3px);
}

.ph-card-cta--muted {
    color: #94949f;
    font-weight: 500;
}

/* Theme color tokens — applied via data-theme */
.ph-card[data-theme="pm"] {
    --card-grad-from: #d0a764;
    --card-grad-to: #8a6c2f;
    --card-glow: rgba(208, 167, 100, 0.5);
}

.ph-card[data-theme="hifz"] {
    --card-grad-from: #10b981;
    --card-grad-to: #047857;
    --card-glow: rgba(16, 185, 129, 0.45);
}

.ph-card[data-theme="athan"] {
    --card-grad-from: #2d9f94;
    --card-grad-to: #134e48;
    --card-glow: rgba(45, 159, 148, 0.45);
}

.ph-card[data-theme="family-eats"] {
    --card-grad-from: #4a8a4d;
    --card-grad-to: #1f4a22;
    --card-glow: rgba(74, 138, 77, 0.4);
}

.ph-card[data-theme="budget"] {
    --card-grad-from: #3b82f6;
    --card-grad-to: #1e3a8a;
    --card-glow: rgba(59, 130, 246, 0.45);
}

.ph-card[data-theme="tasks"] {
    --card-grad-from: #475569;
    --card-grad-to: #0f172a;
    --card-glow: rgba(71, 85, 105, 0.4);
}

.ph-card[data-theme="trips"] {
    --card-grad-from: #6366f1;
    --card-grad-to: #3730a3;
    --card-glow: rgba(99, 102, 241, 0.45);
}

.ph-card[data-theme="audio"] {
    --card-grad-from: #9747ff;
    --card-grad-to: #4c1d95;
    --card-glow: rgba(151, 71, 255, 0.45);
}

.ph-card--static {
    cursor: default;
}

.ph-card--static:hover {
    transform: none;
    border-color: #e8e8f0;
    box-shadow: 0 1px 2px rgba(15, 15, 31, 0.04);
}

.ph-card--static:hover .ph-visual-icon,
.ph-card--static:hover .ph-visual-glow {
    transform: none;
}

/* Empty state */
.ph-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #5b5b73;
}

.ph-empty i {
    font-size: 2rem;
    color: #94949f;
    margin-bottom: 1rem;
    display: block;
}

.ph-empty p {
    font-size: 1rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Custom Solutions Section
   -------------------------------------------------------------------------- */
.ph-custom {
    padding: 5rem 0;
    background: #f7f7fb;
}

.ph-custom-card {
    position: relative;
    border-radius: var(--ph-radius-lg);
    overflow: hidden;
    background: var(--ph-ink);
    color: #fff;
    isolation: isolate;
}

.ph-custom-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 20%, rgba(113, 23, 242, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 80%, rgba(255, 200, 87, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(151, 71, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ph-custom-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.ph-custom-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    padding: 4.5rem 4rem;
    align-items: center;
}

.ph-custom-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ph-line-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.ph-custom-eyebrow i {
    color: #ffc857;
}

.ph-custom-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 1.25rem;
}

.ph-custom-title em {
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(135deg, #ffc857 0%, #fff 50%, #9747ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ph-custom-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ph-text-dim);
    margin: 0 0 2rem;
    max-width: 480px;
}

.ph-custom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.ph-custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ph-custom-tile {
    padding: 1.5rem;
    border-radius: var(--ph-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ph-line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ph-custom-tile:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--ph-line-strong);
    transform: translateY(-3px);
}

.ph-custom-tile i {
    font-size: 1.4rem;
    color: #ffc857;
    margin-bottom: 0.85rem;
    display: block;
}

.ph-custom-tile h4 {
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.ph-custom-tile p {
    font-size: 0.82rem;
    color: var(--ph-text-faint);
    margin: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.ph-final {
    padding: 6rem 0 7rem;
    background: #f7f7fb;
    text-align: center;
}

.ph-final-content {
    max-width: 560px;
    margin: 0 auto;
}

.ph-final-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ph-ink);
    margin: 0 0 0.75rem;
}

.ph-final-sub {
    font-size: 1.1rem;
    color: #5b5b73;
    margin: 0 0 2rem;
}

/* --------------------------------------------------------------------------
   Reveal animation (set up by JS)
   -------------------------------------------------------------------------- */
.ph-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ph-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .ph-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ph-card--featured {
        grid-column: span 2;
        flex-direction: column;
        min-height: auto;
    }

    .ph-card--featured .ph-card-visual {
        flex: 0 0 220px;
        height: 220px;
    }

    .ph-card--featured .ph-card-body {
        padding: 1.75rem;
    }

    .ph-custom-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3.5rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .ph-hero {
        padding: 7rem 0 4rem;
    }

    .ph-hero-stats {
        gap: 1.25rem 1.5rem;
        padding: 1.25rem 0;
    }

    .ph-stat-num {
        font-size: 1.6rem;
    }

    .ph-stat-divider {
        display: none;
    }

    .ph-products {
        padding: 4rem 0 5rem;
    }

    .ph-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .ph-filters {
        align-self: flex-start;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ph-filters::-webkit-scrollbar {
        display: none;
    }

    .ph-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ph-card,
    .ph-card--featured {
        grid-column: span 1;
        min-height: auto;
    }

    .ph-card-visual {
        height: 180px;
    }

    .ph-visual-icon {
        width: 76px;
        height: 76px;
    }

    .ph-visual-icon i {
        font-size: 2rem;
    }

    .ph-visual-logo {
        width: 84px;
        height: 84px;
    }

    .ph-card--featured .ph-card-title {
        font-size: 1.45rem;
    }

    .ph-custom {
        padding: 3.5rem 0;
    }

    .ph-custom-inner {
        padding: 2.5rem 1.75rem;
        gap: 2.5rem;
    }

    .ph-custom-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .ph-custom-tile {
        padding: 1.1rem;
    }

    .ph-final {
        padding: 4rem 0 5rem;
    }
}

@media (max-width: 480px) {
    .ph-hero {
        padding: 6rem 0 3.5rem;
    }

    .ph-hero-eyebrow {
        font-size: 0.72rem;
    }

    .ph-hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ph-stat {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .ph-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ph-hero-actions .ph-btn {
        justify-content: center;
    }

    .ph-card-body {
        padding: 1.25rem;
    }

    .ph-custom-grid {
        grid-template-columns: 1fr;
    }

    .ph-custom-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ph-custom-actions .ph-btn {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .ph-hero-orb,
    .ph-pulse {
        animation: none;
    }

    .ph-card,
    .ph-card-cta,
    .ph-card-cta i,
    .ph-visual-icon,
    .ph-visual-logo,
    .ph-visual-glow,
    .ph-btn,
    .ph-btn i,
    .ph-reveal {
        transition: none;
    }
}
