/* ============================================================================
 * TraPay — /add-money-to-paypal-account custom layout
 * Sibling of buy-utopia.css / pay-cards.css. PayPal blue palette.
 * Charging (adding USD balance) a PayPal account for Iranian users.
 * ============================================================================ */

:root {
    --pp-blue: #003087;      /* PayPal dark blue */
    --pp-blue-2: #0070ba;    /* PayPal light blue */
    --pp-cyan: #009cde;
    --pp-bg-1: #04154a;
    --pp-bg-2: #0f172a;
}

/* HERO */
.pp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pp-bg-1) 0%, var(--pp-bg-2) 100%);
    color: #f8fafc;
    padding: 5rem 1.5rem 6rem;
    isolation: isolate;
}
.pp-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pp-hero__glow { position: absolute; width: 40rem; height: 40rem; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.pp-hero__glow--blue { background: var(--pp-blue-2); top: -10rem; right: -10rem; }
.pp-hero__glow--cyan { background: var(--pp-cyan); bottom: -15rem; left: -10rem; opacity: 0.4; }
.pp-hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255,255,255,0.08); }

.pp-hero__inner { position: relative; max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 900px) { .pp-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 5rem; } }
.pp-hero__inner > * { min-width: 0; }
.pp-hero__copy { max-width: 36rem; min-width: 0; }
.pp-title, .pp-lead { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.pp-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: rgba(0, 112, 186, 0.18);
    color: #7cc4ec;
    border: 1px solid rgba(0, 112, 186, 0.4);
    border-radius: 999px;
    font-size: 0.8125rem; font-weight: 600;
}
.pp-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pp-cyan); box-shadow: 0 0 12px var(--pp-cyan); animation: pp-pulse 2s ease-in-out infinite; }
@keyframes pp-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.pp-title {
    margin: 1.5rem 0 0;
    font-family: 'Estedad','Vazirmatn',sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.pp-title__accent {
    background: linear-gradient(120deg, #7cc4ec 0%, var(--pp-cyan) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.pp-lead { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.95; color: rgba(248, 250, 252, 0.75); max-width: 32rem; }

/* HERO — honest PayPal brand visual (logo + feature chips, NO fake balance) */
.pp-brand {
    position: relative;
    max-width: 24rem; margin-inline: auto;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1.75rem;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
    padding: 2.75rem 2rem;
    text-align: center;
}
.pp-brand__logo {
    width: 88px; height: 88px; margin: 0 auto 1.25rem;
    background: #fff; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 18px 40px -14px rgba(0,0,0,0.5);
}
.pp-brand__logo img { width: 52px; height: 52px; }
.pp-brand__word { font-family: system-ui, sans-serif; font-weight: 800; font-size: 1.7rem; color: #fff; letter-spacing: -0.01em; }
.pp-brand__tag { margin: 0.75rem 0 0; font-size: 0.95rem; color: rgba(248,250,252,0.7); line-height: 1.8; }

/* CTA under hero */
.pp-hero__cta {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    margin-top: 1.5rem; padding: 1rem 1.5rem;
    background: linear-gradient(120deg, var(--pp-blue) 0%, var(--pp-blue-2) 100%);
    color: white; border-radius: 0.875rem;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    box-shadow: 0 12px 32px -8px rgba(0,48,135,0.6);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pp-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -8px rgba(0,48,135,0.7); }
.pp-hero__cta svg { width: 18px; height: 18px; }

/* SHARED H2 */
.pp-h2 {
    font-family: 'Estedad','Vazirmatn',sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    line-height: 1.4;
    color: var(--ink, #111827);
    margin: 0 0 1.5rem;
}
.dark .pp-h2 { color: #f8fafc; }

/* WHY */
.pp-why { max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem; }
.pp-why__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 700px) { .pp-why__grid { grid-template-columns: repeat(3, 1fr); } }
.pp-why__card { padding: 2rem; background: white; border: 1px solid #e2e8f0; border-radius: 1.25rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.dark .pp-why__card { background: #1f2937; border-color: #374151; }
.pp-why__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(0,0,0,0.15); }
.pp-why__icon { width: 48px; height: 48px; border-radius: 0.875rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.pp-why__icon svg { width: 24px; height: 24px; }
.pp-why__icon--blue { background: color-mix(in srgb, var(--pp-blue-2) 12%, white); color: var(--pp-blue-2); }
.pp-why__icon--cyan { background: color-mix(in srgb, var(--pp-cyan) 14%, white); color: #0284c7; }
.pp-why__icon--brand { background: color-mix(in srgb, var(--brand, #0d3e7e) 10%, white); color: var(--brand, #0d3e7e); }
.pp-why__card h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; font-weight: 700; color: var(--ink, #111827); }
.dark .pp-why__card h3 { color: #f8fafc; }
.pp-why__card p { margin: 0; font-size: 0.9375rem; line-height: 1.85; color: var(--muted, #6b7280); }

/* FLOW */
.pp-flow { max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem; background: var(--brand-50, #eef4fc); }
.dark .pp-flow { background: #0b1220; }
.pp-flow__steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 700px) { .pp-flow__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pp-flow__steps { grid-template-columns: repeat(4, 1fr); } }
.pp-flow__steps li { position: relative; padding: 2.5rem 1.5rem 1.75rem; background: white; border: 1px solid #e2e8f0; border-radius: 1.25rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.dark .pp-flow__steps li { background: #1f2937; border-color: #374151; }
.pp-flow__steps li:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(0,48,135,0.25); border-color: var(--pp-blue-2); }
.pp-flow__steps li span { position: absolute; top: -1rem; right: 1.5rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--pp-blue-2); color: white; font-family: 'Estedad','Vazirmatn',sans-serif; font-weight: 800; font-size: 0.95rem; border-radius: 50%; box-shadow: 0 6px 18px -4px rgba(0,112,186,0.45); }
.pp-flow__steps li h3 { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.0625rem; color: var(--ink, #111827); }
.dark .pp-flow__steps li h3 { color: #f8fafc; }
.pp-flow__steps li p { margin: 0; font-size: 0.9375rem; line-height: 1.75; color: var(--muted, #6b7280); }

/* ACCOUNT TYPES (personal / business) */
.pp-types { max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem; }
.pp-types__sub { color: var(--muted, #6b7280); margin: -1rem 0 2rem; font-size: 0.9375rem; }
.pp-types__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 800px) { .pp-types__grid { grid-template-columns: repeat(2, 1fr); } }
.pp-type { background: white; border: 1px solid #e2e8f0; border-radius: 1.25rem; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.dark .pp-type { background: #1f2937; border-color: #374151; }
.pp-type:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -16px rgba(0,0,0,0.15); }
.pp-type--pick { border-color: var(--pp-blue-2); box-shadow: 0 0 0 4px rgba(0, 112, 186, 0.08); }
.pp-type__head { display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; padding: 1.25rem 1.5rem; background: color-mix(in srgb, var(--pp-blue-2) 8%, white); border-bottom: 1px solid color-mix(in srgb, var(--pp-blue-2) 15%, transparent); }
.dark .pp-type__head { background: color-mix(in srgb, var(--pp-blue-2) 18%, #1f2937); }
.pp-type__icon { width: 40px; height: 40px; background: var(--pp-blue-2); color: white; border-radius: 0.6rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px -6px rgba(0,112,186,0.6); }
.pp-type__icon svg { width: 22px; height: 22px; }
.pp-type__head strong { font-size: 1rem; font-weight: 800; color: var(--ink, #111827); }
.dark .pp-type__head strong { color: #f8fafc; }
.pp-type__head small { display: block; font-size: 0.8125rem; color: var(--muted, #6b7280); margin-top: 2px; }
.pp-type__star { font-size: 0.72rem; font-weight: 700; color: white; background: var(--pp-blue-2); padding: 0.3rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.pp-type__body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pp-type__body ul { margin: 0 0 1.25rem; padding: 0; list-style: none; display: grid; gap: 0.6rem; flex: 1; }
.pp-type__body li { position: relative; padding-inline-start: 1.6rem; font-size: 0.9375rem; line-height: 1.8; color: var(--ink, #111827); }
.dark .pp-type__body li { color: #e5e7eb; }
.pp-type__body li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--pp-blue-2); font-weight: 800; }
.pp-type__cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.85rem 1.25rem; border-radius: 0.75rem; margin-top: auto; background: linear-gradient(120deg, var(--pp-blue) 0%, var(--pp-blue-2) 100%); color: white; font-weight: 700; font-size: 0.9375rem; text-decoration: none; box-shadow: 0 10px 26px -10px rgba(0,48,135,0.6); transition: transform 0.15s, box-shadow 0.15s; }
.pp-type__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0,48,135,0.75); }
.pp-type__cta svg { width: 16px; height: 16px; }

/* USE CASES */
.pp-uses { max-width: 72rem; margin: 0 auto; padding: 4rem 1.5rem; }
.pp-uses__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
@media (min-width: 700px) { .pp-uses__grid { grid-template-columns: repeat(2, 1fr); } }
.pp-use { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; background: white; border: 1px solid #e2e8f0; border-radius: 1rem; }
.dark .pp-use { background: #1f2937; border-color: #374151; }
.pp-use__ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--pp-cyan) 14%, white); color: #0284c7; }
.pp-use__ic svg { width: 22px; height: 22px; }
.pp-use h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; color: var(--ink, #111827); }
.dark .pp-use h3 { color: #f8fafc; }
.pp-use p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--muted, #6b7280); }

/* FAQ */
.pp-faq { max-width: 60rem; margin: 0 auto; padding: 4rem 1.5rem; }
.pp-faq details { background: white; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; transition: border-color 0.2s, background 0.2s; }
.dark .pp-faq details { background: #1f2937; border-color: #374151; }
.pp-faq details[open] { border-color: var(--pp-blue-2); background: color-mix(in srgb, var(--pp-blue-2) 3%, white); }
.dark .pp-faq details[open] { background: color-mix(in srgb, var(--pp-blue-2) 12%, #1f2937); }
.pp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1rem; color: var(--ink, #111827); }
.dark .pp-faq summary { color: #f8fafc; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq__chev { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 300; background: color-mix(in srgb, var(--pp-blue-2) 12%, white); color: var(--pp-blue-2); border-radius: 50%; transition: transform 0.25s, background 0.25s; }
.pp-faq details[open] .pp-faq__chev { transform: rotate(45deg); background: var(--pp-blue-2); color: white; }
.pp-faq p { margin: 1rem 0 0; color: var(--muted, #6b7280); line-height: 2; font-size: 0.9375rem; }
.pp-faq p a { color: var(--brand, #0d3e7e); font-weight: 600; text-decoration: none; }

/* ARTICLE */
.pp-article { max-width: 60rem; margin: 0 auto; padding: 4rem 1.5rem; }
.pp-article__inner h3 { font-family: 'Estedad','Vazirmatn',sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.5; color: var(--ink, #111827); margin: 2.5rem 0 1rem; }
.dark .pp-article__inner h3 { color: #f8fafc; }
.pp-article__inner p { margin: 0 0 1rem; font-size: 1rem; line-height: 2; color: var(--ink, #111827); }
.dark .pp-article__inner p { color: #e5e7eb; }
.pp-article__inner ul { margin: 0 0 1.5rem; padding-inline-start: 1.5rem; list-style: disc; }
.pp-article__inner li { margin: 0.5rem 0; font-size: 1rem; line-height: 1.95; color: var(--ink, #111827); }
.dark .pp-article__inner li { color: #e5e7eb; }
.pp-article__inner li strong { color: var(--pp-blue-2); }
.pp-article__inner a { color: var(--brand, #0d3e7e); font-weight: 600; text-decoration: none; }

/* RELATED */
.pp-related { max-width: 72rem; margin: 0 auto; padding: 3rem 1.5rem 1rem; }
.pp-related__grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
@media (min-width: 700px) { .pp-related__grid { grid-template-columns: repeat(2, 1fr); } }
.pp-related__grid a { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.25rem; border: 1px solid #e2e8f0; border-radius: 0.875rem; background: white; color: var(--ink, #111827); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.dark .pp-related__grid a { background: #1f2937; border-color: #374151; color: #f8fafc; }
.pp-related__grid a::before { content: "←"; color: var(--pp-blue-2); font-weight: 800; }
.pp-related__grid a:hover { border-color: var(--pp-blue-2); transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(0,112,186,0.4); }

/* FINAL CTA */
.pp-cta-end { padding: 4rem 1.5rem 6rem; }
.pp-cta-end__inner { max-width: 60rem; margin: 0 auto; background: linear-gradient(135deg, var(--pp-blue) 0%, var(--pp-blue-2) 100%); border-radius: 1.75rem; padding: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; color: white; box-shadow: 0 30px 70px -20px rgba(0,48,135,0.5); }
@media (min-width: 700px) { .pp-cta-end__inner { grid-template-columns: auto 1fr auto; padding: 2rem 3rem; gap: 2rem; } }
.pp-cta-end__ic { width: 64px; height: 64px; background: white; border-radius: 1rem; padding: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,0.3); }
.pp-cta-end__ic img { width: 100%; height: 100%; object-fit: contain; }
.pp-cta-end__inner h2 { margin: 0; font-family: 'Estedad','Vazirmatn',sans-serif; font-weight: 800; font-size: 1.5rem; }
.pp-cta-end__inner p { margin: 0.35rem 0 0; color: rgba(255,255,255,0.85); font-size: 0.9375rem; }
.pp-cta-end__inner > a { display: inline-flex; align-items: center; gap: 0.5rem; background: white; color: var(--pp-blue); padding: 0.85rem 1.5rem; border-radius: 0.875rem; font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s; }
.pp-cta-end__inner > a:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(0,0,0,0.3); }
.pp-cta-end__inner > a svg { width: 16px; height: 16px; }

/* ============================================================================
 * VERIFY additions (for /paypal-account-verification). Reuses the pp- base above
 * (hero, why, uses, types, flow, faq, article, related, cta-end). Only a hero
 * price line + a "what we need" security note are unique to the verify page.
 * ============================================================================ */

/* Hero price line — verify is a FIXED-price service, so a real number is honest. */
.pp-hero__price { margin: 1.25rem 0 0; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.pp-hero__price-label { font-size: 0.8125rem; color: rgba(248,250,252,0.6); }
.pp-hero__price strong { font-family: 'Estedad','Vazirmatn',sans-serif; font-size: 1.6rem; font-weight: 800; color: #fff; }
.pp-hero__price strong small { font-size: 0.8rem; font-weight: 600; color: var(--pp-cyan); }

/* "What we need" security note — verify needs the account email + password, so be
   upfront and reassuring about it (mirrors the live page's honesty). */
.pp-note { max-width: 60rem; margin: 0 auto; padding: 4rem 1.5rem; }
.pp-note__box {
    display: flex; gap: 1rem; align-items: flex-start;
    background: color-mix(in srgb, var(--pp-blue) 6%, white);
    border: 1px solid color-mix(in srgb, var(--pp-blue) 18%, transparent);
    border-radius: 1.25rem; padding: 1.5rem 1.75rem;
}
.dark .pp-note__box { background: color-mix(in srgb, var(--pp-blue) 22%, #1f2937); border-color: #374151; }
.pp-note__ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 0.75rem; background: color-mix(in srgb, var(--pp-blue) 12%, white); color: var(--pp-blue); display: flex; align-items: center; justify-content: center; }
.dark .pp-note__ic { background: color-mix(in srgb, var(--pp-blue) 30%, #1f2937); color: var(--pp-cyan); }
.pp-note__ic svg { width: 22px; height: 22px; }
.pp-note__box h3 { margin: 0 0 0.35rem; font-size: 1.0625rem; font-weight: 700; color: var(--ink, #111827); }
.dark .pp-note__box h3 { color: #f8fafc; }
.pp-note__box p { margin: 0; font-size: 0.9375rem; line-height: 1.9; color: var(--muted, #6b7280); }

[dir="rtl"] .rtl-flip { transform: scaleX(-1); }
