/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #3a3a3d;
    background-color: #efeae4;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #176634;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #3a3a3d;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-content {
    padding: 4rem 0;
}

.section-headline {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #3a3a3d;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 2px solid #176634;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #176634;
}

.cfp-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #bc9c22, #176634);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
}

.gold-standard {
    background-color: rgba(255,255,255,0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #efeae4 0%, #ffffff 100%);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-headline {
    color: #176634;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: #3a3a3d;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.8);
    border-radius: 10px;
    border-left: 4px solid #bc9c22;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #176634;
    font-family: 'Cinzel', serif;
}

.stat-text {
    font-size: 0.875rem;
    color: #3a3a3d;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background-color: #bc9c22;
}

.hero-disclaimer {
    font-size: 0.875rem;
    color: #3a3a3d;
    margin-top: 1rem;
    font-style: italic;
}

.hero-image {
    text-align: center;
}

.professional-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

.photo-caption {
    text-align: center;
}

.name {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: #176634;
    margin-bottom: 0.25rem;
}

.credentials {
    font-size: 0.875rem;
    color: #bc9c22;
    font-weight: 600;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #176634;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-button:hover, .cta-button:focus {
    background-color: #104d27;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 102, 52, 0.3);
}

.cta-button.secondary {
    background-color: #0151a9;
}

.cta-button.secondary:hover, .cta-button.secondary:focus {
    background-color: #013d82;
}

/* Empathy Section */
.empathy-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.empathy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #3a3a3d;
}

.widow-brain-box {
    background: linear-gradient(135deg, #6ec1c9, #0151a9);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.widow-brain-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.widow-brain-box p {
    margin-bottom: 1rem;
}

.widow-brain-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.widow-brain-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.widow-brain-list li::before {
    content: "•";
    color: #bc9c22;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.important-note {
    background-color: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #bc9c22;
    margin-bottom: 0;
}

.consultation-photo {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.golden-rule {
    background: linear-gradient(135deg, #bc9c22, #176634);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.golden-rule-title {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.golden-rule-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.golden-rule-subtitle {
    font-size: 1.125rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Trust Section */
.trust-section {
    background-color: #efeae4;
    padding: 4rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.trust-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.trust-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.cfp-icon {
    background: linear-gradient(135deg, #bc9c22, #176634);
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
}

.fiduciary-icon {
    background: linear-gradient(135deg, #0151a9, #6ec1c9);
}

.confidential-icon {
    background: linear-gradient(135deg, #176634, #6ec1c9);
}

.trust-item h3 {
    margin-bottom: 1rem;
    color: #176634;
}

.trust-item p {
    color: #3a3a3d;
    line-height: 1.6;
    margin-bottom: 0;
}

.company-info {
    text-align: center;
    padding: 2rem;
    background-color: rgba(23, 102, 52, 0.1);
    border-radius: 10px;
    border: 2px solid #176634;
}

.company-info p {
    margin-bottom: 0;
    font-weight: 600;
    color: #176634;
}

/* Solution Section */
.solution-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.pillar {
    background: linear-gradient(135deg, #efeae4, #ffffff);
    padding: 2rem;
    border-radius: 20px;
    border-top: 5px solid #176634;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
}

.pillar-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #bc9c22, #176634);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Cinzel', serif;
}

.pillar-icon {
    font-size: 3rem;
    margin: 1rem 0;
    display: block;
}

.pillar h3 {
    color: #176634;
    margin-bottom: 1rem;
}

.pillar p {
    margin-bottom: 1.5rem;
    color: #3a3a3d;
}

.pillar-list {
    list-style: none;
    padding-left: 0;
}

.pillar-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #3a3a3d;
}

.pillar-list li::before {
    content: "✓";
    color: #176634;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Lead Magnet Section */
.lead-magnet-section {
    background: linear-gradient(135deg, #efeae4 0%, #ffffff 50%, #efeae4 100%);
    padding: 4rem 0;
}

.lead-magnet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.guide-preview {
    text-align: center;
}

.guide-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

.guide-details h3 {
    color: #176634;
    margin-bottom: 1rem;
}

.guide-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.guide-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.guide-benefits li::before {
    content: "★";
    color: #bc9c22;
    font-size: 1.25rem;
    position: absolute;
    left: 0;
}

.guide-promise {
    font-style: italic;
    color: #176634;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    background-color: rgba(23, 102, 52, 0.1);
    border-radius: 10px;
    border-left: 4px solid #bc9c22;
}

/* Form Styling */
.form-container {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Form Error Handling */
.field-error-container {
    min-height: 1.5rem;
}

.field-error {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    line-height: 1.4;
}

.form-input.error {
    border-color: #d32f2f !important;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.1) !important;
}

.form-error-container {
    margin-top: 1rem;
}

.required-indicator {
    color: #d32f2f;
    font-weight: bold;
}

.form-wrapper {
    padding: 2rem;
}

.form-title {
    color: #176634;
    text-align: center;
    margin-bottom: 1rem;
}

.form-subtitle {
    text-align: center;
    color: #3a3a3d;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #3a3a3d;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #3a3a3d;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0151a9;
    box-shadow: 0 0 0 3px rgba(1, 81, 169, 0.1);
}

.form-input:required:valid {
    border-color: #176634;
}

.form-submit {
    width: 100%;
    margin-bottom: 1rem;
}

.form-privacy {
    font-size: 0.75rem;
    color: #3a3a3d;
    line-height: 1.4;
    text-align: center;
}

.privacy-link {
    color: #0151a9;
    text-decoration: underline;
}

.privacy-link:hover {
    text-decoration: none;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #176634, #6ec1c9);
    color: white;
    border-radius: 15px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: white;
    margin-bottom: 1rem;
}

.form-success p {
    margin-bottom: 1rem;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, #3a3a3d, #176634);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.main-quote {
    margin-bottom: 2rem;
}

.main-quote p {
    font-size: 1.5rem;
    font-style: italic;
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
}

.main-quote cite {
    font-size: 1rem;
    opacity: 0.8;
}

.quote-message {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #3a3a3d;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-contact h4,
.footer-legal h4 {
    color: #bc9c22;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.contact-info {
    margin: 1rem 0;
}

.contact-info a {
    color: #6ec1c9;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #6ec1c9;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #6ec1c9;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #6ec1c9;
    color: #3a3a3d;
}

.legal-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

.legal-text p {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #6ec1c9;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-link:hover {
    text-decoration: underline;
}

.copyright {
    text-align: right;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 1rem;
}

.modal-close {
    background-color: #176634;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .empathy-grid,
    .lead-magnet-grid,
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 3rem;
        height: 1px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .section-content {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .form-wrapper,
    .pillar,
    .trust-item {
        padding: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .golden-rule {
        padding: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #0151a9;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-button,
    .form-container {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .empathy-section,
    .trust-section,
    .solution-section,
    .quote-section {
        background: white !important;
        color: black !important;
    }
}
