/* ===================================
   MAIN.CSS - Consolidated Styles
   OrganizationALL Website
   =================================== */

/* ===================================
   1. BASE RESET & TYPOGRAPHY
   =================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

::selection {
    background-color: var(--accent-primary);
    color: var(--text-on-accent);
}

/* ===================================
   2. LAYOUT - Container & Navigation
   =================================== */

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

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 39, 66, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    padding: 0.25rem 0;
    background: rgba(0, 39, 66, 0.98);
}

.nav-container {
    max-width: 2048px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Logo */
.nav-logo .logo {
    width: auto;
    height: 85px;
    object-fit: contain;
    transition: height 0.3s ease;
}

#navbar.scrolled .nav-logo .logo {
    height: 65px;
}

/* Wide screen nav adjustments */
@media (min-width: 1440px) {
    #navbar {
        padding: 0.5rem 0;
    }
    .nav-logo .logo {
        height: 80px;
    }
    #navbar.scrolled .nav-logo .logo {
        height: 60px;
    }
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 2048px) {
    .nav-toggle {
        display: flex;
    }

    .nav-logo .logo {
        height: 84px;
    }

    #navbar.scrolled .nav-logo .logo {
        height: 50px;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 39, 66, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ===================================
   3. HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 150px; /* Account for larger navbar */
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Hero Video Overlay - 84% opacity (16% video shows through) */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    opacity: 0.84;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 2048px;
    padding: 0 2rem;
}

/* FIXED: Hero Logo - Increased Size */
.hero-logo {
    width: 500px;
    max-width: 80vw;
    height: auto;
    margin: 0 auto 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

/* Hero Title - "People • Design • Solutions" - Large, one line */
.hero-title {
    font-family: 'Dongle', cursive;
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

/* Hero Tagline - "Your Vision, Our Organization" - Dongle, white, like section-title-large */
.hero-tagline {
    font-family: 'Dongle', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

/* Hero Subtitle - "We build solutions for people" - Larger */
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-indicator span {
    width: 2px;
    height: 15px;
    background: var(--accent-primary);
    animation: scrollPulse 1.5s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) { animation-delay: 0.2s; }
.scroll-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* Hero Responsive */
@media (max-width: 480px) {
    .hero-logo {
        width: 280px;
    }
    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
        line-height: 1.2;
    }
    .hero-tagline {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .hero-logo {
        width: 320px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-tagline {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-logo {
        width: 400px;
    }
    .hero-title {
        font-size: 4rem;
    }
    .hero-tagline {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .hero-logo {
        width: 500px;
    }
    .hero-title {
        font-size: 5.5rem;
    }
    .hero-tagline {
        font-size: 4.5rem;
    }
    .hero-subtitle {
        font-size: 1.9rem;
    }
}

@media (min-width: 1440px) {
    .hero-logo {
        width: 550px;
    }
    .hero-title {
        font-size: 6.5rem;
    }
    .hero-tagline {
        font-size: 5rem;
    }
    .hero-subtitle {
        font-size: 2.1rem;
    }
}

/* ===================================
   4. BRAND SECTION
   =================================== */

section {
    padding: 13rem 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 13rem 0;
    }
}

.brand-section {
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
    padding: 25rem 0;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.diagonal-stripe {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
    transform: skewY(-3deg);
    z-index: 0;
}

.brand-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 0;
}

.section-title-large {
    font-family: 'Dongle', cursive;
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3.5rem;
    line-height: 1.3;
    white-space: nowrap;
}

.brand-description {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    margin-top: 2rem;
}

/* FIXED: Rotating Text with Proper Fade - stays on one line */
.rotating-text {
    display: inline-block;
    color: var(--accent-primary);
    position: relative;
    min-width: 280px; /* Accommodates longest word "Sustainable" */
    text-align: left;
    transition: opacity 0.4s ease-in-out;
}

.rotating-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
}

/* Responsive Brand Section */
@media (max-width: 767px) {
    .section-title-large {
        font-size: 2.5rem;
        white-space: normal; /* Allow wrap on mobile */
    }
    .brand-description {
        font-size: 1.1rem;
    }
    .rotating-text {
        min-width: 150px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section-title-large {
        font-size: 4rem;
    }
    .brand-description {
        font-size: 1.25rem;
    }
    .rotating-text {
        min-width: 220px;
    }
}

@media (min-width: 1024px) {
    .section-title-large {
        font-size: 5.5rem;
    }
    .brand-description {
        font-size: 1.4rem;
    }
    .rotating-text {
        min-width: 300px;
    }
}

@media (min-width: 1440px) {
    .section-title-large {
        font-size: 6.5rem;
    }
    .brand-description {
        font-size: 1.5rem;
        max-width: 1000px;
    }
    .rotating-text {
        min-width: 360px;
    }
}

/* ===================================
   5. STATS SECTION
   =================================== */

.stats-section {
    background: var(--bg-primary);
    padding: 4rem 0;
}

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

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

.stat-number {
    font-family: 'Dongle', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(137, 168, 199, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0;
    transition: width 1.5s ease;
    border-radius: 2px;
}

/* ===================================
   6. VENTURES SECTION
   =================================== */

.ventures-section {
    background: var(--bg-secondary);
}

.section-title {
    font-family: 'Dongle', cursive;
    font-size: 3rem;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

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

@media (max-width: 768px) {
    .ventures-grid {
        grid-template-columns: 1fr;
    }
}

/* Venture Cards */
.venture-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 350px;
}

.venture-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* FIXED: Unified Venture Icon Styles - All Same Size */
.venture-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.venture-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Wide icon variant for logos with horizontal aspect ratio (e.g., bookkeeping) */
.venture-icon-wide {
    width: 160px;
    height: 80px;
    background: var(--primary-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
    padding: 12px;
}

.venture-icon-wide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Use same styles for all venture icons - removed separate classes */
.venture-book-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.venture-book-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* FIXED: West Blaine Street icon - Now matches others */
.venture-west-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.venture-west-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.venture-title {
    font-family: 'Dongle', cursive;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.venture-description {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

/* ===================================
   7. MISSION SECTION
   =================================== */

.mission-section {
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
    padding: 20rem 0;
    min-height: 600px;
}

.mission-section .container {
    position: relative;
    z-index: 2;
}

/* Principles Header */
.principles-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2rem;
}

.principles-focus {
    font-family: 'Dongle', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.principles-tagline {
    font-size: 1.25rem;
    color: #a8c4d4;
    font-weight: 400;
}

@media (max-width: 768px) {
    .principles-focus {
        font-size: 2.5rem;
    }
    .principles-tagline {
        font-size: 1.1rem;
    }
}

.diagonal-stripe-reverse {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-main) 0%, var(--primary-main) 100%);
    transform: skewY(3deg);
    z-index: 0;
}

.principles-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* 3-column principles grid for People, Design, Solutions */
.principles-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 2.5rem;
}

/* Larger cards on wide displays */
@media (min-width: 1440px) {
    .principles-grid-3 {
        max-width: 1400px;
        gap: 3rem;
    }
    
    .principle-card {
        padding: 3rem;
    }
    
    .principle-number {
        font-size: 4rem;
    }
    
    .principle-title {
        font-size: 1.75rem;
    }
    
    .principle-description {
        font-size: 1.1rem;
    }
}

@media (min-width: 1920px) {
    .principles-grid-3 {
        max-width: 1600px;
        gap: 3.5rem;
    }
    
    .principle-card {
        padding: 3.5rem;
    }
    
    .principle-number {
        font-size: 4.5rem;
    }
    
    .principle-title {
        font-size: 2rem;
    }
    
    .principle-description {
        font-size: 1.15rem;
        line-height: 1.8;
    }
}

@media (max-width: 900px) {
    .principles-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

.principle-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.principle-number {
    font-family: 'Dongle', cursive;
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.principle-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.principle-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   8. CONTACT SECTION
   =================================== */

.contact-section {
    background: var(--bg-secondary);
}

/* Compact horizontal contact layout */
.contact-section-compact {
    padding: 3rem 0;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-title {
    font-family: 'Dongle', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.contact-details-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-details-inline .contact-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-details-inline .contact-link:hover {
    color: var(--accent-primary);
}

.contact-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

.contact-right {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .contact-left {
        align-items: center;
    }
    
    .contact-details-inline {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .contact-divider {
        display: none;
    }
}

/* Legacy compact contact layout */
.contact-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
}

.contact-details .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.contact-details .contact-label {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details .contact-link,
.contact-details span {
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-details .contact-link:hover {
    color: var(--accent-primary);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-cta {
    opacity: 1;
    animation: none;
}

.contact-actions .social-links {
    margin-top: 0;
}

/* Legacy contact grid (keeping for backwards compatibility) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    font-family: 'Dongle', cursive;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.contact-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--accent-primary);
    color: var(--text-on-accent);
    transform: translateY(-3px);
}

/* ===================================
   9. BUTTONS
   =================================== */

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    color: var(--text-on-accent);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(137, 168, 199, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(137, 168, 199, 0.4);
}

.venture-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.venture-button:hover {
    background: var(--accent-primary);
    color: var(--text-on-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(137, 168, 199, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: var(--text-on-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===================================
   10. FOOTER
   =================================== */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===================================
   11. ANIMATIONS
   =================================== */

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

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Classes */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ===================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   =================================== */

/* Static navbar for legal pages (no scroll behavior) */
.navbar-static {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

/* Legal Page Header */
.legal-header {
    background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 80px; /* Account for fixed navbar */
}

.legal-title {
    font-family: 'Dongle', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.legal-updated {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Legal Content Area */
.legal-content {
    background: var(--bg-primary);
    padding: 4rem 0 6rem;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: 'Dongle', cursive;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-primary);
}

.legal-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.legal-section li::marker {
    color: var(--accent-primary);
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Legal Contact Box */
.legal-contact {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    border-left: 4px solid var(--accent-primary);
}

.legal-contact p {
    margin-bottom: 0.25rem;
}

.legal-contact a {
    color: var(--accent-primary);
}

/* Active footer link */
.footer-links a.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Legal page responsive adjustments */
@media (max-width: 768px) {
    .legal-header {
        padding: 6rem 0 3rem;
        margin-top: 70px;
    }
    
    .legal-title {
        font-size: 3rem;
    }
    
    .legal-content {
        padding: 3rem 0 4rem;
    }
    
    .legal-section h2 {
        font-size: 1.875rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
    }
    
    .legal-body {
        padding: 0 1rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .back-to-top,
    #navbar,
    .scroll-indicator {
        display: none !important;
    }
    
    .legal-header {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    .legal-section {
        page-break-inside: avoid;
    }
}