/* ============================================
   RAILSOME LABS — Design System
   Professional + Creative + Tech-forward
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-elevated: #1e1e2a;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b82;
    --accent-1: #6366f1;
    --accent-2: #06b6d4;
    --accent-3: #8b5cf6;
    --accent-4: #f59e0b;
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --gradient-secondary: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --section-padding: 120px;
    --container-max: 1200px;
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
}

/* --- Reset --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* --- Ambient BG --- */
.ambient-bg { position:fixed; inset:0; pointer-events:none; z-index:0; overflow:hidden; }
.gradient-orb { position:absolute; border-radius:50%; filter:blur(120px); opacity:0.07; will-change:transform; }
.orb-1 { width:600px; height:600px; background:var(--accent-1); top:-200px; right:-200px; }
.orb-2 { width:500px; height:500px; background:var(--accent-2); bottom:-150px; left:-150px; }
.orb-3 { width:400px; height:400px; background:var(--accent-3); top:50%; left:50%; }

/* --- Navigation --- */
.nav { position:fixed; top:0; left:0; width:100%; z-index:1000; padding:20px 0; transition:0.4s var(--ease-out); }
.nav.scrolled { padding:12px 0; background:rgba(10,10,15,0.85); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid var(--border-color); }
.nav-inner { max-width:var(--container-max); margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { display:flex; align-items:center; gap:12px; z-index:10; }
.logo-text { font-size:18px; font-weight:800; letter-spacing:2px; }
.logo-text-small { font-size:15px; }
.logo-accent { background:var(--gradient-primary); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.nav-links { display:flex; align-items:center; gap:32px; }
.nav-link { font-size:14px; font-weight:500; color:var(--text-secondary); transition:0.2s var(--ease-out); position:relative; }
.nav-link:hover { color:var(--text-primary); }
.nav-link::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background:var(--gradient-primary); transition:0.4s var(--ease-out); border-radius:1px; }
.nav-link:hover::after { width:100%; }
.nav-link-cta { color:var(--text-primary); background:var(--gradient-primary); padding:8px 20px; border-radius:8px; font-weight:600; transition:0.3s var(--ease-out); }
.nav-link-cta::after { display:none; }
.nav-link-cta:hover { opacity:0.9; transform:translateY(-1px); }

/* Mobile toggle */
.nav-mobile-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; z-index:10; }
.nav-mobile-toggle span { display:block; width:24px; height:2px; background:var(--text-primary); transition:0.3s var(--ease-out); border-radius:1px; }
.nav-mobile-toggle.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity:0; }
.nav-mobile-toggle.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu { position:fixed; inset:0; background:rgba(10,10,15,0.98); backdrop-filter:blur(20px); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:32px; z-index:999; opacity:0; pointer-events:none; transition:0.4s var(--ease-out); }
.mobile-menu.active { opacity:1; pointer-events:all; }
.mobile-link { font-size:28px; font-weight:700; transition:0.2s; }
.mobile-link:hover { color:var(--accent-1); }

/* --- Hero --- */
.hero { min-height:100vh; display:flex; align-items:center; position:relative; padding:120px 0 80px; }
.hero-content { max-width:800px; position:relative; z-index:1; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; padding:8px 16px; background:rgba(99,102,241,0.1); border:1px solid rgba(99,102,241,0.2); border-radius:100px; font-size:13px; font-weight:500; color:var(--accent-1); margin-bottom:32px; }
.badge-dot { width:6px; height:6px; background:var(--accent-2); border-radius:50%; animation:pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }
.hero-title { font-size:clamp(40px,6vw,72px); font-weight:900; line-height:1.1; letter-spacing:-2px; margin-bottom:24px; }
.gradient-text { background:var(--gradient-primary); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-subtitle { font-size:18px; color:var(--text-secondary); line-height:1.8; margin-bottom:40px; max-width:600px; }
.hero-actions { display:flex; gap:16px; margin-bottom:64px; flex-wrap:wrap; }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 28px; font-size:15px; font-weight:600; border-radius:12px; transition:0.4s var(--ease-out); cursor:pointer; border:none; font-family:var(--font-main); }
.btn-primary { background:var(--gradient-primary); color:white; box-shadow:0 4px 20px rgba(99,102,241,0.3); }
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 8px 32px rgba(99,102,241,0.4); }
.btn-ghost { background:transparent; color:var(--text-secondary); border:1px solid var(--border-hover); }
.btn-ghost:hover { color:var(--text-primary); border-color:rgba(255,255,255,0.2); background:rgba(255,255,255,0.03); transform:translateY(-2px); }
.btn-large { padding:18px 36px; font-size:16px; border-radius:14px; }

/* Hero Stats */
.hero-stats { display:flex; align-items:center; gap:32px; }
.stat-number { display:block; font-size:24px; font-weight:800; }
.stat-label { font-size:13px; color:var(--text-muted); font-weight:500; }
.stat-divider { width:1px; height:40px; background:var(--border-color); }

/* Scroll indicator */
.hero-scroll-indicator { position:absolute; bottom:40px; left:50%; transform:translateX(-50%); }
.scroll-line { width:1px; height:60px; background:linear-gradient(to bottom,var(--accent-1),transparent); animation:scroll-pulse 2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100%{opacity:1;height:60px} 50%{opacity:.3;height:30px} }

/* --- Section Common --- */
.section { padding:var(--section-padding) 0; position:relative; z-index:1; }
.section-header { text-align:center; margin-bottom:64px; }
.section-tag { display:inline-block; font-size:12px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--accent-2); font-family:var(--font-mono); margin-bottom:16px; }
.section-title { font-size:clamp(32px,4vw,48px); font-weight:900; letter-spacing:-1px; margin-bottom:16px; }
.section-subtitle { font-size:17px; color:var(--text-secondary); max-width:560px; margin:0 auto; line-height:1.7; }

/* --- Project Cards --- */
.project-card { margin-bottom:48px; position:relative; }

/* Hover glow behind card */
.project-card-glow {
    position:absolute; inset:-2px; border-radius:26px;
    background:var(--gradient-primary); opacity:0;
    transition:opacity 0.5s var(--ease-out);
    z-index:0; filter:blur(20px);
}
.project-card:hover .project-card-glow { opacity:0.08; }

.project-card-inner {
    display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
    background:var(--bg-card); border:1px solid var(--border-color);
    border-radius:24px; padding:48px; position:relative; z-index:1;
    transition:0.5s var(--ease-out);
}
.project-card-inner:hover {
    border-color:var(--border-hover); background:var(--bg-card-hover);
    transform:translateY(-6px);
    box-shadow:0 20px 60px rgba(0,0,0,0.4);
}

.project-tags { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.tag { font-size:11px; font-weight:600; padding:4px 10px; border-radius:6px; letter-spacing:.5px; text-transform:uppercase; font-family:var(--font-mono); }
.tag-ai { background:rgba(99,102,241,0.15); color:var(--accent-1); }
.tag-creative { background:rgba(139,92,246,0.15); color:var(--accent-3); }
.tag-automation { background:rgba(6,182,212,0.15); color:var(--accent-2); }
.tag-consulting { background:rgba(245,158,11,0.15); color:var(--accent-4); }
.tag-marketplace { background:rgba(16,185,129,0.15); color:#10b981; }
.tag-live { background:rgba(16,185,129,0.15); color:#10b981; position:relative; padding-left:18px; }
.tag-live::before { content:''; position:absolute; left:8px; top:50%; transform:translateY(-50%); width:5px; height:5px; background:#10b981; border-radius:50%; animation:pulse-dot 2s ease-in-out infinite; }

.project-name { font-size:32px; font-weight:800; letter-spacing:-.5px; margin-bottom:8px; }
.project-tagline { font-size:16px; color:var(--accent-2); font-weight:500; margin-bottom:16px; }
.project-description { font-size:15px; color:var(--text-secondary); line-height:1.8; margin-bottom:24px; }
.project-metrics { display:flex; gap:32px; margin-bottom:24px; padding:20px 0; border-top:1px solid var(--border-color); border-bottom:1px solid var(--border-color); }
.metric-value { display:block; font-size:20px; font-weight:800; }
.metric-label { font-size:12px; color:var(--text-muted); font-weight:500; }
.project-link { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--accent-1); transition:0.3s var(--ease-out); }
.project-link:hover { color:var(--accent-2); gap:10px; }

/* --- Project Mockups --- */
.project-visual { display:flex; align-items:center; justify-content:center; }
.project-mockup { width:100%; border-radius:16px; overflow:hidden; background:var(--bg-secondary); border:1px solid var(--border-color); box-shadow:var(--shadow-md); transition:0.5s var(--ease-out); }
.project-card-inner:hover .project-mockup { transform:translateY(-4px) scale(1.02); box-shadow:var(--shadow-lg); }
.mockup-browser { display:flex; align-items:center; gap:12px; padding:12px 16px; background:rgba(255,255,255,0.03); border-bottom:1px solid var(--border-color); }
.browser-dots { display:flex; gap:6px; }
.browser-dots span { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.1); }
.browser-dots span:first-child{background:#ff5f57} .browser-dots span:nth-child(2){background:#febc2e} .browser-dots span:last-child{background:#28c840}
.browser-url { font-size:12px; color:var(--text-muted); font-family:var(--font-mono); background:rgba(255,255,255,0.03); padding:4px 12px; border-radius:6px; flex:1; }
.mockup-content { padding:24px; min-height:200px; }

/* Volaniq pipeline mockup */
.volaniq-flow-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.volaniq-flow-label { font-size:12px; font-weight:600; color:var(--text-secondary); }
.volaniq-flow-status { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:#10b981; background:rgba(16,185,129,0.15); padding:3px 10px; border-radius:100px; }
.volaniq-pipeline { display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:20px; flex-wrap:wrap; }
.pipeline-step { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:60px; }
.pipeline-step span { font-size:10px; color:var(--text-muted); font-weight:500; white-space:nowrap; }
.pipeline-icon { width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; transition:0.3s var(--ease-out); }
.pipeline-icon-1 { background:rgba(99,102,241,0.15); color:var(--accent-1); }
.pipeline-icon-2 { background:rgba(245,158,11,0.15); color:var(--accent-4); }
.pipeline-icon-3 { background:rgba(6,182,212,0.15); color:var(--accent-2); }
.pipeline-icon-4 { background:rgba(16,185,129,0.15); color:#10b981; }
.pipeline-arrow { width:32px; height:2px; background:rgba(255,255,255,0.08); position:relative; overflow:hidden; margin:0 2px; margin-bottom:20px; }
.pipeline-arrow-pulse { position:absolute; width:12px; height:2px; background:var(--accent-2); border-radius:1px; animation:arrow-flow 1.5s ease-in-out infinite; }
@keyframes arrow-flow { 0%{left:-12px;opacity:0} 50%{opacity:1} 100%{left:32px;opacity:0} }
.volaniq-stats-row { display:flex; justify-content:space-between; gap:8px; padding-top:16px; border-top:1px solid var(--border-color); }
.volaniq-stat-mini { text-align:center; flex:1; }
.volaniq-stat-val { display:block; font-size:16px; font-weight:800; color:var(--text-primary); }
.volaniq-stat-lbl { font-size:10px; color:var(--text-muted); }

/* Heepsy mockup */
.heepsy-search { display:flex; flex-direction:column; gap:12px; }
.heepsy-search-bar { display:flex; align-items:center; gap:8px; padding:10px 14px; background:rgba(255,255,255,0.03); border:1px solid var(--border-color); border-radius:8px; font-size:12px; color:var(--text-muted); }
.heepsy-filter-row { display:flex; gap:6px; flex-wrap:wrap; }
.heepsy-filter-chip { font-size:10px; font-weight:600; padding:3px 10px; border-radius:100px; background:rgba(139,92,246,0.1); color:var(--accent-3); border:1px solid rgba(139,92,246,0.2); }
.heepsy-results { display:flex; flex-direction:column; gap:8px; }
.heepsy-influencer { display:flex; align-items:center; gap:10px; padding:10px 14px; background:rgba(255,255,255,0.02); border:1px solid var(--border-color); border-radius:10px; transition:0.3s var(--ease-out); }
.heepsy-influencer:hover { background:rgba(255,255,255,0.04); border-color:var(--border-hover); transform:translateX(4px); }
.influencer-avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,hsl(var(--hue),70%,50%),hsl(calc(var(--hue) + 40),60%,40%)); flex-shrink:0; }
.influencer-info { flex:1; min-width:0; }
.influencer-name { font-size:12px; font-weight:600; }
.influencer-stats { font-size:10px; color:var(--text-muted); }
.influencer-bar-wrap { display:flex; align-items:center; gap:6px; width:70px; flex-shrink:0; }
.influencer-bar { height:4px; border-radius:2px; background:var(--gradient-primary); width:var(--w); transition:width 1s var(--ease-out); }
.influencer-eng { font-size:10px; font-weight:700; color:var(--accent-2); font-family:var(--font-mono); white-space:nowrap; }
.heepsy-results-count { text-align:center; font-size:10px; color:var(--text-muted); font-family:var(--font-mono); margin-top:4px; }

/* Srefs mockup */
.srefs-search-bar { display:flex; align-items:center; gap:8px; padding:8px 12px; background:rgba(255,255,255,0.03); border:1px solid var(--border-color); border-radius:8px; font-size:12px; color:var(--text-muted); margin-bottom:10px; }
.srefs-filter-row { display:flex; gap:6px; margin-bottom:12px; flex-wrap:wrap; }
.srefs-filter { font-size:10px; font-weight:600; padding:3px 10px; border-radius:100px; background:rgba(255,255,255,0.04); color:var(--text-muted); border:1px solid var(--border-color); transition:0.2s; cursor:pointer; }
.srefs-filter.active { background:rgba(99,102,241,0.15); color:var(--accent-1); border-color:rgba(99,102,241,0.3); }
.sref-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.sref-card { aspect-ratio:1; border-radius:8px; background:linear-gradient(135deg,hsl(var(--hue),70%,50%),hsl(calc(var(--hue) + 40),60%,40%)); opacity:.75; transition:0.3s var(--ease-out); position:relative; overflow:hidden; cursor:pointer; }
.sref-card:hover { opacity:1; transform:scale(1.06); }
.sref-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.65); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; opacity:0; transition:0.3s var(--ease-out); }
.sref-card:hover .sref-overlay { opacity:1; }
.sref-code { font-size:9px; font-family:var(--font-mono); color:#fff; font-weight:500; }
.sref-tag { font-size:8px; background:rgba(255,255,255,0.15); color:#fff; padding:2px 6px; border-radius:4px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.srefs-count { text-align:center; font-size:10px; color:var(--text-muted); margin-top:10px; font-family:var(--font-mono); }

/* Jobs listing */
.jobs-header-row { display:flex; gap:6px; margin-bottom:12px; }
.jobs-tab { font-size:10px; font-weight:600; padding:4px 12px; border-radius:100px; background:rgba(255,255,255,0.04); color:var(--text-muted); border:1px solid var(--border-color); cursor:pointer; transition:0.2s; }
.jobs-tab.active { background:rgba(99,102,241,0.15); color:var(--accent-1); border-color:rgba(99,102,241,0.3); }
.job-listing { display:flex; flex-direction:column; gap:10px; }
.job-item { display:flex; align-items:center; gap:12px; padding:10px 14px; background:rgba(255,255,255,0.02); border:1px solid var(--border-color); border-radius:10px; transition:0.3s var(--ease-out); }
.job-item:hover { background:rgba(255,255,255,0.04); border-color:var(--border-hover); transform:translateX(6px); }
.job-salary { font-size:10px; font-weight:700; color:var(--accent-2); font-family:var(--font-mono); margin-left:auto; white-space:nowrap; }
.job-dot { width:8px; height:8px; border-radius:50%; background:var(--accent-1); flex-shrink:0; }
.job-item:nth-child(2) .job-dot{background:var(--accent-2)} .job-item:nth-child(3) .job-dot{background:var(--accent-3)} .job-item:nth-child(4) .job-dot{background:var(--accent-4)}
.job-title-mini { font-size:13px; font-weight:600; }
.job-meta-mini { font-size:11px; color:var(--text-muted); }

/* --- About Section --- */
.about-grid { display:grid; grid-template-columns:auto 1.2fr 1fr; gap:48px; align-items:start; }

/* Portrait */
.about-portrait { position:relative; display:flex; justify-content:center; }
.portrait-frame { width:220px; height:220px; border-radius:24px; overflow:hidden; border:2px solid var(--border-hover); position:relative; z-index:1; box-shadow:var(--shadow-md); transition:0.5s var(--ease-out); }
.portrait-frame:hover { transform:scale(1.04) rotate(-1deg); box-shadow:0 20px 60px rgba(99,102,241,0.2); }
.portrait-img { width:100%; height:100%; object-fit:cover; filter:grayscale(10%); transition:0.5s var(--ease-out); }
.portrait-frame:hover .portrait-img { filter:grayscale(0%); transform:scale(1.05); }
.portrait-glow { position:absolute; top:50%; left:50%; width:200px; height:200px; transform:translate(-50%,-50%); background:var(--gradient-primary); border-radius:50%; filter:blur(60px); opacity:.12; z-index:0; }

.about-name { font-size:28px; font-weight:800; margin-bottom:4px; }
.about-role { font-size:15px; color:var(--accent-2); font-weight:500; margin-bottom:24px; }
.about-text { font-size:15px; color:var(--text-secondary); line-height:1.8; margin-bottom:20px; }
.about-text strong { color:var(--text-primary); font-weight:600; }

/* Credential cards */
.credential-card { display:flex; gap:16px; padding:20px; background:var(--bg-card); border:1px solid var(--border-color); border-radius:16px; margin-bottom:16px; transition:0.4s var(--ease-out); }
.credential-card:hover { border-color:var(--border-hover); background:var(--bg-card-hover); transform:translateX(6px); }
.credential-icon { width:44px; height:44px; border-radius:12px; background:rgba(99,102,241,0.1); display:flex; align-items:center; justify-content:center; color:var(--accent-1); flex-shrink:0; }
.credential-card:nth-child(2) .credential-icon { background:rgba(139,92,246,0.1); color:var(--accent-3); }
.credential-card:nth-child(3) .credential-icon { background:rgba(6,182,212,0.1); color:var(--accent-2); }
.credential-card:nth-child(4) .credential-icon { background:rgba(245,158,11,0.1); color:var(--accent-4); }
.credential-content h4 { font-size:15px; font-weight:700; margin-bottom:4px; }
.credential-content p { font-size:13px; color:var(--text-muted); line-height:1.6; }

/* --- Timeline --- */
.journey { background:var(--bg-secondary); }
.timeline { position:relative; max-width:700px; margin:0 auto; }
.timeline-line { position:absolute; left:20px; top:0; bottom:0; width:2px; background:linear-gradient(to bottom,var(--accent-1),var(--accent-2),var(--accent-3)); opacity:.3; }
.timeline-item { position:relative; padding-left:60px; padding-bottom:48px; }
.timeline-item:last-child { padding-bottom:0; }
.timeline-marker { position:absolute; left:12px; top:4px; width:18px; height:18px; border-radius:50%; background:var(--bg-primary); border:3px solid var(--accent-1); z-index:1; transition:0.4s var(--ease-out); }
.timeline-item:hover .timeline-marker { transform:scale(1.3); box-shadow:0 0 16px rgba(99,102,241,0.4); }
.marker-active { background:var(--accent-1); box-shadow:0 0 20px rgba(99,102,241,0.4); animation:pulse-dot 2s ease-in-out infinite; }
.timeline-card { background:var(--bg-card); border:1px solid var(--border-color); border-radius:16px; padding:24px; transition:0.4s var(--ease-out); }
.timeline-card:hover { border-color:var(--border-hover); background:var(--bg-card-hover); transform:translateX(8px); }
.timeline-date { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--accent-2); font-family:var(--font-mono); }
.timeline-title { font-size:20px; font-weight:700; margin:8px 0 12px; }
.timeline-text { font-size:14px; color:var(--text-secondary); line-height:1.7; margin-bottom:12px; }
.timeline-badge { display:inline-block; font-size:11px; font-weight:600; padding:4px 12px; border-radius:6px; background:rgba(99,102,241,0.1); color:var(--accent-1); font-family:var(--font-mono); }
.badge-active { background:rgba(99,102,241,0.2); animation:pulse-dot 2s ease-in-out infinite; }

/* --- Contact --- */
.contact-inner { background:var(--bg-card); border:1px solid var(--border-color); border-radius:24px; padding:64px; text-align:center; position:relative; overflow:hidden; transition:0.5s var(--ease-out); }
.contact-inner:hover { border-color:var(--border-hover); transform:translateY(-4px); box-shadow:var(--shadow-glow); }
.contact-inner::before { content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background:radial-gradient(circle at center,rgba(99,102,241,0.06),transparent 50%); pointer-events:none; }
.contact-content { position:relative; z-index:1; margin-bottom:32px; }
.contact-title { font-size:clamp(28px,4vw,40px); font-weight:900; letter-spacing:-.5px; margin-bottom:12px; }
.contact-subtitle { font-size:16px; color:var(--text-secondary); max-width:500px; margin:0 auto; line-height:1.7; }
.contact-actions { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:24px; }
.contact-links { display:flex; gap:16px; }
.contact-social { width:44px; height:44px; border-radius:12px; background:rgba(255,255,255,0.05); border:1px solid var(--border-color); display:flex; align-items:center; justify-content:center; color:var(--text-muted); transition:0.3s var(--ease-out); }
.contact-social:hover { color:var(--accent-1); border-color:rgba(99,102,241,0.3); background:rgba(99,102,241,0.1); transform:translateY(-3px); }

/* --- Footer --- */
.footer { padding:48px 0; border-top:1px solid var(--border-color); position:relative; z-index:1; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.footer-tagline { font-size:13px; color:var(--text-muted); margin-top:4px; }
.footer-links { display:flex; gap:24px; }
.footer-links a { font-size:13px; color:var(--text-muted); transition:0.2s; }
.footer-links a:hover { color:var(--text-primary); }
.footer-legal { text-align:right; }
.footer-legal p { font-size:12px; color:var(--text-muted); }
.footer-location { margin-top:2px; opacity:.7; }

/* --- Scroll Animations --- */
[data-animate] { opacity:0; transform:translateY(40px); transition:opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-animate].visible { opacity:1; transform:translateY(0); }

/* Blur-reveal: sections start blurred and clear on scroll */
.section, .hero { will-change:filter,opacity; }
.section.blur-reveal { filter:blur(8px); opacity:0.3; transition:filter 0.8s var(--ease-out), opacity 0.8s var(--ease-out); }
.section.blur-reveal.revealed { filter:blur(0); opacity:1; }

/* Stagger children */
.project-card:nth-child(2) { transition-delay:0.1s; }
.project-card:nth-child(3) { transition-delay:0.2s; }
.project-card:nth-child(4) { transition-delay:0.3s; }

/* --- Tilt on hover (applied via JS) --- */
.tilt-card { transition:transform 0.15s ease; }

/* --- Responsive --- */

/* Tablet landscape */
@media (max-width:1100px) {
    .about-grid { grid-template-columns:1fr 1fr; gap:40px; }
    .about-portrait { grid-column:1/-1; justify-content:center; }
    .portrait-frame { width:160px; height:160px; }
}

/* Tablet */
@media (max-width:1024px) {
    .project-card-inner { grid-template-columns:1fr; padding:32px; }
    .project-visual { order:-1; }
}

/* Mobile large */
@media (max-width:768px) {
    :root { --section-padding:80px; }
    .nav-links { display:none; }
    .nav-mobile-toggle { display:flex; }
    .hero { padding:100px 0 60px; }
    .hero-title { letter-spacing:-1px; }
    .hero-subtitle { font-size:16px; }
    .hero-stats { flex-direction:column; align-items:flex-start; gap:16px; }
    .stat-divider { width:40px; height:1px; }
    .project-card-inner { padding:24px; gap:24px; }
    .project-name { font-size:24px; }
    .project-metrics { flex-wrap:wrap; gap:16px; }
    .project-metrics .metric { min-width:80px; }
    .about-grid { grid-template-columns:1fr; gap:32px; }
    .about-portrait { grid-column:auto; }
    .portrait-frame { width:140px; height:140px; border-radius:20px; }
    .about-name { font-size:22px; }
    .contact-inner { padding:40px 24px; }
    .contact-title { font-size:28px; }
    .footer-inner { flex-direction:column; text-align:center; }
    .footer-legal { text-align:center; }
    .timeline-item { padding-left:48px; }
    .volaniq-pipeline { gap:0; }
    .pipeline-arrow { width:20px; }
    .pipeline-step span { font-size:9px; }
    .influencer-bar-wrap { display:none; }
    .section-title { font-size:28px; }
    .section-subtitle { font-size:15px; }
}

/* Mobile small */
@media (max-width:480px) {
    .container { padding:0 16px; }
    .hero-actions { flex-direction:column; }
    .btn { justify-content:center; width:100%; }
    .btn-large { padding:16px 24px; }
    .project-card-inner { padding:20px; }
    .project-name { font-size:22px; }
    .project-description { font-size:14px; }
    .metric-value { font-size:18px; }
    .project-metrics { gap:12px; }
    .portrait-frame { width:120px; height:120px; border-radius:16px; }
    .about-name { font-size:20px; }
    .about-text { font-size:14px; }
    .credential-card { padding:16px; }
    .credential-icon { width:36px; height:36px; border-radius:10px; }
    .credential-icon svg { width:18px; height:18px; }
    .timeline-card { padding:20px; }
    .timeline-title { font-size:17px; }
    .timeline-text { font-size:13px; }
    .hero-badge { font-size:11px; padding:6px 12px; }
    .hero-stats .stat-number { font-size:20px; }
    .contact-actions .btn { font-size:14px; }
    .footer-links { gap:16px; flex-wrap:wrap; justify-content:center; }
}

/* Very small */
@media (max-width:360px) {
    .hero-title { font-size:32px; letter-spacing:-0.5px; }
    .project-tags { gap:4px; }
    .tag { font-size:10px; padding:3px 8px; }
}
