/* ===================================
   Premium Home Page Design
   Professional Animated Portfolio
   =================================== */

/* ========== Premium Hero Section ========== */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
}

/* Animated Background - Developer Theme */
.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    background: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-gradient);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-gradient);
    top: 50%;
    right: -5%;
    animation-delay: 8s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-gradient);
    bottom: -5%;
    left: 40%;
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 4px;
    background: var(--accent-primary);
    opacity: 0.02;
    animation: code-float 20s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 2px;
    top: 25%;
    left: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 2px;
    top: 45%;
    right: 20%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 2px;
    bottom: 30%;
    left: 60%;
    animation-delay: 10s;
}

.shape-4 {
    width: 60px;
    height: 2px;
    top: 65%;
    right: 35%;
    animation-delay: 15s;
}

@keyframes code-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.02;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.05;
    }
}

/* Hero Content */
.hero-content-premium {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Premium Badge */
.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.badge-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

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

/* Premium Title */
.hero-title-premium {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.title-line {
    display: block;
    overflow: hidden;
}

.word-animated {
    display: inline-block;
    margin: 0 0.2em;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, #f093fb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Premium Profile Image */
.hero-image-premium {
    margin: 3rem auto;
    width: 280px;
    height: 280px;
    position: relative;
}

.image-glow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 8px;
}

.rotating-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    animation: rotate-gradient 4s linear infinite;
    z-index: -1;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-img-premium {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--bg-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.hero-image-premium:hover .profile-img-premium {
    transform: scale(1.05);
}

/* Description */
.hero-description-premium {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Premium CTA Buttons */
.hero-cta-premium {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-premium.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-premium .btn-text {
    position: relative;
    z-index: 2;
}

.btn-premium .btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-primary-premium {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

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

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary-premium:hover .btn-glow {
    transform: translateX(100%);
}

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

.btn-secondary-premium:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-premium:hover .btn-icon {
    transform: translateY(4px);
}

/* Premium Stats */
.hero-stats-premium {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.stat-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.stat-icon {
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.stat-value-premium {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    display: inline-block;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: inline;
    margin-left: 0.2rem;
}

.stat-label-premium {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-color);
}



/* ========== Premium Section Styles ========== */
.section-premium {
    padding: 8rem 0;
    position: relative;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header-premium {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title-premium {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, #f093fb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

.section-subtitle-premium {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ========== Skills Section ========== */
.skills-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card-premium {
    perspective: 1000px;
    height: 320px;
}

.skill-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.skill-card-premium:hover .skill-card-inner {
    transform: rotateY(180deg);
}

.skill-front,
.skill-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.skill-front {
    z-index: 2;
}

.skill-back {
    transform: rotateY(180deg);
    background: var(--accent-gradient);
    color: white;
    border: none;
}

.skill-icon-premium {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-text {
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.icon-bg-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(20px);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

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

.skill-hover-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--accent-primary);
    margin-top: 1rem;
    opacity: 0.7;
}

.skill-description-premium {
    color: white;
    line-height: 1.8;
    font-size: 1rem;
}

.skill-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 70%;
    right: 20%;
    animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
    bottom: 30%;
    left: 60%;
    animation-delay: 1.4s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ========== Projects Section ========== */
.projects-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card-premium {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-link-premium {
    display: block;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

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

.project-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.1;
    line-height: 1;
}

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

.project-meta-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.project-year-premium,
.project-category-premium {
    color: var(--text-muted);
    font-weight: 600;
}

.meta-separator {
    color: var(--border-color);
}

.project-title-premium {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

.project-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.project-card-premium:hover .project-arrow {
    background: var(--accent-primary);
    color: white;
    transform: translateX(8px);
}

/* Project Tags Chips */
.project-tags-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-tag-chip {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.project-tag-chip:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.project-tag-more {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.project-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card-premium:hover .project-hover-effect {
    opacity: 0.03;
}

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

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

/* ========== Testimonials Section ========== */
.testimonials-grid-premium {
    /* Masonry Layout using CSS Columns for natural flow */
    column-count: 3;
    column-gap: 2rem;
    orphans: 1;
    widows: 1;
}

/* Testimonial Cards */
.testimonial-card-premium {
    /* Prevent cards from breaking across columns */
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
    
    /* Card styling */
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-link-premium {
    display: block;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    position: relative;
}

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

.testimonial-quote-icon {
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.testimonial-text-premium {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-footer-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author-premium {
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-country-premium {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-rating-premium {
    display: flex;
    gap: 0.25rem;
}

.star-filled {
    color: #fbbf24;
}

.star-empty {
    color: var(--border-color);
}

.testimonial-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.testimonial-card-premium:hover .testimonial-glow {
    opacity: 0.05;
}

/* ========== Blog Section ========== */
.blog-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card-premium {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-link-premium {
    display: block;
    text-decoration: none;
    color: inherit;
}

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

.blog-card-inner {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.blog-meta-premium {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-category-badge {
    padding: 0.25rem 0.75rem;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-title-premium {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt-premium {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.3s ease;
}

.blog-card-premium:hover .blog-read-more {
    gap: 1rem;
}

.blog-hover-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.blog-card-premium:hover .blog-hover-glow {
    opacity: 0.05;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--bg-secondary);
    position: relative;
}

.contact-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--accent-gradient);
    opacity: 0.05;
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
}

.contact-content-premium {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-premium {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

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

.form-group-premium {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.form-label-premium svg {
    color: var(--accent-primary);
}

.form-input-premium,
.form-textarea-premium {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.form-input-premium:focus,
.form-textarea-premium:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

.form-textarea-premium {
    resize: vertical;
    min-height: 150px;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.4s ease;
}

.form-input-premium:focus ~ .input-focus-line,
.form-textarea-premium:focus ~ .input-focus-line {
    width: 100%;
}

.form-actions-premium {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Social Links */
.social-links-premium {
    margin-top: 3rem;
    text-align: center;
}

.social-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

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

.social-icon-premium {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.icon-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 2;
}

.icon-label {
    position: absolute;
    bottom: -100%;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 2;
    transition: bottom 0.3s ease;
}

.social-icon-premium:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.social-icon-premium:hover .icon-name {
    transform: translateY(-20px);
}

.social-icon-premium:hover .icon-label {
    bottom: 1rem;
}

.social-hover-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon-premium:hover .social-hover-glow {
    opacity: 1;
}

/* ========== FAQ Section ========== */
.faq-list-premium {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-premium {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-premium:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.faq-item-premium.active {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.faq-question-premium {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question-premium:hover {
    background: var(--bg-secondary);
}

.faq-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.3;
    min-width: 40px;
}

.faq-text {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-icon-premium {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.faq-item-premium.active .faq-icon-premium {
    transform: rotate(180deg);
}

.faq-answer-premium {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item-premium.active .faq-answer-premium {
    max-height: 500px;
}

.faq-answer-content-premium {
    padding: 0 2rem 2rem 5.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 900px) {
    /* 2 columns on tablets only */
    .testimonials-grid-premium {
        column-count: 2;
    }
}

@media (max-width: 1024px) {
    .hero-premium {
        padding: 6rem 0 3rem;
    }
    
    .section-premium {
        padding: 6rem 0;
    }
    
    .hero-image-premium {
        width: 240px;
        height: 240px;
    }
}


@media (max-width: 768px) {
    .hero-premium {
        padding: 5rem 0 2rem;
        min-height: auto;
    }
    
    .section-premium {
        padding: 4rem 0;
    }
    
    .hero-title-premium {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-image-premium {
        width: 200px;
        height: 200px;
        margin: 2rem auto;
    }
    
    .hero-description-premium {
        font-size: 1rem;
    }
    
    .hero-cta-premium {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-premium {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-premium {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .skills-grid-premium {
        grid-template-columns: 1fr;
    }
    
    .projects-grid-premium {
        grid-template-columns: 1fr;
    }
    
    
    .testimonials-grid-premium {
        column-count: 1;
    }

    
    .blog-grid-premium {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-premium {
        padding: 2rem;
    }
    
    .form-actions-premium {
        flex-direction: column;
    }
    
    .orb-1, .orb-2, .orb-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .container-wide {
        padding: 0 1rem;
    }
    
    .section-header-premium {
        margin-bottom: 3rem;
    }
    
    .stat-value-premium {
        font-size: 2rem;
    }
    
    .contact-form-premium {
        padding: 1.5rem;
    }
    
    .faq-question-premium {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .faq-number {
        font-size: 1.25rem;
        min-width: 30px;
    }
    
    .faq-text {
        font-size: 1rem;
    }
    
    .faq-answer-content-premium {
        padding: 0 1.25rem 1.5rem 3.75rem;
        font-size: 0.9375rem;
    }
}
