/* =============================================
   PC Help Hero — Custom Styles
   Extends Tailwind CSS
   ============================================= */

:root {
    --navy:        #1e3a5f;
    --navy-light:  #2a4f80;
    --navy-dark:   #132640;
    --gold:        #f59d0f;
    --gold-light:  #fbb93a;
    --gold-dark:   #d4860a;
    --slate:       #e8f0fe;
    --text-dark:   #1a1a2e;
}

/* Base */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2d2d2d;
    overflow-x: hidden;
}

/* Larger text for accessibility */
p, li, td { font-size: 1rem; line-height: 1.75; }

/* Focus ring */
*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* =============================================
   Typography
   ============================================= */
.font-heading, h1, h2, h3 {
    font-family: 'Sora', sans-serif;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }

.section-subtitle {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.7;
    max-width: 680px;
}

/* =============================================
   Buttons
   ============================================= */
.btn-primary,
.btn-secondary,
.btn-gold,
.btn-navy,
.btn-navy-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.625rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    min-height: 52px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 157, 15, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-secondary:hover {
    background: var(--navy);
    color: white;
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
    font-weight: 700;
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-navy {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-1px);
}

.btn-navy-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-navy-outline:hover {
    background: var(--navy);
    color: white;
}

/* Large CTA buttons */
.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2.25rem;
    min-height: 60px;
}

/* =============================================
   Sections
   ============================================= */
.section-padding { padding: 5rem 1.5rem; }
.section-padding-sm { padding: 3rem 1.5rem; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--slate);
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    background: linear-gradient(135deg, #0f2133 0%, #1e3a5f 50%, #1a4a7a 100%);
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245,157,15,0.15);
    border: 1px solid rgba(245,157,15,0.4);
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    max-width: 100%;
    flex-wrap: wrap;
}

/* =============================================
   Service Cards
   ============================================= */
.service-card {
    background: white;
    border: 2px solid #e8eef7;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover {
    border-color: var(--navy-light);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.12);
    transform: translateY(-4px);
}
.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    transition: all 0.2s ease;
}
.service-card:hover .service-icon {
    background: var(--navy);
    color: var(--gold);
}

/* =============================================
   Pricing Cards
   ============================================= */
.pricing-card {
    background: white;
    border: 2px solid #e8eef7;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.25s ease;
}
.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: 0 16px 60px rgba(245,157,15,0.2);
    transform: scale(1.03);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 1.25rem;
    border-radius: 999px;
    white-space: nowrap;
}
.price-amount {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.price-period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}
.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.95rem;
    color: #374151;
    padding: 0.4rem 0;
}
.pricing-feature i { color: var(--navy); margin-top: 3px; flex-shrink: 0; }

/* =============================================
   Trust / Stats bar
   ============================================= */
.trust-bar {
    background: var(--slate);
    border-top: 1px solid #d0ddf5;
    border-bottom: 1px solid #d0ddf5;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    justify-content: center;
}
.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(30,58,95,0.1);
    flex-shrink: 0;
}

/* =============================================
   Steps (How it works)
   ============================================= */
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(30,58,95,0.25);
}

/* =============================================
   Testimonials
   ============================================= */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #eef2f8;
}
.star-rating { color: var(--gold); font-size: 1.1rem; }

/* =============================================
   FAQ Accordion
   ============================================= */
.faq-item {
    border: 1px solid #e5eaf3;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.faq-trigger {
    width: 100%;
    background: white;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.faq-trigger:hover { background: var(--slate); }
.faq-content {
    padding: 0 1.5rem 1.25rem;
    color: #4a5568;
    font-size: 0.975rem;
    line-height: 1.75;
    border-top: 1px solid #e5eaf3;
    background: white;
}

/* =============================================
   Forms
   ============================================= */
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.975rem;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid #d1dae8;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(30,58,95,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* =============================================
   Page headers
   ============================================= */
.page-header {
    background: linear-gradient(135deg, #0f2133 0%, #1e3a5f 100%);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 60px;
    background: white;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { color: white; }
.page-header p { color: #b0c4d8; }

/* =============================================
   Blog
   ============================================= */
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e8eef7;
    transition: all 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30,58,95,0.1);
}

/* =============================================
   Comparison Table
   ============================================= */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #e5eaf3;
    text-align: left;
    font-size: 0.95rem;
}
.compare-table th { background: var(--navy); color: white; font-weight: 700; }
.compare-table th:first-child { border-radius: 0.75rem 0 0 0; }
.compare-table th:last-child  { border-radius: 0 0.75rem 0 0; }
.compare-table tr:hover td { background: var(--slate); }
.compare-yes { color: #16a34a; font-weight: 700; }
.compare-no  { color: #dc2626; }

/* =============================================
   Utility
   ============================================= */
.text-navy  { color: var(--navy) !important; }
.text-gold  { color: var(--gold) !important; }
.bg-navy    { background-color: var(--navy) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-gold    { background-color: var(--gold) !important; }
.bg-slate   { background-color: var(--slate) !important; }
.border-navy { border-color: var(--navy) !important; }
.border-gold { border-color: var(--gold) !important; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}
.badge-navy { background: var(--navy); color: white; }
.badge-gold { background: var(--gold); color: var(--navy-dark); }
.badge-green { background: #dcfce7; color: #166534; }
.badge-slate { background: var(--slate); color: var(--navy); }

.divider { border: none; border-top: 2px solid #e8eef7; margin: 2rem 0; }

/* Swiper dots */
.swiper-pagination-bullet { background: var(--navy) !important; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }

/* Flatpickr overrides */
.flatpickr-calendar { box-shadow: 0 8px 32px rgba(0,0,0,0.12); border-radius: 0.75rem; border: 1px solid #e5eaf3; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--navy); border-color: var(--navy); }
.flatpickr-day:hover { background: var(--slate); }

/* =============================================
   Responsive tweaks
   ============================================= */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .section-padding { padding: 3.5rem 1rem; }
    .pricing-card.featured { transform: scale(1); }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero-badge { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
}

/* =============================================
   Print
   ============================================= */
@media print {
    header, footer, .btn-primary, .btn-gold, .newsletter { display: none; }
    body { font-size: 14px; color: black; }
}
