/* ========================================
   Shamnad Shaji — Personal Branding Site
   Warm, polished, confident
   ======================================== */

:root {
    --color-bg: #fafaf8;
    --color-surface: #ffffff;
    --color-surface-2: #f7f5f2;
    --color-surface-3: #f0eee9;
    --color-border: #e5e2dc;
    --color-border-light: #eeebe6;
    --color-text: #1a1816;
    --color-text-secondary: #44403c;
    --color-text-muted: #78716c;
    --color-text-dim: #a8a29e;
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-primary-soft: #eef2ff;
    --color-primary-softer: #f5f7ff;
    --color-accent-gold: #b45309;
    --color-accent-gold-light: #d97706;
    --color-accent-gold-soft: #fef3c7;
    --color-accent-gold-softer: #fffbeb;
    --color-accent-aws: #c2410c;
    --color-accent-google: #1d4ed8;
    --color-accent-green: #047857;
    --color-accent-green-soft: #ecfdf5;
    --color-warm: #fefcf8;
    --color-warm-2: #fef7ee;
    --shadow-xs: 0 1px 2px rgba(28, 24, 22, 0.04);
    --shadow-sm: 0 1px 3px rgba(28, 24, 22, 0.06), 0 1px 2px rgba(28, 24, 22, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(28, 24, 22, 0.07), 0 2px 4px -2px rgba(28, 24, 22, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(28, 24, 22, 0.08), 0 4px 6px -4px rgba(28, 24, 22, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(28, 24, 22, 0.08), 0 8px 10px -6px rgba(28, 24, 22, 0.04);
    --shadow-primary: 0 4px 14px rgba(79, 70, 229, 0.2);
    --shadow-primary-lg: 0 8px 24px rgba(79, 70, 229, 0.25);
    --shadow-gold: 0 4px 14px rgba(180, 83, 9, 0.12);
    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(229, 226, 220, 0.6);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.03em;
}

.nav-logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-primary);
    color: white !important;
    padding: 9px 22px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--shadow-primary);
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--color-primary-hover) !important;
    color: white !important;
    box-shadow: var(--shadow-primary-lg);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 68px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% -5%, rgba(79, 70, 229, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 5%, rgba(129, 140, 248, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 55% 45% at 65% 55%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 45% 40% at 5% 75%, rgba(4, 120, 87, 0.08) 0%, transparent 50%),
        linear-gradient(170deg, #eeeaff 0%, #f5f2ff 15%, var(--color-bg) 40%, var(--color-warm) 100%);
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.75;
}

.hero-subtitle strong {
    color: var(--color-text);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.tag {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-muted);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}

.tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.tag-flag {
    background: var(--color-accent-green-soft);
    border-color: rgba(4, 120, 87, 0.15);
    color: var(--color-accent-green);
}

.tag-aws {
    background: var(--color-accent-gold-softer);
    border-color: rgba(180, 83, 9, 0.15);
    color: var(--color-accent-gold);
}

.tag-edu {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.12);
    color: var(--color-primary);
}

.hero-actions {
    display: flex;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-outline {
    background: var(--color-surface);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 380px;
    height: 380px;
    flex-shrink: 0;
}

.avatar-ring {
    position: absolute;
    inset: 55px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-primary), #818cf8, var(--color-accent-gold-light));
    padding: 5px;
    animation: pulse-ring 5s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
}

.avatar-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-surface);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15); }
    50% { box-shadow: 0 8px 48px rgba(79, 70, 229, 0.25), 0 0 0 8px rgba(79, 70, 229, 0.04); }
}

.floating-badge {
    position: absolute;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.02em;
}

.badge-golden {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent-gold);
    border-color: rgba(180, 83, 9, 0.15);
    background: linear-gradient(135deg, var(--color-surface), var(--color-accent-gold-soft));
    animation-delay: 0s;
}

.badge-aws {
    top: 55px;
    right: -30px;
    color: var(--color-accent-aws);
    border-color: rgba(194, 65, 12, 0.12);
    background: linear-gradient(135deg, var(--color-surface), var(--color-accent-gold-softer));
    animation-delay: 1s;
}

.badge-cb {
    top: 55px;
    left: -40px;
    color: var(--color-accent-gold);
    border-color: rgba(180, 83, 9, 0.12);
    background: linear-gradient(135deg, var(--color-surface), var(--color-accent-gold-softer));
    animation-delay: 2s;
}

.badge-google {
    bottom: 65px;
    left: -30px;
    color: var(--color-accent-google);
    border-color: rgba(29, 78, 216, 0.12);
    background: linear-gradient(135deg, var(--color-surface), var(--color-primary-softer));
    animation-delay: 3s;
}

.badge-astro {
    bottom: 65px;
    right: -25px;
    color: var(--color-primary);
    border-color: rgba(79, 70, 229, 0.12);
    background: linear-gradient(135deg, var(--color-surface), var(--color-primary-softer));
    animation-delay: 4s;
}

.badge-msc {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent-green);
    border-color: rgba(4, 120, 87, 0.12);
    background: linear-gradient(135deg, var(--color-surface), var(--color-accent-green-soft));
    animation-delay: 5s;
}

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

/* ---- Sections ---- */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    color: var(--color-text);
    line-height: 1.15;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ---- About ---- */
.about {
    background:
        radial-gradient(ellipse 65% 55% at 95% 15%, rgba(79, 70, 229, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 5% 85%, rgba(217, 119, 6, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 50% 50%, rgba(4, 120, 87, 0.04) 0%, transparent 50%),
        linear-gradient(170deg, #ffffff 0%, #faf8ff 30%, #fdf9f5 70%, #faf8f5 100%);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: start;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.75;
    font-weight: 400;
}

.about-text p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-text p strong {
    color: var(--color-text);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--color-primary-softer);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ---- AWS Community Builder Banner ---- */
.community-banner {
    padding: 0;
    background:
        radial-gradient(ellipse 55% 60% at 85% 40%, rgba(217, 119, 6, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 45% 50% at 10% 60%, rgba(180, 83, 9, 0.06) 0%, transparent 50%),
        linear-gradient(175deg, #fdf9f3 0%, #fef7ee 50%, var(--color-bg) 100%);
}

.community-banner .container {
    padding-top: 80px;
    padding-bottom: 20px;
}

.cb-card {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    background:
        radial-gradient(ellipse 50% 60% at 90% 20%, rgba(180, 83, 9, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(254, 243, 199, 0.5) 0%, transparent 55%),
        linear-gradient(145deg, #fffcf5 0%, #fef8ee 30%, #fef3c7 60%, #fef8ee 100%);
    border: 1px solid rgba(180, 83, 9, 0.12);
    border-radius: 20px;
    padding: 44px 48px;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    position: relative;
    overflow: hidden;
}

.cb-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.cb-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.cb-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: rgba(180, 83, 9, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(180, 83, 9, 0.1);
}

.cb-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent-gold);
}

.cb-label {
    display: inline-block;
    background: rgba(180, 83, 9, 0.1);
    color: var(--color-accent-gold);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cb-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.cb-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 560px;
    font-size: 0.92rem;
}

.cb-highlights {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.cb-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cb-stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-accent-gold);
    letter-spacing: -0.01em;
}

.cb-stat-label {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ---- Career Timeline ---- */
.career {
    background:
        radial-gradient(ellipse 60% 55% at 0% 25%, rgba(4, 120, 87, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 90% 65%, rgba(79, 70, 229, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 50% 10%, rgba(217, 119, 6, 0.05) 0%, transparent 50%),
        linear-gradient(170deg, #f5faf7 0%, var(--color-bg) 35%, #faf8ff 70%, var(--color-warm) 100%);
}

.timeline {
    position: relative;
    padding-left: 44px;
    max-width: 700px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-border), var(--color-border));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

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

.timeline-marker {
    position: absolute;
    left: -44px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-surface-2);
    border: 3px solid var(--color-border);
    z-index: 1;
    transition: all var(--transition);
}

.timeline-founder .timeline-marker {
    background: var(--color-primary);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08), 0 0 12px rgba(79, 70, 229, 0.15);
}

.timeline-current .timeline-marker {
    background: var(--color-accent-green);
    border-color: rgba(4, 120, 87, 0.3);
    box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.06), 0 0 12px rgba(4, 120, 87, 0.1);
}

.timeline-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px 28px;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.timeline-content:hover {
    border-color: rgba(79, 70, 229, 0.2);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.timeline-date {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--color-text);
}

.timeline-company {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.timeline-desc {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    line-height: 1.6;
}

.cred-k8s .cred-icon {
    background: rgba(50, 108, 229, 0.07);
    color: #326ce5;
}

.cred-astro .cred-icon {
    background: rgba(194, 65, 12, 0.07);
}

.cred-astro {
    border-color: rgba(194, 65, 12, 0.12);
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.02), var(--color-surface));
}

/* ---- ParkingDone ---- */
.parkingdone {
    background:
        radial-gradient(ellipse 70% 55% at 15% 5%, rgba(79, 70, 229, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 90% 85%, rgba(129, 140, 248, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 45% 35% at 55% 45%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
        linear-gradient(160deg, #e8e5ff 0%, #eeecff 20%, #f3f1ff 45%, #f8f7ff 70%, #faf9fd 100%);
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 56px;
}

.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.product-card:hover {
    border-color: rgba(79, 70, 229, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.product-highlight {
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.04), rgba(180, 83, 9, 0.03));
    border-color: rgba(79, 70, 229, 0.15);
    box-shadow: var(--shadow-sm);
}

.product-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-soft);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.product-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.product-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.product-tag {
    display: inline-block;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-badges {
    display: flex;
    gap: 6px;
}

.product-badges span {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border-light);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 44px;
}

.tech-stack h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-pills span {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.tech-pills span:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-softer);
    box-shadow: var(--shadow-sm);
}

/* i18n */
.i18n-section h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.language-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lang {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.lang:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

/* ---- Credentials ---- */
.credentials {
    background:
        radial-gradient(ellipse 60% 50% at 85% 10%, rgba(217, 119, 6, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 10% 70%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 65% 90%, rgba(4, 120, 87, 0.06) 0%, transparent 50%),
        linear-gradient(165deg, #fffdfb 0%, #fdf9f5 30%, #f9f7ff 60%, #faf8f5 100%);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.cred-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.cred-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.cred-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border);
}

.cred-icon {
    font-size: 1.6rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xs);
}

.cred-icon svg {
    width: 24px;
    height: 24px;
}

.cred-golden .cred-icon {
    background: var(--color-accent-gold-soft);
}

.cred-golden {
    border-color: rgba(180, 83, 9, 0.15);
    background:
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(180, 83, 9, 0.06) 0%, transparent 55%),
        linear-gradient(145deg, #fffdf8 0%, var(--color-accent-gold-softer) 50%, #faf8f5 100%);
}

.cred-golden:hover {
    border-color: rgba(180, 83, 9, 0.3);
    box-shadow: var(--shadow-gold);
}

.cred-aws .cred-icon {
    background: rgba(194, 65, 12, 0.07);
    color: var(--color-accent-aws);
}

.cred-google .cred-icon {
    background: rgba(29, 78, 216, 0.06);
    color: var(--color-accent-google);
}

.cred-edu .cred-icon {
    background: var(--color-accent-green-soft);
}

.cred-citizen .cred-icon {
    background: var(--color-primary-soft);
}

.cred-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.cred-card p {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Cert Counter */
.cert-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background:
        radial-gradient(ellipse 60% 80% at 15% 50%, rgba(129, 140, 248, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 85% 50%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 50% 20%, rgba(217, 119, 6, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #e5e2ff 0%, #ebe8ff 30%, #f0eeff 60%, #eeecff 100%);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 20px;
    padding: 36px 48px;
}

.counter-item {
    text-align: center;
}

.counter-num {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.counter-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.counter-divider {
    width: 1px;
    height: 44px;
    background: rgba(79, 70, 229, 0.15);
}

/* ---- Featured Posts ---- */
.featured {
    background:
        radial-gradient(ellipse 55% 50% at 80% 15%, rgba(79, 70, 229, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 15% 75%, rgba(4, 120, 87, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 50% 50%, rgba(217, 119, 6, 0.05) 0%, transparent 50%),
        linear-gradient(170deg, #fef9f0 0%, #fdfaf5 30%, var(--color-bg) 60%, #f7faf8 100%);
}

/* Video Feature */
.video-feature {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.video-feature:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.15);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.video-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.video-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition);
}

.video-link:hover {
    color: var(--color-primary-hover);
}

/* Subsection Titles */
.subsection-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border-light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.posts-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.post-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    color: var(--color-text);
    text-decoration: none;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
    color: var(--color-text);
}

/* Blog card variant */
.post-card-blog {
    border-color: rgba(4, 120, 87, 0.12);
    background:
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(4, 120, 87, 0.04) 0%, transparent 55%),
        var(--color-surface);
}

.post-card-blog:hover {
    border-color: rgba(4, 120, 87, 0.25);
}

.post-source {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--color-text-dim);
    font-size: 0.78rem;
    font-weight: 600;
}

.post-source svg {
    opacity: 0.6;
}

.post-read-more {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto;
    transition: color var(--transition);
}

.post-card:hover .post-read-more {
    color: var(--color-primary-hover);
}

.post-card-featured {
    border-color: rgba(79, 70, 229, 0.18);
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(129, 140, 248, 0.08) 0%, transparent 55%),
        linear-gradient(145deg, #f8f7ff 0%, var(--color-primary-softer) 40%, var(--color-surface) 100%);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border-light);
}

.post-author {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
}

.post-date {
    display: block;
    font-size: 0.72rem;
    color: var(--color-text-dim);
}

.post-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.post-excerpt {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
}

.post-engagement {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-light);
}

.post-reactions {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
}

.post-reactions svg {
    color: var(--color-primary);
}

.post-tag-highlight {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.posts-cta {
    text-align: center;
}

/* ---- Contact ---- */
.contact {
    text-align: center;
    background:
        radial-gradient(ellipse 65% 55% at 50% 0%, rgba(79, 70, 229, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 15% 80%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 45% 45% at 85% 85%, rgba(4, 120, 87, 0.07) 0%, transparent 50%),
        linear-gradient(170deg, #fdf8f0 0%, #fef5ea 30%, #fef3e4 60%, #fdf6ef 100%);
    border-top: 1px solid var(--color-border-light);
}

.contact .section-desc {
    margin: 0 auto 44px;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 14px 24px;
    border-radius: var(--radius);
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.contact-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.contact-card svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-card:hover svg {
    opacity: 1;
}

/* ---- Footer ---- */
.footer {
    padding: 28px 0;
    border-top: 1px solid var(--color-border-light);
    text-align: center;
    background: var(--color-bg);
}

.footer p {
    color: var(--color-text-dim);
    font-size: 0.82rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin: 0 auto;
        width: 280px;
        height: 280px;
    }

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

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

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

    .video-feature {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 20px 28px;
        gap: 14px;
        box-shadow: var(--shadow-lg);
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 72px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }

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

    .cert-counter {
        flex-direction: column;
        gap: 20px;
        padding: 32px;
    }

    .counter-divider {
        width: 48px;
        height: 1px;
    }

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

    .hero-visual {
        width: 240px;
        height: 240px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .language-flags {
        gap: 8px;
    }

    .cb-card {
        flex-direction: column;
        padding: 28px;
        gap: 20px;
    }

    .cb-highlights {
        gap: 16px;
    }

    .posts-grid,
    .posts-grid-3 {
        grid-template-columns: 1fr;
    }

    .video-feature {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .community-banner .container {
        padding-top: 60px;
    }
}

/* ---- Scroll Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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