/* --- Variables --- */
:root {
    /* Color Palette - Deep Noir Mafia Theme */
    --bg-darker: #050403;
    --bg-wood: #110b08;
    --bg-paper: #1c1511; 
    
    --text-primary: #e3d3bd; /* Sepia light */
    --text-muted: #8c7c69;
    --text-dark: #211610;
    
    --gold: #ba9355;
    --gold-bright: #e8c684;
    --copper: #9b5a36;
    --red-alert: #661818;
    
    --border-color: rgba(186, 147, 85, 0.2);
    --border-highlight: rgba(186, 147, 85, 0.6);

    /* Typography */
    --font-heading: 'Cinzel', serif; /* Mafia style sharp serifs */
    --font-subheading: 'Playfair Display', serif; /* Classic elegant */
    --font-body: 'Roboto', sans-serif; /* Clean readable text */
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-wood);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}

/* Tiling/Texture Background base */
.texture-bg {
    background-color: var(--bg-wood);
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

h1, h2, h3, h4, .logo, .stamp-logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 120px 0; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.relative { position: relative; }
.z-index-1 { z-index: 1; }

.separator {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 40px;
    box-shadow: 0 0 10px rgba(186,147,85,0.5);
}

/* --- Parallax & Overlays --- */
.parallax {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Replace these Unsplash URLs with your own images */
.hero {
    background-image: url('hero-bg.png'); /* 1930s Warehouse Style */
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.photo-bg-2 { background-image: url('boss-bg.png'); }
.photo-bg-3 { background-image: url('dossier-bg.png'); }

.radial-lamp {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(33, 22, 16, 0.4) 0%, rgba(5, 4, 3, 0.95) 80%);
}

.heavy-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 4, 3, 0.9);
}

/* --- Hero Section --- */
.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0px 0px 15px rgba(186,147,85,0.4));
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 20px;
    margin-top: -50px;
}

.logo {
    font-size: 4.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 2px 5px 15px rgba(0, 0, 0, 0.9), 0px 0px 30px rgba(186,147,85,0.3);
    margin-bottom: 25px;
}

.subtitle {
    font-family: var(--font-subheading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 50px;
    font-style: italic;
    opacity: 1;
    text-shadow: 0px 3px 6px rgba(0,0,0,1), 0px 0px 15px rgba(0,0,0,0.8), 0px 0px 30px rgba(0,0,0,0.8);
    line-height: 1.8;
}

/* --- Stats Ribbon --- */
.stats-ribbon {
    background: linear-gradient(to right, #080504, #18110b, #080504);
    border-top: 1px solid var(--border-highlight);
    border-bottom: 1px solid var(--border-highlight);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    margin-top: -80px;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    min-width: 250px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--gold-bright);
    display: inline-block;
    text-shadow: 0 4px 15px rgba(186, 147, 85, 0.4);
}

.stat-plus {
    font-size: 2.5rem;
    color: var(--copper);
    vertical-align: super;
}

.stat-label {
    display: block;
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: var(--border-color);
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    padding: 20px 45px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 2px; /* Sharpe edges */
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-cta {
    background: var(--bg-paper);
    color: var(--gold-bright);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(186,147,85,0.1);
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(186,147,85,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.primary-cta:hover::before {
    left: 100%;
}

.primary-cta:hover {
    background: var(--bg-darker);
    border-color: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(186, 147, 85, 0.3), inset 0 0 20px rgba(186,147,85,0.2);
    color: #fff;
}

.pulse-anim {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(186, 147, 85, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(186, 147, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(186, 147, 85, 0); }
}

/* --- Sections Common --- */
.section-title {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}
.section-desc {
    font-family: var(--font-subheading);
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-style: italic;
}

/* --- Arsenal / Features (Dossier Cards) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dossier-card {
    background: var(--bg-paper);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
}

/* Vintage corner clips */
.dossier-card::after, .dossier-card::before {
    content: ''; position: absolute;
    width: 15px; height: 15px;
    border: 1px solid var(--border-highlight);
    opacity: 0.5;
    transition: all 0.3s;
}
.dossier-card::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.dossier-card::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.dossier-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 10px 15px 30px rgba(0,0,0,0.8);
}

.dossier-card:hover::before { top: 5px; left: 5px; border-color: var(--gold-bright); opacity: 1;}
.dossier-card:hover::after { bottom: 5px; right: 5px; border-color: var(--gold-bright); opacity: 1;}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    opacity: 0.8;
}

.dossier-card h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.dossier-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Target Audience (Profiles) --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.profile-card {
    background: rgba(8, 5, 4, 0.7);
    border-top: 3px solid var(--gold);
    padding: 50px 30px 40px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(5px);
}

.stamp-confidential {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    background: var(--red-alert);
    color: white;
    padding: 5px 15px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    border: 1px dashed white;
    z-index: 2;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.profile-card h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* --- Process Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 50px;
    width: 2px; height: 100%;
    background: var(--border-highlight);
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
    position: absolute;
    top: 5px; left: 41px; /* Align with line */
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--bg-wood);
    border: 3px solid var(--gold);
    box-shadow: 0 0 10px var(--gold);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-paper);
    padding: 30px;
    border-left: 3px solid var(--gold);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
}

.stage-number {
    font-family: var(--font-heading);
    color: var(--copper);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.timeline-content h3 {
    color: var(--gold-bright);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* --- Cases / Trust --- */
.case-studies {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.case-file {
    background: var(--text-primary); /* bright paper color */
    color: var(--bg-darker);
    padding: 20px;
    width: 350px;
    position: relative;
    transform: rotate(-2deg);
    box-shadow: 5px 10px 20px rgba(0,0,0,0.8);
    transition: transform 0.3s;
}

.case-file:nth-child(2) {
    transform: rotate(3deg);
    margin-top: 30px;
}

.case-file:hover {
    transform: rotate(0) scale(1.05);
    z-index: 10;
}

.paper-clip {
    position: absolute;
    top: -15px; left: 40px;
    width: 15px; height: 40px;
    border: 3px solid #777;
    border-radius: 10px;
    z-index: 3;
    background: transparent;
}

.case-graph {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: sepia(0.6) contrast(1.2);
    border: 1px solid #333;
    margin-bottom: 15px;
}

.case-info {
    text-align: left;
}

.case-info h4 {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 1.1rem;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.case-profit {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #0b4a1b; /* Dark green money */
    font-weight: 800;
}

.case-desc {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #444;
}

/* --- Final CTA --- */
.final-stamp {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.final-btn {
    font-size: 1.4rem;
    padding: 25px 60px;
    background: var(--gold);
    color: var(--bg-darker);
    text-shadow: none;
    border-color: #fff;
}

.final-btn:hover {
    background: var(--gold-bright);
    color: #000;
}

/* --- Footer --- */
.footer {
    background-color: #020101;
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
.footer-links a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .features-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .logo { font-size: 3.5rem; }
    .stat-divider { display: none; }
    .stats-flex { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
    .features-grid, .audience-grid { grid-template-columns: 1fr; }
    .logo { font-size: 2.5rem; line-height: 1.2; }
    .subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 50px; }
    .timeline-marker { left: 11px; }
    .case-studies { flex-direction: column; align-items: center; }
    .case-file, .case-file:nth-child(2) { transform: rotate(0); width: 100%; max-width: 400px; margin-top: 20px; }
    .cta-button { width: 100%; max-width: 350px; padding: 20px 10px; font-size: 1.1rem; }
    .hero { min-height: 80vh; }
}
