/**
 * Gen 3 Bridge (product page) styles.
 * Ported from the dylan-draft.com /gen3.html reference. Every rule is
 * scoped under .gen3-page so nothing leaks into or collides with the
 * global theme / other page styles. Nav comes from the shared theme
 * header; this template builds its own simple page-scoped footer instead
 * of the shared site footer, per the design brief.
 */

.gen3-page {
    --g3-red: #EB262A;
    --g3-blue: #307FE2;
    --g3-dark: #231F20;
    background: #fff;
    color: #231F20;
}

.gen3-page *,
.gen3-page *::before,
.gen3-page *::after {
    box-sizing: border-box;
}

/* ── Buttons ── */
.gen3-page .btn-blue {
    display: inline-block;
    background: #307FE2;
    color: #fff;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(48, 127, 226, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gen3-page .btn-blue:hover {
    background: #1f6dd4;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(48, 127, 226, 0.5);
}

.gen3-page .btn-outline-white {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.gen3-page .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ── HERO ── */
.gen3-page .g3-hero {
    position: relative;
    min-height: 62vh;
    padding-top: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a1628;
}

.gen3-page .hero-bg-img {
    position: absolute;
    inset: 0;
    background: url('../img/hero-photo.jpg') center center / cover no-repeat;
}

.gen3-page .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.80) 100%);
}

.gen3-page .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px 24px;
    max-width: 860px;
    margin: 0 auto;
}

.gen3-page .hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #307FE2;
    margin-bottom: 20px;
}

.gen3-page .hero-h1 {
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gen3-page .hero-h1 span {
    color: #307FE2;
}

.gen3-page .hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 580px;
    margin: 0 auto 40px;
}

.gen3-page .hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── SECTIONS ── */
.gen3-page .section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #307FE2;
    margin-bottom: 12px;
    display: block;
}

.gen3-page .section-h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #0d1f3c;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.gen3-page .section-sub {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(7, 21, 56, 0.6);
    max-width: 560px;
}

.gen3-page .g3-center {
    text-align: center;
}

.gen3-page .g3-sub-narrow {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── STATS BAR ── */
.gen3-page .g3-stats-bar {
    background: #f9fbff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0 24px;
}

.gen3-page .g3-stats-inner {
    max-width: 900px;
    margin: 0 auto;
}

.gen3-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.gen3-page .stat-item {
    padding: 28px 20px;
    text-align: center;
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
}

.gen3-page .stat-item:last-child {
    border-right: none;
}

.gen3-page .stat-val {
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 800;
    color: #0d1f3c;
    letter-spacing: -0.03em;
    display: block;
    white-space: nowrap;
}

.gen3-page .stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-top: 6px;
    display: block;
}

/* ── FEATURES ── */
.gen3-page .g3-features {
    padding: 100px 24px;
    background: #fff;
}

.gen3-page .g3-features-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.gen3-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.gen3-page .feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02), 0 12px 32px rgba(48, 127, 226, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gen3-page .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(48, 127, 226, 0.12);
}

.gen3-page .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(48, 127, 226, 0.1);
    margin-bottom: 20px;
}

.gen3-page .feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0d1f3c;
    margin: 0 0 10px;
}

.gen3-page .feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(7, 21, 56, 0.6);
    margin: 0;
}

/* ── PRODUCT + HOW IT WORKS ── */
.gen3-page .g3-product {
    padding: 100px 24px;
    background: #f9fbff;
}

.gen3-page .g3-product-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.gen3-page .g3-product-card-wrap {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.gen3-page .g3-product-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(48, 127, 226, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 380px;
    width: 100%;
}

.gen3-page .g3-product-photo {
    height: 150px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(48, 127, 226, 0.2));
}

.gen3-page .g3-product-title-wrap {
    text-align: center;
}

.gen3-page .g3-product-title {
    font-size: 18px;
    font-weight: 800;
    color: #0d1f3c;
    letter-spacing: -0.02em;
}

.gen3-page .g3-product-desc {
    font-size: 13px;
    color: rgba(7, 21, 56, 0.5);
    margin-top: 4px;
}

.gen3-page .g3-product-price-box {
    width: 100%;
    background: #f0f6ff;
    border-radius: 12px;
    padding: 16px 20px;
}

.gen3-page .g3-product-price {
    font-size: 28px;
    font-weight: 800;
    color: #307FE2;
    letter-spacing: -0.03em;
}

.gen3-page .g3-product-price-note {
    font-size: 12px;
    color: rgba(7, 21, 56, 0.5);
    margin-top: 2px;
}

.gen3-page .g3-order-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff1a1a;
    color: #fff;
    padding: 14px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(235, 38, 42, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}

.gen3-page .g3-order-btn:hover {
    background: #d41f23;
    transform: translateY(-2px);
}

.gen3-page .g3-check-btn {
    display: block;
    width: 100%;
    text-align: center;
    color: #307FE2;
    padding: 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #307FE2;
    transition: background 0.2s ease;
}

.gen3-page .g3-check-btn:hover {
    background: rgba(48, 127, 226, 0.06);
}

.gen3-page .g3-how-it-works {
    flex: 1;
    min-width: 280px;
}

.gen3-page .g3-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.gen3-page .g3-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.gen3-page .g3-step-num {
    width: 36px;
    height: 36px;
    background: #307FE2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.gen3-page .g3-step-body {
    padding-top: 6px;
}

.gen3-page .g3-step-title {
    font-size: 15px;
    font-weight: 700;
    color: #0d1f3c;
    margin-bottom: 4px;
}

.gen3-page .g3-step-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(7, 21, 56, 0.6);
}

/* ── SERVICE PLANS ── */
.gen3-page .g3-plans {
    padding: 100px 24px;
    background: #f9fbff;
}

.gen3-page .g3-plans-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.gen3-page .g3-plans-sub {
    margin: 0 auto;
}

.gen3-page .g3-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.gen3-page .plan-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 36px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.gen3-page .plan-card:hover {
    background: linear-gradient(135deg, #0a1628 0%, #112240 100%);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.gen3-page .plan-card:hover .pc-label {
    color: rgba(255, 255, 255, 0.45);
}

.gen3-page .plan-card:hover .pc-price {
    color: #fff;
}

.gen3-page .plan-card:hover .pc-price-unit {
    color: rgba(255, 255, 255, 0.4);
}

.gen3-page .plan-card:hover .pc-desc {
    color: rgba(255, 255, 255, 0.45);
}

.gen3-page .plan-card:hover .pc-item {
    color: #fff;
}

.gen3-page .pc-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 12px;
}

.gen3-page .pc-price-row {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gen3-page .pc-price {
    color: #0d1f3c;
}

.gen3-page .pc-price-unit {
    font-size: 16px;
    font-weight: 500;
    color: rgba(7, 21, 56, 0.45);
}

.gen3-page .pc-desc {
    font-size: 13px;
    color: rgba(7, 21, 56, 0.5);
    margin: 4px 0 24px;
}

.gen3-page .pc-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gen3-page .pc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #0d1f3c;
}

.gen3-page .pc-item svg {
    flex-shrink: 0;
}

/* ── CTA ── */
.gen3-page .g3-cta {
    background: linear-gradient(135deg, #0a1628 0%, #112240 100%);
    padding: 100px 24px;
    text-align: center;
}

.gen3-page .g3-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.gen3-page .g3-cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.gen3-page .g3-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.gen3-page .g3-cta-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.gen3-page .g3-cta-btn-red {
    display: inline-block;
    background: #ff1a1a;
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(235, 38, 42, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gen3-page .g3-cta-btn-red:hover {
    transform: translateY(-2px);
}

.gen3-page .g3-cta-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.gen3-page .g3-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ── PAGE FOOTER (this template is intentionally excluded from the shared
   site footer per the design brief) ── */
.gen3-page .g3-page-footer {
    background: #0a1628;
    padding: 40px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}

.gen3-page .g3-page-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}
