:root {
    --slate-950: #0a0f1a;
    --slate-900: #0f1419;
    --slate-800: #1a202e;
    --slate-700: #2d3748;
    --slate-600: #4a5568;
    --slate-500: #718096;
    --slate-400: #a0aec0;
    --slate-300: #cbd5e0;
    --slate-200: #e2e8f0;
    --slate-100: #f7fafc;

    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;

    --gold-accent: #d4af37;

    --bg-primary: #0f151f;
    --bg-secondary: #1a2332;
    --bg-tertiary: #232f42;
    --text-primary: #f0f4f8;
    --text-secondary: #b8c5d6;
    --text-muted: #7e8ba3;
    --accent-primary: #e8a849;
    --accent-secondary: #c48934;
    --border-subtle: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Atmospheric Effects */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 100;
    opacity: 0.4;
}

.gradient-mesh {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(232, 168, 73, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 137, 52, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(26, 35, 50, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: meshFloat 30s ease-in-out infinite;
}

@keyframes meshFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(3%, 3%) rotate(1deg);
    }
    66% {
        transform: translate(-3%, 3%) rotate(-1deg);
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
    animation: navSlideDown 0.8s ease-out;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: var(--text-primary);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-primary);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-label:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.hero-label:hover .label-dot {
    transform: scale(1.3);
}

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

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

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out both;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 2.5rem;
}

.hero-accent-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, transparent 100%);
    animation: expandWidth 1s ease-out 0.6s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInScale 1s ease-out 0.5s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-frame {
    position: relative;
    width: 400px;
    height: 500px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    filter: grayscale(20%) contrast(1.05);
}

.image-border {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: 2px;
    z-index: -1;
    transition: all 0.4s ease;
}

.image-frame:hover .image-border {
    top: 15px;
    right: -15px;
}

/* Section Styling */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out both;
}

.section-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Journey Section */
.journey-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.journey-text {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.journey-paragraph {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.intro-paragraph {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 300;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(232, 168, 73, 0.1);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Experience Timeline */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding-left: 3rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--border-subtle) 100%);
}

.timeline-item {
    position: relative;
    animation: fadeInUp 0.8s ease-out both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-secondary);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.timeline-role {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.timeline-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-highlights li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.skill-category {
    animation: fadeInUp 0.8s ease-out both;
}

.skill-category:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(3) { animation-delay: 0.3s; }
.skill-category:nth-child(4) { animation-delay: 0.4s; }

.skill-category-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

.skill-tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-content {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 5rem 4rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 168, 73, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button.primary {
    background: var(--accent-primary);
    color: var(--slate-950);
    border: 2px solid var(--accent-primary);
}

.cta-button.primary:hover {
    background: transparent;
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 168, 73, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-subtle);
}

.cta-button.secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

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

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

/* Portfolio Page */
.portfolio-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12rem 0 4rem;
    text-align: center;
}

.portfolio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out both;
}

.portfolio-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.portfolio-grid {
    padding: 4rem 0 8rem;
}

.portfolio-placeholder {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-subtle);
    border-radius: 8px;
}

.portfolio-placeholder p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-content,
    .container,
    .footer-content {
        padding: 0 3rem;
    }

    .hero-content {
        gap: 4rem;
    }

    .image-frame {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-accent-line {
        margin: 0 auto;
    }

    .journey-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

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

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

@media (max-width: 768px) {
    .nav-content,
    .container,
    .footer-content {
        padding: 0 2rem;
    }

    .nav-links {
        gap: 2rem;
    }

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

    .image-frame {
        width: 300px;
        height: 400px;
    }

    .cta-content {
        padding: 3rem 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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