/* ============================================
   DataScientifix - Main Stylesheet
   ============================================ */

/* CSS Custom Properties */
:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-light: #ffffff;
    --color-bg-gray: #f7f7f7;
    --color-text-dark: #121212;
    --color-text-light: #ffffff;
    --color-text-muted: #666666;
    --color-accent: #0070a0;
    --color-accent-light: #4fc3f7;
    --color-purple: #9b59b6;
    --color-gold: #F5C518;
    --color-border: rgba(255,255,255,0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
    --nav-height: 72px;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    background: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 80px;
    }
}

/* Section Labels & Titles */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-label.label-blue {
    color: var(--color-accent-light);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-dark);
    margin-bottom: 24px;
}

.dark-section .section-title,
.section-title.light {
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-text-light);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--transition-smooth);
}

.btn-primary:hover::before {
    transform: scaleY(1);
}

.btn-primary:hover {
    color: var(--color-text-dark);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--color-border);
}

.nav.light-bg {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav.light-bg .logo-text,
.nav.light-bg .nav-link {
    color: var(--color-text-dark);
}

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

@media (min-width: 768px) {
    .nav-inner {
        padding: 0 48px;
    }
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text-light);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.nav-link-cta {
    background: var(--color-accent);
    padding: 10px 24px;
    color: var(--color-text-light) !important;
}

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

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-light);
    transition: all 0.3s ease;
}

.nav.light-bg .nav-toggle span {
    background: var(--color-text-dark);
}

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

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

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

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg-dark);
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: right 0.4s var(--transition-smooth);
    z-index: 999;
}

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

.mobile-menu .nav-link {
    font-size: 24px;
    font-weight: 600;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(166deg, rgb(10, 10, 10) 0%, rgb(26, 41, 128) 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-gradient-before {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.3) 0%, rgba(0, 112, 160, 0.4) 40%, rgba(155, 89, 182, 0.5) 70%, rgba(26, 41, 128, 0.6) 100%);
    filter: blur(60px);
}

.hero-gradient-after {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: 
        radial-gradient(circle at 50% 30%, rgba(245, 197, 24, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 112, 160, 0.3) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 0 5vw 10vh;
    width: 100%;
}

.hero-title {
    font-size: clamp(40px, 12.5vw, 180px);
    font-weight: 900;
    line-height: 0.9;
    color: #ffffff;
    text-transform: uppercase;
    mix-blend-mode: overlay;
    letter-spacing: -0.03em;
}

.hero-title .line {
    display: block;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 24px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

.scroll-text {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-lr;
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission-section {
    padding: 120px 0;
    background: var(--color-bg-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.mission-item {
    padding: 40px 32px;
    border-left: 2px solid var(--color-accent);
    transition: all 0.4s var(--transition-smooth);
}

.mission-item:hover {
    background: var(--color-bg-gray);
    transform: translateY(-4px);
}

.mission-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
}

.mission-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.mission-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ============================================
   TRUSTED BY SECTION
   ============================================ */
.trusted-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-bg-light);
    overflow: hidden;
}

.trusted-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(120px, 20vw, 300px);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.trusted-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.partner-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--transition-smooth);
    filter: grayscale(100%) opacity(0.5);
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 112, 160, 0.1);
}

.partner-logo svg {
    width: 100%;
    height: auto;
    max-height: 36px;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-section {
    padding: 120px 0;
    background: var(--color-bg-gray);
}

.solutions-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 992px) {
    .solutions-layout {
        grid-template-columns: 360px 1fr;
        gap: 64px;
    }
}

.solutions-sticky {
    position: relative;
}

@media (min-width: 992px) {
    .solutions-sticky {
        position: sticky;
        top: 120px;
        align-self: start;
        height: fit-content;
    }
}

.solutions-intro {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.solutions-nav {
    display: flex;
    gap: 12px;
}

.solutions-nav-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
    background: transparent;
    transition: all 0.3s var(--transition-smooth);
}

.solutions-nav-btn.active,
.solutions-nav-btn:hover {
    background: var(--color-text-dark);
    color: var(--color-text-light);
}

.solutions-cards {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.solution-card {
    background: var(--color-bg-light);
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
}

.solution-card:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.solution-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.reveal-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.reveal-img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 10;
}

.reveal-col {
    position: absolute;
    top: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scaleY(0);
    z-index: 5;
}

.solution-card-content {
    padding: 32px;
}

.solution-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 112, 160, 0.15);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.solution-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.solution-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    background: var(--color-bg-gray);
    color: var(--color-accent);
    border: 1px solid rgba(0, 112, 160, 0.2);
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */
.cases-section {
    padding: 120px 0;
    background: var(--color-bg-light);
}

.cases-header {
    text-align: center;
    margin-bottom: 80px;
}

.cases-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.case-item {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 500px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .case-item {
        grid-template-columns: 1fr 1fr;
    }
    .case-item-reverse .case-content {
        order: 2;
    }
    .case-item-reverse .case-image {
        order: 1;
    }
}

.case-image {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.case-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.case-number {
    font-size: 72px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    margin-bottom: 16px;
}

.case-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.case-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */
.ecosystem-section {
    position: relative;
    min-height: 100vh;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

#ecosystem-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ecosystem-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 80px;
}

.ecosystem-header .section-title {
    color: var(--color-text-light);
}

.ecosystem-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 40px;
}

.ecosystem-avatars {
    position: relative;
    height: 400px;
    margin: 60px 0;
}

.orbit-avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 100px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.orbit-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orbit-avatar:hover {
    transform: scale(1.2);
    border-color: var(--color-accent-light);
    z-index: 10;
}

.ecosystem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--color-text-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   IFUNZA SECTION
   ============================================ */
.ifunza-section {
    padding: 120px 0;
    background: var(--color-bg-dark);
}

.ifunza-header {
    text-align: center;
    margin-bottom: 80px;
}

.ifunza-header .section-title {
    color: var(--color-text-light);
    font-size: clamp(40px, 6vw, 64px);
}

.ifunza-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto;
}

.ifunza-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .ifunza-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .ifunza-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ifunza-card {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s var(--transition-smooth);
}

.ifunza-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.ifunza-icon {
    color: var(--color-accent-light);
    margin-bottom: 24px;
}

.ifunza-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.ifunza-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.ifunza-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .ifunza-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ifunza-product {
    padding: 32px;
    background: linear-gradient(135deg, rgba(0, 112, 160, 0.1) 0%, rgba(155, 89, 182, 0.05) 100%);
    border-left: 3px solid var(--color-accent);
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ROADMAP SECTION
   ============================================ */
.roadmap-section {
    padding: 120px 0;
    background: var(--color-bg-gray);
}

.roadmap-header {
    text-align: center;
    margin-bottom: 80px;
}

.roadmap-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-purple));
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .timeline-line {
        left: 20px;
    }
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
    align-items: start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 56px;
    }
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border: 3px solid var(--color-bg-light);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

@media (max-width: 767px) {
    .timeline-dot {
        left: 20px;
    }
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: 50%;
}

@media (max-width: 767px) {
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
        text-align: left;
    }
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
}

.timeline-phase {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
    display: block;
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 120px 0;
    background: var(--color-bg-light);
}

.team-header {
    text-align: center;
    margin-bottom: 80px;
}

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

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid transparent;
    transition: all 0.4s var(--transition-smooth);
}

.team-member:hover .team-avatar {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: var(--color-bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.contact-info .section-title {
    color: var(--color-text-light);
}

.contact-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.contact-item a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 32px;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer-links h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

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

/* Scroll reveal animations */
[data-animate] {
    opacity: 0;
    transition: all 0.8s var(--transition-smooth);
}

[data-animate="up"] {
    transform: translateY(40px);
}

[data-animate="left"] {
    transform: translateX(-40px);
}

[data-animate="right"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* Hero entrance */
.hero-title .line {
    opacity: 0;
    transform: translateY(60px);
    animation: heroLineIn 1s var(--transition-smooth) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.5s; }
.hero-title .line:nth-child(3) { animation-delay: 0.7s; }

@keyframes heroLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-scroll {
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

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

/* Button hover effect fix */
.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-content {
        padding: 0 24px 80px;
    }

    .hero-scroll {
        display: none;
    }

    .cases-header,
    .trusted-header,
    .team-header,
    .roadmap-header,
    .ecosystem-header,
    .ifunza-header {
        margin-bottom: 48px;
    }

    .case-content {
        padding: 32px 24px;
    }

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

    .ecosystem-avatars {
        height: 250px;
    }

    .orbit-avatar {
        width: 56px;
        height: 56px;
    }

    .timeline-item {
        margin-bottom: 40px;
    }
}

/* 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;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
