/* ===================================
   EquityAI - Sophisticated Design System
   Palette: Cream, Espresso, Slate Blue, Soft Gold
   =================================== */

:root {
    /* Color Palette */
    --cream: #F9F7F4;
    --espresso: #2B2520;
    --slate-blue: #5B7C99;
    --soft-gold: #C9A86A;
    --light-gray: #E8E4DF;
    --warm-white: #FEFDFB;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s ease;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--cream);
    color: var(--espresso);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(249, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--light-gray);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.nav-logo {
    flex-shrink: 0;
}

.logo {
    height: 70px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
    background: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    text-decoration: none;
    color: var(--espresso);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--soft-gold);
    transition: width var(--transition-smooth);
}

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

.nav-cta {
    background-color: var(--espresso);
    color: var(--cream) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background-color: var(--slate-blue);
    color: var(--cream) !important;
}

.nav-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--espresso);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: var(--spacing-xl);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--espresso);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-lines {
    position: relative;
    height: 60px;
    margin: var(--spacing-md) 0;
}

.network-motif {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 60px;
    background-image: 
        linear-gradient(90deg, var(--slate-blue) 1px, transparent 1px),
        linear-gradient(0deg, var(--slate-blue) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    animation: networkPulse 3s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--espresso);
    max-width: 750px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--espresso);
    color: var(--cream);
}

.btn-primary:hover {
    background-color: var(--slate-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(43, 37, 32, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--espresso);
    border-color: var(--espresso);
}

.btn-secondary:hover {
    background-color: var(--espresso);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--espresso);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--espresso);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===================================
   Why Section
   =================================== */

.why-section {
    background-color: var(--warm-white);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-statements {
    margin: var(--spacing-lg) 0;
    text-align: center;
}

.statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
    width: 100%;
}

.statement::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--soft-gold);
    margin: var(--spacing-sm) auto;
}

.statement:last-child::after {
    display: none;
}

/* ===================================
   What Section - Tiles
   =================================== */

.what-section {
    background-color: var(--cream);
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tile {
    background-color: var(--warm-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    transition: all var(--transition-smooth);
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(43, 37, 32, 0.1);
    border-color: var(--slate-blue);
}

.tile-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.tile-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: var(--spacing-sm);
}

.tile-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--espresso);
    opacity: 0.85;
    margin-bottom: var(--spacing-md);
}

.tile-talks-list {
    margin-top: var(--spacing-md);
}

.talk-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--light-gray);
}

.talk-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.talk-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-blue);
    margin-bottom: 0.5rem;
}

.talk-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--espresso);
    opacity: 0.8;
}

.essays-preview {
    margin-top: var(--spacing-md);
}

.essay-quote {
    font-style: italic;
    font-size: 1rem;
    color: var(--slate-blue);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-sm);
    border-left: 3px solid var(--soft-gold);
}

/* Flagship Talk Styling */
.flagship-talk {
    background-color: rgba(91, 124, 153, 0.05);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 2px solid var(--slate-blue);
    position: relative;
}

.talk-label {
    display: inline-block;
    background-color: var(--slate-blue);
    color: var(--cream);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.flagship-talk h4 {
    font-size: 1.3rem;
}

/* Signature Perspective */
.signature-perspective {
    background: linear-gradient(135deg, rgba(91, 124, 153, 0.1) 0%, rgba(201, 168, 106, 0.1) 100%);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--soft-gold);
    margin: var(--spacing-lg) 0;
}

.perspective-statement {
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    color: var(--espresso);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   Positioning Section
   =================================== */

.positioning-section {
    background-color: var(--warm-white);
    border-top: 1px solid var(--light-gray);
}

.positioning-content {
    max-width: 900px;
    margin: 0 auto;
}

.positioning-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--espresso);
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.positioning-item {
    text-align: center;
    padding: var(--spacing-md);
}

.positioning-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--slate-blue);
    margin-bottom: 0.5rem;
}

.positioning-item p {
    font-size: 1rem;
    color: var(--espresso);
    opacity: 0.8;
}

/* ===================================
   Principles Section
   =================================== */

.principles-section {
    background-color: var(--cream);
}

.principles-list {
    max-width: 900px;
    margin: 0 auto;
    margin-top: var(--spacing-lg);
}

.principle-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--light-gray);
}

.principle-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.principle-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--soft-gold);
    line-height: 1;
}

.principle-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.principle-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--espresso);
    opacity: 0.85;
}

/* ===================================
   Booking Section
   =================================== */

.booking-section {
    background: linear-gradient(135deg, var(--slate-blue) 0%, #4A6580 100%);
    color: var(--cream);
    text-align: center;
}

.booking-section .section-title {
    color: var(--cream);
}

.booking-description {
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.topic-item {
    background-color: rgba(249, 247, 244, 0.1);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid rgba(249, 247, 244, 0.2);
    transition: all var(--transition-fast);
}

.topic-item:hover {
    background-color: rgba(249, 247, 244, 0.2);
    transform: translateY(-2px);
}

.booking-actions {
    margin-top: var(--spacing-lg);
}

.booking-section .btn-primary {
    background-color: var(--soft-gold);
    color: var(--espresso);
}

.booking-section .btn-primary:hover {
    background-color: var(--cream);
    color: var(--espresso);
}

/* Booking Formats & Audiences */
.booking-formats {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    text-align: left;
}

.booking-formats h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.booking-formats ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.booking-formats li {
    background-color: rgba(249, 247, 244, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    border: 1px solid rgba(249, 247, 244, 0.2);
}

.booking-audiences {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
    text-align: center;
}

.booking-audiences h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: var(--spacing-sm);
}

.booking-audiences p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--cream);
    opacity: 0.9;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--espresso);
    color: var(--cream);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
    mix-blend-mode: normal;
}

.footer-tagline {
    font-style: italic;
    color: var(--soft-gold);
    font-size: 1.1rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--soft-gold);
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-column ul li:not(:has(a)) {
    color: var(--cream);
    opacity: 0.6;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(249, 247, 244, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

.footer-attribution {
    font-style: italic;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--cream);
        flex-direction: column;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--light-gray);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-smooth);
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .tiles-grid {
        grid-template-columns: 1fr;
    }
    
    .positioning-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .principle-item {
        grid-template-columns: 60px 1fr;
        gap: var(--spacing-sm);
    }
    
    .principle-number {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .logo {
        height: 55px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .statement {
        font-size: 1.2rem;
    }
}

/* ===================================
   Accessibility & Animations
   =================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--soft-gold);
    outline-offset: 2px;
}

/* Smooth fade-in animation */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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