/* Kameha Ventures - Modern Secure Stylesheet */
/* Version: 2.2 - Complete Fix Update with SPV Changes */

/* ===== CSS Variables ===== */
:root {
    /* Modern Color Palette - WCAG AA Compliant */
    --primary: #0066CC;
    --primary-dark: #0052A3;
    --primary-light: #3385D6;
    --secondary: #00B4D8;
    --secondary-dark: #0096B8;
    --secondary-light: #33C3E0;
    --accent: #06FFA5;
    --accent-dark: #00CC84;
    --accent-light: #33FFB8;
    
    /* Neutral Colors */
    --dark: #0A0E27;
    --dark-lighter: #141B3C;
    --medium: #1E2749;
    --light: #2A3659;
    --lighter: #364466;
    
    /* Text Colors - FIXED for better visibility */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.8);
    --text-disabled: rgba(255, 255, 255, 0.5);
    
    /* Functional Colors */
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --info: #2196F3;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-light);
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    z-index: var(--z-tooltip);
    border-radius: var(--radius-sm);
}

.skip-to-content:focus {
    top: var(--space-md);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
    visibility: hidden;
}

.btn.loading .btn-loader {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* ===== Header & Navigation - FIXED LOGO SIZE ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: transparent;
    transition: all var(--transition-base);
    padding: var(--space-lg) 0;
}

#header.scrolled {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.75rem; /* Increased from 1.5rem */
    color: white;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 80px; /* Increased from 48px */
    height: 80px; /* Increased from 48px */
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .cta-button {
    background: var(--secondary);
    color: var(--dark);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-menu .cta-button:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    transition: transform var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    margin: var(--space-sm) auto 0;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

/* ===== Section Styles ===== */
section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-full);
}

/* FIXED: MUCH Better visibility for subtitles */
.section-subtitle {
    font-size: 1.25rem; /* Increased size */
    color: rgba(255, 255, 255, 0.9); /* Much brighter - almost white */
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Added shadow for better contrast */
    line-height: 1.6;
}

/* ===== Story Section - FIXED ALIGNMENT ===== */
.story-section {
    background: var(--dark-lighter);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
    align-items: start; /* Changed from default to ensure top alignment */
}

.founder-card {
    background: linear-gradient(135deg, var(--light) 0%, var(--medium) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 100%; /* Ensure cards have same height */
    display: flex;
    flex-direction: column;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.founder-image-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-xl);
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.1);
    position: relative;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.founder-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info {
    flex: 1; /* Take up remaining space */
    display: flex;
    flex-direction: column;
}

.founder-info h3 {
    min-height: 3em; /* Ensure consistent height for names */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.founder-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.founder-bio {
    text-align: left;
    line-height: 1.8;
    flex: 1; /* Take up remaining space */
}

/* ===== Mission Section ===== */
.mission-section {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.mission-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.85);
}

.mission-statement {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: rgba(20, 27, 60, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mission-statement p {
    font-size: 1.375rem;
    line-height: 1.8;
    margin: 0;
}

/* ===== Platform Section - REMOVED BLUE FRAME ===== */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.platform-image {
    height: 500px;
    background: transparent; /* Removed background color */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    /* Removed border */
}

.platform-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-content {
    padding: var(--space-2xl);
    background: rgba(30, 39, 73, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-content p {
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.platform-content p:last-child {
    margin-bottom: 0;
}

/* ===== Investment Focus Section - COMPLETELY FIXED GRID ===== */
.investment-section {
    background-image: url('assets/ChatGPT Image Apr 19, 2025, 11_41_11 AM.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.investment-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.75);
}

/* COMPLETELY REDONE FOCUS GRID */
.focus-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.focus-card {
    background: rgba(30, 39, 73, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.focus-card:hover::before {
    opacity: 1;
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.focus-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.focus-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.focus-card h3 {
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.focus-card p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive breakpoints for focus grid */
@media (max-width: 1400px) {
    .focus-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .focus-card {
        padding: 25px 15px;
        min-height: 280px;
    }
}

@media (max-width: 1200px) {
    .focus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .focus-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Strategy Section ===== */
.strategy-section {
    background-image: url('https://images.unsplash.com/photo-1519389950473-47e70563f147?auto=format&fit=crop&w=1600&q=60');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.strategy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.75);
}

.strategy-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.strategy-card {
    background: rgba(30, 39, 73, 0.8);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.strategy-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.strategy-icon svg {
    width: 30px;
    height: 30px;
    color: var(--secondary);
}

.strategy-card h3 {
    margin-bottom: var(--space-md);
}

.strategy-card p {
    margin: 0;
    line-height: 1.6;
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    background-image: url('https://images.unsplash.com/photo-1607799279861-4dd421887fb3?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.portfolio-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.8);
}

.portfolio-teaser {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: rgba(30, 39, 73, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    text-align: center;
}

.portfolio-teaser p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.coming-soon {
    color: var(--secondary);
    font-weight: 600;
}

/* ===== Mantras Section - FIXED LAYOUT ===== */
.mantras-section {
    background: var(--dark-lighter);
}

.mantras-carousel {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column; /* Changed to column layout */
    align-items: center;
    justify-content: center;
}

.mantra-slides {
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin-bottom: var(--space-2xl); /* Add space between quotes and dots */
}

.mantra-slide {
    display: none;
    animation: fadeIn var(--transition-slow);
}

.mantra-slide.active {
    display: block;
}

.mantra-quote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.mantra-author {
    font-size: 1.125rem;
    color: var(--secondary);
    font-weight: 600;
}

.mantra-navigation {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    /* Removed margin-top as it's now handled by parent */
}

.mantra-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-disabled);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.mantra-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* ===== Contact Section - FIXED ALIGNMENT ===== */
.contact-section {
    background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.85);
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start; /* Changed to ensure proper alignment */
}

.contact-info h3,
.contact-form-wrapper h3 {
    margin-bottom: var(--space-xl); /* Ensure consistent spacing */
    font-size: 1.75rem; /* Make headings same size */
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
}

.contact-text h4 {
    margin-bottom: var(--space-xs);
}

.contact-text p,
.contact-text a {
    margin: 0;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--medium);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: rgba(30, 39, 73, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.error-message {
    display: none;
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.875rem;
    color: var(--error);
}

.form-group.error .form-control {
    border-color: var(--error);
}

.form-group.error .error-message {
    display: block;
}

.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success svg {
    color: var(--success);
    margin-bottom: var(--space-lg);
}

.form-success h4 {
    color: var(--success);
    margin-bottom: var(--space-md);
}

/* ===== Footer - FIXED LAYOUT ===== */
.site-footer {
    background: var(--dark);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* Better proportions */
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 400px; /* Limit width for better readability */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem; /* Increased size */
    color: white;
    text-decoration: none;
    margin-bottom: var(--space-lg);
}

.footer-logo img {
    width: 80px; /* Increased from 48px */
    height: 80px; /* Increased from 48px */
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.footer-section h4 {
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-section a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--medium);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    max-width: 500px;
    background: var(--dark-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-modal);
    animation: slideUp var(--transition-slow);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.cookie-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.cookie-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Media Queries ===== */
@media (max-width: 1024px) {
    .platform-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark-lighter);
        flex-direction: column;
        justify-content: center;
        padding: var(--space-2xl);
        transition: right var(--transition-base);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cookie-consent {
        left: var(--space-sm);
        right: var(--space-sm);
    }
}

@media (max-width: 480px) {
    section {
        padding: var(--space-2xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .founder-card {
        min-width: unset;
    }
}

/* ===== Print Styles ===== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    header,
    .hero-background,
    .scroll-indicator,
    .cookie-consent,
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid black;
        color: black;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== High Contrast Mode ===== */
@media (prefers-contrast: high) {
    :root {
        --primary: #0066FF;
        --secondary: #00CCFF;
        --text-primary: #FFFFFF;
        --text-secondary: #FFFFFF;
    }
    
    .form-control {
        border-width: 2px;
    }
}