/* ============================================================
   HUMBERTO HENRIQUEZ — Professional Portfolio
   Tech-Corporate Minimalist Design System
   Colors: Navy #0F2B46 | Steel Blue #2D6A9F | White #FFFFFF
   Fonts: Inter, JetBrains Mono
   ============================================================ */

/* ========== 1. RESET & BASE ========== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4A5568;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #0F2B46;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ========== 2. NAVBAR ========== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(15, 43, 70, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F2B46;
    letter-spacing: -0.02em;
    padding: 6px 12px;
    border: 2px solid #0F2B46;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-text:hover {
    background: #0F2B46;
    color: #FFFFFF;
}

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

.nav-links li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4A5568;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2D6A9F;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: #0F2B46;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(15, 43, 70, 0.15);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.lang-btn.active {
    opacity: 1;
    border-color: #2D6A9F;
    background: rgba(45, 106, 159, 0.08);
}

.lang-btn:hover {
    opacity: 0.8;
}

.nav-cta {
    margin-left: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle i {
    font-size: 1.5rem;
    color: #0F2B46;
}


/* ========== 3. HERO SECTION ========== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, #0F2B46 0%, #132f4c 40%, #1a3a5c 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(45, 106, 159, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(45, 106, 159, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 820px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-logos-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.tech-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}


/* ========== 4. PROOF BAR ========== */

.proof-bar {
    padding: 40px 0;
    background: #FFFFFF;
    border-top: 1px solid rgba(15, 43, 70, 0.06);
    border-bottom: 1px solid rgba(15, 43, 70, 0.06);
}

.proof-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proof-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0F2B46;
    line-height: 1;
    letter-spacing: -0.02em;
}

.proof-label {
    font-size: 0.8125rem;
    color: #4A5568;
    margin-top: 4px;
    font-weight: 500;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: rgba(15, 43, 70, 0.1);
}


/* ========== 5. SECTION STYLES ========== */

.section {
    padding: 100px 0;
}

.section-alt {
    background: #F4F5F7;
}

.section-dark {
    background: #0F2B46;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2D6A9F;
    margin-bottom: 12px;
}

.section-tag.light {
    color: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #0F2B46;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title.light {
    color: #FFFFFF;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #4A5568;
    line-height: 1.7;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.6);
}


/* ========== 6. PROBLEMS GRID ========== */

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 32px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(15, 43, 70, 0.06);
    border-left: 3px solid #2D6A9F;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-left-color: #0F2B46;
}

.problem-icon {
    margin-bottom: 16px;
}

.problem-icon i {
    font-size: 1.75rem;
    color: #2D6A9F;
}

.problem-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0F2B46;
}

.problem-card p {
    font-size: 0.9375rem;
    color: #4A5568;
    line-height: 1.7;
}


/* ========== 7. SERVICES GRID ========== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(15, 43, 70, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-card.featured {
    border: 2px solid #2D6A9F;
    box-shadow: 0 4px 12px rgba(45, 106, 159, 0.12);
}

.service-card.featured:hover {
    box-shadow: 0 8px 24px rgba(45, 106, 159, 0.18);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 4px 14px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    background: #2D6A9F;
    border-radius: 6px;
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.75rem;
    color: #2D6A9F;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0F2B46;
}

.service-card > p {
    font-size: 0.9375rem;
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-includes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: #4A5568;
    line-height: 1.5;
}

.service-includes li i {
    color: #10B981;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.service-result {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 43, 70, 0.06);
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F2B46;
    line-height: 1.5;
}

.service-result i {
    color: #2D6A9F;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}


/* ========== 8. PROCESS TIMELINE ========== */

.process-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2D6A9F, rgba(45, 106, 159, 0.2));
}

.process-step {
    display: flex;
    gap: 28px;
    padding-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2D6A9F, #0F2B46);
    color: #FFFFFF;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(45, 106, 159, 0.25);
}

.step-content {
    padding-top: 8px;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 8px;
}

.step-duration {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2D6A9F;
    background: rgba(45, 106, 159, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.step-content p {
    font-size: 0.9375rem;
    color: #4A5568;
    line-height: 1.7;
}


/* ========== 9. PROJECTS SECTION ========== */

.project-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 36px;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.project-card.project-featured {
    padding: 44px;
    border-color: rgba(45, 106, 159, 0.3);
    background: rgba(45, 106, 159, 0.06);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    border: 1px solid;
}

.tag-ai {
    color: #C084FC;
    background: rgba(192, 132, 252, 0.1);
    border-color: rgba(192, 132, 252, 0.25);
}

.tag-app {
    color: #60A5FA;
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.25);
}

.tag-flow {
    color: #FB923C;
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.25);
}

.tag-bi {
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.25);
}

.tag-data {
    color: #2DD4BF;
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.25);
}

.tag-sp {
    color: #94A3B8;
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.25);
}

.tag-rpa {
    color: #FB7185;
    background: rgba(251, 113, 133, 0.1);
    border-color: rgba(251, 113, 133, 0.25);
}

.project-industry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.project-industry i {
    font-size: 0.875rem;
}

.project-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.project-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.project-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 24px;
}

.project-context {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.context-block {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.context-block h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.context-block h4 i {
    font-size: 1rem;
    color: #2D6A9F;
}

.context-block p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.project-results h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.project-results ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-results li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.project-results li i {
    color: #10B981;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.compact-results {
    margin-bottom: 20px;
}

/* Project Architecture */

.project-arch {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arch-diagram {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.arch-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-align: center;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.arch-node i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
}

.arch-node span {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

.arch-node.highlight {
    background: rgba(45, 106, 159, 0.2);
    border-color: rgba(45, 106, 159, 0.4);
}

.arch-node.highlight i,
.arch-node.highlight span {
    color: rgba(255, 255, 255, 0.85);
}

.arch-node.small {
    padding: 8px 12px;
    min-width: 60px;
}

.arch-node.small span {
    font-size: 0.625rem;
}

.arch-arrow {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Converge layout */

.arch-converge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.arch-sources {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Code structure (document coding) */

.code-structure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.code-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: rgba(45, 106, 159, 0.15);
    border: 1px solid rgba(45, 106, 159, 0.3);
    border-radius: 6px;
}

.code-label {
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.code-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #60A5FA;
}

.code-sep {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
}

/* Project stack pills */

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-stack span {
    display: inline-flex;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

/* Projects duo layout */

.projects-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.project-card.compact {
    margin-bottom: 0;
    padding: 28px;
}

.project-card.compact h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.project-card.compact > p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-card.compact .project-tagline {
    font-size: 0.8125rem;
    margin-bottom: 16px;
}


/* ========== 10. STACK SECTION ========== */

.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.stack-category {
    padding: 28px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(15, 43, 70, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stack-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15, 43, 70, 0.06);
}

.stack-category h3 i {
    font-size: 1.25rem;
    color: #2D6A9F;
}

.stack-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stack-item {
    font-size: 0.875rem;
    color: #4A5568;
    font-weight: 500;
    padding: 8px 14px;
    background: #F4F5F7;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.stack-item:hover {
    background: rgba(45, 106, 159, 0.08);
    color: #2D6A9F;
}


/* ========== 11. CERTIFICATIONS ========== */

.certs-section {
    padding-top: 48px;
    border-top: 1px solid rgba(15, 43, 70, 0.06);
}

.certs-header {
    text-align: center;
    margin-bottom: 36px;
}

.certs-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 8px;
}

.certs-header p {
    font-size: 0.9375rem;
    color: #4A5568;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-group h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2D6A9F;
    margin-bottom: 12px;
}

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

.cert-badge {
    display: inline-flex;
    padding: 6px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: #0F2B46;
    background: rgba(45, 106, 159, 0.08);
    border: 1px solid rgba(45, 106, 159, 0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(45, 106, 159, 0.15);
    border-color: rgba(45, 106, 159, 0.3);
}


/* ========== 12. ABOUT SECTION ========== */

.about-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 0.9375rem;
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #0F2B46;
    font-weight: 600;
}

.about-sidebar {
    position: sticky;
    top: 100px;
}

.about-card {
    padding: 32px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(15, 43, 70, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-detail i {
    font-size: 1.25rem;
    color: #2D6A9F;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-detail div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-detail strong {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0F2B46;
}

.about-detail span {
    font-size: 0.875rem;
    color: #4A5568;
}


/* ========== 13. DIFFERENTIATION GRID ========== */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.diff-card {
    padding: 32px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(15, 43, 70, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.diff-icon {
    margin-bottom: 16px;
}

.diff-icon i {
    font-size: 2rem;
    color: #2D6A9F;
}

.diff-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0F2B46;
    margin-bottom: 10px;
}

.diff-card p {
    font-size: 0.875rem;
    color: #4A5568;
    line-height: 1.7;
}


/* ========== 14. CTA SECTION ========== */

.section-cta {
    background: linear-gradient(165deg, #0F2B46 0%, #1a3a5c 50%, #0F2B46 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(45, 106, 159, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(45, 106, 159, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content > p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}


/* ========== 15. FOOTER ========== */

.footer {
    background: #0a1f33;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand .logo-text {
    font-size: 1rem;
    padding: 4px 10px;
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-brand .logo-text:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-copy p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}


/* ========== 16. BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.btn i {
    font-size: 1.125rem;
}

.btn-primary {
    background: #2D6A9F;
    color: #FFFFFF;
    border-color: #2D6A9F;
}

.btn-primary:hover {
    background: #245a87;
    border-color: #245a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 106, 159, 0.3);
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-white {
    background: #FFFFFF;
    color: #0F2B46;
    border-color: #FFFFFF;
}

.btn-white:hover {
    background: #F4F5F7;
    border-color: #F4F5F7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.9375rem;
}


/* ========== 17. UTILITIES ========== */

.text-gradient {
    background: linear-gradient(135deg, #60A5FA, #2DD4BF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    white-space: nowrap;
}

.badge i {
    font-size: 0.875rem;
}


/* ========== 18. ANIMATIONS ========== */

.animate-target {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========== 19. RESPONSIVE ========== */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

    .about-sidebar {
        position: static;
    }

    .project-body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .project-context {
        grid-template-columns: 1fr;
    }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

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

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links li a {
        font-size: 1.25rem;
        font-weight: 600;
        color: #0F2B46;
    }

    .nav-cta {
        display: none;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.75rem);
    }

    .hero-badges {
        gap: 8px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-logos {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Proof Bar Mobile */
    .proof-items {
        flex-direction: column;
        gap: 24px;
    }

    .proof-divider {
        width: 40px;
        height: 1px;
    }

    /* Grids Mobile */
    .problems-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .projects-duo {
        grid-template-columns: 1fr;
    }

    /* Project cards mobile */
    .project-card {
        padding: 24px;
    }

    .project-card.project-featured {
        padding: 28px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .arch-flow {
        flex-direction: column;
        gap: 4px;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }

    .arch-converge {
        flex-direction: column;
    }

    .arch-sources {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .code-structure {
        gap: 2px;
    }

    .code-part {
        padding: 6px 10px;
    }

    .code-value {
        font-size: 0.8125rem;
    }

    /* Timeline mobile */
    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.75rem;
    }

    .process-step {
        gap: 20px;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* CTA mobile */
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Small mobile: < 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .proof-number {
        font-size: 1.75rem;
    }

    .problem-card,
    .service-card,
    .diff-card {
        padding: 24px;
    }
}


/* ========== 20. DARK SECTION TEXT OVERRIDES ========== */

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #FFFFFF;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.6);
}

.section-dark a {
    color: rgba(255, 255, 255, 0.8);
}

.section-dark a:hover {
    color: #FFFFFF;
}


/* ========== SCROLLBAR ========== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F4F5F7;
}

::-webkit-scrollbar-thumb {
    background: rgba(15, 43, 70, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 43, 70, 0.35);
}


/* ========== SELECTION ========== */

::selection {
    background: rgba(45, 106, 159, 0.2);
    color: #0F2B46;
}


/* ========== WHATSAPP FLOATING BUTTON ========== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float i {
    font-size: 1.75rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float i {
        font-size: 1.5rem;
    }
}


/* ========== CTA CONTACT CARDS ========== */

.cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.cta-card i {
    font-size: 1.75rem;
    color: #60A5FA;
}

.cta-card strong {
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
}

.cta-card span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .cta-cards {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}
