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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 16px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 16px;
    line-height: 1.5;
}

.lead {
    font-size: 1.25rem;
    color: #4B5563;
    margin-bottom: 24px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    color: #1E3A8A;
    margin-bottom: 24px;
}

.section-header p {
    font-size: 1.125rem;
    color: #6B7280;
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.logo-section {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.logo-container.small {
    gap: 12px;
}

.logo-icon {
    width: 60px;
    height: 60px;
}

.logo-container.small .logo-icon {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin: 0;
}

.logo-container.small .brand-name {
    font-size: 1.5rem;
}

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

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #1E3A8A;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    color: #4B5563;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.cta-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.cta-button.secondary {
    background: white;
    color: #1E3A8A;
    border: 2px solid #3B82F6;
}

.cta-button.secondary:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
}

.button-icon {
    width: 20px;
    height: 20px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modern Image Styles */
.hero-image,
.content-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-image img,
.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover img,
.content-image:hover img {
    transform: scale(1.05);
}

/* Image Placeholders - Fallback */
.image-placeholder {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
    border: 2px dashed #94A3B8;
    border-radius: 12px;
    padding: 64px 32px;
    text-align: center;
    color: #64748B;
    font-weight: 500;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Content Splits */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.content-split.reverse {
    direction: rtl;
}

.content-split.reverse > * {
    direction: ltr;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #F1F5F9;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: #3B82F6;
}

.feature-card h3 {
    color: #1E3A8A;
    margin-bottom: 16px;
}

.feature-card p {
    color: #6B7280;
    margin-bottom: 0;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #4B5563;
}

.list-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #3B82F6;
}

/* About Section */
.about {
    background: #F8FAFC;
}

/* Risk Navigator Section */
.risk-navigator {
    background: white;
}

/* Insight Engine Section */
.insight-engine {
    background: #F8FAFC;
}

.insight-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.metric-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 8px;
}

.metric-label {
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Stress Testing Section */
.stress-testing {
    background: white;
}

.stress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.stress-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #F1F5F9;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stress-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stress-card:hover::before {
    transform: scaleX(1);
}

.stress-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: #3B82F6;
}

/* Diversification Section */
.diversification {
    background: #F8FAFC;
}

.heatmap-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.heatmap-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4B5563;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.heatmap-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-mini-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #3B82F6;
}

/* Products Section */
.products {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #3B82F6;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card.featured {
    border-color: #3B82F6;
    background: linear-gradient(135deg, #F8FAFC 0%, #EBF4FF 100%);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.product-card.featured::before {
    transform: scaleX(1);
}

.product-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.product-header {
    text-align: center;
    margin-bottom: 32px;
}

.product-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: #3B82F6;
}

.product-header h3 {
    color: #1E3A8A;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3B82F6;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.product-features li {
    padding: 8px 0;
    color: #4B5563;
    position: relative;
    padding-left: 24px;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

.product-cta {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Decision Support Section */
.decision-support {
    background: #F8FAFC;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.support-feature {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.support-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.support-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: #3B82F6;
}

.support-feature h3 {
    color: #1E3A8A;
    margin-bottom: 16px;
}

/* Why Choose Section */
.why-choose {
    background: white;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reason {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 12px;
    border-left: 4px solid #10B981;
    transition: all 0.3s ease;
}

.reason:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.reason-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
    color: #10B981;
}

.reason h4 {
    color: #1E3A8A;
    margin-bottom: 8px;
}

.reason p {
    color: #6B7280;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background: #F8FAFC;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.contact-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #F1F5F9;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #3B82F6;
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: #3B82F6;
}

.contact-card h3 {
    color: #1E3A8A;
    margin-bottom: 16px;
}

.contact-card p {
    color: #6B7280;
    margin-bottom: 16px;
}

.contact-link {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 600;
    font-style: normal;
}

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

/* Footer */
.footer {
    background: #1E3A8A;
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .brand-name {
    color: white;
}

.footer-description {
    color: #CBD5E1;
    margin-top: 16px;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-section h4 {
    color: #E2E8F0;
    margin-bottom: 16px;
}

.footer-section p {
    color: #CBD5E1;
    margin-bottom: 8px;
}

.footer-section a {
    color: #60A5FA;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .content-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .insight-metrics {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .heatmap-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stress-grid {
        grid-template-columns: 1fr;
    }
    
    .support-features {
        grid-template-columns: 1fr;
    }
    
    .hero-image,
    .content-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 48px;
        height: 48px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .feature-card, .stress-card, .contact-card {
        padding: 24px;
    }
    
    .product-card {
        padding: 24px;
    }
    
    .hero-image,
    .content-image {
        height: 250px;
        border-radius: 12px;
    }
}