/* ========================================
   BARONE RESEARCH — GLOBAL STYLES
   Bloomberg Terminal meets London PE Firm
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0D1B2A;
    --bg-secondary: #0A1628;
    --accent: #C9A84C;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --card-bg: #112240;
    --border-color: rgba(201, 168, 76, 0.2);
    --border-accent: rgba(201, 168, 76, 0.4);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ========================================
   LAYOUT & SPACING
   ======================================== */

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

section {
    padding: 5rem 0;
}

section.hero-section {
    padding: 8rem 0;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-accent);
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(10, 22, 40, 0.95);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text .brand {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-text .tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    border: 1px solid var(--accent);
    background-color: transparent;
    color: var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.nav-btn:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-accent);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* ========================================
   BUTTONS & LINKS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: #D4B860;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--accent);
    background-color: transparent;
    color: var(--accent);
}

.btn-outline:hover {
    background-color: rgba(201, 168, 76, 0.1);
    transform: translateY(-2px);
}

.btn-arrow::after {
    content: ' →';
    transition: var(--transition);
}

.btn-arrow:hover::after {
    margin-left: 0.5rem;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 2px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.1);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.card-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    text-align: center;
    padding-top: 10rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.03) 0%, rgba(201, 168, 76, 0.01) 100%),
                repeating-linear-gradient(
                    0deg,
                    rgba(201, 168, 76, 0.02) 0px,
                    rgba(201, 168, 76, 0.02) 1px,
                    transparent 1px,
                    transparent 2px
                );
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-section > p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* ========================================
   STATS BAR
   ======================================== */

.stats-bar {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    text-align: center;
}

.stat-item {
    padding: 0 2rem;
    border-right: 1px solid var(--border-accent);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

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

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

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

/* ========================================
   TIMELINE
   ======================================== */

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: rgba(201, 168, 76, 0.2);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-item h3 {
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.9rem;
}

/* Connecting line on desktop */
@media (min-width: 768px) {
    .timeline::before {
        content: '';
        position: absolute;
        top: 2rem;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
        z-index: 0;
    }

    .timeline-item {
        position: relative;
        z-index: 1;
    }
}

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */

.section-alt {
    background-color: rgba(17, 34, 64, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-gold {
    background-color: var(--accent);
    color: var(--bg-primary);
    text-align: center;
    padding: 4rem 0;
}

.section-gold h2,
.section-gold p {
    color: var(--bg-primary);
}

.section-gold .btn {
    background-color: var(--bg-primary);
    color: var(--accent);
}

.section-gold .btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-accent);
    padding: 4rem 0 1rem;
    margin-top: 5rem;
}

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

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   FORMS
   ======================================== */

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 2px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(201, 168, 76, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-submit:hover {
    background-color: #D4B860;
    transform: translateY(-2px);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 2rem;
}

/* ========================================
   ACCORDION
   ======================================== */

.accordion {
    margin-top: 3rem;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--accent);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.accordion-arrow {
    width: 20px;
    height: 20px;
    color: var(--accent);
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    margin-top: 1rem;
}

.accordion-content p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========================================
   REPORT VIEWER
   ======================================== */

.report-container {
    background-color: #F7F7F5;
    color: #1a1a1a;
    padding: 3rem;
    border-radius: 2px;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.report-header {
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.report-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.report-header p {
    color: #666;
    font-size: 0.9rem;
}

.report-section {
    margin-bottom: 2.5rem;
}

.report-section h2 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.report-section h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.report-section p {
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.report-table th {
    background-color: #e8e8e8;
    color: #1a1a1a;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
}

.report-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    color: #333;
}

.report-table tr:nth-child(even) {
    background-color: #fafafa;
}

.redacted {
    background-color: #ddd;
    color: #ddd;
    user-select: none;
    font-weight: bold;
}

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

.report-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
}

.report-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.report-list.success li::before {
    content: '✓';
    color: #22c55e;
}

.report-list.warning li::before {
    content: '⚠';
    color: #ef4444;
}

.report-redacted {
    background-color: #e8e8e8;
    border: 2px dashed #999;
    padding: 3rem;
    text-align: center;
    border-radius: 2px;
    position: relative;
    margin: 2rem 0;
}

.report-redacted::before {
    content: '🔒';
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.report-redacted p {
    color: #666;
    font-size: 1rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.fade-in.visible {
    opacity: 1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    section.hero-section {
        padding: 6rem 0 4rem;
    }

    nav .container {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .grid-3,
    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-accent);
        padding: 1.5rem 0;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .report-container {
        padding: 1.5rem;
    }

    .report-header h1 {
        font-size: 1.2rem;
    }

    .report-section h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero-section {
        padding-top: 7rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .card-price {
        font-size: 1.5rem;
    }

    .timeline-number {
        font-size: 2rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.text-accent {
    color: var(--accent);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }

.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
