/* ============================================
   EDIFY SOLUTIONS AB - Professional Website
   Color Palette from Logo:
   - Primary Dark: #070714 (deep navy)
   - Secondary Dark: #0d0d1a (navy)
   - Accent Blue: #3b82f6 (bright blue)
   - White: #ffffff
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --color-bg-primary: #070714;
    --color-bg-secondary: #0d0d1a;
    --color-bg-tertiary: #111122;
    --color-bg-card: #141428;
    --color-accent: #3b82f6;
    --color-accent-light: #60a5fa;
    --color-accent-dark: #2563eb;
    --color-white: #ffffff;
    --color-gray-100: #f8fafc;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    --gradient-text: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 50%, #818cf8 100%);
    --gradient-card: linear-gradient(145deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-gray-200);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-light);
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    margin-bottom: 30px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.loader-logo-img {
    height: 80px;
    width: auto;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.6)); }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: loader-fill 1.5s ease-in-out forwards;
}

@keyframes loader-fill {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--color-gray-300);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-light);
}

strong {
    color: var(--color-white);
    font-weight: 600;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
}

.logo-edify {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.logo-y {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.logo-solutions {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-400);
    letter-spacing: 0.1em;
    margin-left: 4px;
}

/* Logo Images */
.nav-logo-img {
    height: 70px;
    width: auto;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-logo-img {
    height: 60px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-300);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-white);
}

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

.nav-link.active {
    color: var(--color-white);
}

.nav-link.active::after {
    width: 100%;
    background: var(--color-accent);
}

.nav-link.nav-cta {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

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

.nav-link.nav-cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-bg-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.float-element {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.float-element:nth-child(1) {
    background: var(--color-accent);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    background: #818cf8;
    bottom: 20%;
    left: 10%;
    animation-delay: -7s;
}

.float-element:nth-child(3) {
    background: var(--color-accent-dark);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-accent-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-400);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    max-width: 400px;
}

.card-glow {
    position: absolute;
    inset: -1px;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity var(--transition-base);
}

.visual-card:hover .card-glow {
    opacity: 0.3;
}

.visual-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-white);
}

.visual-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.visual-content p {
    color: var(--color-gray-400);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeIn 1s ease-in-out;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-gray-600);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

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

/* ============================================
   SECTIONS - COMMON STYLES
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-accent-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-400);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   PURPOSE SECTION
   ============================================ */
.purpose-section {
    background: var(--color-bg-secondary);
}

.purpose-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.purpose-main {
    max-width: 700px;
}

.purpose-text {
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.purpose-text.lead {
    font-size: 1.25rem;
    color: var(--color-gray-200);
}

.purpose-highlight {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-card {
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-base);
}

.highlight-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.highlight-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-accent);
}

.highlight-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.highlight-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   VISION & MISSION SECTION
   ============================================ */
.vision-mission-section {
    background: var(--color-bg-primary);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vm-card {
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px;
    transition: all var(--transition-base);
}

.vm-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vm-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--color-accent);
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================
   VALUE PROPOSITION SECTION
   ============================================ */
.value-section {
    background: var(--color-bg-secondary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.value-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition-base);
}

.value-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.value-card:hover .value-icon {
    background: var(--color-accent);
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent);
    transition: stroke var(--transition-base);
}

.value-card:hover .value-icon svg {
    stroke: var(--color-white);
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.value-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
}

.value-summary p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--color-gray-200);
}

/* ============================================
   ACTIVITIES SECTION
   ============================================ */
.activities-section {
    background: var(--color-bg-primary);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.activity-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.activity-card::before {
    content: attr(data-number);
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.1);
    line-height: 1;
    transition: color var(--transition-base);
}

.activity-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.activity-card:hover::before {
    color: rgba(59, 130, 246, 0.2);
}

.activity-content h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-accent-light);
}

.activity-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 90%;
}

/* ============================================
   ORIGIN SECTION TOGGLE
   ============================================ */
.origin-toggle-wrapper {
    background: var(--color-bg-primary);
    padding: 40px 0;
    text-align: center;
}

.origin-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-accent-light);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.origin-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.origin-toggle-btn .toggle-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.origin-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.origin-hidden {
    display: none;
}

.origin-section.origin-visible {
    display: block;
    animation: slideDown 0.4s ease-out;
}

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

/* ============================================
   ORIGIN SECTION
   ============================================ */
.origin-section {
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.origin-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    pointer-events: none;
}

.origin-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.origin-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.origin-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.origin-icon svg {
    width: 60px;
    height: 60px;
    stroke: var(--color-accent);
}

.origin-flames {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

.flame {
    width: 30px;
    height: 60px;
    background: linear-gradient(to top, var(--color-accent), var(--color-white));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.6;
    animation: flicker 2s ease-in-out infinite;
}

.flame:nth-child(1) { animation-delay: 0s; height: 50px; }
.flame:nth-child(2) { animation-delay: 0.5s; height: 70px; }
.flame:nth-child(3) { animation-delay: 1s; height: 55px; }

@keyframes flicker {
    0%, 100% { transform: scaleY(1) scaleX(1); opacity: 0.6; }
    50% { transform: scaleY(1.1) scaleX(0.9); opacity: 0.8; }
}

.origin-text h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.origin-story {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.origin-verse {
    margin-top: 32px;
    padding: 32px;
    background: var(--color-bg-card);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.origin-verse p {
    margin-bottom: 16px;
    font-style: italic;
    color: var(--color-gray-300);
}

.origin-verse blockquote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-white);
    font-style: italic;
}

.origin-verse cite {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--color-accent);
    font-style: normal;
}

/* ============================================
   FOUNDER SECTION
   ============================================ */
.founder-section {
    background: var(--color-bg-primary);
}

.founder-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: start;
}

.founder-image {
    position: sticky;
    top: 120px;
}

.image-frame {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--color-gray-500);
}

.placeholder-content svg {
    width: 80px;
    height: 80px;
    stroke: var(--color-gray-600);
}

.placeholder-content span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.image-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.founder-bio {
    max-width: 700px;
}

.bio-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--color-gray-200);
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-experience {
    margin: 40px 0;
    padding: 32px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.founder-experience h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--color-accent-light);
}

.experience-list {
    list-style: none;
}

.experience-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.founder-philosophy {
    margin: 32px 0;
}

.founder-philosophy p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-quote {
    margin-top: 40px;
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    position: relative;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
}

.founder-quote blockquote {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-gray-200);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.founder-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-accent);
    font-style: normal;
}

.founder-name {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.founder-title {
    font-weight: 400;
    color: var(--color-accent);
    font-size: 1.25rem;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background: var(--color-bg-secondary);
}

.partners-content {
    max-width: 1000px;
    margin: 0 auto;
}

.partners-intro {
    text-align: center;
    margin-bottom: 60px;
}

.partners-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-gray-300);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.partner-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.partner-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.partner-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--transition-base);
}

.partner-card:hover .partner-icon {
    background: var(--color-accent);
}

.partner-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent);
    transition: stroke var(--transition-base);
}

.partner-card:hover .partner-icon svg {
    stroke: var(--color-white);
}

.partner-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.partner-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray-400);
}

/* Partner Logo Cards */
.partners-logo-grid {
    grid-template-columns: repeat(4, 1fr);
}

.partner-logo-card {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    background: var(--color-white);
}

.partner-logo-wrapper {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partners-cta {
    text-align: center;
    padding: 48px;
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
}

.partners-cta p {
    font-size: 1.15rem;
    color: var(--color-gray-200);
    margin-bottom: 24px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--color-bg-secondary);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    max-width: 500px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-gray-300);
}

.benefit-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
    flex-shrink: 0;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-300);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-white);
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 48px;
}

.form-group select option {
    background: var(--color-bg-secondary);
    color: var(--color-white);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 60px;
    background: var(--color-bg-card);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-xl);
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 60px;
    height: 60px;
    stroke: var(--color-accent);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-column a {
    display: block;
    color: var(--color-gray-400);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .hero-visual {
        display: none;
    }

    .scroll-indicator {
        display: none !important;
    }

    .purpose-content {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        position: static;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .origin-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .origin-visual {
        order: 1;
    }

    .origin-text {
        order: 2;
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .founder-image {
        position: static;
        max-width: 350px;
        margin: 0 auto;
    }

    .partners-grid,
    .partners-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

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

    .stat-divider {
        display: none;
    }

    .scroll-indicator {
        display: none !important;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid,
    .partners-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-cta {
        padding: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 32px;
    }

    .origin-verse {
        padding: 24px;
    }

    .founder-experience {
        padding: 24px;
    }

    .founder-quote {
        padding: 32px;
    }
}

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .activity-card {
        padding: 28px;
    }

    .vm-card {
        padding: 32px;
    }

    .value-card {
        padding: 28px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
