/* ============================================
   JOSEPH BRIJIN CHACKO — CYAN × VIOLET THEME
   Tech Visionary • Dark • Dual Neon
   ============================================ */

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

:root {
    /* Dark base */
    --bg: #07060d;
    --bg-elevated: #0c0a14;
    --bg-surface: #110e1a;
    --bg-card: #14111f;
    --bg-card-hover: #1a1628;

    /* Dual neon palette — cyan primary, violet accent */
    --neon: #00e5ff;
    --neon-light: #67f0ff;
    --neon-bright: #a0f7ff;
    --neon-dim: #00a5b8;
    --neon-glow: rgba(0, 229, 255, 0.15);
    --neon-glow-strong: rgba(0, 229, 255, 0.3);
    --neon-subtle: rgba(0, 229, 255, 0.06);

    /* Violet accent */
    --violet: #a855f7;
    --violet-light: #c084fc;
    --violet-glow: rgba(168, 85, 247, 0.15);
    --violet-subtle: rgba(168, 85, 247, 0.06);

    /* Text */
    --text: #eae8f1;
    --text-secondary: #a09bb8;
    --text-muted: #6e6888;
    --text-dim: #504a69;

    /* Borders & shadows */
    --border: rgba(160, 148, 200, 0.08);
    --border-hover: rgba(160, 148, 200, 0.15);
    --border-neon: rgba(0, 229, 255, 0.2);
    --border-violet: rgba(168, 85, 247, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-neon: 0 0 30px rgba(0, 229, 255, 0.08);
    --shadow-neon-strong: 0 0 60px rgba(0, 229, 255, 0.15);
    --shadow-violet: 0 0 30px rgba(168, 85, 247, 0.08);

    /* Radii */
    --radius: 14px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --radius-xs: 4px;

    /* Fonts */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.6s var(--ease);
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: rgba(0, 168, 255, 0.3);
    color: #fff;
}

a {
    color: var(--neon);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--neon-light);
}

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

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(6, 8, 13, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.nav-logo .dot {
    color: var(--neon);
}
.nav-links {
    display: flex;
    gap: 36px;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.nav-links a:hover {
    color: var(--neon);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-neon);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--violet), transparent);
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}
.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 70%);
    top: -200px;
    right: -100px;
}
.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
    bottom: -150px;
    left: -100px;
}
.glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    z-index: 2;
}
.hero-split {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}
.hero-text {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}
.hero-photo {
    flex: 0 0 auto;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-img {
    width: auto;
    max-width: 600px;
    max-height: 85vh;
    object-fit: contain;
}
.hero-img-nobg {
    filter: drop-shadow(0 0 60px rgba(0, 229, 255, 0.12)) drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6));
}
.photo-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.08), rgba(168, 85, 247, 0.05), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--neon-subtle);
    border: 1px solid var(--border-neon);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neon-light);
    margin-bottom: 32px;
    font-family: var(--font-mono);
}
.pulse {
    width: 8px;
    height: 8px;
    background: var(--neon);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 168, 255, 0); }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #fff;
}
.gradient-text {
    background: linear-gradient(135deg, var(--neon), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
}
.hero-sub strong {
    color: var(--neon-light);
    font-weight: 600;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--neon), var(--violet));
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), 0 0 40px rgba(168, 85, 247, 0.1);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--neon-light), var(--violet-light));
    color: #fff;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.25), 0 0 60px rgba(168, 85, 247, 0.15);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
    padding: 13px 31px;
}
.btn-ghost:hover {
    color: var(--neon);
    border-color: var(--border-neon);
    background: var(--neon-subtle);
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.stat {
    text-align: center;
}
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon), var(--violet), transparent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --- SECTIONS --- */
.section {
    padding: 120px 0;
    position: relative;
}
.section-dark {
    background: var(--bg-elevated);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--neon-subtle);
    border: 1px solid var(--border-neon);
    border-radius: 100px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* --- VISION --- */
.vision-block {
    max-width: 720px;
}
.vision-with-photo {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.vision-photo {
    position: sticky;
    top: 120px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.section-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
/* Vertical slice reveal: wrapper clips, image slides in */
.vision-photo.animate-on-scroll {
    opacity: 1;
    transform: none;
    overflow: hidden;
}
.vision-photo .section-photo {
    transform: translateX(-110%);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vision-photo.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}
.vision-photo.visible .section-photo {
    transform: translateX(0);
}
.vision-content {
    /* inherits from vision-block children */
}
.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.vision-text.highlight {
    color: var(--text);
    padding-left: 20px;
    border-left: 2px solid var(--neon);
}
.vision-manifesto {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.manifesto-line {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 500;
}
.manifesto-line:last-child {
    border-bottom: none;
}
.manifesto-line .num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon);
    font-weight: 600;
    min-width: 28px;
}

/* --- COLOR UTILITY CLASSES --- */
.hero-link {
    color: var(--neon);
    text-decoration: none;
    border-bottom: 1px solid var(--border-neon);
    transition: var(--transition);
}
.hero-link:hover {
    border-color: var(--neon);
}
.hub-label {
    text-decoration: none;
}
.text-cyan {
    color: var(--neon);
}
.text-violet {
    color: var(--violet);
}

/* --- ECOSYSTEM --- */
.ecosystem-hub {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 48px 0 64px;
}
.hub-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}
.hub-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 16px;
    background: var(--bg-surface);
    border: 2px solid var(--border-neon);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-neon-strong);
    filter: brightness(1.3);
}
.hub-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hub-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--border-neon);
    border-radius: 50%;
    animation: ringPulse 4s ease infinite;
}
@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.eco-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--violet), transparent);
    opacity: 0;
    transition: var(--transition);
}
.eco-card:hover {
    border-color: var(--border-neon);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}
.eco-card:hover::before {
    opacity: 1;
}
.eco-card-featured {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--bg-card), rgba(0, 229, 255, 0.03), rgba(168, 85, 247, 0.02));
    border-color: var(--border-neon);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 24px;
}
.eco-card-featured .eco-card-header {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
}
.eco-card-featured .eco-name {
    grid-column: 2;
}
.eco-card-featured .eco-desc {
    grid-column: 2;
}
.eco-card-featured .eco-link {
    grid-column: 2;
}

/* Category headers */
.eco-category {
    margin-top: 48px;
}
.eco-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 28px;
    border-radius: var(--radius);
    flex-wrap: wrap;
}
.eco-category-physical {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.04), rgba(0, 229, 255, 0.01));
    border: 1px solid rgba(0, 229, 255, 0.12);
}
.eco-category-digital {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04), rgba(168, 85, 247, 0.01));
    border: 1px solid rgba(168, 85, 247, 0.12);
}
.eco-category-icon {
    font-size: 1.4rem;
}
.eco-category-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.eco-category-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    width: 100%;
    margin-top: 4px;
}

/* Physical AI card accent */
.eco-card-physical:hover {
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.06);
}
.eco-card-physical::before {
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

/* Digital AI card accent */
.eco-card-digital:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.06);
}
.eco-card-digital::before {
    background: linear-gradient(90deg, transparent, var(--violet), transparent);
}
.eco-card-digital .eco-role {
    color: var(--violet);
}
.eco-card-digital .eco-link {
    color: var(--violet-light);
}
.eco-card-digital .eco-link:hover {
    color: var(--violet);
}

.eco-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.eco-logo-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    padding: 8px;
    flex-shrink: 0;
    overflow: hidden;
}
.eco-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.3) contrast(1.1);
}
.eco-logo-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid var(--border-neon);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.eco-role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}
.eco-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.eco-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.eco-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon);
    font-weight: 500;
}
.eco-link:hover {
    color: var(--neon-bright);
}

/* --- OFORO SPOTLIGHT --- */
.oforo-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.oforo-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}
.oforo-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.oforo-product {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}
.oforo-product:hover {
    border-color: var(--border-neon);
    background: var(--bg-surface);
}
.oforo-product-name {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon);
    min-width: 70px;
}
.oforo-product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.oforo-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
}
.oforo-visual-photo {
    height: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
/* Spotlight layout */
.spotlight-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
    align-items: start;
}
.spotlight-content {
    /* scrollable side */
}
.spotlight-block {
    /* each block (Wartens / OFORO) */
}
.spotlight-heading {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.spotlight-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.spotlight-photo {
    position: sticky;
    top: 100px;
}

.oforo-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-violet);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.08), var(--shadow-lg);
}
.oforo-photo-mirror {
    transform: scaleX(-1);
}
.oforo-visual-full {
    height: auto;
    min-height: 500px;
}
.oforo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1), rgba(168, 85, 247, 0.06), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}
.oforo-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: brightness(1.3) drop-shadow(0 0 30px rgba(0, 229, 255, 0.3)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.15));
}
.oforo-orbit {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}
.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
    animation: orbitDotPulse 3s ease infinite;
    animation-delay: var(--delay);
}
.orbit-dot:nth-child(1) { top: -4px; left: 50%; transform: translateX(-50%); }
.orbit-dot:nth-child(2) { bottom: -4px; right: 20%; }
.orbit-dot:nth-child(3) { top: 50%; left: -4px; transform: translateY(-50%); }
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes orbitDotPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- JOURNEY TIMELINE --- */
.journey-timeline-center {
    margin-top: 48px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.journey-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon), var(--violet), var(--border), transparent);
    z-index: 1;
}
.journey-item-center {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 60px;
    position: relative;
}
.journey-item-center:last-child {
    margin-bottom: 0;
}
.journey-spacer {
    /* Empty space on the opposite side */
}
.journey-dot {
    width: 16px;
    height: 16px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
    border: 3px solid var(--bg);
    z-index: 2;
    margin-top: 6px;
    flex-shrink: 0;
}
.journey-right .journey-dot {
    background: var(--violet);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}
.journey-content-center {
    padding: 0 32px;
}
.journey-left .journey-content-center {
    text-align: right;
}
.journey-right .journey-content-center {
    text-align: left;
}
.journey-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}
.journey-right .journey-year {
    color: var(--violet);
}
.journey-content-center h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.journey-content-center p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}
.journey-item:nth-child(odd) .journey-content p {
    margin-left: auto;
}
.journey-item:nth-child(even) .journey-year {
    color: var(--violet);
}

/* --- SKILLS --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}
.skill-card:hover {
    border-color: var(--border-neon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}
.skill-icon {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.icon-cyan {
    color: var(--neon);
    border-color: rgba(0, 229, 255, 0.2);
    background: rgba(0, 229, 255, 0.06);
}
.icon-violet {
    color: var(--violet);
    border-color: rgba(168, 85, 247, 0.2);
    background: rgba(168, 85, 247, 0.06);
}
.skill-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.skill-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- AWARDS --- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.award-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}
.award-card:hover {
    border-color: var(--border-neon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}
.award-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.award-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.award-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- MY WORLD --- */
/* World photo banner */
.world-photo-banner {
    margin: 40px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 360px;
}
.world-banner-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
/* World layout: image + cards side by side */
.world-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
}
.world-photo-side {
    position: sticky;
    top: 120px;
}
.world-side-img {
    width: 280px;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: top center;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.08)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}
.world-grid-side {
    grid-template-columns: repeat(2, 1fr);
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.world-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}
.world-card:hover {
    border-color: var(--border-neon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}
.world-card-wide {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--bg-card), rgba(0, 229, 255, 0.03), rgba(168, 85, 247, 0.02));
    border-color: var(--border-neon);
}
.world-card-icon {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.world-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.world-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- LINKEDIN --- */
.linkedin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.linkedin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}
.linkedin-card:hover {
    border-color: var(--border-neon);
    box-shadow: var(--shadow-neon);
}
.linkedin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.linkedin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-neon);
}
.linkedin-header strong {
    display: block;
    font-size: 0.85rem;
    color: #fff;
}
.linkedin-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.linkedin-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.linkedin-cta {
    text-align: center;
}

/* --- CONTACT --- */
.contact-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.contact-with-photo {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}
.contact-photo {
    flex-shrink: 0;
}
.contact-img {
    width: 280px;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.contact-with-photo .contact-links {
    justify-content: flex-start;
}
.contact-info {
    /* wrapper for text content */
}
.contact-block .section-desc {
    margin-left: auto;
    margin-right: auto;
}
.contact-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}
.contact-item:hover {
    border-color: var(--border-neon);
    color: var(--neon);
    background: var(--neon-subtle);
    transform: translateY(-2px);
}
.contact-icon {
    font-size: 1rem;
    color: var(--neon);
    min-width: 20px;
    text-align: center;
    font-style: normal;
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.footer-logo .dot {
    color: var(--neon);
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}
.footer-seo-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 32px 40px 0;
    border-top: 1px solid var(--border);
}
.footer-links-row h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.footer-links-row a {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: var(--transition);
}
.footer-links-row a:hover {
    color: var(--neon);
}
.footer-bottom {
    max-width: 800px;
    margin: 32px auto 0;
    padding: 24px 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- INSPIRATIONS --- */
.inspire-chapter {
    margin-top: 64px;
}
.inspire-chapter-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.inspire-chapter-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 32px;
}
.inspire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.inspire-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.inspire-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.inspire-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 16px;
    border: 2px solid rgba(0, 229, 255, 0.2);
    filter: grayscale(40%) brightness(0.9);
    transition: var(--transition);
}
.inspire-card:hover .inspire-photo {
    filter: grayscale(0%) brightness(1);
    border-color: var(--neon);
}
.inspire-chapter:nth-child(2) .inspire-photo,
.inspire-chapter:nth-child(even) .inspire-photo {
    border-color: rgba(168, 85, 247, 0.2);
}
.inspire-chapter:nth-child(2) .inspire-card:hover .inspire-photo,
.inspire-chapter:nth-child(even) .inspire-card:hover .inspire-photo {
    border-color: var(--violet);
}
a.inspire-card {
    text-decoration: none;
    color: inherit;
}
.inspire-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: rgba(0, 229, 255, 0.06);
    border: 2px solid rgba(0, 229, 255, 0.15);
}
.inspire-avatar-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 16px;
    border: 2px solid rgba(0, 229, 255, 0.2);
    filter: grayscale(30%);
    transition: var(--transition);
}
.inspire-card:hover .inspire-avatar-img {
    filter: grayscale(0%);
    border-color: var(--neon);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}
.inspire-chapter:nth-child(even) .inspire-avatar-img {
    border-color: rgba(168, 85, 247, 0.2);
}
.inspire-chapter:nth-child(even) .inspire-card:hover .inspire-avatar-img {
    border-color: var(--violet);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
    color: var(--neon);
}
.inspire-chapter:nth-child(2) .inspire-avatar,
.inspire-chapter:nth-child(even) .inspire-avatar {
    background: rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.15);
    color: var(--violet);
}
.inspire-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.inspire-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- SCROLL ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-text {
        max-width: 55%;
    }
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    .eco-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eco-card-featured {
        grid-column: span 2;
    }
    .oforo-block {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .spotlight-layout {
        grid-template-columns: 1fr;
    }
    .spotlight-photo {
        position: static;
    }
    .vision-with-photo {
        grid-template-columns: 1fr;
    }
    .world-layout {
        grid-template-columns: 1fr;
    }
    .oforo-visual {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #07060d;
        opacity: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 1.2rem;
    }
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    .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);
    }

    .hero {
        padding: 100px 20px 40px;
    }
    .hero-split {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-photo {
        margin-bottom: 24px;
    }
    .hero-img {
        max-width: 80vw;
        max-height: 55vh;
    }
    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-sub {
        font-size: 0.85rem;
    }
    .hero-stats {
        gap: 16px;
        justify-content: center;
    }
    .stat-num {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.6rem;
    }
    .vision-with-photo {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .vision-photo {
        position: static;
        display: flex;
        justify-content: center;
    }
    .section-photo {
        height: 320px;
        width: 240px;
        margin: 0 auto;
    }
    .vision-content {
        text-align: left;
    }
    .inspire-grid {
        grid-template-columns: 1fr;
    }
    .inspire-chapter-title,
    .inspire-chapter-text {
        text-align: center;
    }
    .contact-with-photo {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .contact-img {
        width: 200px;
        height: 260px;
        margin: 0 auto;
    }
    .contact-with-photo .contact-links {
        justify-content: center;
    }
    .world-banner-img {
        height: 240px;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .hero-sub {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats {
        gap: 24px;
    }
    .stat-num {
        font-size: 2rem;
    }
    .scroll-hint {
        display: none;
    }

    .section {
        padding: 80px 0;
    }
    .container {
        padding: 0 20px;
    }
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .eco-grid,
    .skills-grid,
    .awards-grid,
    .world-grid,
    .linkedin-grid {
        grid-template-columns: 1fr;
    }
    .eco-card-featured,
    .world-card-wide {
        grid-column: span 1;
    }
    .world-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .world-photo-side {
        position: static;
        text-align: center;
    }
    .world-side-img {
        width: 200px;
        max-height: 300px;
    }
    .world-grid-side {
        grid-template-columns: 1fr;
    }
    .eco-card-featured {
        display: block;
    }

    .oforo-visual {
        height: 200px;
    }
    .oforo-logo-large {
        width: 80px;
        height: 80px;
    }
    .oforo-orbit {
        width: 160px;
        height: 160px;
    }

    .journey-item-center {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .journey-left .journey-content-center,
    .journey-right .journey-content-center {
        text-align: left;
        padding: 16px 0 0 28px;
    }
    .journey-spacer {
        display: none;
    }
    .journey-dot {
        position: absolute;
        left: 0;
        top: 20px;
    }
    .journey-line {
        left: 7px;
        transform: none;
    }

    .contact-links {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .contact-item {
        flex: 0 0 calc(50% - 8px);
    }

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

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .section {
        padding: 60px 0;
    }
    .container {
        padding: 0 16px;
    }
}
