/* === Life Insurance Guide Page === */

/* Hero */
.guide-hero {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--ink) 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.guide-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}
.guide-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.guide-badge {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.guide-hero-text h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 43px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.guide-hero-text > p {
    font-size: 18px;
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 24px;
}
.guide-hero-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}
.guide-hero-meta span {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.7;
    padding-left: 20px;
    position: relative;
}
.guide-hero-meta span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
}
.guide-hero-author {
    font-size: 15px;
    opacity: 0.5;
}

/* Hero Form */
.guide-hero-form {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
}
.guide-hero-form h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 29px;
    margin-bottom: 8px;
}
.guide-hero-form > p {
    font-size: 15px;
    opacity: 0.6;
    margin-bottom: 24px;
    line-height: 1.6;
}
.guide-form-group {
    margin-bottom: 18px;
}
.guide-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.guide-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-family: 'General Sans', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}
.guide-form-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.guide-form-input:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px var(--green-glow);
}
.guide-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'General Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.guide-submit-btn:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.3);
}
.guide-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.guide-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.guide-trust svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}
.field-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 4px;
}

/* Table of Contents */
.guide-toc {
    padding: 60px 0;
    background: white;
}
.guide-toc h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 33px;
    text-align: center;
    margin-bottom: 32px;
    color: var(--ink);
}
.toc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}
.toc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border-radius: 16px;
    border: 1px solid var(--cloud);
    text-decoration: none;
    color: var(--ink);
    transition: all 0.3s ease;
}
.toc-item:hover {
    border-color: var(--green);
    background: var(--green-glow);
    transform: translateY(-2px);
}
.toc-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 12px;
}
.toc-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--slate);
}

/* Guide Sections */
.guide-section {
    padding: 80px 0;
}
.guide-section-alt {
    background: var(--warm);
}
.guide-section-label {
    color: var(--green);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.guide-section h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 37px;
    color: var(--ink);
    margin-bottom: 32px;
    line-height: 1.2;
}
.guide-prose {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--slate);
}
.guide-prose h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 25px;
    color: var(--ink);
    margin: 40px 0 12px;
}
.guide-prose h3:first-child {
    margin-top: 0;
}
.guide-prose p {
    margin-bottom: 16px;
}

/* Pro Tip */
.guide-tip {
    background: var(--green-glow);
    border-left: 4px solid var(--green);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--ink);
    line-height: 1.7;
}

/* Best For */
.guide-best-for {
    color: var(--green);
    font-style: italic;
    margin-bottom: 16px;
    font-size: 16px;
}

/* Story Cards */
.guide-story {
    background: white;
    border: 1px solid var(--cloud);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 20px 0 32px;
}
.guide-section-alt .guide-story {
    background: white;
}
.guide-story h4 {
    font-family: 'Instrument Serif', serif;
    font-size: 19px;
    color: var(--ink);
    margin-bottom: 12px;
}
.guide-story p {
    font-style: italic;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Coverage Grid */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}
.coverage-item {
    background: white;
    border: 1px solid var(--cloud);
    border-radius: 16px;
    padding: 24px;
}
.coverage-item h4 {
    font-family: 'Instrument Serif', serif;
    font-size: 19px;
    color: var(--ink);
    margin-bottom: 8px;
}
.coverage-item p {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Tables */
.guide-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin: 24px 0;
}
.guide-table th {
    background: var(--charcoal);
    color: white;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}
.guide-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--cloud);
    font-size: 15px;
    color: var(--slate);
}
.guide-table tr:nth-child(even) td {
    background: var(--warm);
}

/* CTA Section */
.guide-cta {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--ink) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.guide-cta h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 37px;
    margin-bottom: 20px;
}
.guide-cta > .container > p {
    max-width: 640px;
    margin: 0 auto 16px;
    opacity: 0.75;
    line-height: 1.7;
}
.guide-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0;
}
.guide-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'General Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--green);
    color: white;
}
.guide-cta-btn:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
}
.guide-cta-btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}
.guide-cta-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.guide-cta-author {
    margin-top: 32px;
    font-size: 15px;
    opacity: 0.6;
    line-height: 1.6;
}
.guide-disclaimer {
    font-size: 12px;
    opacity: 0.35;
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-hero {
        padding: 80px 0 60px;
    }
    .guide-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .guide-hero-text h1 {
        font-size: 33px;
    }
    .guide-hero-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    .toc-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .toc-item {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        padding: 16px 20px;
    }
    .toc-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .guide-section h2 {
        font-size: 29px;
    }
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    .guide-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .guide-cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .guide-hero-form {
        padding: 28px;
    }
    .guide-table {
        font-size: 14px;
    }
    .guide-table th,
    .guide-table td {
        padding: 10px 12px;
    }
}
