/**
 * Homepage Styles
 * File: /wp-content/themes/picks-curated-theme/src/homepage.css
 */

/* ============================================
   BASE RESET & MOBILE FIX
   ============================================ */
.pc-homepage,
.pc-homepage * {
    box-sizing: border-box;
}

.pc-homepage {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.pc-hero {
    overflow: hidden;
}

.pc-hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

/* ============================================
   HERO EMAIL CAPTURE (Above Fold)
   ============================================ */
.pc-hero-email {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding-top: 0.5rem;
}

.pc-hero-email-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-hero-email-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
    color: #0f172a;
    outline: none;
}

.pc-hero-email-form input[type="email"]::placeholder {
    color: #9ca3af;
}

.pc-hero-email-form button {
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.pc-hero-email-form button:hover {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.pc-hero-email-form button .btn-loading {
    display: none;
}

.pc-hero-email-form button.loading .btn-text {
    display: none;
}

.pc-hero-email-form button.loading .btn-loading {
    display: inline-block;
}

.pc-hero-email-note {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.pc-hero-email-note span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pc-hero-email-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
}

.pc-hero-email-success svg {
    color: #10b981;
}

/* Identity Line */
.pc-hero-identity {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Browse link under email */
.pc-hero-browse {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
}

.pc-hero-browse a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pc-hero-browse a:hover {
    color: white;
}

/* ============================================
   EMAIL CAPTURE SECTION (After How It Works)
   ============================================ */
.pc-email-capture-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.pc-email-capture-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.pc-email-capture-box h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.pc-email-capture-box > p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem;
}

.pc-email-capture-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-email-capture-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
}

.pc-email-capture-form button {
    padding: 1rem 1.5rem;
    background: #10b981;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    white-space: nowrap;
}

.pc-email-capture-form button:hover {
    background: #059669;
}

.pc-email-capture-benefits {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

/* ============================================
   DEALS SECTION - Member Badge
   ============================================ */
.pc-deals-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-left: 1rem;
}

/* ============================================
   DEALS GRID - Equal Height Cards
   ============================================ */
.pc-deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pc-deal-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
}

.pc-deal-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.pc-deal-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8fafc;
}

.pc-deal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pc-deal-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.pc-deal-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    min-height: 2.625rem; /* ~2 lines */
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.pc-deal-title:hover {
    color: #2563eb;
}

.pc-deal-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pc-deal-rating .stars {
    color: #fbbf24;
    font-size: 0.75rem;
}

.pc-deal-rating .rating-value {
    font-size: 0.75rem;
    color: #6b7280;
}

.pc-deal-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.pc-deal-price .current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.pc-deal-price .original-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.pc-deal-savings {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pc-deal-btn {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    background: #2563eb;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s;
}

.pc-deal-btn:hover {
    background: #1d4ed8;
}

.pc-deal-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

@media (max-width: 1024px) {
    .pc-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pc-deals-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   VARIABLES & BASE
   ============================================ */
.pc-homepage {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #dc2626;
    --color-dark: #0f172a;
    --color-gray: #64748b;
    --color-light: #f8fafc;
}

.pc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.pc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.pc-btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.pc-btn-primary:hover {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
    color: white;
}

.pc-btn-secondary {
    background: white;
    color: var(--color-dark);
    border: 2px solid #e5e7eb;
}

.pc-btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pc-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.pc-btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.pc-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pc-section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: 0 0 0.75rem;
}

.pc-section-header p {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin: 0;
}

.pc-section-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.pc-hero {
    position: relative;
    padding: 6rem 1.5rem 0;
    overflow: hidden;
}

.pc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.pc-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #312e81 100%);
}

.pc-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding-bottom: 5rem;
}

.pc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pc-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1.5rem;
    line-height: 1.1;
}

.pc-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.pc-hero-subtitle strong {
    color: #fbbf24;
}

.pc-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.pc-hero-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   STATS BAR
   ============================================ */
.pc-stats-bar {
    background: white;
    margin: 0 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(50%);
    position: relative;
    z-index: 10;
}

.pc-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.pc-stat {
    text-align: center;
    padding: 2rem 1rem;
}

.pc-stat:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}

.pc-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
}

.pc-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 0.25rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.pc-how-it-works {
    padding: 8rem 0 5rem;
    background: var(--color-light);
}

.pc-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pc-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 1.5rem;
}

.pc-step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pc-step-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

.pc-step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 0.5rem;
}

.pc-step p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.5;
}

.pc-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 2rem;
    color: #d1d5db;
}

.pc-step-arrow svg {
    width: 32px;
    height: 32px;
}

.pc-section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   DEALS SECTION
   ============================================ */
.pc-deals-section {
    padding: 5rem 0;
}

.pc-deals-section .pc-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 2rem;
}

.pc-section-header-left h2 {
    margin: 0;
}

.pc-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.pc-section-link:hover {
    text-decoration: underline;
}

.pc-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pc-deal-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    position: relative;
}

.pc-deal-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pc-deal-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-danger);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    z-index: 5;
}

.pc-deal-image {
    display: block;
    aspect-ratio: 1;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pc-deal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pc-deal-content {
    padding: 1.25rem;
}

.pc-deal-title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.pc-deal-title:hover {
    color: var(--color-primary);
}

.pc-deal-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.pc-deal-rating .stars {
    color: #fbbf24;
    font-size: 0.875rem;
}

.pc-deal-rating .rating-value {
    color: var(--color-gray);
    font-size: 0.8125rem;
}

.pc-deal-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pc-deal-price .current-price {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--color-dark);
}

.pc-deal-price .original-price {
    font-size: 0.9375rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.pc-deal-savings {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.pc-deal-btn {
    display: block;
    text-align: center;
    background: var(--color-primary);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s;
}

.pc-deal-btn:hover {
    background: var(--color-primary-dark);
    color: white;
}

/* ============================================
   FEATURES
   ============================================ */
.pc-features {
    padding: 5rem 0;
    background: var(--color-light);
}

.pc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.pc-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.pc-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.pc-feature-icon svg {
    width: 28px;
    height: 28px;
}

.pc-feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 0.5rem;
}

.pc-feature-card p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.pc-feature-compare {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8125rem;
}

.pc-feature-compare .free {
    color: var(--color-gray);
}

.pc-feature-compare .pro {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   COMPARISON
   ============================================ */
.pc-comparison {
    padding: 5rem 0;
}

.pc-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pc-comparison-card {
    padding: 2rem;
    border-radius: 1rem;
}

.pc-comparison-card.without {
    background: #fef2f2;
    border: 2px solid #fecaca;
}

.pc-comparison-card.with {
    background: #f0fdf4;
    border: 2px solid #86efac;
}

.pc-comparison-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pc-comparison-icon {
    font-size: 1.5rem;
}

.pc-comparison-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.pc-comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-comparison-card li {
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: #374151;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pc-comparison-card li:last-child {
    border-bottom: none;
}

.pc-savings-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 1rem;
    color: white;
    flex-wrap: wrap;
    text-align: center;
}

.pc-savings-number {
    display: flex;
    align-items: baseline;
}

.pc-savings-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fbbf24;
}

.pc-savings-period {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.pc-savings-text {
    text-align: left;
}

.pc-savings-text strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.pc-savings-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================
   PRODUCT MATCHER CTA
   ============================================ */
.pc-matcher-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.pc-matcher-cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pc-matcher-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.pc-matcher-cta-icon svg {
    width: 40px;
    height: 40px;
    color: #7c3aed;
}

.pc-matcher-cta-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: 0 0 0.75rem;
}

.pc-matcher-cta-text p {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin: 0 0 2rem;
}

.pc-matcher-cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.pc-testimonials {
    padding: 5rem 0;
}

.pc-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pc-testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.pc-testimonial-stars {
    color: #fbbf24;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.pc-testimonial-text {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.pc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pc-testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.pc-testimonial-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-dark);
}

.pc-testimonial-info span {
    font-size: 0.8125rem;
    color: var(--color-gray);
}

/* ============================================
   EMAIL SECTION
   ============================================ */
.pc-email-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.pc-email-box {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    color: white;
}

.pc-email-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.pc-email-content > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem;
}

.pc-email-form .pc-email-input-group {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.pc-email-form input {
    flex: 1;
    border: none;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: var(--color-dark);
}

.pc-email-form button {
    padding: 0.875rem 1.5rem;
    background: var(--color-success);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    white-space: nowrap;
}

.pc-email-form button:hover {
    background: #059669;
}

.pc-email-benefits {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

/* ============================================
   CATEGORIES
   ============================================ */
.pc-categories {
    padding: 5rem 0;
}

.pc-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.pc-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.pc-category-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.pc-category-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.pc-category-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.pc-category-count {
    font-size: 0.8125rem;
    color: var(--color-gray);
}

/* ============================================
   FINAL CTA
   ============================================ */
.pc-final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pc-final-cta-content {
    text-align: center;
    color: white;
}

.pc-final-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.pc-final-cta-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem;
}

.pc-final-cta .pc-btn-primary {
    background: white;
    color: #059669;
}

.pc-final-cta .pc-btn-primary:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.pc-final-cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   GLOBAL OVERFLOW FIX
   ============================================ */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.pc-homepage {
    overflow-x: hidden;
    width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .pc-hero {
        padding: 1.5rem 1rem 0;
        overflow: hidden;
    }
    
    .pc-hero-content {
        max-width: 100%;
        padding: 0;
    }
    
    .pc-hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .pc-hero-subtitle {
        font-size: 0.875rem;
        padding: 0 0.5rem;
    }
    
    .pc-hero-badge {
        font-size: 0.6875rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Hero Email Form - Mobile */
    .pc-hero-email {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .pc-hero-email-form {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.5rem;
        margin: 0 0.5rem;
    }
    
    .pc-hero-email-form input[type="email"] {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .pc-hero-email-form button {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .pc-hero-email-note {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 0;
        text-align: center;
    }
    
    .pc-hero-email-note span {
        font-size: 0.75rem;
    }
    
    .pc-hero-browse {
        font-size: 0.8125rem;
    }
    
    .pc-hero-identity {
        font-size: 0.8125rem;
        margin-top: 1.25rem;
        padding-top: 0.875rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .pc-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .pc-hero-cta .pc-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .pc-hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Stats Bar - Mobile */
    .pc-stats-bar {
        margin-top: 1.5rem;
    }
    
    .pc-stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    
    .pc-stat {
        padding: 0.75rem 0.5rem;
    }
    
    .pc-stat:not(:last-child) {
        border-right: 1px solid #e5e7eb;
        border-bottom: none;
    }
    
    .pc-stat-value {
        font-size: 1.125rem;
    }
    
    .pc-stat-label {
        font-size: 0.625rem;
    }
    
    /* Sections - Mobile */
    .pc-section-header h2 {
        font-size: 1.375rem;
    }
    
    .pc-how-it-works,
    .pc-features,
    .pc-comparison,
    .pc-testimonials,
    .pc-categories {
        padding: 2.5rem 1rem;
    }
    
    .pc-container {
        padding: 0;
        max-width: 100%;
    }
    
    .pc-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .pc-step {
        max-width: 100%;
        padding: 1.25rem;
    }
    
    .pc-step-arrow {
        transform: rotate(90deg);
        padding: 0;
        margin: 0;
    }
    
    /* Deals Section - Mobile */
    .pc-deals-section {
        padding: 2.5rem 1rem;
    }
    
    .pc-deals-section .pc-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pc-section-header-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }
    
    .pc-deals-member-badge {
        margin-left: 0;
        font-size: 0.6875rem;
    }
    
    .pc-deals-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Email Capture Section - Mobile */
    .pc-email-capture-section {
        padding: 2.5rem 1rem;
    }
    
    .pc-email-capture-box {
        padding: 1.5rem 1rem;
    }
    
    .pc-email-capture-box h2 {
        font-size: 1.25rem;
    }
    
    .pc-email-capture-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pc-email-capture-form input,
    .pc-email-capture-form button {
        width: 100%;
        padding: 0.875rem 1rem;
    }
    
    .pc-email-capture-benefits {
        flex-direction: column;
        align-items: center;
        gap: 0.375rem;
    }
    
    /* Features Grid - Mobile */
    .pc-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pc-feature-card {
        padding: 1.25rem;
    }
    
    /* Comparison - Mobile */
    .pc-comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pc-savings-callout {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .pc-savings-text {
        text-align: center;
    }
    
    /* Matcher CTA - Mobile */
    .pc-matcher-cta {
        padding: 0 1rem;
    }
    
    .pc-matcher-cta-content {
        padding: 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .pc-matcher-cta-text h2 {
        font-size: 1.25rem;
    }
    
    /* Testimonials - Mobile */
    .pc-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Categories - Mobile */
    .pc-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }
    
    .pc-category-card {
        padding: 0.875rem;
    }
    
    .pc-category-icon {
        font-size: 1.375rem;
    }
    
    .pc-category-name {
        font-size: 0.75rem;
    }
    
    /* Final CTA - Mobile */
    .pc-final-cta {
        padding: 2.5rem 1rem;
    }
    
    .pc-final-cta-content h2 {
        font-size: 1.375rem;
    }
    
    .pc-btn-xl {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}