/* ==================== CSS RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme */
    --primary-color: #9423EC;
    --primary-dark: #7d1dd1;
    --secondary-color: #b347f0;
    --accent-color: #d180ff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Background Colors */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-dark: var(--gray-900);
    --bg-card: var(--white);
    
    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', 'Monaco', 'Consolas', monospace;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    --gradient-hero: linear-gradient(135deg, #9423EC 0%, #b347f0 50%, #d180ff 100%);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--gray-800);
    --bg-card: var(--gray-800);
    --text-primary: var(--white);
    --text-secondary: var(--gray-300);
    --text-muted: var(--gray-400);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all var(--transition-normal);
    overflow-x: hidden;
}

body.loaded {
    overflow-x: auto;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.title-line {
    display: inline-block;
    position: relative;
}

.title-decoration {
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 3rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateY(-50%);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
    color: white;
}

.loading-text {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 0.5rem;
}

.loading-text span {
    display: inline-block;
    animation: letterFloat 2s ease-in-out infinite;
}

.loading-text span:nth-child(2) { animation-delay: 0.1s; }
.loading-text span:nth-child(3) { animation-delay: 0.2s; }
.loading-text span:nth-child(4) { animation-delay: 0.3s; }
.loading-text span:nth-child(6) { animation-delay: 0.4s; }
.loading-text span:nth-child(7) { animation-delay: 0.5s; }
.loading-text span:nth-child(8) { animation-delay: 0.6s; }
.loading-text span:nth-child(9) { animation-delay: 0.7s; }

.loading-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,1));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.loading-percentage {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

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

/* ==================== CURSOR ==================== */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.5;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all var(--transition-normal);
}

[data-theme="dark"] .header {
    background: rgba(17, 24, 39, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    border-radius: var(--radius-lg);
}

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

.nav-indicator {
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    background: var(--gray-200);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
}

[data-theme="dark"] .theme-toggle {
    background: var(--gray-700);
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.875rem;
    transition: all var(--transition-normal);
}

.theme-toggle .fa-sun {
    left: 6px;
    opacity: 1;
}

.theme-toggle .fa-moon {
    right: 6px;
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition-normal);
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(102, 126, 234, 0.1);
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s ease;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.magnetic-btn {
    transition: transform var(--transition-normal);
}

.magnetic-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 50%, rgba(240, 147, 251, 0.05) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.wave {
    font-size: 1.5rem;
    animation: wave 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
}

.title-cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    min-height: 80px;
}

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

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

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

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

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

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

.hero-social {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    background: var(--gray-900);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    transform: translateX(-10px);
}

.social-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-line {
    width: 2px;
    height: 100px;
    background: var(--gray-300);
    margin-top: 1rem;
}




/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: var(--bg-secondary);
}

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

.about-text {
    space-y: 2rem;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.detail-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.about-journey {
    margin-top: 3rem;
}

.about-journey h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.journey-timeline {
    position: relative;
    padding-left: 2rem;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-card);
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-mono);
}

.timeline-content h5 {
    font-weight: 600;
    margin: 0.5rem 0 0.25rem;
}

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

.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--gradient-primary);
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 4rem;
}

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

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.float-element:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    bottom: 20%;
    left: -10%;
    animation-delay: 1s;
}

.float-element:nth-child(3) {
    top: 50%;
    right: -15%;
    animation-delay: 2s;
}

.float-element:nth-child(4) {
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.metric-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

/* ==================== SKILLS SECTION ==================== */
.skills-section {
    background: var(--bg-primary);
}

.skills-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.skills-category {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-info {
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.level-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    border-radius: 4px;
    transition: width 1.5s ease;
}

.level-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-mono);
    min-width: 40px;
}

.skill-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.skill-card:hover .skill-hover-content {
    opacity: 1;
    transform: translateY(0);
}

.skill-hover-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.skill-years {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
    font-family: var(--font-mono);
}

.skills-visualization {
    margin-top: 4rem;
    text-align: center;
}

.viz-header {
    margin-bottom: 2rem;
}

.viz-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.viz-header p {
    color: var(--text-secondary);
}

.skills-radar {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    position: relative;
}

/* ==================== PROJECTS SECTION ==================== */
.projects-section {
    background: var(--bg-secondary);
}

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

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-primary);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.filter-count {
    background: var(--gray-200);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

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

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-card.featured .project-image {
    aspect-ratio: auto;
}

.project-screenshot {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-mockup {
    width: 90%;
    max-width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.browser-bar {
    height: 30px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 0.25rem;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.browser-content {
    height: 200px;
    position: relative;
}

.mockup-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mockup-gradient-mobile {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.mockup-gradient-portfolio {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.mockup-gradient-weather {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.mockup-gradient-social {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.mockup-gradient-crm {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.mobile-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mobile-frame {
    width: 160px;
    height: 280px;
    background: var(--gray-900);
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.mobile-screen {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.action-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.action-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
}

.action-btn:hover::before {
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-content {
    padding: 2rem;
}

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

.project-category {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-year {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-highlights {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.highlight-item i {
    color: var(--primary-color);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-tag.react { background: rgba(97, 218, 251, 0.1); color: #61dafb; }
.tech-tag.nodejs { background: rgba(104, 160, 99, 0.1); color: #68a063; }
.tech-tag.mongodb { background: rgba(71, 162, 72, 0.1); color: #47a248; }
.tech-tag.vue { background: rgba(77, 183, 111, 0.1); color: #4ddf4a; }
.tech-tag.python { background: rgba(53, 114, 165, 0.1); color: #3572a5; }

.project-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-mono);
}

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

.load-more-container {
    text-align: center;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(0, 0, 0, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3xl);
    backdrop-filter: blur(10px);
}

.testimonial-slide {
    opacity: 0;
    transform: translateX(100%) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    filter: blur(2px);
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    position: relative;
    filter: blur(0);
}

.testimonial-slide.prev {
    transform: translateX(-100%) scale(0.95);
}

.testimonial-content {
    background: rgba(var(--bg-card-rgb), 0.95);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: var(--radius-3xl);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 35px 70px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.testimonial-quote {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.testimonial-text {
    font-size: 1.375rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 2.5rem 0;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 4rem;
    color: rgba(var(--primary-color-rgb), 0.2);
    position: absolute;
    font-family: 'Times New Roman', serif;
    line-height: 1;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(var(--primary-color-rgb), 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.author-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.author-avatar:hover::after {
    opacity: 1;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.author-avatar:hover img {
    transform: scale(1.1);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-company {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(var(--text-secondary-rgb), 0.1);
}

.stars {
    display: flex;
    gap: 0.375rem;
}

.stars i {
    color: #f59e0b;
    font-size: 1.375rem;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    animation: starTwinkle 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

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

.rating-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
    font-family: var(--font-mono);
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    background: rgba(var(--bg-card-rgb), 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.carousel-btn:hover::before {
    opacity: 1;
}

.carousel-btn:hover {
    border-color: transparent;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.4);
}

.carousel-btn i {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(var(--text-secondary-rgb), 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.dot.active::before,
.dot:hover::before {
    transform: scale(1);
}

.dot.active,
.dot:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.4);
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.stat-card {
    background: rgba(var(--bg-card-rgb), 0.8);
    backdrop-filter: blur(15px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    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.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.4);
    position: relative;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.4); }
    50% { box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.6), 0 0 25px rgba(var(--primary-color-rgb), 0.3); }
}

.stat-info .stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
    .testimonial-content {
        padding: 3rem 2rem;
    }
    
    .testimonial-text {
        font-size: 1.125rem;
    }
    
    .carousel-controls {
        gap: 2rem;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-info .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }
    
    .author-info {
        text-align: center;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding: 2rem 0;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-intro h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.method-content {
    flex: 1;
}

.method-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-content p {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.method-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.method-action {
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.method-action:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.availability-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 2px solid var(--success-color);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse 2s infinite;
}

.status-text {
    font-weight: 600;
    color: var(--success-color);
}

.response-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-form-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.char-counter {
    align-self: flex-end;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.budget-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.budget-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.budget-option input[type="radio"] {
    display: none;
}

.budget-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    width: 100%;
    font-size: 0.875rem;
}

.budget-label:before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.budget-option input[type="radio"]:checked + .budget-label {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.budget-option input[type="radio"]:checked + .budget-label:before {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: inset 0 0 0 3px white;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all var(--transition-normal);
}

.form-checkbox:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.form-checkbox:checked + .checkmark:after {
    opacity: 1;
}

.checkbox-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-loading,
.btn-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
    opacity: 0;
    transition: all var(--transition-normal);
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loading {
    opacity: 1;
}

.submit-btn.success .btn-text {
    opacity: 0;
}

.submit-btn.success .btn-success {
    opacity: 1;
    background: var(--success-color);
}



/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    padding: 4rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-social {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-800);
}

.footer-social h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social .social-link {
    width: 50px;
    height: 50px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    position: relative;
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-800);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.heart {
    color: #ef4444;
    animation: heartbeat 2s ease-in-out infinite;
}

.coffee {
    color: #8b4513;
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

/* ==================== PROJECT MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: translateY(50px) scale(0.9);
    transition: all var(--transition-normal);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.modal-content {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .project-card.featured {
        grid-column: span 1;
        display: block;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
        --section-padding: 80px 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-social {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 540px;
        --section-padding: 60px 0;
        --header-height: 70px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-filters {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .about-metrics {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .budget-options {
        grid-template-columns: 1fr;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        width: 95vw;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    :root {
        --container-width: 100%;
        --section-padding: 40px 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
    
    .nav {
        padding: 0 1rem;
    }
    
    .project-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .footer-social .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .header,
    .hero-social,
    .scroll-indicator,
    .back-to-top,
    .modal-overlay,
    .loading-screen,
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .btn {
        border: 1pt solid black;
        background: none;
        color: black;
    }
}

/* ==================== HIGH CONTRAST MODE ==================== */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --bg-secondary: #f5f5f5;
        --bg-card: #ffffff;
        --gray-200: #cccccc;
        --gray-300: #999999;
    }
    
    .btn-primary {
        background: #0066cc;
        border: 2px solid #0066cc;
    }
    
    .btn-secondary {
        background: white;
        border: 2px solid black;
        color: black;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    .wave {
        animation: none;
    }
    
    .pulse {
        animation: none;
    }
}














/* Hero Section Base Styles */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary, #ffffff);
    padding: 100px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 70%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
    }
}

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

/* Hero Content Layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

/* Hero Text */
.hero-text {
    max-width: 600px;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
}

.greeting-icon {
    font-size: 1.5rem;
    animation: wave 2.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 50%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(-4deg); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary, #111827);
}

.title-main {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-highlight {
    display: block;
    color: #667eea;
    font-weight: 700;
    font-size: 0.8em;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200, #e5e7eb);
    border-bottom: 1px solid var(--gray-200, #e5e7eb);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted, #9ca3af);
    margin-top: 0.5rem;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Hero Social */
.hero-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.875rem;
    color: var(--text-muted, #9ca3af);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--gray-200, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #6b7280);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.hero-avatar {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    font-size: 3.5rem;
    color: white;
}

.avatar-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); 
    }
}

/* Tech Icons */
.tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--gray-200, #e5e7eb);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.tech-1 { top: 0; left: 50%; transform: translateX(-50%); color: #61dafb; }
.tech-2 { top: 50%; right: 0; transform: translateY(-50%); color: #339933; }
.tech-3 { bottom: 0; left: 50%; transform: translateX(-50%); color: #f7df1e; }
.tech-4 { top: 50%; left: 0; transform: translateY(-50%); color: #3776ab; }

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

/* Hero Code */
.hero-code {
    width: 100%;
    max-width: 400px;
}

.code-window {
    background: #1f2937;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.code-header {
    background: #374151;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.file-name {
    color: #d1d5db;
    font-size: 0.875rem;
    font-family: 'Fira Code', monospace;
}

.code-content {
    padding: 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.line-number {
    color: #6b7280;
    margin-right: 1rem;
    min-width: 20px;
    text-align: right;
    user-select: none;
}

.keyword { color: #ff79c6; }
.variable { color: #8be9fd; }
.property { color: #50fa7b; }
.string { color: #f1fa8c; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted, #9ca3af);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 1.25rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    40% { 
        transform: translateX(-50%) translateY(-10px); 
    }
    60% { 
        transform: translateX(-50%) translateY(-5px); 
    }
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #111827;
    --bg-card: #1f2937;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --gray-200: #374151;
}

[data-theme="dark"] .social-link {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .tech-icon {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .hero-stats {
    border-color: #374151;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-avatar {
        width: 240px;
        height: 240px;
    }
    
    .avatar-container {
        width: 150px;
        height: 150px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-social {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-avatar {
        width: 200px;
        height: 200px;
    }
    
    .hero-code {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-avatar {
        width: 160px;
        height: 160px;
    }
    
    .avatar-container {
        width: 120px;
        height: 120px;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hero-code {
        max-width: 280px;
    }
    
    .code-content {
        font-size: 0.8rem;
    }
}


/* Adicione este CSS ao seu style.css */

/* Mensagens do formulário */
.form-messages {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

.form-messages.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-messages.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.success-message,
.error-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.success-message i {
    color: #10b981;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.error-message i {
    color: #ef4444;
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.success-message span {
    color: #059669;
    font-weight: 500;
}

.error-list {
    flex: 1;
}

.error-item {
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.error-item:last-child {
    margin-bottom: 0;
}

/* Estados do botão */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.btn-loading,
.btn-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
}

.btn-loading {
    background: rgba(59, 130, 246, 0.9);
}

.btn-success {
    background: rgba(16, 185, 129, 0.9);
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==================== WORLDSKILLS SECTION ==================== */
.worldskills-section {
    background: var(--bg-primary);
    position: relative;
}

.worldskills-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Card Principal - Seguindo o padrão dos project-cards */
.competition-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    padding: 3rem;
}

.competition-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.competition-card.featured {
    border: 1px solid var(--gray-200);
}

[data-theme="dark"] .competition-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.card-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.competition-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Informações - Seguindo padrão about-section */
.competition-info {
    padding-right: 2rem;
}

.competition-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.competition-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Estatísticas - Seguindo padrão hero-stats */
.competition-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.competition-stats .stat-item {
    text-align: center;
}

.competition-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-family: var(--font-mono);
}

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

/* Skills - Seguindo padrão project-tech */
.competition-skills {
    margin-top: 2rem;
}

.competition-skills h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-normal);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

[data-theme="dark"] .skill-tag {
    background: var(--gray-700);
}

/* Visual/Badge - Seguindo padrão about-visual */
.competition-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.worldskills-badge-large {
    position: relative;
    width: 200px;
    height: 200px;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(40px);
    animation: pulse 2s infinite;
}

.badge-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .badge-content {
    background: var(--gray-800);
}

.badge-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.badge-content h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

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

.badge-decoration {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 0.25rem;
}

.badge-decoration span {
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.badge-decoration span:nth-child(2) { animation-delay: 0.5s; }
.badge-decoration span:nth-child(3) { animation-delay: 1s; }

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Journey/Progresso - Seguindo padrão timeline */
.competition-journey {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.journey-step.completed .step-icon {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.journey-step.current .step-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.journey-line {
    flex: 1;
    height: 2px;
    background: var(--gray-300);
    max-width: 50px;
}

/* Cards de Preparação - Seguindo padrão metric-card */
.preparation-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.prep-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
}

[data-theme="dark"] .prep-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.prep-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.prep-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.prep-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.prep-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .competition-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .competition-info {
        padding-right: 0;
    }
    
    .preparation-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .competition-card {
        padding: 2rem;
    }
    
    .card-badge {
        position: static;
        margin-bottom: 1.5rem;
        display: inline-flex;
    }
    
    .competition-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .preparation-cards {
        grid-template-columns: 1fr;
    }
    
    .competition-journey {
        flex-direction: column;
    }
    
    .journey-line {
        width: 2px;
        height: 30px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .competition-title {
        font-size: 1.5rem;
    }
    
    .worldskills-badge-large {
        width: 150px;
        height: 150px;
    }
    
    .badge-content i {
        font-size: 2rem;
    }
}


        /* ==================== TESTIMONIALS SECTION ==================== */
        .testimonials-section {
            background: linear-gradient(135deg, rgba(148, 35, 236, 0.02) 0%, rgba(179, 71, 240, 0.02) 50%, rgba(209, 128, 255, 0.02) 100%);
            position: relative;
            overflow: hidden;
        }

        .testimonials-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 20%, rgba(148, 35, 236, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(179, 71, 240, 0.08) 0%, transparent 50%);
            pointer-events: none;
        }

        /* Estatísticas Principais */
        .testimonials-highlights {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .highlight-card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: var(--radius-2xl);
            text-align: center;
            box-shadow: var(--shadow-md);
            transition: all var(--transition-normal);
            border: 1px solid rgba(148, 35, 236, 0.1);
            position: relative;
            overflow: hidden;
        }

        .highlight-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .highlight-card:hover::before {
            left: 100%;
        }

        .highlight-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary-color);
        }

        .highlight-icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: white;
            font-size: 1.75rem;
            box-shadow: 0 15px 35px rgba(148, 35, 236, 0.3);
            position: relative;
        }

        .highlight-content {
            position: relative;
            z-index: 2;
        }

        .highlight-number {
            font-size: 2.5rem;
            font-weight: 900;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
            margin-bottom: 0.5rem;
            font-family: var(--font-mono);
        }

        .highlight-label {
            font-size: 1rem;
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Grid de Depoimentos */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .testimonial-card {
            background: var(--bg-card);
            border-radius: var(--radius-2xl);
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            transition: all var(--transition-normal);
            border: 1px solid rgba(148, 35, 236, 0.1);
            position: relative;
            overflow: hidden;
        }

        .testimonial-card.featured {
            grid-column: span 2;
            background: linear-gradient(135deg, rgba(148, 35, 236, 0.05) 0%, rgba(179, 71, 240, 0.05) 100%);
            border-color: var(--primary-color);
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-primary);
            opacity: 0;
            transition: opacity var(--transition-normal);
            z-index: 1;
        }

        .testimonial-card:hover::before {
            opacity: 0.02;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-2xl);
            border-color: var(--primary-color);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }

        .testimonial-avatar {
            position: relative;
            flex-shrink: 0;
        }

        .testimonial-avatar img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(148, 35, 236, 0.2);
            transition: all var(--transition-normal);
        }

        .testimonial-card:hover .testimonial-avatar img {
            border-color: var(--primary-color);
            transform: scale(1.05);
        }

        .avatar-badge {
            position: absolute;
            bottom: -5px;
            right: -5px;
            width: 24px;
            height: 24px;
            background: var(--success-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.75rem;
            border: 3px solid var(--bg-card);
        }

        .testimonial-author {
            flex: 1;
        }

        .testimonial-author h4 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            color: var(--text-primary);
        }

        .testimonial-author p {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 0.25rem;
            font-size: 1rem;
        }

        .author-company {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .testimonial-rating {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .stars {
            display: flex;
            gap: 0.25rem;
        }

        .stars i {
            color: #f59e0b;
            font-size: 1rem;
            filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
        }

        .testimonial-body {
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }

        .quote-icon {
            position: absolute;
            top: -10px;
            left: -10px;
            font-size: 2rem;
            color: rgba(148, 35, 236, 0.2);
            z-index: 1;
        }

        .testimonial-text {
            font-size: 1.125rem;
            line-height: 1.7;
            color: var(--text-primary);
            font-style: italic;
            position: relative;
            z-index: 2;
            padding-left: 1rem;
        }

        .testimonial-card.featured .testimonial-text {
            font-size: 1.25rem;
            font-weight: 500;
        }

        .testimonial-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(148, 35, 236, 0.1);
            position: relative;
            z-index: 2;
        }

        .project-tag {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(148, 35, 236, 0.1);
            color: var(--primary-color);
            padding: 0.5rem 1rem;
            border-radius: var(--radius-lg);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .testimonial-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-muted);
            font-size: 0.875rem;
            font-family: var(--font-mono);
        }

        /* Call to Action */
        .testimonials-cta {
            background: var(--bg-card);
            padding: 4rem 3rem;
            border-radius: var(--radius-3xl);
            text-align: center;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(148, 35, 236, 0.1);
            position: relative;
            overflow: hidden;
        }

        .testimonials-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-primary);
            opacity: 0.05;
            z-index: 1;
        }

        .cta-content {
            position: relative;
            z-index: 2;
        }

        .cta-content h3 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cta-content p {
            font-size: 1.25rem;
            color: var(--text-secondary);
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

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

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            border-radius: var(--radius-lg);
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            transition: all var(--transition-normal);
            border: 2px solid transparent;
            cursor: pointer;
            min-width: 200px;
            justify-content: center;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .testimonials-highlights {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .testimonials-grid {
                grid-template-columns: 1fr;
            }
            
            .testimonial-card.featured {
                grid-column: span 1;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 80px 0;
            }
            
            .container {
                padding: 0 1rem;
            }
            
            .testimonials-highlights {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .highlight-card {
                padding: 1.5rem;
            }
            
            .testimonial-card {
                padding: 2rem;
            }
            
            .testimonial-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            .testimonials-cta {
                padding: 3rem 2rem;
            }
            
            .cta-content h3 {
                font-size: 2rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 480px) {
            .testimonials-cta {
                padding: 2rem 1.5rem;
            }
            
            .btn {
                width: 100%;
                max-width: 280px;
            }
            
            .testimonial-footer {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }

       



/* Certifications Section */
.certifications-section {
    background: var(--bg-primary);
    position: relative;
}

/* Stats */
.certifications-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(148, 35, 236, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filters */
.certification-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cert-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-primary);
}

.cert-filter-btn:hover,
.cert-filter-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cert-filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.certification-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.certification-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(148, 35, 236, 0.02) 0%, rgba(179, 71, 240, 0.02) 100%);
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.cert-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.cert-logo {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cert-provider {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cert-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cert-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cert-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cert-detail i {
    color: var(--primary-color);
    width: 16px;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

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

.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
}

.cert-btn.primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.cert-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cert-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cert-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Achievements Section */
.achievements-section {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    margin-bottom: 4rem;
}

.achievements-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.achievements-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.achievement-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.achievement-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.achievement-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.achievement-date {
    display: inline-block;
    background: rgba(148, 35, 236, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* CTA */
.certifications-cta {
    background: var(--bg-card);
    padding: 4rem 3rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.certifications-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.certifications-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive */
@media (max-width: 992px) {
    .certifications-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .certifications-stats {
        grid-template-columns: 1fr;
    }
    
    .certification-filters {
        gap: 0.5rem;
    }
    
    .cert-filter-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-cta {
        padding: 3rem 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cert-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .certification-card {
        padding: 2rem;
    }
    
    .achievements-section {
        padding: 2rem;
    }
}


.logo-img{
    width: 215px;
    height: auto;
}

/* Logo responsive ao tema */
.logo-light,
.logo-dark {
    width: 215px;
    height: auto;
    transition: opacity var(--transition-normal);
}

/* Modo claro - mostra logo escura, esconde logo branca */
[data-theme="light"] .logo-light {
    display: block;
}

[data-theme="light"] .logo-dark {
    display: none;
}

/* Modo escuro - mostra logo branca, esconde logo escura */
[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* Fallback para quando não há tema definido (modo claro por padrão) */
body:not([data-theme]) .logo-light {
    display: block;
}

body:not([data-theme]) .logo-dark {
    display: none;
}

:root {
    /* Typography - Novas fontes */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Monaco', 'Consolas', monospace;
    
    /* Resto das variáveis permanece igual... */
}

/* Aplicar fontes específicas aos elementos */
body {
    font-family: var(--font-primary);
}

/* Títulos principais com Space Grotesk */
.hero-title,
.section-title,
.about-heading,
.category-title,
.project-title,
.competition-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Subtítulos e textos de destaque */
.hero-subtitle,
.section-subtitle,
.nav-link,
.btn {
    font-family: var(--font-secondary);
    font-weight: 500;
}

/* Elementos técnicos com fonte mono */
.section-number,
.stat-number,
.metric-number,
.highlight-number,
.level-text,
.code-content,
.achievement-date,
.testimonial-date {
    font-family: var(--font-mono);
}

/* Logo com fonte especial */
.logo-text {
    font-family: var(--font-secondary);
    font-weight: 800;
    letter-spacing: -0.05em;
}

/* Cards de skill com fonte secundária nos nomes */
.skill-name {
    font-family: var(--font-secondary);
    font-weight: 600;
}

/* Melhorar legibilidade em textos longos */
.hero-description,
.about-description,
.project-description,
.testimonial-text {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
}

/* Botões e elementos interativos */
.filter-btn,
.cert-btn,
.action-btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: 0.01em;
}



.footer-social .social-link {
    width: 50px;
    height: 50px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 10; /* Garantir que fique acima */
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    z-index: 20; /* Aumentar z-index no hover */
}

/* Tooltip corrigido */
.footer-social .social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px); /* Posicionar acima do link */
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-normal);
    z-index: 100; /* Z-index alto para tooltip */
    box-shadow: var(--shadow-lg);
}

/* Seta do tooltip */
.footer-social .social-link::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--gray-900);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 99;
}

.footer-social .social-link:hover::before,
.footer-social .social-link:hover::after {
    opacity: 1;
    visibility: visible;
}


.footer-social {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-800);
    position: relative;
    z-index: 5;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.footer-social {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-800);
    position: relative;
    z-index: 5;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.theme-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    background: var(--gray-200);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

[data-theme="dark"] .theme-toggle {
    background: var(--gray-700);
}

.theme-toggle i {
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    z-index: 2;
    position: relative;
}

/* Ícone do sol (modo claro) */
.theme-toggle .fa-sun {
    color: #f59e0b;
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Ícone da lua (modo escuro) */
.theme-toggle .fa-moon {
    color: #6b7280;
    opacity: 0.5;
    transform: translateX(0) scale(0.8);
}

/* Estados no modo escuro */
[data-theme="dark"] .theme-toggle .fa-sun {
    color: #6b7280;
    opacity: 0.5;
    transform: translateX(0) scale(0.8);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    color: #e5e7eb;
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Indicador deslizante */
.theme-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(22px);
    background: var(--gray-300);
}

/* Hover effects */
.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}


/* Projects Grid - mantém o layout original */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

/* Project Image com Browser Mockup */
.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.project-card.featured .project-image {
    aspect-ratio: auto;
    padding: 3rem;
}

/* Browser Mockup Structure */
.browser-mockup {
    width: 90%;
    max-width: 350px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.project-card:hover .browser-mockup {
    transform: translateY(-5px) scale(1.02);
}

.project-card.featured .browser-mockup {
    max-width: 400px;
    width: 95%;
}

/* Browser Bar */
.browser-bar {
    height: 35px;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

/* Browser Dots */
.browser-dots {
    display: flex;
    gap: 0.375rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

/* URL Bar */
.browser-url {
    flex: 1;
    font-size: 0.8rem;
    color: #5f6368;
    text-align: center;
    font-family: var(--font-mono);
}

/* Browser Content - aqui fica a foto real */
.browser-content {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-card.featured .browser-content {
    height: 280px;
}

/* Foto real do projeto */
.project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-photo {
    transform: scale(1.05);
}

/* Fallback quando não há foto */
.project-photo[src=""], 
.project-photo:not([src]),
.mockup-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Overlay mantém o mesmo estilo */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    backdrop-filter: blur(2px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Mobile Mockup para projetos mobile */
.mobile-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mobile-frame {
    width: 180px;
    height: 320px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: white;
}

.mobile-screen .project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .project-image {
        padding: 1.5rem;
    }
    
    .browser-mockup {
        width: 100%;
        max-width: 300px;
    }
    
    .browser-content {
        height: 180px;
    }
    
    .mobile-frame {
        width: 140px;
        height: 280px;
    }
}


.more-projects-container {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.more-projects-container .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
}

/* Correções para responsividade sem menu hambúrguer */
@media (max-width: 992px) {
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
        border-top: 1px solid var(--gray-200);
        margin-top: 1rem;
    }
    
    .nav-controls {
        margin-left: auto;
    }
    
    /* Ajustar altura do header */
    .header {
        height: auto;
        min-height: var(--header-height);
    }
    
    /* Ajustar padding do hero para compensar header maior */
    .hero-section {
        padding-top: 160px;
    }
}

@media (max-width: 576px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
    }
    
    /* Garantir que nada saia da tela */
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Logo menor no mobile */
    .logo-img {
        width: 180px;
        height: auto;
    }
}

/* Remover estilos do menu hambúrguer que não existe mais */
.mobile-menu-btn,
.hamburger-line {
    display: none !important;
}


/* ==================== CORREÇÕES DE RESPONSIVIDADE MOBILE ==================== */

/* 1. Prevenir scroll horizontal global */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* 2. Correções do Header */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1rem; /* Reduzido de 2rem */
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* 3. Logo responsiva */
.logo-img {
    width: clamp(160px, 25vw, 215px); /* Responsiva baseada na viewport */
    height: auto;
    max-width: 160px; /* Limite máximo em mobile */
}

/* 4. Navegação responsiva melhorada */
@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: 70px;
    }
    
    .nav {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap; /* Não quebrar linha */
        gap: 0.5rem;
        position: relative;
    }
    
    .logo {
        flex-shrink: 0;
        max-width: 50%; /* Limitar largura da logo */
    }
    
    .logo-img {
        width: clamp(140px, 30vw, 160px);
        max-width: 140px;
    }
    
    /* Menu compacto em linha */
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
        font-size: 0.75rem;
        max-width: 40%;
        justify-content: center;
        order: 2;
    }
    
    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .nav-text {
        display: none; /* Esconder texto, mostrar apenas indicadores */
    }
    
    /* Mostrar apenas dots como indicadores */
    .nav-link {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--gray-300);
        padding: 0;
        margin: 0 2px;
        position: relative;
    }
    
    .nav-link.active,
    .nav-link:hover {
        background: var(--primary-color);
    }
    
    /* Tooltip para mostrar o nome da seção */
    .nav-link::before {
        content: attr(data-section);
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--gray-900);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.7rem;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }
    
    .nav-link:hover::before {
        opacity: 1;
    }
    
    .nav-controls {
        flex-shrink: 0;
        order: 3;
    }
    
    .theme-toggle {
        width: 40px;
        height: 22px;
        padding: 0 4px;
    }
    
    .theme-toggle::before {
        width: 18px;
        height: 18px;
        top: 2px;
        left: 2px;
    }
    
    [data-theme="dark"] .theme-toggle::before {
        transform: translateX(18px);
    }
    
    .theme-toggle i {
        font-size: 0.7rem;
    }
    
    /* Ajustar hero para compensar header menor */
    .hero-section {
        padding-top: 90px;
    }
}

/* 5. Mobile extra pequeno */
@media (max-width: 480px) {
    .nav {
        padding: 0.5rem 0.75rem;
        gap: 0.25rem;
    }
    
    .logo-img {
        width: clamp(120px, 35vw, 140px);
        max-width: 120px;
    }
    
    /* Menu ainda mais compacto */
    .nav-menu {
        gap: 0.15rem;
        max-width: 35%;
    }
    
    .nav-link {
        width: 10px;
        height: 10px;
        margin: 0 1px;
    }
    
    .theme-toggle {
        width: 35px;
        height: 20px;
    }
    
    .theme-toggle::before {
        width: 16px;
        height: 16px;
    }
    
    [data-theme="dark"] .theme-toggle::before {
        transform: translateX(15px);
    }
}

/* 6. Correções gerais de containers */
.container {
    max-width: 100%;
    padding: 0 clamp(0.75rem, 4vw, 2rem);
    box-sizing: border-box;
}

/* 7. Prevenir overflow em elementos específicos */
.hero-content,
.about-content,
.skills-showcase,
.projects-grid,
.testimonials-grid,
.contact-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* 8. Grids responsivos */
@media (max-width: 768px) {
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 9. Elementos com largura fixa problemáticos */
.browser-mockup,
.mobile-mockup,
.hero-code {
    max-width: 100%;
    width: 100%;
}

@media (max-width: 576px) {
    .browser-mockup {
        max-width: 280px;
    }
    
    .hero-code {
        max-width: 260px;
    }
    
    .mobile-frame {
        width: 120px;
        height: 240px;
    }
}

/* 10. Correção específica do botão theme toggle overflow */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: fit-content;
}

/* 11. Prevenção de texto quebrado */
.nav-link,
.btn,
.project-title,
.skill-name {
    word-break: break-word;
    hyphens: auto;
}

/* 12. Margem de segurança para evitar cortes */
@media (max-width: 375px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav {
        padding: 0.5rem;
    }
    
    .logo-img {
        width: clamp(100px, 40vw, 120px);
        max-width: 100px;
    }
}