/* ================================
   CSS Variables & Base Styles
   ================================ */
:root {
    /* Colors */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: rgba(255, 255, 255, 0.03);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    --accent-primary: #3b82f6;
    --accent-secondary: #60a5fa;
    --accent-tertiary: #818cf8;
    --accent-glow: rgba(59, 130, 246, 0.2);

    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 140px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

/* ================================
   Background (Clean)
   ================================ */
.bg-gradient,
.bg-grid,
.bg-noise {
    display: none;
}

/* ================================
   Cursor Glow
   ================================ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ================================
   Utilities
   ================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-header.center {
    text-align: center;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 16px;
}

.text-gradient {
    color: var(--accent-primary);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

/* ================================
   Navigation
   ================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

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

.nav-cta {
    padding: 10px 20px;
    background: var(--accent-primary);
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--accent-secondary);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-name {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 32px;
}

.hero-name .line {
    display: block;
    overflow: hidden;
}

.hero-name .word {
    display: inline-block;
}

.hero-name .accent {
    color: var(--accent-primary);
    margin: 0 16px;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-tagline strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-tagline .highlight {
    color: var(--accent-secondary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

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

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero Social Icons */
.hero-social {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-icon:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 400px;
    height: 480px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform var(--transition-base);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.hero-image-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    z-index: 0;
    transition: all var(--transition-base);
}

.hero-image-container:hover .hero-image-decoration {
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
}


/* ================================
   Animations
   ================================ */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: var(--delay, 0s);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}


/* ================================
   Philosophy Section
   ================================ */
.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.quote-card {
    padding: 40px;
    position: relative;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-primary);
    opacity: 0.3;
    margin-bottom: 24px;
}

.quote-card blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.quote-card cite {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: normal;
}

.philosophy-right .large-text {
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.philosophy-right p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.philosophy-right p:last-of-type {
    margin-bottom: 40px;
}

.philosophy-right em {
    color: var(--text-primary);
    font-style: normal;
}

.philosophy-signature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.philosophy-signature img {
    height: 40px;
    opacity: 0.7;
}

.philosophy-signature span {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ================================
   Expertise Section
   ================================ */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.expertise-card {
    padding: 40px;
    position: relative;
    transition: all var(--transition-base);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.expertise-card:hover .card-glow {
    opacity: 1;
}

.expertise-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.expertise-card:hover .expertise-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.expertise-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.expertise-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.expertise-card > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.expertise-tags li {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.expertise-card:hover .expertise-tags li {
    border-color: var(--border-light);
    color: var(--text-secondary);
}

.card-arrow {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all var(--transition-base);
}

.card-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.expertise-card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ================================
   Marquee Section
   ================================ */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee {
    display: flex;
    gap: 48px;
}

.marquee-content {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    flex-shrink: 0;
}

.marquee-content span {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.marquee-content span:not(.dot):hover {
    color: var(--accent-primary);
}

.marquee-content .dot {
    color: var(--border-light);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 48px)); }
}

/* ================================
   Case Studies Section
   ================================ */
.work {
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.03) 50%, transparent 100%);
}

.case-studies {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-study {
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.case-study:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.case-study-header {
    padding: 40px 48px;
    border-bottom: 1px solid var(--border-color);
}

.case-study-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.case-study-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
}

.case-study-year {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.case-study-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-study-brief {
    color: var(--text-secondary);
    font-size: 1rem;
}

.case-study-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.case-study-section {
    padding: 32px;
    border-right: 1px solid var(--border-color);
}

.case-study-section:last-child {
    border-right: none;
}

.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.case-study-section p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.metric-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.case-study-visual {
    padding: 32px 48px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.diagram-node {
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-secondary);
}

.diagram-connections {
    display: flex;
    gap: 16px;
}

.diagram-node.service {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--accent-tertiary);
}

.diagram-node.message-queue {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: #06b6d4;
}

/* ================================
   Experience Section
   ================================ */
.timeline {
    position: relative;
    max-width: 800px;
}

.timeline-line {
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--border-color) 100%);
}

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

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

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.timeline-card {
    padding: 32px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 12px;
}

.timeline-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-company {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 16px;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.timeline-tags span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* ================================
   Principles Section
   ================================ */
.principles {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

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

.principle {
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.principle:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.principle-icon {
    margin-bottom: 24px;
}

.principle-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.principle h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.principle p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ================================
   Education Section
   ================================ */
.education-card {
    padding: 40px;
    max-width: 600px;
}

.education-date {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 12px;
}

.education-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.education-school {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ================================
   Contact Section
   ================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.contact-card {
    padding: 8px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    text-decoration: none;
    position: relative;
    z-index: 10;
    cursor: pointer;
    border-radius: 14px;
    transition: all var(--transition-base);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.contact-link:hover .contact-link-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

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

.contact-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-link-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-link-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-link-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all var(--transition-base);
}

.contact-link:hover .contact-link-arrow {
    opacity: 1;
    transform: translate(0, 0);
    color: var(--accent-primary);
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

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

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

.footer-year {
    font-family: var(--font-mono);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-tagline {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

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

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

    .hero-visual {
        order: -1;
        margin-bottom: 40px;
    }

    .hero-image-container {
        width: 200px;
        height: 240px;
        margin: 0 auto;
    }

    .hero-image-decoration {
        display: none;
    }

    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .case-study-content {
        grid-template-columns: 1fr;
    }

    .case-study-section {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .case-study-section:last-child {
        border-bottom: none;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--bg-primary);
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-visual {
        margin-bottom: 30px;
    }

    .hero-image-container {
        width: 160px;
        height: 192px;
    }

    .hero-image-wrapper {
        border-width: 3px;
    }

    .hero-badge {
        margin-bottom: 24px;
    }

    .hero-name {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px;
        margin-top: 48px;
    }

    .stat {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }

    .stat-value {
        justify-content: center;
    }

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

    .stat-suffix {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

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

    .quote-card {
        padding: 24px;
    }

    .quote-card blockquote {
        font-size: 1.25rem;
    }

    .philosophy-right .large-text {
        font-size: 1.375rem;
    }

    .case-study-header {
        padding: 24px;
    }

    .case-study-header h3 {
        font-size: 1.375rem;
    }

    .case-study-section {
        padding: 24px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .metric-value {
        font-size: 1.375rem;
    }

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

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

    .contact-card {
        padding: 4px;
    }

    .contact-link {
        padding: 16px;
    }

    .contact-link-value {
        font-size: 0.9rem;
    }

    .marquee-content span {
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-visual {
        margin-bottom: 24px;
    }

    .hero-image-container {
        width: 140px;
        height: 168px;
    }

    .hero-name {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 20px;
    }

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

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

    .section-number {
        font-size: 0.75rem;
    }

    .expertise-card {
        padding: 24px;
    }

    .expertise-card h3 {
        font-size: 1.125rem;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-line {
        left: 3px;
    }

    .timeline-marker {
        left: -24px;
    }

    .marker-dot {
        width: 12px;
        height: 12px;
    }

    .timeline-item {
        padding-left: 16px;
        padding-bottom: 32px;
    }

    .timeline-card {
        padding: 20px;
    }

    .timeline-card h3 {
        font-size: 1.125rem;
    }

    .timeline-desc {
        font-size: 0.875rem;
    }

    .timeline-tags {
        gap: 6px;
    }

    .timeline-tags span {
        font-size: 0.625rem;
        padding: 3px 8px;
    }

    .education-card {
        padding: 24px;
    }

    .education-card h3 {
        font-size: 1.125rem;
    }

    .contact-link-icon {
        width: 40px;
        height: 40px;
    }

    .contact-link-icon svg {
        width: 18px;
        height: 18px;
    }

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

/* ================================
   Scroll Reveal
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}
