/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #0a0a0a;
    color: #e2e8f0;
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 90px;
    position: relative;
}

/* ==========================================================================
   ANIMATED BACKGROUND
   ========================================================================== */

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
            radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 45% 85%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
            radial-gradient(circle at 70% 70%, rgba(245, 101, 101, 0.03) 0%, transparent 35%),
            linear-gradient(135deg, #0a0a0a 0%, #111827 25%, #1f2937 50%, #111827 75%, #0a0a0a 100%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 20s infinite linear;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: 60%;
    right: -5%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
    top: 80%;
    left: 20%;
    animation-duration: 35s;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridShift 60s linear infinite;
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.neural-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    animation: pulse 3s infinite;
}

.neural-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    animation: connectionFlow 8s infinite;
}

.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.code-symbol {
    position: absolute;
    color: rgba(16, 185, 129, 0.15);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    animation: codefall 15s infinite linear;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(71, 85, 105, 0.4);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.professional-contacts {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(71, 85, 105, 0.1);
    border: 1px solid rgba(71, 85, 105, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    position: relative;
}

.contact-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    transform: translateY(-1px);
}

/* ==========================================================================
   MAIN CONTENT SECTIONS
   ========================================================================== */

.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 1200px;
    z-index: 10;
    animation: fadeInUp 1.2s ease-out;
    position: relative;
}

/* Profile Section */
.profile-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    text-align: left;
}

.profile-image-container {
    position: relative;
    justify-self: center;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 24px;
    background: url('assets/profile_pic.jpg') center/cover;
    border: 6px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
}

.profile-image:hover::after {
    opacity: 0.3;
}

.status-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.intro-content {
    max-width: 800px;
}

.professional-title {
    font-size: 4rem;
    color: #3b82f6;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -2px;
    text-align: left;
}

.professional-summary {
    font-size: 1.3rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
    perspective: 1000px;
}

.expertise-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(71, 85, 105, 0.2);
    border-radius: 20px;
    padding: 2.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    z-index: 1;
}

.expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(59, 130, 246, 0.15), 
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.expertise-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        135deg, 
        rgba(59, 130, 246, 0.5), 
        rgba(16, 185, 129, 0.5), 
        rgba(236, 72, 153, 0.5)
    );
    border-radius: 22px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s;
}

.expertise-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.1);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(59, 130, 246, 0.2) inset;
}

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

.expertise-card:hover::after {
    opacity: 0.4;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: block;
    position: relative;
    transition: transform 0.5s;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.expertise-card:hover .card-icon {
    transform: translateZ(20px) scale(1.1);
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.2rem;
    position: relative;
    transition: transform 0.3s;
    background: linear-gradient(135deg, #f8fafc, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-card:hover .card-title {
    transform: translateZ(15px);
}

.card-description {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s;
}

.expertise-card:hover .card-description {
    transform: translateZ(10px);
}

.card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    position: relative;
    transition: transform 0.3s;
}

.expertise-card:hover .card-skills {
    transform: translateZ(5px);
}

.skill-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.expertise-card:hover .skill-tag {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Personal Section */
.personal-section {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.personal-section::before {
    content: none;
}

.personal-section:hover::before {
    opacity: 0;
}

.personal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.personal-title span {
    color: #10b981;
    transition: transform 0.3s;
}

.personal-section:hover .personal-title span {
    transform: scale(1.1);
}

.cycling-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.15) 0%, 
        rgba(16, 185, 129, 0.08) 50%, 
        rgba(16, 185, 129, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, color 0.3s;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Tours Section */
.recent-tours-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(71, 85, 105, 0.2);
    position: relative;
    z-index: 1;
}

.tours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tours-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
}

.tours-title i {
    color: #10b981;
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.personal-section:hover .tours-title i {
    transform: scale(1.1);
}

.komoot-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.komoot-link:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tour-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(71, 85, 105, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: block;
    text-decoration: none;
    color: inherit;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.05) 0%, 
        rgba(16, 185, 129, 0.02) 50%, 
        rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
    pointer-events: none;
}

.tour-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.tour-image {
    width: 100%;
    height: 180px;
    background: #2a2a2a center/cover;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    z-index: 0;
}

.tour-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(30, 41, 59, 0) 60%, 
        rgba(30, 41, 59, 0.8) 100%);
    z-index: 1;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

#tour-image-1 img {
    object-position: center 66%;
}

#tour-image-2 img {
    object-position: center 60%;
}

#tour-image-3 img {
    object-position: center 40%;
}

.tour-info {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tour-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.tour-card:hover .tour-title {
    color: #10b981;
}

.tour-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.tour-stat {
    text-align: center;
    transition: transform 0.3s;
}

.tour-card:hover .tour-stat {
    transform: translateY(-2px);
}

.tour-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
    transition: all 0.3s;
}

.tour-card:hover .tour-stat-value {
    color: #e2e8f0;
    transform: scale(1.05);
}

.tour-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    transition: color 0.3s;
}

.tour-card:hover .tour-stat-label {
    color: #cbd5e1;
}

.tour-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tour-card:hover .tour-type {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   FLOATING CTA BUTTON
   ========================================================================== */

.floating-cta-btn {
    right: 32px;
    bottom: 32px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 0.9rem 1.4rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: fixed;
}

.floating-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.4) 0%, 
        rgba(16, 185, 129, 0.2) 50%, 
        rgba(59, 130, 246, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.floating-cta-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
}

.floating-cta-btn:hover::before {
    opacity: 1;
}

.floating-cta-btn span {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s;
}

.floating-cta-btn:hover span {
    transform: scale(1.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    margin-top: 4rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #10b981;
}

.footer-text {
    color: #64748b;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .profile-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .professional-title {
        font-size: 3rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .logo-name {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .professional-contacts {
        gap: 0.8rem;
    }

    .contact-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .professional-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
        text-align: center;
    }

    .professional-summary {
        font-size: 1.1rem;
    }

    .profile-image {
        width: 220px;
        height: 220px;
    }

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

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

    .tours-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

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

@media (max-width: 480px) {
    .nav {
        padding: 0 1rem;
    }

    .logo-name {
        font-size: 0.9rem;
    }

    .logo-tagline {
        font-size: 0.55rem;
    }

    .professional-contacts {
        gap: 0.6rem;
    }

    .contact-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .header {
        padding: 0.8rem 0;
    }

    .cycling-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .footer-links {
        gap: 1.5rem;
    }

    .floating-cta-btn {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
        border-radius: 7px;
        right: 12px;
        bottom: 12px;
    }
}

.highlight {
    color: #3b82f6;
    font-weight: 700;
    background: rgba(59,130,246,0.07);
    padding: 0 4px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(-15px) rotate(240deg); }
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }
}

@keyframes connectionFlow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes codefall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px));
        opacity: 0;
    }
}

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