/* ========================================
   FARUK KADIR — Portfolio Styles
   Inspired by antigravity.google aesthetic
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors - Clean, modern palette */
    --bg-primary: #fafbfc;
    --bg-secondary: #f0f2f5;
    --bg-dark: #0a0a0f;
    --bg-dark-surface: #141420;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fb;

    --text-primary: #0d0d0d;
    --text-secondary: #5a5a6e;
    --text-muted: #8e8ea0;
    --text-inverse: #f5f5f7;

    --accent-primary: #2563eb;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --accent-glow: rgba(37, 99, 235, 0.15);

    --gold: #FFD700;
    --gold-bg: rgba(255, 215, 0, 0.08);
    --silver: #C0C0C0;
    --silver-bg: rgba(192, 192, 192, 0.08);
    --bronze: #CD7F32;
    --bronze-bg: rgba(205, 127, 50, 0.08);

    --aws-orange: #FF9900;
    --gcp-blue: #4285F4;
    --redhat-red: #EE0000;
    --so-orange: #F48024;
    --github-dark: #24292e;
    --linkedin-blue: #0077B5;
    --ibm-blue: #054ADA;

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Particle Canvas ---------- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(250, 251, 252, 0.8);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(250, 251, 252, 0.95);
    border-bottom-color: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-bracket {
    color: var(--accent-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ---------- Section Styles ---------- */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header.light .section-title {
    color: var(--text-inverse);
}

.section-header.light .section-tag {
    color: rgba(255, 255, 255, 0.4);
}

.section-header.light .section-line {
    background: rgba(255, 255, 255, 0.15);
}

.section-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-line {
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent-gradient);
    margin: 0 auto;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-greeting {
    display: block;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-name {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, #0d0d0d 0%, #2563eb 50%, #7c3aed 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both, gradientShift 6s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 16px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description strong {
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 64px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.stat-plus,
.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-medium);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    background: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-glow {
    background: linear-gradient(135deg, var(--redhat-red), #cc0000);
    color: white;
    box-shadow: 0 4px 20px rgba(238, 0, 0, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(238, 0, 0, 0.4);
}

.btn-so {
    background: var(--so-orange);
    color: white;
}

.btn-so:hover {
    background: #e07020;
    transform: translateY(-2px);
}

.btn-github {
    background: var(--github-dark);
    color: white;
}

.btn-github:hover {
    background: #1b1f23;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    background: var(--accent-gradient);
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

/* ---------- About Section ---------- */
.about-section {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-languages {
    margin-top: 32px;
}

.about-languages h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.language-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lang-tag {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.about-skills h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.skill-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.skill-icon {
    font-size: 1.5rem;
}

.skill-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------- Experience Timeline ---------- */
.experience-section {
    background: var(--bg-secondary);
}

.timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 8px;
    z-index: 2;
}

.marker-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.timeline-content {
    background: var(--bg-card);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.timeline-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.timeline-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.timeline-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-role {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-top: 4px;
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin: 12px 0;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.timeline-tags span {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--accent-glow);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- Certifications ---------- */
.certifications-section {
    background: var(--bg-primary);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
}

.cert-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cert-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cert-provider {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cert-provider.aws {
    background: rgba(255, 153, 0, 0.1);
    color: var(--aws-orange);
}

.cert-provider.gcp {
    background: rgba(66, 133, 244, 0.1);
    color: var(--gcp-blue);
}

.cert-provider.ibm {
    background: rgba(5, 74, 218, 0.1);
    color: var(--ibm-blue);
}

.cert-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cert-badge {
    display: inline-block;
    margin-top: auto;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ---------- Hall of Fame ---------- */
.hof-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hof-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(238, 0, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hof-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.hof-card {
    position: relative;
    background: var(--bg-dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    overflow: hidden;
}

.hof-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(238, 0, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hof-icon {
    margin-bottom: 24px;
    color: var(--redhat-red);
    animation: float 3s ease-in-out infinite;
}

.hof-badge-label {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(238, 0, 0, 0.1);
    border: 1px solid rgba(238, 0, 0, 0.2);
    color: #ff4444;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hof-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-inverse);
    margin-bottom: 8px;
}

.hof-year {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hof-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 32px;
}

.hof-desc strong {
    color: var(--text-inverse);
}

.hof-quote {
    margin: 32px auto;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--redhat-red);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    text-align: left;
    max-width: 560px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.hof-quote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Stack Overflow Section ---------- */
.so-section {
    background: var(--bg-secondary);
}

.so-profile {
    max-width: 900px;
    margin: 0 auto;
}

.so-header-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.so-avatar {
    flex-shrink: 0;
}

.so-info {
    flex: 1;
}

.so-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.so-tagline {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.so-meta {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.so-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.so-stat-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.so-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.so-stat-card.reputation {
    background: linear-gradient(135deg, rgba(244, 128, 36, 0.05), rgba(244, 128, 36, 0.1));
    border-color: rgba(244, 128, 36, 0.2);
}

.so-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.so-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.so-badges-section h3,
.so-tags-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.so-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.so-badge-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: var(--transition-base);
}

.so-badge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.so-badge-card.gold {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, var(--bg-card), var(--gold-bg));
}

.so-badge-card.gold:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.15);
}

.so-badge-card.silver {
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(135deg, var(--bg-card), var(--silver-bg));
}

.so-badge-card.silver:hover {
    border-color: var(--silver);
    box-shadow: 0 8px 30px rgba(192, 192, 192, 0.15);
}

.so-badge-card.bronze {
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(135deg, var(--bg-card), var(--bronze-bg));
}

.so-badge-card.bronze:hover {
    border-color: var(--bronze);
    box-shadow: 0 8px 30px rgba(205, 127, 50, 0.15);
}

.badge-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gold-circle {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.silver-circle {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: white;
    box-shadow: 0 4px 16px rgba(192, 192, 192, 0.3);
}

.bronze-circle {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: white;
    box-shadow: 0 4px 16px rgba(205, 127, 50, 0.3);
}

.badge-info {
    margin-bottom: 12px;
}

.badge-count {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-right: 4px;
}

.badge-type {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.badge-detail {
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.badge-name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.badge-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.badge-date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 8px;
}

.bronze-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bronze-list span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.bronze-list em {
    font-style: normal;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.so-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.so-tag {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.so-tag:hover {
    border-color: var(--so-orange);
    color: var(--so-orange);
    background: rgba(244, 128, 36, 0.05);
}

/* ---------- GitHub Section ---------- */
.github-section {
    background: var(--bg-primary);
}

.github-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.github-profile-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.github-logo {
    margin: 0 auto 20px;
    color: var(--github-dark);
}

.github-profile-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.github-profile-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.github-contribution-graph {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.github-contribution-graph h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contribution-grid {
    display: grid;
    grid-template-columns: repeat(52, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 16px;
}

.contribution-grid .day {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 2px;
    background: var(--bg-secondary);
    transition: var(--transition-fast);
}

.contribution-grid .day:hover {
    transform: scale(1.8);
    outline: 1px solid var(--border-medium);
}

.contribution-grid .day.l1 {
    background: #9be9a8;
}

.contribution-grid .day.l2 {
    background: #40c463;
}

.contribution-grid .day.l3 {
    background: #30a14e;
}

.contribution-grid .day.l4 {
    background: #216e39;
}

.contribution-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.legend-squares {
    display: flex;
    gap: 3px;
}

.lsq {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.lsq.l0 {
    background: var(--bg-secondary);
}

.lsq.l1 {
    background: #9be9a8;
}

.lsq.l2 {
    background: #40c463;
}

.lsq.l3 {
    background: #30a14e;
}

.lsq.l4 {
    background: #216e39;
}

/* ---------- Contact Section ---------- */
.contact-section {
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.contact-link-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.linkedin-icon {
    background: rgba(0, 119, 181, 0.15);
    color: var(--linkedin-blue);
}

.github-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.so-icon {
    background: rgba(244, 128, 36, 0.15);
    color: var(--so-orange);
}

.link-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-inverse);
}

.link-value {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---------- Contact Form ---------- */
.contact-form {
    padding: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot field - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 40px;
    overflow: hidden;
}

.footer-brand {
    text-align: center;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    margin-bottom: 48px;
    pointer-events: none;
    user-select: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-meta {
    font-size: 0.75rem !important;
    margin-top: 8px;
}

/* ---------- Clients / Served Section ---------- */
.clients-section {
    background: var(--bg-secondary);
    padding: 64px 0;
}

.clients-header {
    text-align: center;
    margin-bottom: 40px;
}

.clients-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.clients-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.client-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    min-width: 100px;
    transition: var(--transition-base);
}

.client-logo-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.client-logo-item img,
.client-logo-item svg {
    transition: var(--transition-base);
    opacity: 0.9;
}

.client-logo-item:hover img,
.client-logo-item:hover svg {
    opacity: 1;
    transform: scale(1.05);
}

.client-logo-item span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.more-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.more-label:hover .more-circle {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-primary);
    transform: translateY(-4px);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .github-showcase {
        grid-template-columns: 1fr;
    }

    .so-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .so-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .so-badges-grid {
        grid-template-columns: 1fr;
    }

    .so-header-card {
        flex-direction: column;
        text-align: center;
    }

    .so-meta {
        flex-direction: column;
        gap: 8px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .hof-card {
        padding: 36px 24px;
    }

    .hof-quote {
        padding: 16px 20px;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        padding-left: 48px;
    }

    .timeline-marker {
        left: 8px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contribution-grid {
        grid-template-columns: repeat(26, 1fr);
    }
}