/* ============================================
   MEHDEV - iOS Developer Portfolio
   Advanced Interactive Design
   ============================================ */

/* Reset and Variables */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-primary: #3b82f6;
    --accent-secondary: #06b6d4;
    --accent-tertiary: #8b5cf6;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --glow-primary: rgba(59, 130, 246, 0.4);
    --glow-secondary: rgba(139, 92, 246, 0.4);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

/* ============================================
   CURSOR GLOW EFFECT
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ============================================
   FLOATING PARTICLES
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
}

.logo-img {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s var(--transition-bounce);
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.footer .logo-img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition-bounce);
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.logo:hover .logo-icon::before {
    transform: translateX(100%);
}

.logo-text {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s var(--transition-smooth);
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

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

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a::after {
    content: attr(data-text);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(100%);
    color: var(--text-primary);
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s var(--transition-smooth);
}

.nav-links a:hover::after {
    transform: translateY(-50%);
    opacity: 1;
}

.nav-links a span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--transition-smooth);
}

.nav-links a:hover span {
    transform: translateY(-100%);
    opacity: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: #3b82f6;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #06b6d4;
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fade-in-up 0.8s var(--transition-smooth) forwards;
    opacity: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(48px, 10vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

.word {
    display: inline-block;
    animation: slide-up 0.8s var(--transition-smooth) forwards;
    animation-delay: calc(var(--delay, 0) * 0.1s + 0.3s);
    opacity: 0;
    transform: translateY(100%);
}

.word[data-delay="0"] { --delay: 0; }
.word[data-delay="1"] { --delay: 1; }
.word[data-delay="2"] { --delay: 2; }
.word[data-delay="3"] { --delay: 3; }

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    animation: fade-in-up 0.8s var(--transition-smooth) 0.6s forwards;
    opacity: 0;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s var(--transition-smooth) 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-primary);
}

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

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--transition-smooth);
}

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

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

/* Hero Phone Mockup */
.hero-phone {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    animation: float-phone 6s ease-in-out infinite;
    display: none;
}

@media (min-width: 1200px) {
    .hero-phone {
        display: block;
    }
}

@keyframes float-phone {
    0%, 100% {
        transform: translateY(-50%) rotate(5deg);
    }
    50% {
        transform: translateY(calc(-50% - 20px)) rotate(8deg);
    }
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e1e1e 0%, #0a0a0a 100%);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.phone-content {
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-app-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    animation: pulse 2s infinite;
}

.phone-text {
    width: 60%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.phone-text.short {
    width: 40%;
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 20px;
}

.phone-glow {
    position: absolute;
    inset: -50px;
    background: var(--gradient-primary);
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fade-in-up 0.8s var(--transition-smooth) 1s forwards;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

.scroll-indicator span {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ============================================
   APPS SECTION
   ============================================ */
.apps-section {
    padding: 120px 24px;
    position: relative;
}

.apps-showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

/* App Card */
.app-card {
    position: relative;
    perspective: 1000px;
}

.app-card-inner {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s var(--transition-smooth);
    transform-style: preserve-3d;
    overflow: hidden;
}

.app-card-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(40px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.app-card:hover .app-card-glow {
    opacity: 0.15;
}

.app-card:hover .app-card-inner {
    border-color: var(--border-hover);
    transform: translateY(-8px);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s var(--transition-bounce);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(-5deg);
}

.icon-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* App Icon Images */
.app-icon-img {
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s var(--transition-bounce);
}

.app-card:hover .app-icon-img {
    transform: scale(1.1) rotate(-5deg);
}

/* Custom glows for each app */
.steller-glow {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%) !important;
}

.trackthis-glow {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c026d3 100%) !important;
}

/* App Download Button with Apple Logo */
.app-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.app-download .apple-logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.app-download .download-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.app-download:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.app-download:hover .download-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
}

/* View Details Button */
.app-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
}

.app-view-details svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.app-card:hover .app-view-details {
    background: var(--gradient-primary);
    border-color: transparent;
}

.app-card:hover .app-view-details svg {
    transform: translateX(4px);
}

/* Coming Soon Card */
.coming-soon-card .app-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-style: dashed;
}

.coming-soon-content {
    text-align: center;
    padding: 40px 20px;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-icon 3s ease-in-out infinite;
}

.coming-soon-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-primary);
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px 10px rgba(99, 102, 241, 0.1);
    }
}

.coming-soon-content .app-name {
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.coming-soon-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.coming-soon-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: bounce-dots 1.4s infinite ease-in-out both;
}

.coming-soon-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.coming-soon-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce-dots {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.app-badge {
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.app-badge.featured {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-color: rgba(99, 102, 241, 0.2);
}

.app-content {
    margin-bottom: 24px;
}

.app-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.app-category {
    display: inline-block;
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.app-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-stats {
    display: flex;
    gap: 24px;
}

.app-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-stars {
    display: flex;
    color: #fbbf24;
}

.stat-stars svg {
    width: 16px;
    height: 16px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* App Preview (Screenshots) */
.app-preview {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s var(--transition-smooth);
    pointer-events: none;
}

.app-card:hover .app-preview {
    opacity: 1;
    right: -180px;
}

.preview-screens {
    display: flex;
    gap: -40px;
}

.preview-screen {
    width: 100px;
    height: 200px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: rotate(calc(var(--i) * 5deg - 5deg)) translateX(calc(var(--i) * -30px));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s var(--transition-smooth);
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Skills */
.skills {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s var(--transition-smooth);
}

.skill:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.skill-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.skill span {
    font-weight: 600;
    min-width: 80px;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0;
    transition: width 1s var(--transition-smooth);
}

.skill.visible .skill-progress {
    width: var(--progress);
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--transition-bounce);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

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

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-secondary);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 120px 24px;
    overflow: hidden;
}

.testimonials-track {
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    animation: scroll-testimonials 30s linear infinite;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 3 - 72px));
    }
}

.testimonials-slider:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-source {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 24px;
}

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

.contact-content {
    text-align: center;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.contact-arrow svg {
    width: 20px;
    height: 20px;
}

.contact-card:hover .contact-arrow {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 32px;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.made-with .heart {
    color: #ef4444;
    animation: heartbeat 1s infinite;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .apps-showcase {
        grid-template-columns: 1fr;
    }

    .app-preview {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero-title {
        font-size: clamp(36px, 8vw, 56px);
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .apps-showcase {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .testimonial-card {
        width: 320px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .app-card-inner {
        padding: 24px;
    }

    .skill {
        flex-wrap: wrap;
    }

    .skill-bar {
        width: 100%;
        margin-top: 8px;
    }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--glow-primary);
    }
    50% {
        box-shadow: 0 0 0 20px transparent;
    }
}
