/*
 * TempCover — GoCompare-Inspired Theme
 * Layout: asymmetric split hero, icon+text feature rows, big number stats,
 *         horizontal step cards with dots, 2x2 testimonial grid, accordion FAQ, bold CTA.
 * ──────────────────────────────────────────────────────────── */

/* ── Override variables ──────────────────────────── */
:root {
    --tc-primary: #48A942;
    --tc-primary-light: #5CBC55;
    --tc-primary-dark: #3A8F35;
    --tc-secondary: #2D7A27;
    --tc-accent: #FFD700;
    --tc-accent-light: #FFE44D;

    --tc-dark: #1B2A1B;
    --tc-gray-900: #1E2E1E;
    --tc-gray-800: #2A3D2A;
    --tc-gray-700: #3D5340;
    --tc-gray-600: #5A7360;
    --tc-gray-500: #7A9480;
    --tc-gray-400: #9FB5A3;
    --tc-gray-300: #C4D5C7;
    --tc-gray-200: #E0EAE2;
    --tc-gray-100: #F0F5F1;
    --tc-gray-50: #F7FAF7;

    --tc-shadow-primary: 0 4px 14px rgba(72, 169, 66, 0.3);
    --tc-shadow-primary-lg: 0 8px 25px rgba(72, 169, 66, 0.4);

    --tc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Global overrides ────────────────────────────── */
body.theme-gocompare {
    background: #fff;
    color: #1B2A1B;
}

/* ── Header ──────────────────────────────────────── */
body.theme-gocompare .tc-header {
    background: #fff;
    border-bottom: 1px solid var(--tc-gray-200);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.theme-gocompare .tc-header__brand-name {
    color: var(--tc-primary);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
}

body.theme-gocompare .tc-header__menu a {
    color: var(--tc-dark);
    font-weight: 500;
}

body.theme-gocompare .tc-header__menu a:hover {
    color: var(--tc-primary);
}

body.theme-gocompare .tc-header__cta {
    background: var(--tc-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(72, 169, 66, 0.35);
}

body.theme-gocompare .tc-header__cta:hover {
    background: var(--tc-primary-dark) !important;
    box-shadow: 0 4px 18px rgba(72, 169, 66, 0.45);
}

/* Mobile toggle */
body.theme-gocompare .tc-header__toggle span {
    background: var(--tc-dark);
}

/* ── Buttons ─────────────────────────────────────── */
.gc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

.gc-btn--primary {
    background: var(--tc-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(72, 169, 66, 0.35);
}

.gc-btn--primary:hover {
    background: var(--tc-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(72, 169, 66, 0.45);
    color: #fff;
}

.gc-btn--secondary {
    background: #fff;
    color: var(--tc-primary);
    border: 2px solid var(--tc-primary);
}

.gc-btn--secondary:hover {
    background: rgba(72, 169, 66, 0.06);
    color: var(--tc-primary-dark);
}

/* ── Section labels ──────────────────────────────── */
.gc-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--tc-dark);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}

.gc-section-subtitle {
    font-size: 17px;
    color: var(--tc-gray-600);
    font-weight: 400;
    max-width: 560px;
    line-height: 1.6;
    margin: 0 0 48px;
}

/* ── Hero (asymmetric 60/40 split) ───────────────── */
.gc-hero {
    position: relative;
    background: linear-gradient(160deg, #F7FAF7 0%, #fff 50%, var(--tc-gray-50) 100%);
    overflow: hidden;
    padding: 120px 24px 100px;
}

.gc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 169, 66, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.gc-hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.gc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(72, 169, 66, 0.1);
    border: 1px solid rgba(72, 169, 66, 0.25);
    color: var(--tc-secondary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.gc-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
    color: var(--tc-dark);
}

.gc-hero__title span {
    display: block;
    color: var(--tc-primary);
}

.gc-hero__subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--tc-gray-600);
    max-width: 480px;
    margin: 0 0 32px;
    line-height: 1.6;
}

.gc-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero visual card */
.gc-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gc-hero__card {
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(72, 169, 66, 0.1);
    position: relative;
    max-width: 280px;
    width: 100%;
}

.gc-hero__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tc-primary), var(--tc-primary-light));
    border-radius: 20px 20px 0 0;
}

.gc-hero__card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(72, 169, 66, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--tc-primary);
}

.gc-hero__card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--tc-dark);
    margin-bottom: 8px;
}

.gc-hero__card-text {
    font-size: 14px;
    color: var(--tc-gray-500);
    margin-bottom: 20px;
}

.gc-hero__card-badge {
    display: inline-block;
    background: var(--tc-gray-50);
    border: 1px solid var(--tc-gray-200);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tc-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Features (icon+text rows, alternating bg) ───── */
.gc-features {
    padding: 100px 24px;
    background: #fff;
}

.gc-features__inner {
    max-width: 800px;
    margin: 0 auto;
}

.gc-features__header {
    text-align: center;
    margin-bottom: 48px;
}

.gc-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 36px 32px;
    border-radius: 16px;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.gc-feature-row--alt {
    background: var(--tc-gray-50);
}

.gc-feature-row__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(72, 169, 66, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-primary);
}

.gc-feature-row__content h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--tc-dark);
    margin: 0 0 8px;
}

.gc-feature-row__content p {
    font-size: 15px;
    color: var(--tc-gray-600);
    line-height: 1.65;
    margin: 0;
}

/* ── Stats (big numbers, green-tinted section) ───── */
.gc-stats {
    padding: 80px 24px;
    background: linear-gradient(135deg, rgba(72, 169, 66, 0.04) 0%, rgba(45, 122, 39, 0.08) 100%);
    border-top: 1px solid var(--tc-gray-200);
    border-bottom: 1px solid var(--tc-gray-200);
}

.gc-stats__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.gc-stat__number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--tc-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}

.gc-stat__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Steps (horizontal cards with connecting dots) ── */
.gc-steps-section {
    padding: 100px 24px;
    background: var(--tc-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.gc-steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(72, 169, 66, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.gc-steps-section__inner {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gc-steps-section__header {
    text-align: center;
    margin-bottom: 56px;
}

.gc-steps-section__header .gc-section-title {
    color: #fff;
}

.gc-steps-section__header .gc-section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-left: auto;
    margin-right: auto;
}

.gc-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.gc-step-card {
    flex: 1;
    max-width: 240px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s;
}

.gc-step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(72, 169, 66, 0.4);
    transform: translateY(-4px);
}

.gc-step-card__number {
    font-size: 40px;
    font-weight: 900;
    color: var(--tc-accent);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
}

.gc-step-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}

.gc-step-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
    margin: 0;
}

.gc-steps__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tc-primary);
    flex-shrink: 0;
    margin-top: 52px;
    margin-left: 8px;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(72, 169, 66, 0.4);
}

/* ── Testimonials (2x2 grid) ─────────────────────── */
.gc-testimonials {
    padding: 100px 24px;
    background: var(--tc-gray-50);
}

.gc-testimonials__inner {
    max-width: 900px;
    margin: 0 auto;
}

.gc-testimonials__header {
    text-align: center;
    margin-bottom: 48px;
}

.gc-testimonials__header .gc-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.gc-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gc-testimonial {
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}

.gc-testimonial:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.gc-testimonial__stars {
    color: var(--tc-accent);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.gc-testimonial__text {
    font-size: 15px;
    font-weight: 400;
    color: var(--tc-gray-700);
    line-height: 1.65;
    margin: 0 0 20px;
}

.gc-testimonial__author {
    font-size: 14px;
    font-weight: 700;
    color: var(--tc-dark);
}

.gc-testimonial__role {
    font-size: 13px;
    color: var(--tc-gray-500);
    margin-top: 2px;
}

/* ── FAQ (accordion with green accent) ───────────── */
.gc-faq {
    padding: 100px 24px;
    background: #fff;
}

.gc-faq__inner {
    max-width: 760px;
    margin: 0 auto;
}

.gc-faq__header {
    text-align: center;
    margin-bottom: 48px;
}

.gc-faq__header .gc-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.gc-faq__item {
    border: 1px solid var(--tc-gray-200);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.gc-faq__item[open] {
    border-color: var(--tc-primary);
}

.gc-faq__question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--tc-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.gc-faq__question::-webkit-details-marker { display: none; }

.gc-faq__question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--tc-primary);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.gc-faq__item[open] .gc-faq__question::before {
    opacity: 1;
}

.gc-faq__question::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--tc-primary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.gc-faq__item[open] .gc-faq__question::after {
    content: '\2212';
}

.gc-faq__answer {
    padding: 0 24px 20px;
}

.gc-faq__answer p {
    font-size: 15px;
    color: var(--tc-gray-600);
    line-height: 1.65;
    margin: 0;
}

/* ── CTA (full-width bold) ───────────────────────── */
.gc-cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--tc-primary) 0%, var(--tc-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gc-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.gc-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.gc-cta__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

.gc-cta__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 36px;
    line-height: 1.6;
}

.gc-cta .gc-btn--primary {
    background: #fff;
    color: var(--tc-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gc-cta .gc-btn--primary:hover {
    background: var(--tc-accent);
    color: var(--tc-dark);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

/* ── Footer ──────────────────────────────────────── */
body.theme-gocompare .tc-footer {
    background: var(--tc-dark);
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(72, 169, 66, 0.15);
}

body.theme-gocompare .tc-footer__brand {
    color: #fff;
}

body.theme-gocompare .tc-footer__col h4 {
    color: rgba(255, 255, 255, 0.8);
}

body.theme-gocompare .tc-footer__col a {
    color: rgba(255, 255, 255, 0.45);
}

body.theme-gocompare .tc-footer__col a:hover {
    color: var(--tc-primary-light);
}

body.theme-gocompare .tc-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
}

body.theme-gocompare .tc-footer__fca,
body.theme-gocompare .tc-footer__reg {
    color: rgba(255, 255, 255, 0.25);
}

/* ── Buttons — global override ───────────────────── */
body.theme-gocompare .tc-btn--primary {
    background: var(--tc-primary);
    box-shadow: var(--tc-shadow-primary);
    border-radius: 8px;
    font-weight: 700;
}

body.theme-gocompare .tc-btn--primary:hover {
    background: var(--tc-primary-dark);
    box-shadow: var(--tc-shadow-primary-lg);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .gc-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gc-hero__subtitle { margin-left: auto; margin-right: auto; }
    .gc-hero__actions { justify-content: center; }
    .gc-hero__visual { margin-top: 20px; }
    .gc-stats__inner { grid-template-columns: repeat(2, 1fr); }
    .gc-steps { flex-wrap: wrap; gap: 16px; }
    .gc-steps__dot { display: none; }
    .gc-step-card { max-width: 100%; flex: 0 0 calc(50% - 8px); }
    .gc-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .gc-hero { padding: 90px 20px 80px; }
    .gc-hero__title { font-size: clamp(2rem, 7vw, 3rem); }
    .gc-hero__subtitle { font-size: 16px; }
    .gc-features { padding: 60px 20px 80px; }
    .gc-feature-row { padding: 28px 24px; gap: 24px; }
    .gc-steps-section { padding: 80px 20px; }
    .gc-testimonials { padding: 80px 20px; }
    .gc-cta { padding: 80px 20px; }
    .gc-faq { padding: 80px 20px; }
    .gc-stats { padding: 60px 20px; }
}

@media (max-width: 600px) {
    .gc-hero { padding: 70px 16px 60px; }
    .gc-hero__actions { flex-direction: column; align-items: center; }
    .gc-btn { width: 100%; max-width: 320px; }
    .gc-hero__card { max-width: 240px; padding: 28px 24px; }
    .gc-feature-row {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }
    .gc-stats__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .gc-step-card { flex: 0 0 100%; }
    .gc-testimonials__grid { grid-template-columns: 1fr; }
    .gc-section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .gc-faq__item { border-radius: 8px; }
    .gc-faq__question { padding: 16px 20px; font-size: 15px; }
}

@media (max-width: 480px) {
    .gc-stat__number { font-size: 2rem; }
    .gc-stats__inner { gap: 16px; }
    .gc-feature-row__icon { width: 52px; height: 52px; }
    .gc-step-card { padding: 22px 20px; }
}
