/* index.css - Estilos específicos para a página index.html */

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(37, 99, 235, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem auto;
}

.loading-spinner p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-darker);
}

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

.hero-content {
    max-width: 1000px;
    z-index: 2;
}

/* Hero Profile Section */
.hero-profile {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: profileFloat 6s ease-in-out infinite;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 25px 80px rgba(37, 99, 235, 0.2);
}

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

.profile-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.2s both;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.4s both;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
    margin-top: 2rem;
}

/* Stats Section */
.stats {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* About/Professional Section */
.about {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.about-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1.1;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    font-weight: 400;
}

.about-text p strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

.skill-item {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(37, 99, 235, 0.1);
}

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

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.skill-item:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.skill-item div {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

/* Hero Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0.6;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(37, 99, 235, 0.1);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.stat-card:hover .stat-icon {
    background: var(--gradient-1);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Personal Section */
.personal {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.personal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--primary-color),
        transparent
    );
    opacity: 0.3;
}

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

.personal h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.personal-subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

.social-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.social-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.social-card:hover i {
    transform: scale(1.1);
}

.social-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.social-description {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CV Viewer Section */
.cv-viewer {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cv-viewer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cv-viewer h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cv-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cv-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-download {
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.cv-embed {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-top: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
    max-height: 1000px;
    overflow: hidden;
}

.cv-embed.hidden {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    margin-top: 0;
    padding: 0;
    border: none;
}

.cv-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: white;
}

.cv-fallback {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Experience Section - Modern */
.experience-modern {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-modern h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.experience-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 1.6;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem auto;
}

.experience-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.experience-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.experience-card.current::before {
    opacity: 1;
    background: var(--gradient-2);
}

.experience-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.05);
}

.experience-card.featured::before {
    opacity: 1;
    background: var(--gradient-1);
}

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

.experience-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.experience-status {
    background: var(--gradient-2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.experience-badge {
    background: var(--gradient-1);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.experience-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.experience-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.experience-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.experience-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.experience-metrics {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.metric-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    text-align: center;
    line-height: 1.2;
}

.experience-summary {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.summary-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.summary-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.summary-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    color: inherit;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    text-decoration: none;
    color: inherit;
}

.social-card:hover::before {
    transform: scaleX(1);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.social-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Specific social media colors on hover */
.social-card:hover i {
    color: var(--primary-color);
}

.social-card[href*="instagram"]:hover i {
    color: #E4405F;
}

.social-card[href*="linkedin"]:hover i {
    color: #0077B5;
}

.social-card[href*="github"]:hover i {
    color: #333;
}

.social-card[href*="twitch"]:hover i {
    color: #9146FF;
}

.social-card[href*="youtube"]:hover i {
    color: #FF0000;
}

.social-card[href*="twitter"]:hover i {
    color: #1DA1F2;
}

/* Special styling for Linktree card */
.social-card.linktree-card {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 199, 190, 0.1));
    border-color: rgba(0, 212, 170, 0.3);
}

.social-card.linktree-card:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 199, 190, 0.2));
    border-color: #00d4aa;
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.2);
}

.social-card.linktree-card i {
    color: #00d4aa;
}

.social-card.linktree-card:hover i {
    color: #00c7be;
}

/* Contact Section Enhanced */
.social-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(5, 150, 105, 0.1));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.social-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-method h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--success-color);
}

/* Media Queries para responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        min-width: 250px;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill-item {
        padding: 1.2rem 0.8rem;
    }

    .skill-item i {
        font-size: 1.6rem;
    }

    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .social-card {
        padding: 1.5rem;
    }

    .social-card i {
        font-size: 2.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about {
        padding: 4rem 1.5rem;
        margin: 2rem 1rem;
    }

    .cv-viewer {
        padding: 4rem 1.5rem;
    }

    .experience-modern {
        padding: 4rem 1.5rem;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .experience-card {
        padding: 1.5rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .experience-metrics {
        justify-content: space-between;
        gap: 1rem;
    }

    .summary-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        margin: 2rem 0;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about {
        padding: 3rem 1rem;
        margin: 1rem 0.5rem;
    }

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

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

    .experience-modern {
        padding: 3rem 1rem;
    }

    .experience-modern h2 {
        font-size: 2rem;
    }

    .experience-subtitle {
        font-size: 1rem;
    }

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

    .experience-card {
        padding: 1.2rem;
    }

    .experience-card h3 {
        font-size: 1.2rem;
    }

    .experience-metrics {
        gap: 1rem;
    }

    .metric {
        min-width: 60px;
    }

    .summary-stat .stat-number {
        font-size: 2rem;
    }
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
    .social-card h3 {
        font-size: 1.2rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cv-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cv-iframe {
        height: 400px;
    }
}
