/**
 * Generator Power Parts — Homepage Styles
 * gpp-home.css
 * Upload to: /wp-content/themes/astra-child/assets/gpp-home.css
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

/* ============================================================
   HOME PAGE FULL WIDTH
============================================================ */

.home .entry-content,
.home .site-content,
.home .content-area,
.home #content,
.home .ast-container,
.home .container,
.home article,
.home .post-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home .entry-title,
.home .ast-breadcrumbs-wrapper,
.home .page-header {
    display: none !important;
}

/* ============================================================
   SHARED SECTION STYLES
============================================================ */

.gpp-section { padding: 5rem 2rem; }
.gpp-section-white { background: #fff; }
.gpp-section-pale { background: #F4F6F9; }
.gpp-section-navy { background: #0D1B2A; }

.gpp-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.gpp-section-header { margin-bottom: 2.5rem; }

.gpp-section-header-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.gpp-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #F4801A;
    margin-bottom: .4rem;
    font-family: 'Barlow', sans-serif;
}

.gpp-eyebrow-light { color: rgba(244,128,26,.9); }

.gpp-section-title {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #0D1B2A !important;
    line-height: 1.05 !important;
    margin: 0 0 .5rem !important;
    padding: 0 !important;
    border: none !important;
}

.gpp-title-light { color: #fff !important; }

.gpp-section-sub {
    color: #4A5568;
    font-size: .95rem;
    max-width: 540px;
    font-family: 'Barlow', sans-serif;
    line-height: 1.6;
    margin: 0;
}

.gpp-link-more {
    font-size: .85rem;
    font-weight: 700;
    color: #F4801A;
    text-decoration: none !important;
    letter-spacing: .04em;
    white-space: nowrap;
    font-family: 'Barlow', sans-serif;
    flex-shrink: 0;
}

.gpp-link-more:hover { color: #C0600E; }

/* ============================================================
   BUTTONS
============================================================ */

.gpp-btn-primary {
    display: inline-block;
    background: #F4801A;
    color: #fff !important;
    border: none;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none !important;
    transition: background .2s;
    letter-spacing: .02em;
}

.gpp-btn-primary:hover { background: #C0600E; }

.gpp-btn-secondary {
    display: inline-block;
    background: transparent;
    color: rgba(255,255,255,.85) !important;
    border: 1px solid rgba(255,255,255,.25);
    padding: 14px 28px;
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none !important;
    transition: all .2s;
}

.gpp-btn-secondary:hover {
    border-color: rgba(255,255,255,.5);
    color: #fff !important;
}

.gpp-btn-dark {
    display: inline-block;
    background: #0D1B2A;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: .875rem;
    text-decoration: none !important;
    transition: background .2s;
}

.gpp-btn-dark:hover { background: #F4801A; }

/* ============================================================
   HERO
============================================================ */

.gpp-hero {
    background: #0D1B2A;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

.gpp-hero::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 600px;
    height: 600px;
    border: 80px solid rgba(244,128,26,.06);
    border-radius: 50%;
    pointer-events: none;
}

.gpp-hero::after {
    content: '';
    position: absolute;
    right: 160px;
    bottom: -100px;
    width: 320px;
    height: 320px;
    border: 50px solid rgba(244,128,26,.04);
    border-radius: 50%;
    pointer-events: none;
}

.gpp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.gpp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244,128,26,.15);
    border: 1px solid rgba(244,128,26,.35);
    color: #F4801A;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
    margin-bottom: 1.25rem;
    font-family: 'Barlow', sans-serif;
}

.gpp-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #F4801A;
    border-radius: 50%;
}

.gpp-hero-title {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 4rem !important;
    font-weight: 800 !important;
    line-height: 1.0 !important;
    color: #fff !important;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0 0 1.25rem !important;
    padding: 0 !important;
    border: none !important;
}

.gpp-hero-title em {
    font-style: normal;
    color: #F4801A;
}

.gpp-hero-sub {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.gpp-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* HERO SEARCH CARD */
.gpp-hero-search {
    background: #fff;
    border-radius: 8px;
    padding: 1.75rem;
}

.gpp-hs-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #0D1B2A;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gpp-hs-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4A5568;
    margin-bottom: 6px;
    font-family: 'Barlow', sans-serif;
}

.gpp-hs-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #E8EDF2;
    border-radius: 5px;
    font-family: 'Barlow', sans-serif;
    font-size: .9rem;
    color: #0D1B2A;
    outline: none;
    transition: border-color .2s;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.gpp-hs-input:focus { border-color: #F4801A; }
.gpp-hs-input::placeholder { color: #A0AEC0; }

.gpp-hs-btn {
    display: block;
    width: 100%;
    background: #0D1B2A;
    color: #fff !important;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s;
    margin-top: .25rem;
    box-sizing: border-box;
    cursor: pointer;
}

.gpp-hs-btn:hover { background: #F4801A; }

.gpp-hs-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: .9rem 0;
    color: #A0AEC0;
    font-size: .78rem;
    font-family: 'Barlow', sans-serif;
}

.gpp-hs-divider::before,
.gpp-hs-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E8EDF2;
}

.gpp-hs-chips {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}

.gpp-hs-chip {
    background: #F4F6F9;
    border: 1px solid #E8EDF2;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: .75rem;
    font-weight: 600;
    color: #0D1B2A;
    text-decoration: none !important;
    transition: all .15s;
    font-family: 'Barlow', sans-serif;
}

.gpp-hs-chip:hover {
    background: #0D1B2A;
    color: #fff !important;
    border-color: #0D1B2A;
}

/* ============================================================
   TRUST BAR
============================================================ */

.gpp-trust-bar {
    background: #F4F6F9;
    border-bottom: 1px solid #E8EDF2;
    padding: 14px 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.gpp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: #4A5568;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: 'Barlow', sans-serif;
}

.gpp-trust-dot {
    width: 7px;
    height: 7px;
    background: #F4801A;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   ATS GRID
============================================================ */

.gpp-ats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.gpp-ats-card {
    background: #F4F6F9;
    border: 1.5px solid #E8EDF2;
    border-radius: 6px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-decoration: none !important;
    display: block;
    position: relative;
    overflow: hidden;
}

.gpp-ats-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #F4801A;
    transform: scaleX(0);
    transition: transform .2s;
}

.gpp-ats-card:hover {
    border-color: #F4801A;
    background: #fff;
}

.gpp-ats-card:hover::after { transform: scaleX(1); }

.gpp-ats-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto .75rem;
    background: #E8EDF2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gpp-ats-amp {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0D1B2A;
    line-height: 1;
    margin-bottom: 4px;
}

.gpp-ats-unit {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #4A5568;
    margin-bottom: .75rem;
    font-family: 'Barlow', sans-serif;
}

.gpp-ats-link {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #F4801A;
    font-family: 'Barlow', sans-serif;
}

/* ============================================================
   PARTS CATEGORY CHIPS
============================================================ */

.gpp-parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 2rem;
}

.gpp-part-chip {
    background: #fff;
    border: 1px solid #E8EDF2;
    border-radius: 5px;
    padding: 12px;
    font-size: .85rem;
    font-weight: 600;
    color: #0D1B2A;
    text-decoration: none !important;
    transition: all .15s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
}

.gpp-part-chip:hover {
    background: #0D1B2A;
    color: #fff !important;
    border-color: #0D1B2A;
}

.gpp-part-chip-dot {
    width: 5px;
    height: 5px;
    background: #F4801A;
    border-radius: 50%;
    flex-shrink: 0;
}

.gpp-parts-cta { text-align: center; }

/* ============================================================
   WHY US
============================================================ */

.gpp-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    overflow: hidden;
}

.gpp-why-card {
    background: rgba(255,255,255,.03);
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,.06);
    transition: background .2s;
}

.gpp-why-card:last-child { border-right: none; }
.gpp-why-card:hover { background: rgba(255,255,255,.07); }

.gpp-why-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #F4801A;
    line-height: 1;
    margin-bottom: .5rem;
}

.gpp-why-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    margin-bottom: .5rem;
}

.gpp-why-text {
    font-size: .83rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    font-family: 'Barlow', sans-serif;
}

/* ============================================================
   PARTNERSHIP BLOCK
============================================================ */

.gpp-partner-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gpp-partner-text p {
    font-size: .95rem;
    color: #4A5568;
    line-height: 1.75;
    margin: 1rem 0 1.5rem;
    font-family: 'Barlow', sans-serif;
}

.gpp-partner-text p strong { color: #0D1B2A; }

.gpp-partner-badges {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.gpp-partner-badge {
    background: rgba(244,128,26,.1);
    border: 1px solid rgba(244,128,26,.25);
    color: #C0600E;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    font-family: 'Barlow', sans-serif;
}

.gpp-partner-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #E8EDF2;
    border: 1px solid #E8EDF2;
    border-radius: 8px;
    overflow: hidden;
}

.gpp-stat {
    background: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
}

.gpp-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #0D1B2A;
    line-height: 1;
    margin-bottom: .4rem;
}

.gpp-stat-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #4A5568;
    font-family: 'Barlow', sans-serif;
}

/* ============================================================
   BLOG GRID
============================================================ */

.gpp-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gpp-blog-card {
    background: #fff;
    border: 1px solid #E8EDF2;
    border-radius: 7px;
    overflow: hidden;
    text-decoration: none !important;
    transition: border-color .2s;
    display: block;
}

.gpp-blog-card:hover { border-color: #F4801A; }

.gpp-blog-thumb {
    height: 140px;
    background: #0D1B2A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
}

.gpp-blog-body { padding: 1.1rem; }

.gpp-blog-date {
    font-size: .7rem;
    color: #F4801A;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .4rem;
    font-family: 'Barlow', sans-serif;
}

.gpp-blog-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0D1B2A;
    line-height: 1.2;
    margin-bottom: .4rem;
}

.gpp-blog-excerpt {
    font-size: .8rem;
    color: #4A5568;
    line-height: 1.5;
    font-family: 'Barlow', sans-serif;
}

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

@media (max-width: 1024px) {
    .gpp-ats-grid { grid-template-columns: repeat(3, 1fr); }
    .gpp-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .gpp-why-grid { grid-template-columns: repeat(2, 1fr); }
    .gpp-partner-block { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .gpp-hero-inner { grid-template-columns: 1fr; }
    .gpp-hero-search { display: none; }
    .gpp-ats-grid { grid-template-columns: repeat(2, 1fr); }
    .gpp-blog-grid { grid-template-columns: 1fr; }
    .gpp-why-grid { grid-template-columns: 1fr; }
    .gpp-section-header-split { flex-direction: column; align-items: flex-start; }
    .gpp-hero-title { font-size: 2.8rem !important; }
    .gpp-section { padding: 3rem 1.25rem; }
    .gpp-trust-bar { gap: 1.5rem; padding: 1rem; }
}

@media (max-width: 480px) {
    .gpp-ats-grid { grid-template-columns: repeat(2, 1fr); }
    .gpp-partner-stats { grid-template-columns: 1fr 1fr; }
}
