/* Hero enhancements */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
}

.hero-section .subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.hero-section .cta-button {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Additional styles for modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: var(--accent);
}

.modal-content h3 {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
}

.modal-form-group {
    margin-bottom: 1rem;
}

.modal-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

.modal-form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    box-sizing: border-box;
}

.modal-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.modal-checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.modal-checkbox-group label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: normal;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.modal-buttons .button {
    width: 100%;
}

/* Introduction section enhancement */
.intro-section {
    background-color: var(--background);
    padding: 5rem 0;
}

.section-intro {
    max-width: 800px;
}

.section-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Content sections with enhanced visual hierarchy */
.horizon-content {
    background-color: var(--card);
    padding: 5rem 0;
}

.content-section {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border-left: 4px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.content-section:last-of-type {
    margin-bottom: 0;
}

/* Different accent colors for each horizon */
#grounding-vision .content-section {
    border-left-color: #1976d2;
}

#building-foundation .content-section {
    border-left-color: #388e3c;
}

#designing-deploying .content-section {
    border-left-color: #f57c00;
}

#expanding-capabilities .content-section {
    border-left-color: #7b1fa2;
}

.content-section .horizon-label {
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
}

.content-section h2 {
    font-size: 2.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.content-section .subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    display: block;
}

.content-section h4 {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-section h4::before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background-color: var(--secondary);
    display: inline-block;
    border-radius: 2px;
}

.content-section > p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
    margin-bottom: 2rem;
}

.content-section li {
    margin-bottom: 1rem;
    color: var(--foreground-muted);
    line-height: 1.8;
    padding-left: 2rem;
    position: relative;
}

.content-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.125rem;
}

/* Separator styling */
.separator {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 4rem 0;
}

/* Reflection section enhancement */
.reflection-section {
    background-color: var(--background);
    padding: 5rem 0;
}

.reflection-questions {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    max-width: 900px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.reflection-questions::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.reflection-questions h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.reflection-questions > p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.reflection-questions ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
    position: relative;
}

.reflection-questions li {
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.95);
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.reflection-questions li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Final CTA enhancements */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta ul {
    list-style: none;
    padding-left: 0;
}

.final-cta li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
}

.final-cta li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.final-cta .cta-button {
    background-color: white;
    color: var(--primary);
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.final-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.final-cta .button-outline {
    border-color: white;
    color: white;
    background-color: transparent;
}

.final-cta .button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2.5rem;
    }
    
    .content-section {
        padding: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .reflection-questions {
        padding: 2rem;
    }
}
