/* ================================================
   NEVIO — Lusion-Inspired Business Theme
   ================================================ */



/* ---------- Section Visual Images ---------- */
.section-visual-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-visual-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(108, 92, 231, 0.15);
}

/* ---------- Theme Variables ---------- */
:root,
[data-theme="dark"] {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121a;
    --bg-elevated: #1a1a24;
    --text-primary: #f0f0f5;
    --text-secondary: #a2a2ba;
    --text-muted: #9e9eb4;
    --accent-primary: #8f82f8;
    --accent-secondary: #00cec9;
    --accent-tertiary: #fd79a8;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --accent-gradient-alt: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
    --text-accent-primary: #8f82f8;
    --text-accent-secondary: #00cec9;
    --text-accent-gradient: linear-gradient(135deg, var(--text-accent-primary), var(--text-accent-secondary));
    --btn-primary-text: #0a0a12;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(12, 12, 20, 0.8);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
    --bg-primary: #f5f5fa;
    --bg-secondary: #eeeef4;
    --bg-elevated: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #55556a;
    --text-muted: #5a5a6e;
    --accent-primary: #5544d6;
    --accent-secondary: #007d63;
    --accent-tertiary: #e17055;
    --text-accent-primary: #5544d6;
    --text-accent-secondary: #007d63;
    --text-accent-gradient: linear-gradient(135deg, var(--text-accent-primary), var(--text-accent-secondary));
    --btn-primary-text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-hover: rgba(0, 0, 0, 0.04);
    --shadow-color: rgba(0, 0, 0, 0.08);
    --card-bg: rgba(255, 255, 255, 0.9);
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* ---------- Canvas Background ---------- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Cursor Glow ---------- */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

.gradient-text {
    background: var(--text-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-accent-primary);
    margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent-gradient);
    color: var(--btn-primary-text);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.w-full { width: 100%; justify-content: center; }

/* ── Language Toggle ── */
.lang-btn-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

#lang-toggle {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 6px 10px;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
#lang-toggle:hover {
    border-color: var(--accent-primary);
    background: rgba(167,139,250,0.08);
}
[data-theme="light"] #lang-toggle {
    border-color: rgba(0,0,0,0.18);
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    min-width: 130px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    z-index: 9999;
}
.lang-menu.open { display: block; }

.lang-select-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.lang-select-btn:hover {
    background: rgba(167,139,250,0.12);
    color: var(--accent-primary);
}
.lang-select-btn.active-lang {
    color: var(--accent-primary);
    font-weight: 600;
}
[data-theme="light"] .lang-menu {
    background: #ffffff;
    border-color: rgba(0,0,0,0.12);
}



/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(6, 6, 10, 0.6);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

[data-theme="light"] .navbar {
    background: rgba(245, 245, 250, 0.8);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 6, 10, 0.85);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 245, 250, 0.92);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--text-primary);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links .btn-primary {
    padding: 10px 24px;
    font-size: 13px;
}

/* Theme Toggle Button */
#theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
    margin-left: 16px;
    backdrop-filter: blur(10px);
}

#theme-toggle:hover {
    background: var(--glass-hover);
    border-color: var(--accent-primary);
    transform: rotate(30deg) scale(1.1);
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 32px 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-primary);
    margin-bottom: 32px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 44px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visuals — Motion Objects */
.hero-visuals {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    animation: spin linear infinite;
}

.orbit-1 {
    width: 300px;
    height: 300px;
    animation-duration: 20s;
}

.orbit-2 {
    width: 420px;
    height: 420px;
    animation-duration: 30s;
    animation-direction: reverse;
    border-style: dashed;
}

.orbit-3 {
    width: 540px;
    height: 540px;
    animation-duration: 40s;
    opacity: 0.4;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.shape-1 {
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    top: 15%;
    right: 30%;
    animation: float-shape 6s ease-in-out infinite;
    box-shadow: 0 0 20px var(--accent-primary);
}

.shape-2 {
    width: 10px;
    height: 10px;
    background: var(--accent-secondary);
    bottom: 25%;
    left: 20%;
    animation: float-shape 8s ease-in-out infinite reverse;
    box-shadow: 0 0 15px var(--accent-secondary);
}

.shape-3 {
    width: 8px;
    height: 8px;
    background: var(--accent-tertiary);
    top: 40%;
    left: 10%;
    animation: float-shape 10s ease-in-out infinite;
    box-shadow: 0 0 15px var(--accent-tertiary);
}

.shape-4 {
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    bottom: 35%;
    right: 15%;
    animation: float-shape 7s ease-in-out infinite reverse;
    box-shadow: 0 0 18px var(--accent-primary);
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(15px, -20px); }
    50% { transform: translate(-10px, -35px); }
    75% { transform: translate(20px, -15px); }
}

/* Glass Cards in Hero */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(24px);
    padding: 24px;
    position: absolute;
    box-shadow: 0 30px 60px var(--shadow-color);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-1 {
    width: 260px;
    height: 180px;
    top: 10%;
    right: 5%;
    animation: float-card 8s ease-in-out infinite;
}

.card-2 {
    width: max-content;
    min-width: 200px;
    height: 140px;
    bottom: 20%;
    left: 10%;
    animation: float-card 10s ease-in-out infinite reverse;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100%;
}

.chart-mockup .bar {
    flex: 1;
    height: var(--h);
    background: var(--accent-gradient);
    border-radius: 6px 6px 0 0;
    opacity: 0.85;
    animation: bar-grow 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--delay);
    transform-origin: bottom;
    transform: scaleY(0);
}

@keyframes bar-grow {
    to { transform: scaleY(1); }
}

.metric-mockup {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    justify-content: center;
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    background: var(--text-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.metric-sparkline {
    margin-top: 8px;
}

.metric-sparkline svg {
    width: 100%;
    height: 30px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ---------- Marquee Divider ---------- */
.marquee-section {
    overflow: hidden;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.marquee-dot {
    color: var(--accent-primary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Services Section ---------- */
.services {
    padding: 140px 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 30px 60px var(--shadow-color);
}

.card-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 64px;
    font-weight: 800;
    color: var(--glass-border);
    line-height: 1;
}

.card-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 0 3px 0 0;
}

.service-card:hover .card-hover-line {
    width: 100%;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--accent-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- Methodology ---------- */
.methodology {
    padding: 140px 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.methodology-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
}

.methodology-text {
    flex: 1;
}

.methodology-text h2 {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 24px;
}

.methodology-text > p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.process-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.process-list li {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition);
}

.process-list li:hover {
    background: var(--glass-bg);
}

.step-num {
    font-size: 28px;
    font-weight: 800;
    background: var(--text-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 44px;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.methodology-visual {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    min-height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ── Floating Visual Cards (About & Methodology) ───────────────────────────── */

/* Glowing floating dots */
.vis-dot {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float-shape 6s ease-in-out infinite;
    pointer-events: none;
}
.vd-1 { width: 12px; height: 12px; background: var(--accent-primary);   top: 8%;    left: 8%;   box-shadow: 0 0 16px var(--accent-primary);   animation-duration: 7s; }
.vd-2 { width: 8px;  height: 8px;  background: var(--accent-secondary); bottom: 10%; right: 8%;  box-shadow: 0 0 12px var(--accent-secondary); animation-duration: 9s; animation-direction: reverse; }
.vd-4 { width: 10px; height: 10px; background: var(--accent-primary);   top: 8%;    right: 8%;  box-shadow: 0 0 14px var(--accent-primary);   animation-duration: 8s; animation-direction: reverse; }
.vd-5 { width: 7px;  height: 7px;  background: var(--accent-secondary); bottom: 8%;  left: 10%;  box-shadow: 0 0 10px var(--accent-secondary); animation-duration: 10s; }

/* Base vis-card */
.vis-card { position: absolute; }

/* ── Main card: large, centered, fills the panel ── */
.vc-main-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 28px 28px 24px;
    animation: float-card 9s ease-in-out infinite;
}

/* ── Small badge: bottom corner ── */
.vc-badge {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    animation: float-card 7s ease-in-out infinite reverse;
    border-radius: 999px !important;
}
.vc-badge-right { animation-duration: 11s; }

.vc-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--glass-border);
    flex-shrink: 0;
}
.vc-badge-dot.active-dot {
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Shared card title */
.vc-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ── About: disciplines layout ── */
.vc-disciplines {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.vc-disc {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}
.vc-disc-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
}
.vc-disc-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.vc-disc-line {
    height: 1px;
    background: var(--glass-border);
    margin: 0 4px;
    opacity: 0.5;
}
.vc-tagline {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    letter-spacing: 0.3px;
}

/* ── Methodology: process flow layout ── */
.vc-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.vc-flow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.vc-flow-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.vc-flow-num-badge {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}
.vc-flow-num-badge.active-badge {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 14px rgba(167,139,250,0.5);
    animation: pulse-dot 2.5s ease-in-out infinite;
}
.vc-flow-connector {
    width: 1.5px;
    flex: 1;
    min-height: 28px;
    background: var(--glass-border);
    margin: 4px 0;
    position: relative;
    overflow: hidden;
}
.vc-flow-connector::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    animation: flow-drop 2.4s ease-in-out infinite;
}
@keyframes flow-drop {
    0%   { top: -100%; opacity: 1; }
    100% { top: 100%;  opacity: 0; }
}
.vc-flow-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 24px;
    flex: 1;
}
.vc-flow-step.last .vc-flow-body { padding-bottom: 0; }

.vc-flow-icon-wrap {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-secondary);
}
.vc-flow-icon-wrap.active-icon {
    background: rgba(167,139,250,0.12);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.vc-flow-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
}
.vc-flow-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.vc-flow-text span {
    font-size: 12px;
    color: var(--text-muted);
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 6px rgba(167,139,250,0.4); }
    50%       { box-shadow: 0 0 20px rgba(167,139,250,0.8); }
}


.timeline-card {
    width: 100%;
    max-width: 400px;
    animation: float-card 10s ease-in-out infinite;
}

.timeline-mockup {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.t-row {
    height: 20px;
    background: var(--glass-bg);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.t-bar {
    position: absolute;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    opacity: 0.85;
    animation: bar-slide 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes bar-slide {
    to { transform: scaleX(1); }
}

/* ---------- Contact / CTA ---------- */
.cta {
    padding: 140px 32px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 20px;
}

.cta > .cta-content > p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-form {
    background: var(--card-bg);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    text-align: left;
    backdrop-filter: blur(20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 1;
}
.form-group input::-webkit-input-placeholder,
.form-group textarea::-webkit-input-placeholder {
    color: var(--text-secondary);
    opacity: 1;
}
.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder {
    color: var(--text-secondary);
    opacity: 1;
}
.form-group input:-ms-input-placeholder,
.form-group textarea:-ms-input-placeholder {
    color: var(--text-secondary);
    opacity: 1;
}

/* ---------- Footer ---------- */
footer {
    padding: 48px 32px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-logo {
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    display: block;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    margin-left: 16px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 0;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 160px;
    }
    .hero-content { max-width: 100%; }
    .hero-subtitle { margin: 0 auto 44px; }
    .hero-cta { justify-content: center; }
    .hero-visuals {
        width: 100%;
        height: 400px;
        margin-top: 40px;
    }
    .methodology-container { flex-direction: column; }
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .orbit-1 { width: 220px; height: 220px; }
    .orbit-2 { width: 300px; height: 300px; }
    .orbit-3 { width: 380px; height: 380px; }
    .card-1 { right: 0; }
    .card-2 { left: 0; }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px var(--shadow-color);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links a:not(.btn-primary) {
        font-size: 18px;
        padding: 15px 0;
        display: block;
        width: 100%;
    }
    
    .nav-links .btn-primary {
        padding: 16.5px 32px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-visuals,
    .methodology-visual {
        display: none !important;
        min-height: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: none !important;
    }
}

@media (max-width: 600px) {
    .hero-title { font-size: 42px; letter-spacing: -1px; }
    .contact-form { padding: 28px; }
    .service-card { padding: 32px 24px; }
}
