:root {
    --bg: #05060b;
    --panel: #0c0f17;
    --panel-2: #111627;
    --text: #e8ecf7;
    --muted: #9aa4c4;
    --accent: #7ef6d4;
    --accent-strong: #5ff0e5;
    --border: rgba(255, 255, 255, 0.06);
    --radius: 18px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --page-bg: radial-gradient(circle at 20% 20%, rgba(126, 246, 212, 0.05), transparent 25%),
        radial-gradient(circle at 80% 0%, rgba(95, 240, 229, 0.06), transparent 20%),
        linear-gradient(145deg, #06070f, #0a0c14 50%, #06070f);
}

:root[data-theme="light"] {
    --bg: #f7f9ff;
    --panel: #ffffff;
    --panel-2: #eef2ff;
    --text: #0f172a;
    --muted: #52607a;
    --accent: #2dd4bf;
    --accent-strong: #06b6d4;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    --page-bg: radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.1), transparent 25%),
        radial-gradient(circle at 80% 0%, rgba(6, 182, 212, 0.12), transparent 20%),
        linear-gradient(145deg, #f5f7ff, #e8ecff 60%, #f5f7ff);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: var(--page-bg);
    color: var(--text);
    min-height: 100vh;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
}

:root[data-theme="light"] .glass {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.navbar {
    padding: 1rem 0;
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
    color: var(--text);
}

.navbar .nav-link {
    color: var(--muted);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.logo-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(126, 246, 212, 0.8);
}

.btn-accent {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #041015;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.3rem;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(126, 246, 212, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(126, 246, 212, 0.35);
    color: #041015;
}

.btn-ghost {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 0.65rem 1.3rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    padding: 5rem 0 4rem;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 20%, rgba(95, 240, 229, 0.07), transparent 55%);
    pointer-events: none;
}

:root[data-theme="light"] .hero::after {
    background: radial-gradient(ellipse at 60% 20%, rgba(6, 182, 212, 0.08), transparent 55%);
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gradient-text {
    background: linear-gradient(120deg, var(--accent), #76a8f8, #c47bff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--accent);
}

.hero .panel {
    background: linear-gradient(145deg, var(--panel), var(--panel-2));
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
}

.stacked-cards {
    display: grid;
    gap: 0.75rem;
}

.mini-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(126, 246, 212, 0.14);
    color: var(--accent);
}

.gradient-bar {
    background: linear-gradient(120deg, rgba(126, 246, 212, 0.14), rgba(118, 168, 248, 0.12));
    border: 1px solid var(--border);
}

.section-padding {
    padding: 5rem 0;
}

.section-header h2 {
    color: var(--text);
}

.section-header p {
    color: var(--muted);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.journey-card {
    padding: 1.2rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.journey-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(126, 246, 212, 0.06), transparent 60%);
    pointer-events: none;
}

.journey-step {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(126, 246, 212, 0.18);
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.bg-panel {
    background: linear-gradient(180deg, rgba(16, 21, 35, 0.7), rgba(6, 8, 14, 0.9));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

:root[data-theme="light"] .bg-panel {
    background: linear-gradient(180deg, #f2f5ff, #e9edfb);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.3rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

:root[data-theme="light"] .project-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 246, 212, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

:root[data-theme="light"] .project-card:hover {
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    border-color: rgba(6, 182, 212, 0.3);
}

.pill {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(126, 246, 212, 0.12);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
}

.stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-weight: 700;
    font-size: 0.8rem;
}

.chip.prominent {
    background: rgba(126, 246, 212, 0.12);
    color: var(--accent);
}

.icon-circle.soft {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.concept-card {
    padding: 1.4rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text);
}

.footer {
    border-top: 1px solid var(--border);
    background: #05060b;
}

:root[data-theme="light"] .footer {
    background: #f5f7ff;
}

.text-secondary {
    color: var(--muted) !important;
}

.bg-accent-subtle {
    background: rgba(126, 246, 212, 0.12);
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 4rem;
    }

    .navbar .nav-link {
        padding: 0.6rem 0.9rem;
    }
}

@media (max-width: 575.98px) {
    h1.display-4 {
        font-size: 2rem;
    }
}