:root {
    color-scheme: dark light;

    /* Surfaces */
    --bg-base: #06060a;
    --bg-elevated: #0c0c14;
    --bg-card: rgba(20, 20, 30, 0.6);
    --bg-nav: rgba(6, 6, 10, 0.7);
    --bg-card-solid: rgba(20, 20, 30, 0.92);

    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    /* Text */
    --text-primary: #f5f5f7;
    --text-secondary: #a8a8b3;
    --text-muted: #6c6c7a;

    /* Accents */
    --accent: #6366f1;
    --accent-bright: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.35);
    --gradient-1: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    --gradient-2: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --aws-orange: #ff9900;
    --redhat-red: #ee0000;

    /* Themed overlays — flip on light mode */
    --overlay-subtle: rgba(255, 255, 255, 0.025);
    --overlay-light:  rgba(255, 255, 255, 0.04);
    --overlay-medium: rgba(255, 255, 255, 0.06);
    --overlay-strong: rgba(255, 255, 255, 0.1);

    /* Background gradients */
    --bg-gradient-1: rgba(99, 102, 241, 0.18);
    --bg-gradient-2: rgba(192, 132, 252, 0.12);
    --bg-gradient-3: rgba(244, 114, 182, 0.06);

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px -10px var(--accent-glow);
    --radius: 16px;
    --radius-sm: 10px;
    --container: 1200px;
}

[data-theme="light"] {
    color-scheme: light;

    --bg-base: #f6f6fb;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-nav: rgba(246, 246, 251, 0.85);
    --bg-card-solid: #ffffff;

    --border: rgba(0, 0, 0, 0.09);
    --border-strong: rgba(0, 0, 0, 0.18);

    --text-primary: #0c0c14;
    --text-secondary: #45455a;
    --text-muted: #7a7a8a;

    --accent: #5b5fd3;
    --accent-bright: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.22);
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);

    --overlay-subtle: rgba(0, 0, 0, 0.04);
    --overlay-light:  rgba(0, 0, 0, 0.04);
    --overlay-medium: rgba(0, 0, 0, 0.06);
    --overlay-strong: rgba(0, 0, 0, 0.1);

    --bg-gradient-1: rgba(99, 102, 241, 0.1);
    --bg-gradient-2: rgba(192, 132, 252, 0.07);
    --bg-gradient-3: rgba(244, 114, 182, 0.04);

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

img, svg {
    display: block;
    max-width: 100%;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, var(--bg-gradient-1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, var(--bg-gradient-2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, var(--bg-gradient-3) 0%, transparent 70%);
    pointer-events: none;
    z-index: -2;
    transition: background 0.4s ease;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--overlay-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--overlay-subtle) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-nav);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.85;
}

.brand-wordmark {
    height: 26px;
    width: auto;
    display: block;
    color: var(--text-primary);
}

.brand-wordmark-lg {
    height: 32px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-2);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px -5px var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 0.65rem 1.3rem;
    background: var(--overlay-medium);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--overlay-strong);
    border-color: var(--border-strong);
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--overlay-medium);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--overlay-strong);
    border-color: var(--border-strong);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #4ade80;
    margin-bottom: 2rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-bright);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-description a {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-strong);
    transition: border-color 0.2s ease;
}

.hero-description a:hover {
    border-bottom-color: var(--accent-bright);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.65rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 8px 30px -5px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -5px var(--accent-glow);
}

.btn-secondary {
    background: var(--overlay-light);
    border-color: var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--overlay-strong);
    border-color: var(--border-strong);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere {
    position: relative;
    width: 580px;
    height: 580px;
    max-width: 100%;
    isolation: isolate;
    cursor: grab;
}

.sphere:active {
    cursor: grabbing;
}

/* Bokeh dust behind the sphere */
.sphere::before {
    content: '';
    position: absolute;
    inset: -10% -15%;
    z-index: 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(255, 153, 0, 0.15) 0%, transparent 3%),
        radial-gradient(circle at 88% 30%, rgba(99, 102, 241, 0.18) 0%, transparent 4%),
        radial-gradient(circle at 18% 75%, rgba(244, 114, 182, 0.15) 0%, transparent 3%),
        radial-gradient(circle at 82% 80%, rgba(34, 211, 238, 0.13) 0%, transparent 3%),
        radial-gradient(circle at 45% 12%, rgba(192, 132, 252, 0.12) 0%, transparent 2.5%),
        radial-gradient(circle at 60% 90%, rgba(52, 211, 153, 0.12) 0%, transparent 2.5%);
    filter: blur(6px);
    pointer-events: none;
    opacity: 0.9;
}

.sphere-cloud {
    position: absolute;
    inset: 0;
    /* No z-index here: with z-index, .sphere-cloud would form its own
       stacking context and trap every satellite below the core regardless
       of the items' own z-index. Leaving it auto lets each satellite's
       z-index (1000..2000) compete directly with the core's (500). */
}


@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 120px;
    z-index: 500;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    color: var(--text-primary);
}

/* The Wikimedia AWS Logo SVG ships with BLACK 'aws' text + orange smile.
   On the dark theme the black wordmark would vanish, so we run the image
   through `invert(1) hue-rotate(180deg)`:
   - Black (0,0,0) → invert → white (greyscale, hue-rotate is a no-op)
   - Orange (HSL 36°) → invert → blue (216°) → +180° → back to orange
   Net result: wordmark flips to white in dark theme; smile stays orange.
   In light mode --logo-invert is 0, so the filter does nothing and the
   black text shows as-is on the bright background. */
:root { --logo-invert: 1; }
[data-theme="light"] { --logo-invert: 0; }

.aws-logo-3d {
    /* Wikimedia AWS SVG ships without width/height attributes — falling back
       to 100%/100% with object-fit can give 0×0 in some browsers. Pin the
       max dimensions explicitly so the image always lays out at its
       container size regardless of intrinsic-size quirks. */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    transform-style: preserve-3d;
    animation: awsFloat 7s ease-in-out infinite;
    filter:
        invert(var(--logo-invert))
        hue-rotate(calc(var(--logo-invert) * 180deg))
        drop-shadow(1px 1px 0 rgba(140, 55, 0, 0.5))
        drop-shadow(2px 2px 0 rgba(110, 40, 0, 0.4))
        drop-shadow(3px 3px 0 rgba(80, 30, 0, 0.32))
        drop-shadow(4px 4px 0 rgba(50, 18, 0, 0.24))
        drop-shadow(0 0 24px rgba(255, 153, 0, 0.6))
        drop-shadow(0 12px 40px rgba(255, 110, 0, 0.4));
}

@keyframes awsFloat {
    0%, 100% { transform: rotateY(-14deg) rotateX(6deg); }
    50%      { transform: rotateY(14deg)  rotateX(6deg) translateZ(6px); }
}

.core-glow {
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 35%, rgba(255, 200, 100, 0.4), transparent 30%),
        radial-gradient(circle at 70% 65%, rgba(255, 100, 30, 0.35), transparent 38%),
        radial-gradient(circle at 50% 50%, rgba(255, 150, 50, 0.22), transparent 55%);
    filter: blur(14px);
    animation: corePulse 5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes corePulse {
    0%, 100% { opacity: 0.75; transform: scale(1) rotate(0deg); }
    50%      { opacity: 1;    transform: scale(1.18) rotate(45deg); }
}

.sphere-item {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    pointer-events: auto;
    will-change: transform, opacity;
    user-select: none;
    -webkit-user-drag: none;
}

.sphere-item .icon {
    width: 44px;
    height: 44px;
    padding: 7px;
    border-radius: 50%;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-strong);
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s ease;
}

.sphere-item:hover .icon {
    border-color: var(--accent-bright);
    box-shadow: 0 10px 28px -6px var(--accent-glow);
    transform: scale(1.9);
}

.sphere-item .icon img,
.sphere-item .icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.sphere-item .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-shadow: 0 1px 6px var(--bg-base), 0 0 12px var(--bg-base);
    pointer-events: none;
    transform-origin: center top;
    transition: color 0.2s ease, transform 0.25s ease;
}

.sphere-item:hover .label {
    color: var(--text-primary);
    transform: scale(1.9);
}

@media (max-width: 768px) {
    .sphere-item .label { font-size: 0.55rem; }
    .sphere-item .icon { width: 36px; height: 36px; padding: 5px; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}


.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--border-strong), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--accent-bright);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(400%); opacity: 0; }
}

.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 720px;
}

.section-label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--accent-bright);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-text .lead strong {
    color: var(--accent-bright);
    font-weight: 500;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
    line-height: 1.75;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.45;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.exp-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exp-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.exp-card:hover::before {
    opacity: 1;
}

.exp-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-bright);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.exp-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.exp-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.exp-tags li {
    padding: 0.3rem 0.75rem;
    background: var(--overlay-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.spec-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.spec-section::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    pointer-events: none;
    transform: translateY(-50%);
}

.spec-ai::before {
    left: -200px;
    background: radial-gradient(circle, #c084fc 0%, transparent 60%);
}

.spec-k8s::before {
    right: -200px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 60%);
}

.spec-aws::before {
    left: -200px;
    background: radial-gradient(circle, #ff9900 0%, transparent 60%);
}

.spec-data::before {
    right: -200px;
    background: radial-gradient(circle, #22d3ee 0%, transparent 60%);
}

.spec-ml::before {
    left: -200px;
    background: radial-gradient(circle, #34d399 0%, transparent 60%);
}

.spec-row {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.spec-row.reverse {
    grid-template-columns: 1fr 380px;
}

.spec-row.reverse .spec-meta {
    order: 2;
}

.spec-row.reverse .spec-content {
    order: 1;
}

.spec-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--overlay-light);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}

.spec-icon svg {
    width: 30px;
    height: 30px;
}

.spec-ai .spec-icon { color: #c084fc; background: rgba(192, 132, 252, 0.08); border-color: rgba(192, 132, 252, 0.25); }
.spec-k8s .spec-icon { color: #60a5fa; background: rgba(96, 165, 250, 0.08); border-color: rgba(96, 165, 250, 0.25); }
.spec-k8s .k8s-logo-mark {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    padding: 12px;
    background: rgba(96, 165, 250, 0.08);
    border-color: rgba(96, 165, 250, 0.25);
}
.spec-k8s .k8s-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.k8s-tools {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.k8s-tools-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.k8s-tools-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.k8s-tools-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.k8s-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.k8s-tool {
    display: flex;
    gap: 1.4rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.k8s-tool:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -10px rgba(96, 165, 250, 0.15);
}

.k8s-tool-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.k8s-tool-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.k8s-tool-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.k8s-tool-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.k8s-tool-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #60a5fa;
    margin-top: 0.35rem;
    margin-bottom: 0.8rem;
}

.k8s-tool-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.spec-aws .spec-icon { color: #ff9900; background: rgba(255, 153, 0, 0.08); border-color: rgba(255, 153, 0, 0.25); }
.spec-aws .aws-logo-mark {
    width: auto;
    min-width: 140px;
    height: 80px;
    border-radius: 16px;
    padding: 16px 22px;
    background: rgba(255, 153, 0, 0.08);
    border-color: rgba(255, 153, 0, 0.25);
    color: var(--text-primary);
}
.spec-aws .aws-logo-mark svg {
    width: auto;
    height: 100%;
    display: block;
}
.spec-data .spec-icon { color: #22d3ee; background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.25); }
.spec-ml .spec-icon { color: #34d399; background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.25); }

.spec-title {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.spec-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.spec-ai .spec-tagline { color: #c084fc; }
.spec-k8s .spec-tagline { color: #60a5fa; }
.spec-aws .spec-tagline { color: #ff9900; }
.spec-data .spec-tagline { color: #22d3ee; }
.spec-ml .spec-tagline { color: #34d399; }

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.spec-description {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.spec-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.spec-highlight {
    padding: 1rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.spec-highlight-value {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.spec-ai .spec-highlight-value { color: #c084fc; }
.spec-k8s .spec-highlight-value { color: #60a5fa; }
.spec-aws .spec-highlight-value { color: #ff9900; }
.spec-data .spec-highlight-value { color: #22d3ee; }
.spec-ml .spec-highlight-value { color: #34d399; }

.spec-highlight-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-tags span {
    padding: 0.4rem 0.9rem;
    background: var(--overlay-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.2s ease;
}

.spec-ai .spec-tags span:hover { color: #c084fc; border-color: rgba(192, 132, 252, 0.4); background: rgba(192, 132, 252, 0.05); }
.spec-k8s .spec-tags span:hover { color: #60a5fa; border-color: rgba(96, 165, 250, 0.4); background: rgba(96, 165, 250, 0.05); }
.spec-aws .spec-tags span:hover { color: #ff9900; border-color: rgba(255, 153, 0, 0.4); background: rgba(255, 153, 0, 0.05); }
.spec-data .spec-tags span:hover { color: #22d3ee; border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.05); }
.spec-ml .spec-tags span:hover { color: #34d399; border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.05); }

.aws-certs {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.aws-certs-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.aws-certs-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.aws-certs-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.aws-tier {
    margin-bottom: 2.5rem;
}

.aws-tier:last-child {
    margin-bottom: 0;
}

.aws-tier-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border);
}

.aws-tier-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    border: 1px solid;
}

.aws-tier-name.foundational {
    color: #67e8f9;
    background: rgba(103, 232, 249, 0.08);
    border-color: rgba(103, 232, 249, 0.25);
}

.aws-tier-name.associate {
    color: #93c5fd;
    background: rgba(147, 197, 253, 0.08);
    border-color: rgba(147, 197, 253, 0.25);
}

.aws-tier-name.professional {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
}

.aws-tier-name.specialty {
    color: #d8b4fe;
    background: rgba(216, 180, 254, 0.08);
    border-color: rgba(216, 180, 254, 0.3);
}

.aws-tier-count {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.aws-tier-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.aws-cert {
    display: flex;
    gap: 1.1rem;
    padding: 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.aws-cert:hover {
    border-color: rgba(255, 153, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -10px rgba(255, 153, 0, 0.15);
}

.aws-cert-icon {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease;
}

.aws-cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aws-cert:hover .aws-cert-icon {
    transform: scale(1.05) rotate(-2deg);
}

.aws-cert-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.aws-cert-name {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.005em;
}

.aws-cert-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

.aws-cert-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.nonprofits {
    background:
        radial-gradient(ellipse at 70% 0%, rgba(52, 211, 153, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 100%, rgba(34, 197, 94, 0.05) 0%, transparent 55%);
    position: relative;
}

.np-grad-text {
    background: linear-gradient(135deg, #34d399 0%, #6ee7b7 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.np-callout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.75rem;
    align-items: center;
    padding: 2rem 2.25rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.08) 0%, rgba(52, 211, 153, 0.06) 100%);
    border: 1px solid rgba(255, 153, 0, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.np-callout-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 153, 0, 0.12);
    border: 1px solid rgba(255, 153, 0, 0.3);
    color: #ff9900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.np-callout-icon svg {
    width: 26px;
    height: 26px;
}

.np-callout-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.np-callout-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.np-callout-body strong {
    color: #ff9900;
    font-weight: 600;
}

.np-callout-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff9900;
    padding: 0.55rem 1rem;
    background: rgba(255, 153, 0, 0.12);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.np-block-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.np-block-title::before {
    content: '';
    width: 28px;
    height: 1px;
    background: #34d399;
}

.np-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.np-service {
    padding: 1.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.np-service:hover {
    border-color: rgba(52, 211, 153, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -10px rgba(52, 211, 153, 0.15);
}

.np-service-premium {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.06) 0%, rgba(244, 114, 182, 0.04) 100%);
    border-color: rgba(192, 132, 252, 0.2);
}

.np-service-premium:hover {
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 12px 30px -10px rgba(192, 132, 252, 0.2);
}

.np-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #34d399;
    margin-bottom: 1rem;
    font-weight: 500;
}

.np-service-premium .np-num {
    color: #c084fc;
}

.np-premium-tag {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #c084fc;
    padding: 0.25rem 0.65rem;
    background: rgba(192, 132, 252, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.25);
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.np-svc-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.np-svc-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #34d399;
    margin-bottom: 0.85rem;
}

.np-service-premium .np-svc-tag {
    color: #c084fc;
}

.np-svc-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.np-niches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 4rem;
}

.np-niche {
    padding: 0.65rem 1.1rem;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 100px;
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.np-niche:hover {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.4);
}

.np-package {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    padding: 3rem 3rem;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.np-package::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.np-package > * {
    position: relative;
    z-index: 1;
}

.np-package-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 100px;
}

.np-package-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.1rem;
}

.np-package-intro {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.np-package-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #06060a;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 30px -5px rgba(52, 211, 153, 0.4);
}

.np-package-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -5px rgba(52, 211, 153, 0.5);
}

.np-package-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-self: center;
}

.np-package-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.98rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.np-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.05rem;
}

.cert-tier {
    margin-bottom: 2.5rem;
}

.cert-tier:last-child {
    margin-bottom: 0;
}

.cert-tier-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.cert-tier-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.cert-count {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 0.25rem 0.7rem;
    background: var(--overlay-light);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.cert-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.65rem;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.cert-badge.aws {
    background: rgba(255, 153, 0, 0.12);
    color: var(--aws-orange);
    border: 1px solid rgba(255, 153, 0, 0.25);
}

.cert-badge.redhat {
    background: rgba(238, 0, 0, 0.12);
    color: #ef4444;
    border: 1px solid rgba(238, 0, 0, 0.25);
}

.cert-badge.network {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.cert-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.cert-item:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-solid);
    transform: translateY(-2px);
}

.cert-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.cert-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    color: var(--text-muted);
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    top: 0.7rem;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-bright);
    opacity: 0.6;
}

.skills-section {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.025) 50%, transparent 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.skill-block {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skill-block:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.skill-block.soft {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(192, 132, 252, 0.03) 100%);
}

.skill-block-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
}

.skill-block-title svg {
    width: 18px;
    height: 18px;
    color: var(--accent-bright);
    flex-shrink: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.skill-tags span {
    padding: 0.35rem 0.8rem;
    background: var(--overlay-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.2s ease;
}

.skill-tags span:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    text-align: left;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-solid);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.contact-method-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-body {
    min-width: 0;
    flex: 1;
}

.contact-method-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.contact-method-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    max-width: 800px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-bright), var(--border));
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

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

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 2px solid var(--accent-bright);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.timeline-content {
    padding: 1.5rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.timeline-period {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--accent-bright);
    padding: 0.2rem 0.6rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.timeline-company {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.contact {
    padding-top: 4rem;
}

.contact-card {
    padding: 5rem 4rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(192, 132, 252, 0.04) 100%);
    border: 1px solid var(--border-strong);
    border-radius: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-card > * {
    position: relative;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 1rem 0 1.5rem;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer {
    padding: 3rem 0 2.5rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.footer-firstname {
    font-size: 0.92rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .sphere {
        width: 480px;
        height: 480px;
    }

    .sphere-core {
        width: 170px;
        height: 100px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .np-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .np-service-premium {
        grid-column: span 2;
    }

    .np-package {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }

    .spec-row,
    .spec-row.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .spec-row.reverse .spec-meta { order: 0; }
    .spec-row.reverse .spec-content { order: 0; }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .cert-row {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .aws-tier-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open li {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open li:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .section {
        padding: 5rem 0;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .spec-section {
        padding: 4rem 0;
    }

    .spec-highlights {
        grid-template-columns: 1fr;
    }

    .spec-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-block.soft {
        grid-column: span 1;
    }

    .cert-row {
        grid-template-columns: 1fr;
    }

    .aws-cert {
        flex-direction: column;
        gap: 0.85rem;
    }

    .k8s-tools-grid {
        grid-template-columns: 1fr;
    }

    .k8s-tool {
        flex-direction: column;
        gap: 1rem;
    }

    .np-services {
        grid-template-columns: 1fr;
    }

    .np-service-premium {
        grid-column: span 1;
    }

    .np-callout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .np-callout-icon {
        margin: 0 auto;
    }

    .np-callout-badge {
        margin: 0 auto;
    }

    .np-package {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .np-premium-tag {
        top: 1.1rem;
        right: 1.1rem;
    }

    .aws-tier-head {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .aws-tier-count {
        margin-left: 0;
    }

    .cert-tier-header {
        flex-wrap: wrap;
    }

    .cert-count {
        margin-left: 0;
    }

    .about-cards {
        grid-template-columns: 1fr 1fr;
    }

    .contact-card {
        padding: 3rem 1.75rem;
    }

    .sphere {
        width: 360px;
        height: 360px;
    }

    .sphere-core {
        width: 130px;
        height: 80px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }
}

@media (max-width: 480px) {
    .about-cards {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }
}
