/* Horizon Trades Insights - Professional Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #dd6b20;
    --light: #f7fafc;
    --text: #2d3748;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #ffffff;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav a {
    margin-left: 28px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    position: relative;
    height: 520px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=80') center/cover;
    opacity: 0.25;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 28px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.btn:hover {
    background: #c05621;
    transform: translateY(-2px);
}

/* Disclaimer */
.disclaimer-banner {
    background: #fffaf0;
    border-bottom: 1px solid #fed7aa;
    padding: 16px 0;
    font-size: 0.9rem;
}

.disclaimer-banner p {
    text-align: center;
    color: #744210;
}

/* Sections */
.section {
    padding: 70px 0;
}

.bg-light {
    background: var(--light);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-block p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.image-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 20px 20px 8px;
    font-size: 1.25rem;
    color: var(--primary);
}

.card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
}

/* Practices */
.practices-list {
    display: grid;
    gap: 24px;
}

.practice-item {
    background: white;
    padding: 24px;
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.practice-item h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.resource-card {
    background: white;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.resource-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

/* FAQ */
.faq details {
    background: white;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 16px 20px;
}

.faq summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--primary);
}

.faq details p {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Contact */
.contact-section {
    text-align: center;
}

.contact-box {
    background: white;
    max-width: 520px;
    margin: 24px auto 0;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.contact-box a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 40px 0 30px;
    text-align: center;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: #bee3f8;
    margin: 0 16px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 12px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Legal pages */
.legal-page {
    padding: 60px 0;
}

.legal-page h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.last-updated {
    color: #718096;
    margin-bottom: 28px;
}

.legal-page h2 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin: 32px 0 12px;
}

.legal-page p {
    margin-bottom: 16px;
}

.legal-page .btn {
    margin-top: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.1rem; }
    .content-grid { grid-template-columns: 1fr; }
    .nav a { margin-left: 16px; font-size: 0.9rem; }
    .header .container { flex-wrap: wrap; height: auto; padding: 12px 20px; }
    .cards, .resources-grid { grid-template-columns: 1fr; }
}