/* ============================================
   EDUARDO MEDELLIN - Premium Corporate Portfolio
   Sophisticated Design System
   ============================================ */

/* Root Variables */
:root {
    /* Colors */
    --premium-black: #000000;
    --premium-dark: #0A0A0A;
    --premium-gray: #1A1A1A;
    --premium-light: #2A2A2A;
    --premium-border: rgba(255, 255, 255, 0.08);
    --premium-accent: #0891B2;
    --premium-blue: #0369A1;
    --premium-white: #FFFFFF;
    
    /* Text Colors */
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Effects */
    --blur-sm: blur(8px);
    --blur-md: blur(16px);
    --blur-lg: blur(24px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

body.premium-body {
    font-family: var(--font-primary);
    background: var(--premium-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--premium-black);
}

::-webkit-scrollbar-thumb {
    background: var(--premium-gray);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--premium-light);
}

/* Selection */
::selection {
    background: var(--premium-accent);
    color: var(--premium-black);
}

/* Premium Background */
.premium-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--premium-black);
    overflow: hidden;
}

.gradient-mesh {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(0, 166, 251, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 128, 204, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 166, 251, 0.05) 0%, transparent 50%);
    animation: meshMove 45s ease-in-out infinite;
    overflow: hidden;
}

@keyframes meshMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

.noise-texture {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' /%3E%3C/svg%3E");
    overflow: hidden;
}

.light-rays {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 166, 251, 0.02) 50%, transparent 100%);
    pointer-events: none;
    overflow: hidden;
}

/* Navigation */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-bottom: 1px solid var(--premium-border);
    transition: var(--transition);
}

.premium-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
}

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

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

.eduardo-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    padding: 8px;
    transition: var(--transition);
}

.eduardo-logo-container:hover {
    background: rgba(0, 166, 251, 0.1);
    border-color: var(--premium-accent);
    transform: scale(1.05);
}

.eduardo-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--premium-border);
    border-radius: 8px;
    color: var(--premium-accent);
    transition: var(--transition);
}

.logo-mark:hover {
    background: rgba(0, 166, 251, 0.1);
    border-color: var(--premium-accent);
}

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

.logo-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    z-index: 9998;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

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

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

.premium-cta {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 166, 251, 0.1);
    border: 1px solid var(--premium-accent);
    border-radius: 8px;
    color: var(--premium-accent);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.premium-cta::after {
    display: none;
}

.cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.premium-cta:hover .cta-shine {
    left: 100%;
}

.premium-cta:hover {
    background: rgba(0, 166, 251, 0.2);
    color: var(--text-primary);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 10000;
}

.nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.nav-toggle span:first-child {
    top: 0;
}

.nav-toggle span:last-child {
    bottom: 0;
}

/* Hero Section */
.premium-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Hero Background with Wallpaper */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-wallpaper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.2) blur(2px);
    transform: scale(1.1);
    opacity: 0;
    animation: wallpaperFadeIn 2s ease-out 0.5s forwards;
}

@keyframes wallpaperFadeIn {
    from {
        opacity: 0;
        transform: scale(1.15);
    }
    to {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.label-dot {
    width: 6px;
    height: 6px;
    background: var(--premium-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-label span {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--premium-accent) 0%, var(--premium-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.stat-card:nth-child(2) {
    animation-delay: 0.7s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.8s;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

/* Premium Buttons */
.premium-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-button.primary {
    background: var(--premium-accent);
    color: var(--premium-black);
}

.premium-button.primary:hover {
    background: var(--premium-blue);
    transform: translateY(-2px);
}

.premium-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--premium-border);
    color: var(--text-primary);
}

.premium-button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.premium-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.premium-button:hover .button-icon {
    transform: translateX(4px);
}

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

.visual-frame {
    position: relative;
    width: 400px;
    height: 500px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--premium-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--premium-accent);
}

.frame-corner.top-left {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
    border-radius: 20px 0 0 0;
}

.frame-corner.top-right {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 20px 0 0;
}

.frame-corner.bottom-left {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 20px;
}

.frame-corner.bottom-right {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 20px 0;
}

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

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    height: auto;
    filter: grayscale(20%) contrast(1.1);
    opacity: 0.9;
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.visual-accent {
    position: absolute;
    top: 50%;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--premium-accent) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

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

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--text-tertiary));
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--premium-accent);
    animation: scrollDown 2s linear infinite;
}

@keyframes scrollDown {
    to { top: 100%; }
}

.hero-scroll span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Section Styles */
.premium-section {
    padding: var(--space-3xl) var(--space-md);
    position: relative;
}

.premium-section.dark {
    background: var(--premium-dark);
    border-top: 1px solid var(--premium-border);
    border-bottom: 1px solid var(--premium-border);
}

.premium-section.with-background {
    position: relative;
    overflow: hidden;
}

/* Section Background */
.section-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.section-wallpaper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.15) contrast(1.1) saturate(0.5);
    opacity: 0;
    transform: scale(1.05);
    animation: sectionWallpaperFadeIn 1.5s ease-out forwards;
}

@keyframes sectionWallpaperFadeIn {
    to {
        opacity: 0.5;
    }
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.95) 100%),
        radial-gradient(ellipse at center, rgba(0, 166, 251, 0.05) 0%, transparent 50%);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

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

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.content-block {
    margin-bottom: var(--space-lg);
}

.content-block h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.expertise-highlights {
    display: grid;
    gap: var(--space-md);
}

.highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 166, 251, 0.1);
    border-radius: 12px;
    color: var(--premium-accent);
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
}

.highlight-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Infinity Display */
.infinity-display {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infinity-display svg {
    width: 100%;
    height: 100%;
}

.infinity-display path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawPath 3s ease forwards;
}

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

.infinity-glow {
    position: absolute;
    inset: 20%;
    background: radial-gradient(circle, rgba(0, 166, 251, 0.2) 0%, transparent 60%);
    filter: blur(40px);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.expertise-card {
    position: relative;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--premium-border);
    border-radius: 16px;
    transition: var(--transition);
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--premium-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.expertise-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--premium-accent);
}

.expertise-card.featured {
    background: rgba(0, 166, 251, 0.05);
    border-color: rgba(0, 166, 251, 0.2);
}

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-tertiary);
    opacity: 0.3;
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 166, 251, 0.1);
    border-radius: 16px;
    margin-bottom: var(--space-md);
    color: var(--premium-accent);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-features span {
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--premium-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Service Showcase */
.service-showcase {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--premium-border);
    border-radius: 16px;
}

.service-showcase h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.service-item:hover {
    background: rgba(0, 166, 251, 0.1);
    border-color: var(--premium-accent);
    transform: translateY(-2px);
}

.service-icon {
    color: var(--premium-accent);
    font-size: 1.25rem;
}

.service-item span {
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Impact Section */
.impact-metrics {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.metric-card {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--premium-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.metric-card.large {
    grid-column: 1;
}

.metric-group {
    display: grid;
    gap: var(--space-md);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.metric-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.bar-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--premium-accent) 0%, var(--premium-blue) 100%);
    border-radius: 2px;
    transition: width 1.5s ease;
}

.metric-visual {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.visual-ring {
    position: absolute;
    inset: 0;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.visual-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 4px solid var(--premium-accent);
    border-radius: 50%;
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.visual-chart {
    width: 100%;
    height: 100%;
    background: conic-gradient(
        var(--premium-accent) 0deg,
        var(--premium-accent) 349deg,
        rgba(255, 255, 255, 0.1) 349deg
    );
    border-radius: 50%;
}

/* Testimonial */
.testimonial-section {
    margin-top: var(--space-xl);
}

.testimonial-card {
    padding: var(--space-xl);
    background: rgba(0, 166, 251, 0.03);
    border: 1px solid rgba(0, 166, 251, 0.1);
    border-radius: 20px;
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: var(--premium-accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--premium-border);
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: var(--space-xl) 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--premium-border);
}

.process-steps {
    display: grid;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    padding-left: 80px;
    position: relative;
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.step-number {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--premium-accent);
    margin-right: 1rem;
    font-size: 1.25rem;
    opacity: 0.8;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.premium-section.contact {
    background: var(--premium-dark);
    border-top: 1px solid var(--premium-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.contact-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.contact-info {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--premium-accent);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.info-details p {
    color: var(--text-secondary);
}

.info-details a {
    color: var(--premium-accent);
    text-decoration: none;
    transition: var(--transition);
}

.info-details a:hover {
    color: var(--premium-blue);
}

.contact-actions {
    display: flex;
    gap: 1rem;
}

/* Contact Visual */
.visual-card {
    position: relative;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--premium-border);
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
}

.card-pattern {
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.01) 20px, rgba(255, 255, 255, 0.01) 40px);
    pointer-events: none;
}

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

.infinity-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 166, 251, 0.1);
    border-radius: 50%;
}

.infinity-logo svg {
    width: 80px;
    height: 80px;
    color: var(--premium-accent);
}

.visual-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.visual-card p {
    color: var(--text-secondary);
}

/* Footer */
.premium-footer {
    background: var(--premium-black);
    border-top: 1px solid var(--premium-border);
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.brand-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    color: var(--premium-accent);
    flex-shrink: 0;
}

.brand-logo svg {
    width: 24px;
    height: 24px;
}

.brand-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.brand-info p {
    color: var(--text-tertiary);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.link-group h5 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--premium-accent);
}

.footer-cta h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--premium-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-button:hover {
    color: var(--premium-blue);
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid var(--premium-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        margin-top: var(--space-xl);
    }
    
    .visual-frame {
        width: 300px;
        height: 400px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .impact-metrics {
        grid-template-columns: 1fr;
    }
    
    .metric-card.large {
        grid-column: 1;
    }
    
    .process-step {
        grid-template-columns: auto 1fr;
        text-align: left !important;
    }
    
    .process-step:nth-child(even) .step-content:first-child {
        order: initial;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-visual {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .eduardo-logo-container {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: var(--blur-lg);
        -webkit-backdrop-filter: var(--blur-lg);
        border-top: 1px solid var(--premium-border);
        padding: var(--space-lg);
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .premium-button {
        width: 100%;
        justify-content: center;
    }
    
    .expertise-highlights {
        gap: var(--space-sm);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--premium-border);
    border-top-color: var(--premium-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Focus States */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--premium-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .premium-nav,
    .premium-background,
    .hero-scroll,
    .nav-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Footer Bottom */
.footer-bottom p {
    color: var(--text-tertiary);
}

/* Journey Timeline Section */
.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-content {
    position: relative;
    padding-left: 3rem;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--premium-accent), transparent);
    opacity: 0.3;
}

.journey-milestone {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.8s ease forwards;
}

.journey-milestone:nth-child(2) { animation-delay: 0.2s; }
.journey-milestone:nth-child(3) { animation-delay: 0.4s; }
.journey-milestone:nth-child(4) { animation-delay: 0.6s; }
.journey-milestone:nth-child(5) { animation-delay: 0.8s; }

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.journey-milestone::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--premium-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 166, 251, 0.2);
}

.milestone-year {
    font-size: 0.875rem;
    color: var(--premium-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.milestone-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.milestone-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.philosophy-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--premium-border);
    border-radius: 16px;
    transition: var(--transition);
}

.philosophy-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 166, 251, 0.3);
    transform: translateY(-2px);
}

.philosophy-card .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--premium-accent);
    opacity: 0.8;
}

.philosophy-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.philosophy-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.philosophy-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: rgba(0, 166, 251, 0.05);
    border-left: 4px solid var(--premium-accent);
    border-radius: 8px;
}

.philosophy-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.philosophy-quote cite {
    font-style: normal;
    color: var(--premium-accent);
    font-weight: 500;
}

/* Expertise Showcase */
.expertise-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.expertise-main h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.expertise-main p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.expertise-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(0, 166, 251, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    color: var(--premium-accent);
    font-size: 0.75rem;
}

.expertise-metrics {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--premium-border);
    border-radius: 16px;
}

.expertise-metrics h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.range-item {
    text-align: center;
}

.range-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.range-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--premium-accent);
    margin-bottom: 0.5rem;
}

.range-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.range-divider {
    font-size: 2rem;
    color: var(--text-tertiary);
}

.portfolio-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.achievement-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border: 1px solid var(--premium-border);
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.achievement-card.highlight {
    border-color: var(--premium-accent);
    background: rgba(0, 166, 251, 0.1);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--premium-accent);
}

.achievement-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.achievement-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.achievement-year {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.875rem;
    color: var(--premium-accent);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.impact-statement {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border-radius: 16px;
}

.impact-statement h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.impact-statement p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Values Section - Tesla-inspired minimal elegance */
.values-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-item {
    position: relative;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger the animation for each value item */
.value-item:nth-child(1) {
    animation-delay: 0.1s;
}

.value-item:nth-child(2) {
    animation-delay: 0.2s;
}

.value-item:nth-child(3) {
    animation-delay: 0.3s;
}

.value-item:nth-child(4) {
    animation-delay: 0.4s;
}

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

/* Subtle gradient overlay on hover - Tesla style */
.value-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Subtle bottom accent line */
.value-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--premium-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

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

.value-item:hover::after {
    transform: scaleX(1);
}

/* Remove all the complex animations */
@keyframes borderRotate {
    /* Removed */
}

.value-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Remove floating animation */
@keyframes floatIcon {
    /* Removed */
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--premium-accent);
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-item:hover .value-icon svg {
    transform: translateY(-2px);
    opacity: 1;
    color: var(--premium-blue);
}

/* Remove the pulsing glow effect */
.icon-glow {
    display: none;
}

@keyframes pulseGlow {
    /* Removed */
}

.value-item h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.value-item:hover h3 {
    /* Keep text color consistent for elegance */
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.value-item:hover p {
    opacity: 1;
}

.value-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.value-item:hover .value-number {
    color: rgba(255, 255, 255, 0.25);
}

/* Remove the complex connection lines */
.values-connection {
    display: none;
}

.connection-lines {
    display: none;
}

.connection-path {
    display: none;
}

@keyframes drawPath {
    /* Removed */
}

/* Remove the rotating gradient background */
.values-container::before {
    display: none;
}

@keyframes rotateGradient {
    /* Removed */
}

/* Enhance the section header for values */
.premium-section.dark .section-header.center {
    margin-bottom: 4rem;
}

/* Updated Footer */
.footer-profile {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    color: var(--premium-accent);
}

.profile-logo svg {
    width: 30px;
    height: 30px;
}

.footer-eduardo-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.profile-logo:hover .footer-eduardo-logo {
    transform: scale(1.05);
}

.profile-logo:hover {
    border-color: var(--premium-accent);
    box-shadow: 0 0 20px rgba(0, 166, 251, 0.15);
}

.profile-info h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-item span:last-child {
    color: var(--text-secondary);
}

.footer-quote {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.footer-quote p {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .expertise-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .journey-milestone {
        padding-left: 0;
        margin-left: 2rem;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .journey-milestone::before {
        left: -2rem;
    }
    
    .philosophy-quote {
        padding: 2rem;
    }
    
    .philosophy-quote blockquote {
        font-size: 1.125rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-details {
        text-align: center;
    }
    
    .footer-infinity {
        text-align: center;
    }
    
    .infinity-footer-link {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .expertise-features {
        font-size: 0.875rem;
    }
    
    .range-value {
        font-size: 2rem;
    }
    
    .portfolio-range {
        flex-direction: column;
        gap: 2rem;
    }
    
    .range-divider {
        transform: rotate(90deg);
    }
}

/* Particle effects for premium feel */
.value-item[data-value="integrity"]::after {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 166, 251, 0.15) 0%, 
                transparent 50%);
}

.value-item[data-value="excellence"]::after {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 128, 204, 0.15) 0%, 
                transparent 50%);
}

.value-item[data-value="innovation"]::after {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 166, 251, 0.15) 0%, 
                transparent 50%);
}

.value-item[data-value="partnership"]::after {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 145, 226, 0.15) 0%, 
                transparent 50%);
}

/* Responsive adjustments for values section */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-item {
        padding: 2.5rem 2rem;
        animation-delay: 0s !important; /* Remove stagger on mobile for faster loading */
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .value-number {
        font-size: 2rem;
    }
    
    .values-connection {
        display: none;
    }
}

/* Infinity Management Links */
.infinity-link {
    color: var(--premium-accent);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

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

.infinity-link:hover::after {
    width: 100%;
}

.infinity-link:hover {
    color: var(--premium-blue);
    text-shadow: 0 0 10px rgba(0, 166, 251, 0.3);
}

/* Footer Infinity Management Section */
.footer-infinity {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--premium-border);
}

.infinity-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.infinity-footer-link:hover {
    background: rgba(0, 166, 251, 0.1);
    border-color: var(--premium-accent);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 166, 251, 0.2);
}

.infinity-footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(0.7);
    transition: var(--transition);
}

.infinity-footer-link:hover .infinity-footer-logo {
    filter: brightness(0) invert(1);
}

.infinity-footer-link span {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Enhanced Responsive Design - 100% Mobile & Tablet Ready */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .nav-inner {
        padding: 1.25rem 1.5rem;
    }
    
    .hero-grid {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-visual {
        order: -1; /* Move visual above text on mobile/tablet */
        margin-bottom: 2rem;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease 0.3s forwards;
    }
    
    .visual-frame {
        max-width: 350px;
        height: 450px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .expertise-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .journey-timeline {
        padding: 0 1rem;
    }
    
    .achievements-grid {
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Navigation Fix */
@media (max-width: 768px) {
    /* Navigation Responsive */
    .nav-inner {
        padding: 1rem;
    }
    
    .eduardo-logo-container {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
    }
    
    .logo-name {
        font-size: 0.875rem;
    }
    
    .logo-tagline {
        font-size: 0.625rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid var(--premium-border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Hero Section Mobile */
    .premium-hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    
    .hero-visual {
        margin-bottom: 1.5rem;
    }
    
    .visual-frame {
        width: 280px;
        height: 350px;
        max-width: 90vw;
    }
    
    .portrait-image {
        object-fit: cover;
        object-position: top center;
    }
    
    .visual-accent {
        display: none; /* Hide accent on mobile for cleaner look */
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .stat-card {
        text-align: center;
    }
    
    /* Sections Mobile */
    .premium-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Journey Mobile */
    .journey-milestone {
        padding-left: 0;
        margin-left: 1.5rem;
    }
    
    .milestone-year {
        font-size: 0.875rem;
    }
    
    .milestone-content h3 {
        font-size: 1.25rem;
    }
    
    .milestone-content p {
        font-size: 0.875rem;
    }
    
    /* Philosophy Mobile */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .philosophy-card {
        padding: 2rem;
    }
    
    .philosophy-quote {
        padding: 2rem 1.5rem;
    }
    
    .philosophy-quote blockquote {
        font-size: 1.125rem;
    }
    
    /* Expertise Mobile */
    .expertise-features {
        font-size: 0.875rem;
        gap: 0.75rem;
    }
    
    .portfolio-range {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .range-divider {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    /* Achievements Mobile */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievement-card {
        padding: 2rem;
    }
    
    /* Values Mobile */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 2.5rem 2rem;
        animation-delay: 0s !important; /* Remove stagger on mobile for faster loading */
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.5rem;
    }
    
    .value-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .value-item h3 {
        font-size: 1.25rem;
    }
    
    .value-number {
        font-size: 0.75rem;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-profile {
        padding: 0 1rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-details {
        text-align: center;
    }
    
    .footer-quote {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .footer-quote p {
        font-size: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-inner {
        padding: 0.75rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-visual {
        margin-bottom: 1rem;
    }
    
    .visual-frame {
        width: 240px;
        height: 300px;
        border-radius: 16px;
    }
    
    .frame-corner {
        width: 16px;
        height: 16px;
    }
    
    .portrait-image {
        object-fit: cover;
        object-position: center 20%;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .philosophy-card {
        padding: 1.5rem;
    }
    
    .philosophy-card h3 {
        font-size: 1.125rem;
    }
    
    .philosophy-card p {
        font-size: 0.875rem;
    }
    
    .expertise-main h3,
    .expertise-metrics h3 {
        font-size: 1.25rem;
    }
    
    .expertise-main p {
        font-size: 0.875rem;
    }
    
    .range-value {
        font-size: 1.75rem;
    }
    
    .value-item {
        padding: 2rem 1.5rem;
    }
    
    .value-item h3 {
        font-size: 1.125rem;
    }
    
    .value-item p {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Fix for horizontal scroll on mobile */
body.premium-body {
    overflow-x: hidden;
}

.premium-section,
.hero-container,
.section-container {
    overflow-x: hidden;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for iOS Safari bounce effect */
@supports (-webkit-touch-callout: none) {
    .premium-hero {
        min-height: -webkit-fill-available;
    }
}

/* Additional Responsive Fixes */

/* Fix hero background on mobile */
@media (max-width: 768px) {
    .hero-background {
        position: absolute;
        inset: 0;
        z-index: -1;
    }
    
    .hero-wallpaper {
        object-position: center;
        object-fit: cover;
        filter: brightness(0.25) contrast(1.1) blur(3px); /* Slightly darker and more blur for better text readability */
        opacity: 0.8; /* Ensure it's visible */
        transform: scale(1.2); /* Slight scale to avoid edges */
    }
    
    .hero-overlay {
        background: 
            radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.9) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
    }
}

/* Ensure proper touch targets on mobile */
@media (max-width: 768px) {
    .nav-link,
    .premium-button,
    .value-item {
        min-height: 44px; /* iOS touch target minimum */
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    /* Adjust hero scroll indicator on mobile */
    .hero-scroll {
        bottom: 1rem;
        display: none; /* Hide on mobile as it's not needed with scrolling */
    }
}

/* Fix text readability on small screens */
@media (max-width: 480px) {
    body.premium-body {
        font-size: 14px;
    }
    
    .milestone-content p,
    .philosophy-card p,
    .expertise-main p,
    .value-item p,
    .achievement-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* Fix for section backgrounds on mobile */
@media (max-width: 768px) {
    .section-wallpaper {
        opacity: 0.3;
    }
}

/* Prevent text overflow in cards */
.value-item h3,
.philosophy-card h3,
.achievement-card h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure footer is fully responsive */
@media (max-width: 480px) {
    .infinity-footer-link {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .infinity-footer-logo {
        width: 60px;
        height: 60px;
    }
}

/* Fix journey timeline on very small screens */
@media (max-width: 480px) {
    .timeline-content::before {
        display: none;
    }
    
    .journey-milestone {
        margin-left: 0;
        padding-left: 1rem;
        border-left: 2px solid var(--premium-border);
    }
    
    .journey-milestone::before {
        display: none;
    }
}

/* Ensure stat cards stack properly */
@media (max-width: 480px) {
    .stat-card {
        width: 100%;
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

/* Fix expertise showcase responsive */
@media (max-width: 768px) {
    .expertise-showcase {
        gap: 2rem;
    }
    
    .expertise-main,
    .expertise-metrics {
        padding: 0;
    }
}

/* Ensure proper spacing in all sections */
@media (max-width: 768px) {
    .section-container {
        padding: 0 1rem;
    }
    
    .premium-section {
        padding: 4rem 0;
    }
    
    .premium-section:first-of-type {
        padding-top: 2rem;
    }
}

/* Fix for long text in navigation */
@media (max-width: 320px) {
    .eduardo-logo-container {
        width: 36px;
        height: 36px;
    }
    
    .nav-toggle {
        width: 28px;
        height: 20px;
    }
}

/* Ensure values section is perfectly responsive */
@media (max-width: 768px) {
    .values-container {
        padding: 0;
    }
    
    .value-item {
        min-width: 0; /* Prevent overflow */
    }
}

/* Welcome Section */
.welcome-section {
    position: relative;
    overflow: hidden;
}

.welcome-content {
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-header {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-message {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--premium-border);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    position: relative;
    overflow: hidden;
}

.welcome-message::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(0, 166, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.welcome-preview {
    position: relative;
    z-index: 1;
}

.welcome-preview p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: rgba(0, 166, 251, 0.1);
    border: 1px solid var(--premium-accent);
    border-radius: 8px;
    color: var(--premium-accent);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.read-more-btn:hover::before {
    transform: translateX(100%);
}

.read-more-btn:hover {
    background: rgba(0, 166, 251, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 166, 251, 0.3);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.read-more-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.welcome-full-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.welcome-full-content.show {
    max-height: 2000px;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-full-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.welcome-full-content.show p {
    opacity: 1;
    transform: translateY(0);
}

.welcome-full-content p:nth-child(2) { transition-delay: 0.1s; }
.welcome-full-content p:nth-child(3) { transition-delay: 0.2s; }
.welcome-full-content p:nth-child(4) { transition-delay: 0.3s; }
.welcome-full-content p:nth-child(5) { transition-delay: 0.4s; }
.welcome-full-content p:nth-child(6) { transition-delay: 0.5s; }
.welcome-full-content p:nth-child(7) { transition-delay: 0.6s; }
.welcome-full-content p:nth-child(8) { transition-delay: 0.7s; }

.welcome-signature {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.8s, transform 0.5s ease 0.8s;
}

.welcome-full-content.show .welcome-signature {
    opacity: 1;
    transform: translateY(0);
}

.welcome-signature p {
    margin: 0;
    color: var(--text-primary);
}

.signature-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--premium-accent) 0%, var(--premium-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

/* Responsive Styles for Welcome Section */
@media (max-width: 768px) {
    .welcome-message {
        padding: 2rem;
    }
    
    .welcome-preview p {
        font-size: 1.125rem;
    }
    
    .welcome-full-content p {
        font-size: 1rem;
    }
    
    .read-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .signature-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .welcome-message {
        padding: 1.5rem;
    }
    
    .welcome-preview p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .welcome-full-content p {
        font-size: 0.9375rem;
        line-height: 1.7;
        margin-top: 1.25rem;
    }
    
    .welcome-signature {
        margin-top: 2rem;
    }
}