/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    --vh: 1vh;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Custom Properties */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #059669;
    --accent-color: #EA580C;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #1e40af 0%, #0891b2 50%, #f59e0b 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --container-padding: clamp(1rem, 5vw, 3rem);
}

/* Navigation */
.navbar {
    position: fixed;
    top: calc(1.5rem + 20px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.nav-logo {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    transition: all 0.3s ease;
    min-width: 80px;
}

.greeting-text {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.navbar.scrolled .nav-logo {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    white-space: nowrap;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0% 0% 0% 0% round 48px 48px 0 0);
    transition: clip-path 0.8s ease;
}

.hero.scrolled {
    clip-path: inset(0% 0% 0% 0% round 0 0 0 0);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: var(--bg-gradient);
    z-index: 1;
}

.landscape-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    z-index: 5;
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
}

.landscape-layer::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2340&q=80') center/cover;
    opacity: 0.8;
    border-radius: 35px;
    z-index: 1;
}

.landscape-layer::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(8, 145, 178, 0.2) 50%, rgba(245, 158, 11, 0.3) 100%);
    border-radius: 35px;
    z-index: 2;
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(8, 145, 178, 0.2) 50%, rgba(245, 158, 11, 0.3) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    width: 100%;
    padding: 0 var(--container-padding);
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease 4s forwards;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease 1s forwards;
    margin-top: 1.5rem;
    letter-spacing: 0.01em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.crossed-out {
    position: relative;
    opacity: 0.5;
    animation: crossOut 0.6s ease forwards;
    display: inline-block;
    margin: 0 0.8rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.crossed-out::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-white), transparent);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineThrough 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.crossed-out:nth-child(1)::after { animation-delay: 2s; }
.crossed-out:nth-child(2)::after { animation-delay: 2.4s; }
.crossed-out:nth-child(3)::after { animation-delay: 2.8s; }

.final-text {
    display: block;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    animation: finalTextReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 3.4s forwards;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

/* Floating Bubbles */
.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-white);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    opacity: 0;
    animation: bubbleFloat 3s ease-in-out infinite, fadeIn 0.8s ease forwards;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.bubble:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.bubble-1 { top: 15%; left: 8%; animation-delay: 1s; }
.bubble-2 { top: 20%; right: 10%; animation-delay: 1.2s; }
.bubble-3 { top: 75%; left: 12%; animation-delay: 1.4s; }
.bubble-4 { top: 80%; right: 15%; animation-delay: 1.6s; }
.bubble-5 { top: 40%; left: 30%; animation-delay: 1.8s; }
.bubble-6 { top: 45%; right: 22%; animation-delay: 2s; }
.bubble-7 { top: 27%; left: 50%; transform: translateX(-50%); animation-delay: 2.2s; }
.bubble-8 { top: 85%; right: 45%; animation-delay: 2.4s; }
.bubble-9 { top: 55%; left: 15%; animation-delay: 2.6s; }
.bubble-10 { top: 60%; right: 18%; animation-delay: 2.8s; }

/* Ask Me About Marquee */
.ask-me-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    z-index: 10;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
}

.marquee-item {
    flex-shrink: 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.marquee-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.ask-me-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Manifesto Section - Sticky Scroll Effect */
.manifesto-lockup {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 100px 40px;
    position: relative;
    min-height: 4000px;
}

.manifesto-sticky {
    position: sticky;
    top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 801px;
    margin: 0 auto;
    z-index: 1;
    will-change: transform;
}

/* Badge */
.manifesto-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: auto;
    min-width: 150px;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.02);
    box-shadow: rgba(255, 255, 255, 0.25) 0px 6px 9.2px 0px inset;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 40px;
    position: relative;
    white-space: nowrap;
}

.badge-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text-base {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 19.5px;
    color: rgba(97, 97, 97, 0.5);
    margin: 0;
    white-space: nowrap;
}

.badge-text-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 28.7%, rgb(0, 0, 0) 50%, rgba(0, 0, 0, 0) 71.3%, rgba(0, 0, 0, 0) 100%);
    background-size: 200% 200%;
    background-position: 128.592% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 19.5px;
    margin: 0;
    z-index: 1;
    white-space: nowrap;
}

@keyframes shimmer {
    0% { background-position: 200% 50%; }
    100% { background-position: -200% 50%; }
}

/* Text Container */
.manifesto-text-container {
    position: relative;
    width: 100%;
    max-width: 801px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
}

.manifesto-text {
    position: relative;
    width: 100%;
    z-index: 0;
}

.manifesto-text p {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: rgb(17, 17, 17);
    line-height: 34px;
    margin: 0;
    padding: 0;
}

.manifesto-text br {
    display: block;
    content: "";
    margin: 8px 0;
}

.manifesto-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: rgb(17, 17, 17);
    line-height: 36px;
    margin: 0 0 20px 0;
    padding: 0;
}

.manifesto-text strong {
    font-weight: 700;
}

/* Overlay Bars */
.text-overlay-bar {
    position: absolute;
    left: 0;
    width: 100%;
    background: rgb(255, 255, 255);
    opacity: 0.85;
    z-index: 1;
    will-change: transform;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.text-overlay-bar.bar-1 { top: 0; height: 38px; }
.text-overlay-bar.bar-2 { top: 38px; height: 38px; }
.text-overlay-bar.bar-3 { top: 76px; height: 38px; }
.text-overlay-bar.bar-4 { top: 114px; height: 38px; }
.text-overlay-bar.bar-5 { top: 152px; height: 38px; }
.text-overlay-bar.bar-6 { top: 190px; height: 38px; }
.text-overlay-bar.bar-7 { top: 228px; height: 38px; }
.text-overlay-bar.bar-8 { top: 266px; height: 38px; }
.text-overlay-bar.bar-9 { top: 304px; height: 38px; }
.text-overlay-bar.bar-10 { top: 342px; height: 38px; }
.text-overlay-bar.bar-11 { top: 380px; height: 38px; }
.text-overlay-bar.bar-12 { top: 418px; height: 38px; }
.text-overlay-bar.bar-13 { top: 456px; height: 38px; }
.text-overlay-bar.bar-14 { top: 494px; height: 38px; }
.text-overlay-bar.bar-15 { top: 532px; height: 38px; }

/* Signature - Separate box */
.manifesto-signature-inline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    max-width: 801px;
    padding: 30px;
    position: relative;
    z-index: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.signature-image {
    width: auto;
    height: 90px;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.9;
    margin-bottom: 12px;
}

.signature-divider {
    width: 290px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%);
    margin-bottom: 8px;
    align-self: flex-end;
}

.signature-name-typed {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgb(60, 60, 60);
    margin: 0;
    letter-spacing: 0.5px;
    text-align: right;
    align-self: flex-end;
}

/* Old Signature (keep for compatibility) */
.manifesto-signature {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
    max-width: 801px;
    justify-content: flex-end;
}

.signature-logo {
    width: 175px;
    height: 61px;
    color: rgb(0, 0, 0);
}

.signature-logo svg {
    width: 100%;
    height: 100%;
}

.signature-text {
    text-align: right;
}

.signature-text p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 16.8px;
    color: rgb(143, 153, 168);
    margin: 0;
}

.signature-name {
    font-weight: 500;
    color: rgb(28, 29, 31);
}

/* Spacer sections */
.manifesto-spacer {
    width: 100%;
    height: 298px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.manifesto-spacer:nth-child(even) {
    height: 299px;
}

/* Timeline Section - Aneta/Cora Style */
.timeline {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 30%, #ffffff 70%, #f8fafc 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.timeline-milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.milestone-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

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

/* Featured project cards */
.milestone-card.featured {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 12px 60px rgba(139, 92, 246, 0.08);
}

.milestone-card.featured::before {
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end), #ff6b6b);
    opacity: 1;
}

.milestone-card.featured:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 32px 100px rgba(139, 92, 246, 0.15);
}

.milestone-content {
    position: relative;
    z-index: 1;
}

.milestone-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.milestone-year {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.milestone-location {
    color: #6b7280;
    font-size: 0.875rem;
}

.milestone-title {
    color: #111827;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.milestone-prompt {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.milestone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 200ms ease;
}

.tag:hover {
    background: #e5e7eb;
}

.milestone-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.milestone-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.action-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 200ms ease;
    border: 1px solid transparent;
}

.action-link.primary {
    background: #111827;
    color: white;
}

.action-link.primary:hover {
    background: #374151;
    transform: translateY(-1px);
}

.action-link:not(.primary) {
    background: transparent;
    color: #374151;
    border-color: #d1d5db;
}

.action-link:not(.primary):hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Quick Reference Section */
.quick-reference {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    text-align: center;
}

/* Reference Badge - Same style as Manifesto */
.reference-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: auto;
    min-width: 150px;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.02);
    box-shadow: rgba(255, 255, 255, 0.25) 0px 6px 9.2px 0px inset;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 40px;
    position: relative;
    white-space: nowrap;
    margin-bottom: 50px;
}

.reference-badge .badge-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-badge .badge-text-base {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 19.5px;
    color: rgba(97, 97, 97, 0.5);
    margin: 0;
    white-space: nowrap;
}

.reference-badge .badge-text-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 28.7%, rgb(0, 0, 0) 50%, rgba(0, 0, 0, 0) 71.3%, rgba(0, 0, 0, 0) 100%);
    background-size: 200% 200%;
    background-position: 128.592% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 19.5px;
    margin: 0;
    z-index: 1;
    white-space: nowrap;
}

.reference-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.tab-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.reference-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.reference-item {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reference-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
}

.item-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.item-category {
    background: #3b82f6;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-meta {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.item-description {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.item-prompt {
    color: #6366f1;
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    margin: 8px 0;
    padding: 8px 12px;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid #6366f1;
    border-radius: 4px;
}

.item-tools {
    color: #059669;
    font-size: 13px;
    margin: 8px 0 0 0;
}

.item-outcome {
    color: #dc2626;
    font-size: 13px;
    margin: 4px 0 0 0;
    font-weight: 500;
}

.item-link {
    display: inline-block;
    margin-top: 8px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.item-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .quick-reference {
        padding: 60px 0;
    }
    
    .reference-content {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .reference-tabs {
        gap: 8px;
        padding: 0 20px;
    }
    
    .tab-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .reference-item {
        padding: 24px;
    }
}

/* Filter States */
.reference-item.hidden {
    display: none;
}

.structured-data {
    background: var(--text-white);
    padding: 6rem var(--container-padding);
}

.data-container {
    max-width: 1000px;
    margin: 0 auto;
}

.data-container h2 {
    font-family: 'Signifier', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.data-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.tab-content {
    min-height: 300px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.data-item {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.data-item h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.data-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section - Aneta Style */
.contact {
    min-height: auto;
    background: #ffffff;
    position: relative;
    padding: 2rem 0 0 0;
    overflow: hidden;
}

.contact-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    min-height: auto;
}

/* Hero Section */
.contact-hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpAneta 1s ease 0.5s forwards;
}

.hero-image-card {
    width: 100%;
    max-width: 600px;
    height: 350px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(8, 145, 178, 0.8) 50%, rgba(245, 158, 11, 0.9) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2340&q=80') center/cover;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: white;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpAneta 0.8s ease 1s forwards;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpAneta 0.8s ease 1.2s forwards;
}

.connect-btn {
    background: #1e40af;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpAneta 0.8s ease 1.4s forwards;
}

.connect-btn:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

/* Footer Bar */
.contact-footer-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px 12px 0 0;
    padding: 1rem 2rem;
    margin-top: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpAneta 0.8s ease 1.5s forwards;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.logo-icon {
    font-size: 1.2rem;
}

.logo-text {
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #1f2937;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.made-with-love {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 500;
}

.footer-right {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1f2937;
    transform: translateY(-1px);
}


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

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

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

@keyframes lineThrough {
    to {
        transform: scaleX(1);
    }
}

@keyframes crossOut {
    to {
        opacity: 0.3;
    }
}

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

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

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

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

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

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

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        clip-path: inset(0% 0% 0% 0% round 24px 24px 0 0);
        height: 100vh;
    }
    
    .hero-content {
        max-width: 90%;
        padding: 0 1rem;
    }
    
    .hero-name {
        font-size: clamp(3rem, 15vw, 5rem);
        margin-bottom: 1.5rem;
        line-height: 0.85;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.6;
        margin-top: 1rem;
    }
    
    .final-text {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-top: 0.8rem;
    }
    
    .crossed-out {
        margin: 0 0.4rem;
        font-size: 0.95em;
    }
    
    .navbar {
        top: calc(1rem + 20px);
        padding: 0.5rem 1rem;
        max-width: 90vw;
    }
    
    .nav-container {
        gap: 1rem;
    }
    
    .nav-logo {
        font-size: 0.9rem;
        min-width: 70px;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .bubble {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Adjust bubble positions for mobile to prevent overlap */
    .bubble-1 { top: 12%; left: 6%; }
    .bubble-2 { top: 18%; right: 8%; }
    .bubble-3 { top: 78%; left: 10%; }
    .bubble-4 { top: 85%; right: 12%; }
    .bubble-5 { top: 38%; left: 25%; }
    .bubble-6 { top: 42%; right: 18%; }
    .bubble-7 { top: 25%; left: 50%; transform: translateX(-50%); }
    .bubble-8 { top: 88%; right: 40%; }
    
    /* Manifesto responsive */
    .manifesto-lockup {
        padding: 60px 20px;
        min-height: 3000px;
    }
    
    .manifesto-sticky {
        top: 120px;
        gap: 20px;
        max-width: 100%;
    }
    
    .manifesto-badge {
        width: 130px;
        height: 36px;
        padding: 4px 30px;
    }
    
    .badge-text-base,
    .badge-text-gradient {
        font-size: 13px;
    }
    
    .manifesto-text h3 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 15px;
    }
    
    .signature-logo {
        width: 140px;
        height: 49px;
    }
    
    .signature-text p {
        font-size: 11px;
        line-height: 15px;
    }
    
    .manifesto-spacer {
        height: 200px;
    }
    
    .manifesto-spacer:nth-child(even) {
        height: 210px;
    }
    
    .message-card {
        min-width: 250px;
        max-width: 280px;
        padding: 0.8rem;
    }
    
    .milestone:nth-child(odd) .milestone-card,
    .milestone:nth-child(even) .milestone-card {
        margin: 0;
        max-width: 100%;
    }
    
    .milestone-card {
        padding: 1.5rem;
    }
    
    .data-tabs {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-links {
        gap: 0.5rem;
    }
    
    .contact-btn {
        padding: 0.6rem 1.5rem;
    }
    
    .contact {
        padding: 2rem 0 0 0;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-hero-section {
        padding: 2rem 0;
    }
    
    .hero-image-card {
        height: 280px;
        border-radius: 16px;
    }
    
    .hero-overlay {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .connect-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-footer-bar {
        padding: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-nav {
        gap: 1rem;
    }
    
    .footer-nav a {
        font-size: 0.85rem;
    }
    
    .footer-center {
        order: -1;
    }
    
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .bubble {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .manifesto-line {
        font-size: 1.2rem;
    }
    
    .milestone-card {
        padding: 1rem;
    }
    
    .milestone-header h3 {
        font-size: 1.2rem;
    }
    
    .data-container h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-image-card {
        height: 250px;
    }
}