/* ===== Premium Portfolio CSS - Enhanced Design ===== */

:root {
    /* Color Palette */
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --secondary: #06B6D4;
    --accent-pink: #EC4899;
    --accent-orange: #F97316;
    --success: #10B981;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #A78BFA 50%, #EC4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(236, 72, 153, 0.5));
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* Background */
    --bg-dark: #0A0A0F;
    --bg-darker: #050507;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-strong: rgba(255, 255, 255, 0.08);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.3);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1400px;
    --section-padding: 60px;

    /* Effects */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --blur-sm: blur(10px);
    --blur-md: blur(20px);
    --blur-lg: blur(60px);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

::selection {
    background: var(--primary);
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ===== Noise Overlay ===== */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ===== Custom Cursor ===== */
.cursor-wrapper {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
}

.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-blur {
    position: fixed;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(5px);
    transition: width 0.3s, height 0.3s;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid white;
    mix-blend-mode: normal;
}

.cursor-blur.hover {
    width: 80px;
    height: 80px;
}

@media (max-width: 768px) {

    .cursor,
    .cursor-blur {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.loader-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: letterReveal 0.6s ease forwards;
}

.loader-letter:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes letterReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.loader-line {
    width: 200px;
    height: 2px;
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-primary);
    animation: loadProgress 1.5s ease forwards;
}

@keyframes loadProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.loader-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: var(--blur-md);
    opacity: 0;
    transition: opacity var(--transition);
    border-bottom: 1px solid transparent;
}

.nav.scrolled::before {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.05);
}

.nav>* {
    position: relative;
    z-index: 1;
}

.logo-box {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform var(--transition);
}

.logo-box:hover {
    transform: scale(1.05);
}

.logo-box.small {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Desktop navigation links container */
.nav-links-desktop {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-glass);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile navigation menu - hidden by default */
.nav-menu {
    display: none;
}

.nav-link {
    position: relative;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

.nav-link.active {
    color: var(--text-primary);
    background: var(--gradient-primary);
}

.nav-dot {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.nav-link:hover .nav-dot {
    opacity: 1;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
    background: var(--bg-glass);
    border: none;
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* Body scroll lock for mobile menu - iOS fix */
body.nav-open {
    overflow: hidden !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: none !important;
    overscroll-behavior: none !important;
}

@media (max-width: 900px) {

    .nav-center,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        /* Completely solid background - no transparency */
        background: #0f0f14;
        background: linear-gradient(180deg, #1a1625 0%, #0f0f14 50%, #0a0a0f 100%);
        opacity: 0;
        visibility: hidden;
        /* FAST transition - 0.2s for instant feel */
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 6rem 2rem 3rem;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        /* Force GPU rendering on iOS */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Menu Background Effects - visible gradient orbs */
    .nav-menu-bg {
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        overflow: hidden;
        /* Add a visible gradient overlay */
        background:
            radial-gradient(ellipse 80% 50% at 80% 20%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
            radial-gradient(ellipse 60% 40% at 20% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    }

    .nav-orb-1,
    .nav-orb-2 {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.6;
    }

    .nav-orb-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
        background: radial-gradient(circle, rgba(124, 58, 237, 0.5) 0%, transparent 70%);
        animation: orbFloat 10s ease-in-out infinite;
    }

    .nav-orb-2 {
        width: 250px;
        height: 250px;
        bottom: -50px;
        left: -50px;
        background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
        animation: orbFloat 15s ease-in-out infinite reverse;
    }

    .nav-menu-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


    .nav-links-mobile {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link-mobile {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        font-family: var(--font-display);
        font-size: 2.25rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-menu.active .nav-link-mobile {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation delay */
    .nav-menu.active .nav-link-mobile:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-link-mobile:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active .nav-link-mobile:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-link-mobile:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active .nav-link-mobile:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-link-mobile:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-menu.active .nav-link-mobile:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-number {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--primary);
        font-family: var(--font-main);
        letter-spacing: 0.1em;
        opacity: 0.6;
    }

    .nav-link-mobile:hover,
    .nav-link-mobile.active {
        color: white;
        transform: translateX(10px);
    }

    .nav-link-mobile:hover .nav-number,
    .nav-link-mobile.active .nav-number {
        opacity: 1;
        color: var(--accent-pink);
    }

    .mobile-nav-bottom {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
    }

    .nav-menu.active .mobile-nav-bottom {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-socials {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.9rem;
    }

    .mobile-social-link {
        color: rgba(255, 255, 255, 0.6);
        transition: var(--transition);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.8rem;
    }

    .mobile-social-link:hover {
        color: white;
    }

    .mobile-cta-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        background: var(--gradient-primary);
        border-radius: var(--radius-full);
        color: white;
        font-weight: 600;
        font-size: 1rem;
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
        transition: var(--transition);
    }

    .mobile-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
    }

    .nav-toggle {
        z-index: 1001;
        position: relative;
    }

    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ===== Background Effects ===== */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

.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: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ===== Section Base ===== */
.section {
    min-height: 100vh;
    position: relative;
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-tag {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
}

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

.hero-content {
    z-index: 1;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--success);
    margin-bottom: 2rem;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.badge-dot.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.title-word {
    display: inline-block;
    margin-right: 0.07em;
}

.hero-subtitle {
    margin-bottom: 1.5rem;
}

.typing-wrapper {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-light);
}

.typing-cursor {
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-description .highlight {
    color: var(--primary-light);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--bg-glass-strong);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-content {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    width: 100%;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    overflow: hidden;
    transition: var(--transition);
}

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

.btn-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover .btn-glow {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
    transform: translateY(-3px);
}

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

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

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

.phone-wrapper {
    position: relative;
    perspective: 1000px;
}

.phone-image {
    width: 350px;
    max-width: 100%;
    filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.5));
    animation: phoneFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg) rotateX(5deg);
    }

    50% {
        transform: translateY(-20px) rotateY(5deg) rotateX(-5deg);
    }
}

.phone-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.phone-reflection {
    position: absolute;
    bottom: -30%;
    left: 5%;
    right: 5%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(124, 58, 237, 0.2), transparent);
    filter: blur(30px);
    transform: scaleY(-0.3);
    opacity: 0.5;
}

.floating-apps {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-app {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: appFloat 4s ease-in-out infinite;
}

.floating-app img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-app.app-1 {
    top: 10%;
    left: -15%;
    animation-delay: 0s;
}

.floating-app.app-2 {
    top: 30%;
    right: -20%;
    animation-delay: -1.3s;
}

.floating-app.app-3 {
    bottom: 20%;
    left: -10%;
    animation-delay: -2.6s;
}

@keyframes appFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.code-snippets {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.code-snippet {
    position: absolute;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--primary-light);
    white-space: nowrap;
    animation: codeFloat 5s ease-in-out infinite;
}

.code-snippet.snippet-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.code-snippet.snippet-2 {
    bottom: 25%;
    right: 5%;
    animation-delay: -2.5s;
}

@keyframes codeFloat {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInScroll 1s ease 2s forwards;
    z-index: 10;
}

@keyframes fadeInScroll {
    to {
        opacity: 1;
    }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.scroll-indicator:hover .mouse {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow:
        0 0 30px rgba(124, 58, 237, 0.4),
        inset 0 0 10px rgba(124, 58, 237, 0.1);
}

.wheel {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px;
    animation: scrollWheel 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(18px);
        opacity: 0;
    }
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2em;
    text-transform: lowercase;
    font-weight: 400;
    transition: var(--transition);
}

.scroll-indicator:hover span {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .phone-image {
        width: 280px;
    }

    .floating-apps {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-stats {
        flex-direction: column;
    }

    .stat-card {
        justify-content: center;
    }
}

/* ===== About Section ===== */
.about {
    background: transparent;
}

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

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.8) 100%);
}

.image-decoration {
    position: absolute;
    inset: -30px;
    pointer-events: none;
}

.decoration-svg {
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

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

.tech-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tech-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: badgeFloat 3s ease-in-out infinite;
}

.badge-swift {
    top: 20%;
    right: 0%;
    animation-delay: 0s;
}

.badge-swiftui {
    bottom: 30%;
    left: -0%;
    animation-delay: -1s;
}

.badge-xcode {
    bottom: 10%;
    right: 0%;
    animation-delay: -2s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.about-text {
    margin-bottom: 2rem;
}

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

.about-text .lead {
    font-size: 1.25rem;
}

.about-text strong {
    color: var(--text-primary);
}

.location-tag {
    display: inline-flex;
    align-items: center;
    color: var(--primary-light);
}

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

.info-card {
    position: relative;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.info-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: 0.6s;
}

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

.info-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--secondary));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(124, 58, 237, 0.2);
}

.info-card:hover::after {
    opacity: 0.3;
}

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

.card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-value {
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .about-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Apps Section ===== */
.apps-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.app-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card-bg::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: 0.6s;
}

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

.app-card-bg::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--secondary));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.app-card:hover .app-card-bg {
    border-color: rgba(124, 58, 237, 0.4);
}

.app-card:hover .app-card-bg::after {
    opacity: 0.3;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(124, 58, 237, 0.3);
}

.app-card-content {
    position: relative;
    padding: 2rem;
    z-index: 1;
}

.app-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.app-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-icon-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gradient-tiles {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.gradient-ai {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
}

.gradient-pdf {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.app-icon-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    filter: blur(20px);
    z-index: -1;
}

.app-card:hover .app-icon-glow {
    opacity: 1;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.app-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.app-badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-badge.new {
    background: var(--success);
    color: white;
}

.app-badge.featured {
    background: var(--primary);
    color: white;
}

.app-badge.popular {
    background: var(--accent-pink);
    color: white;
}

.app-tagline {
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.app-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.app-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-tech-tags {
    display: flex;
    gap: 0.5rem;
}

.app-tech-tags span {
    padding: 0.25rem 0.75rem;
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    transition: var(--transition);
}

.app-store-btn:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .apps-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .apps-showcase {
        grid-template-columns: 1fr;
    }
}

/* ===== Skills Section ===== */
.skills {
    background: transparent;
}

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

.skills-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.5);
}

.center-icon {
    margin-bottom: 0.25rem;
}

.orbit-center span {
    font-size: 0.875rem;
    font-weight: 600;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.orbit-ring.ring-1 {
    width: 220px;
    height: 220px;
    animation: orbitRotate 20s linear infinite;
}

.orbit-ring.ring-2 {
    width: 340px;
    height: 340px;
    animation: orbitRotate 30s linear infinite reverse;
}

@keyframes orbitRotate {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}

.ring-1 .orbit-item {
    --radius: 110px;
    --total: 4;
    transform:
        rotate(calc(360deg / var(--total) * var(--i))) translateY(calc(var(--radius) * -1)) rotate(calc(-360deg / var(--total) * var(--i)));
}

.ring-2 .orbit-item {
    --radius: 170px;
    --total: 6;
    transform:
        rotate(calc(360deg / var(--total) * var(--i))) translateY(calc(var(--radius) * -1)) rotate(calc(-360deg / var(--total) * var(--i)));
}

.orbit-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--bg-glass-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    animation: orbitRotateReverse 20s linear infinite;
}

.ring-2 .orbit-item span {
    animation-duration: 30s;
    animation-direction: normal;
}

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

.skills-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar-item {
    opacity: 1;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.skill-percent {
    font-size: 0.875rem;
    color: var(--primary-light);
}

.skill-bar-track {
    height: 8px;
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
    .skills-container {
        grid-template-columns: 1fr;
    }

    .skills-orbit {
        width: 300px;
        height: 300px;
        margin-bottom: 3rem;
    }

    .orbit-ring.ring-1 {
        width: 180px;
        height: 180px;
    }

    .orbit-ring.ring-2 {
        width: 270px;
        height: 270px;
    }

    .ring-1 .orbit-item {
        --radius: 90px;
    }

    .ring-2 .orbit-item {
        --radius: 135px;
    }
}

/* ===== Client Journey Section ===== */
.journey {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.journey::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== Journey Container - New Structure ===== */
.journey-container {
    margin-top: 4rem;
}

/* Step Numbers Row */
.journey-numbers-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.5) 0%, rgba(124, 58, 237, 0.15) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: var(--transition);
}

.step-number:hover,
.step-number.hovered {
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.9) 0%, rgba(124, 58, 237, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.6));
    cursor: pointer;
}

/* Step Card hover state */
.step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card.hovered {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.4);
}

/* Timeline Line Wrapper */
.journey-line-wrapper {
    position: relative;
    padding: 1.5rem 0;
    margin: 0 5%;
}

.journey-line {
    height: 6px;
    background: linear-gradient(90deg,
            rgba(124, 58, 237, 0.3) 0%,
            rgba(124, 58, 237, 0.6) 15%,
            rgba(167, 139, 250, 1) 50%,
            rgba(124, 58, 237, 0.6) 85%,
            rgba(124, 58, 237, 0.3) 100%);
    border-radius: 6px;
    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.5),
        0 0 40px rgba(124, 58, 237, 0.3),
        0 0 60px rgba(124, 58, 237, 0.2);
}

.journey-line-glow {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: lineShine 3s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes lineShine {
    0% {
        transform: translateY(-50%) translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
}

/* Cards Row */
.journey-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Step Card with Premium Styling */
.step-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Card Glow Effect */
.step-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: 0.6s;
}

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

/* Card Gradient Border on Hover */
.step-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--secondary));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.step-card:hover::after {
    opacity: 0.3;
}

/* Step Icon */
.step-icon-wrapper {
    position: relative;
    display: inline-flex;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: var(--transition);
}

.step-card:hover .step-icon-wrapper {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.step-icon {
    font-size: 2.5rem;
    z-index: 1;
    transition: var(--transition);
}

.step-icon-glow {
    position: absolute;
    inset: -10px;
    background: var(--gradient-glow);
    filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.step-card:hover .step-icon {
    transform: scale(1.2) rotate(10deg);
}

.step-card:hover .step-icon-glow {
    opacity: 0.5;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.step-features {
    list-style: none;
    text-align: left;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    margin: 0;
}

.step-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.6rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.step-features li:last-child {
    border-bottom: none;
}

.step-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.9rem;
}

.step-card:hover .step-features li {
    color: var(--text-primary);
}

/* Journey CTA */
.journey-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
}

.journey-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.journey-cta p {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
}

/* Journey Responsive */
@media (max-width: 1200px) {

    .journey-numbers-row,
    .journey-cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .journey-line-wrapper {
        display: none;
    }

    .step-number {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {

    .journey-numbers-row,
    .journey-cards-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        padding: 1.5rem 1.25rem;
    }

    .step-number {
        font-size: 3rem;
    }

    .step-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .step-icon {
        font-size: 2rem;
    }

    .journey-cta {
        padding: 2rem;
    }

    .journey-cta p {
        font-size: 1.25rem;
    }
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.glass-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--blur-sm);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--bg-glass-strong);
    transform: translateX(5px);
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-value {
    font-weight: 500;
    transition: color var(--transition);
}

a.contact-value:hover {
    color: var(--primary-light);
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

.contact-form {
    padding: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-main);
    resize: none;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--primary-light);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
}

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

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }
}

/* ===== Magnetic Effect ===== */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-left"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ===== Tech Grid (Hero) ===== */
.tech-grid-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
}

.tech-grid-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    animation: techItemFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--delay) * 0.2s);
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: var(--bg-glass-strong);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

@keyframes techItemFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.tech-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--radius-md);
    color: white;
    overflow: hidden;
}

.tech-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* Individual tech icons - no background, just the image */
.swift-icon,
.swiftui-icon,
.uikit-icon,
.xcode-icon,
.flutter-icon,
.android-icon,
.firebase-icon,
.apple-icon,
.git-icon {
    background: transparent;
}

/* Make Apple icon white for dark background */
.apple-icon img {
    filter: invert(1);
}

.tech-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Floating Code Editor */
.floating-editor {
    position: relative;
    margin-top: 30px;
    margin-left: auto;
    width: 300px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: var(--blur-md);
    animation: editorFloat 4s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes editorFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.editor-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-dots {
    display: flex;
    gap: 6px;
}

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

.editor-dots span:nth-child(1) {
    background: #FF5F56;
}

.editor-dots span:nth-child(2) {
    background: #FFBD2E;
}

.editor-dots span:nth-child(3) {
    background: #27CA40;
}

.editor-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.editor-content {
    padding: 1rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.7rem;
    line-height: 1.8;
}

.code-line {
    white-space: nowrap;
}

.keyword {
    color: #FF79C6;
}

.type {
    color: #8BE9FD;
}

.string {
    color: #F1FA8C;
}

/* ===== Skills Grid (New) ===== */
.skills-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.skill-category-card {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.skill-category-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: 0.6s;
}

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

.skill-category-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--secondary));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.skill-category-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(124, 58, 237, 0.25);
}

.skill-category-card:hover::after {
    opacity: 0.3;
}

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

.category-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

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

.skill-tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-glass-strong);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* Skills Progress Bars Section */
.skills-bars-section {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .skills-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .floating-editor {
        display: none;
    }
}

@media (max-width: 600px) {
    .skills-grid-new {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        gap: 0.75rem;
        padding: 0.5rem;
    }

    .tech-item {
        padding: 1rem 0.5rem;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ===== Coreoctal Company Section ===== */
.company {
    padding: 6rem 0;
}

.company-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.company-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    overflow: hidden;
    transition: var(--transition);
}

.company-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.15);
}

.company-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    animation: companyGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes companyGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.8;
    }
}

.company-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.company-logo-wrapper {
    flex-shrink: 0;
    text-align: center;
}

.company-logo {
    width: 120px;
    height: 120px;
    animation: logoFloat 4s ease-in-out infinite;
}

.company-logo img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    filter: drop-shadow(0 10px 30px rgba(0, 200, 200, 0.4));
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.company-badge {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    display: inline-block;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.company-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.company-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.company-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
}

.highlight-icon {
    font-size: 1.25rem;
}

.highlight-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.company-link .btn-icon {
    width: 18px;
    height: 18px;
}

/* Company section responsive */
@media (max-width: 768px) {
    .company-content {
        flex-direction: column;
        text-align: center;
    }

    .company-logo-wrapper {
        margin: 0 auto;
    }

    .company-logo {
        width: 120px;
        height: 120px;
    }

    .company-name {
        font-size: 2rem;
    }

    .company-highlights {
        grid-template-columns: 1fr;
    }

    .company-link {
        justify-content: center;
        width: 100%;
    }
}

/* ===================================================
   COMPREHENSIVE RESPONSIVE DESIGN - ALL DEVICES
   Breakpoints: 320px, 375px, 480px, 600px, 768px, 
   900px, 1024px, 1280px, 1440px, 1920px, 2560px+
   =================================================== */

/* ===== Extra Large Screens (2560px+) - 4K Displays ===== */
@media (min-width: 2560px) {
    :root {
        --container-max: 1800px;
        --section-padding: clamp(120px, 12vh, 200px);
    }

    html {
        font-size: 20px;
    }

    .hero-title {
        font-size: 6rem;
    }

    .section-title {
        font-size: 4.5rem;
    }

    .hero-description {
        font-size: 1.5rem;
        max-width: 700px;
    }

    .typing-wrapper {
        font-size: 2rem;
    }

    .tech-grid-wrapper {
        max-width: 700px;
    }

    .tech-item {
        padding: 2rem 1.5rem;
    }

    .tech-icon {
        width: 70px;
        height: 70px;
    }

    .tech-icon svg {
        width: 36px;
        height: 36px;
    }

    .floating-editor {
        width: 400px;
    }

    .editor-content {
        font-size: 0.85rem;
    }

    .apps-showcase {
        gap: 3rem;
    }

    .app-card-content {
        padding: 3rem;
    }

    .app-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .app-name {
        font-size: 1.5rem;
    }

    .step-card {
        padding: 3rem 2rem;
    }

    .step-number {
        font-size: 6rem;
    }

    .step-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .step-icon {
        font-size: 3rem;
    }

    .image-frame {
        width: 350px;
        height: 350px;
    }
}

/* ===== Large Desktops (1920px - 2559px) ===== */
@media (min-width: 1920px) and (max-width: 2559px) {
    :root {
        --container-max: 1600px;
    }

    html {
        font-size: 18px;
    }

    .hero-title {
        font-size: 5.5rem;
    }

    .tech-grid-wrapper {
        max-width: 600px;
    }

    .image-frame {
        width: 320px;
        height: 320px;
    }
}

/* ===== Standard Desktops (1440px - 1919px) ===== */
@media (min-width: 1440px) and (max-width: 1919px) {
    :root {
        --container-max: 1400px;
    }

    html {
        font-size: 17px;
    }
}

/* ===== Small Desktops / Large Laptops (1280px - 1439px) ===== */
@media (min-width: 1280px) and (max-width: 1439px) {
    :root {
        --container-max: 1200px;
    }

    html {
        font-size: 16px;
    }

    .hero-container {
        gap: 3rem;
    }

    .tech-grid-wrapper {
        max-width: 450px;
    }

    .floating-editor {
        width: 280px;
    }
}

/* ===== Laptops (1024px - 1279px) ===== */
@media (min-width: 1024px) and (max-width: 1279px) {
    :root {
        --container-max: 1000px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .tech-grid-wrapper {
        max-width: 400px;
    }

    .floating-editor {
        width: 260px;
        margin-top: 20px;
    }

    .tech-item {
        padding: 1rem 0.75rem;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
    }

    .company-card {
        padding: 2.5rem;
    }
}

/* ===== Tablets & Small Laptops (900px - 1023px) ===== */
@media (min-width: 900px) and (max-width: 1023px) {

    .nav-center,
    .nav-cta {
        display: flex;
    }

    .nav-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        background: var(--bg-glass);
        flex-direction: row;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .typing-wrapper {
        font-size: 1.25rem;
    }

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

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

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

    .tech-grid-wrapper {
        max-width: 350px;
    }

    .tech-grid {
        gap: 0.75rem;
        padding: 0.5rem;
    }

    .tech-item {
        padding: 0.875rem 0.5rem;
    }

    .tech-icon {
        width: 36px;
        height: 36px;
    }

    .tech-item span {
        font-size: 0.7rem;
    }

    .floating-editor {
        display: none;
    }

    .about-grid {
        gap: 3rem;
    }

    .image-frame {
        width: 240px;
        height: 240px;
    }
}

/* ===== Tablets (768px - 899px) ===== */
@media (min-width: 768px) and (max-width: 899px) {
    .container {
        padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    }

    .nav-center,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .typing-wrapper {
        font-size: 1.35rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
        font-size: 1.1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
        flex: 0 1 auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .tech-grid-wrapper {
        max-width: 420px;
    }

    .tech-grid {
        gap: 1rem;
    }

    .tech-item {
        padding: 1.25rem 0.75rem;
    }

    .tech-icon {
        width: 45px;
        height: 45px;
    }

    .floating-editor {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image-wrapper {
        order: -1;
    }

    .image-frame {
        width: 260px;
        height: 260px;
    }

    .about-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
    }

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

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

    .journey-numbers-row,
    .journey-cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .journey-line-wrapper {
        display: none;
    }

    .step-number {
        font-size: 3.5rem;
    }

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

    .company-card {
        padding: 2rem;
    }

    .company-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .company-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
}

/* ===== Large Phones / Phablets (600px - 767px) ===== */
@media (min-width: 600px) and (max-width: 767px) {
    .container {
        padding: 0 clamp(1rem, 4vw, 2rem);
    }

    .section {
        padding: clamp(60px, 12vh, 100px) 0;
    }

    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

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

    .hero {
        padding-top: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }

    .typing-wrapper {
        font-size: 1.2rem;
    }

    .hero-description {
        margin: 0 auto 1.5rem;
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.875rem;
    }

    .stat-card {
        padding: 0.875rem;
        flex: 0 1 calc(50% - 0.5rem);
        min-width: 140px;
    }

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

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-cta {
        justify-content: center;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .tech-grid-wrapper {
        max-width: 380px;
    }

    .tech-grid {
        gap: 0.75rem;
    }

    .tech-item {
        padding: 1rem 0.5rem;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
    }

    .tech-item span {
        font-size: 0.75rem;
    }

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

    .about-image-wrapper {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .image-frame {
        width: 220px;
        height: 220px;
    }

    .about-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .info-card {
        padding: 1rem;
    }

    .card-icon {
        font-size: 1.25rem;
    }

    .card-value {
        font-size: 0.8rem;
    }

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

    .app-card-content {
        padding: 1.5rem;
    }

    .app-icon-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }

    .app-name {
        font-size: 1.1rem;
    }

    .app-tagline {
        font-size: 0.8rem;
    }

    .app-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

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

    .skill-category-card {
        padding: 1.25rem;
    }

    .journey-numbers-row,
    .journey-cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .journey-line-wrapper {
        display: none;
    }

    .step-number {
        font-size: 3rem;
    }

    .step-card {
        padding: 1.5rem 1.25rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .journey-cta {
        padding: 2rem;
        margin-top: 3rem;
    }

    .journey-cta p {
        font-size: 1.2rem;
    }

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

    .contact-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .company-card {
        padding: 1.75rem;
    }

    .company-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .company-logo {
        width: 100px;
        height: 100px;
    }

    .company-name {
        font-size: 1.75rem;
    }

    .company-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

/* ===== Standard Phones (480px - 599px) ===== */
@media (min-width: 480px) and (max-width: 599px) {
    :root {
        --section-padding: clamp(50px, 10vh, 80px);
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav {
        padding: 0.875rem 1rem;
    }

    .logo-box {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.875rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .hero {
        padding-top: 70px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.75rem);
        margin-bottom: 1rem;
    }

    .typing-wrapper {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .stat-card {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
    }

    .stat-icon {
        font-size: 1.25rem;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .tech-grid-wrapper {
        max-width: 100%;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
        padding: 0.5rem;
    }

    .tech-item {
        padding: 0.875rem 0.375rem;
    }

    .tech-icon {
        width: 36px;
        height: 36px;
    }

    .tech-icon svg {
        width: 20px;
        height: 20px;
    }

    .tech-item span {
        font-size: 0.65rem;
    }

    .image-frame {
        width: 200px;
        height: 200px;
        border-width: 3px;
    }

    .image-decoration {
        inset: -20px;
    }

    .tech-badges {
        display: none;
    }

    .about-text .lead {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .info-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
        padding: 1rem;
    }

    .card-icon {
        margin-bottom: 0;
    }

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

    .app-card-content {
        padding: 1.5rem;
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }

    .app-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .app-info {
        flex: 1;
    }

    .app-header {
        margin-bottom: 0.25rem;
    }

    .app-name {
        font-size: 1.1rem;
    }

    .app-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
    }

    .app-tagline {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .app-description {
        font-size: 0.85rem;
        margin-bottom: 0.875rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .app-tech-tags span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .app-store-btn {
        font-size: 0.75rem;
    }

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

    .skill-category-card {
        padding: 1.25rem;
    }

    .category-icon {
        width: 36px;
        height: 36px;
    }

    .category-header h3 {
        font-size: 0.95rem;
    }

    .skill-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.625rem;
    }

    .journey-numbers-row,
    .journey-cards-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .journey-container {
        margin-top: 2.5rem;
    }

    .journey-numbers-row {
        display: none;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-icon-wrapper {
        width: 65px;
        height: 65px;
    }

    .step-icon {
        font-size: 1.75rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 0.85rem;
    }

    .step-features {
        padding: 0.875rem;
    }

    .step-features li {
        font-size: 0.75rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }

    .journey-cta {
        padding: 1.75rem;
        margin-top: 2rem;
    }

    .journey-cta p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .contact-info {
        gap: 0.75rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-icon {
        font-size: 1.25rem;
    }

    .contact-label {
        font-size: 0.7rem;
    }

    .contact-value {
        font-size: 0.9rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.625rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
    }

    .company-card {
        padding: 1.5rem;
    }

    .company-logo {
        width: 90px;
        height: 90px;
    }

    .company-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .company-tagline {
        font-size: 1rem;
    }

    .company-description {
        font-size: 0.9rem;
    }

    .company-highlights {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .highlight-item {
        padding: 0.625rem 0.875rem;
    }

    .highlight-icon {
        font-size: 1.1rem;
    }

    .highlight-item span {
        font-size: 0.85rem;
    }

    .footer {
        padding: 2rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-brand {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-brand p {
        font-size: 0.8rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.25rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        bottom: 2rem;
    }

    .mouse {
        width: 24px;
        height: 40px;
    }

    .scroll-indicator span {
        font-size: 0.7rem;
    }
}

/* ===== Small Phones (375px - 479px) ===== */
@media (min-width: 375px) and (max-width: 479px) {
    :root {
        --section-padding: clamp(40px, 8vh, 60px);
    }

    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 0.75rem 1rem;
    }

    .logo-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-tag {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }

    .section-title {
        font-size: clamp(1.35rem, 6vw, 2rem);
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 65px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.45rem 0.875rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }

    .typing-wrapper {
        font-size: 1rem;
    }

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

    .stat-card {
        padding: 0.875rem;
    }

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

    .stat-plus {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }

    .tech-grid {
        gap: 0.5rem;
        padding: 0.25rem;
    }

    .tech-item {
        padding: 0.75rem 0.3rem;
    }

    .tech-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .tech-icon svg {
        width: 18px;
        height: 18px;
    }

    .tech-item span {
        font-size: 0.6rem;
    }

    .image-frame {
        width: 180px;
        height: 180px;
    }

    .about-text .lead {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .info-card {
        padding: 0.875rem;
    }

    .card-icon {
        font-size: 1.1rem;
    }

    .card-value {
        font-size: 0.8rem;
    }

    .card-label {
        font-size: 0.65rem;
    }

    .app-card-content {
        padding: 1.25rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .app-name {
        font-size: 1.15rem;
    }

    .app-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .skill-category-card {
        padding: 1.1rem;
    }

    .category-icon {
        width: 32px;
        height: 32px;
    }

    .category-header h3 {
        font-size: 0.9rem;
    }

    .skill-tag {
        font-size: 0.65rem;
        padding: 0.275rem 0.5rem;
    }

    .step-card {
        padding: 1.25rem;
    }

    .step-icon-wrapper {
        width: 58px;
        height: 58px;
    }

    .step-icon {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .journey-cta {
        padding: 1.5rem;
    }

    .journey-cta p {
        font-size: 1rem;
    }

    .contact-card {
        padding: 0.875rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .contact-form {
        padding: 1.1rem;
    }

    .company-card {
        padding: 1.25rem;
    }

    .company-logo {
        width: 80px;
        height: 80px;
    }

    .company-name {
        font-size: 1.35rem;
    }

    .company-tagline {
        font-size: 0.95rem;
    }

    .company-description {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .highlight-item {
        padding: 0.5rem 0.75rem;
    }

    .highlight-item span {
        font-size: 0.8rem;
    }
}

/* ===== Extra Small Phones (320px - 374px) ===== */
@media (max-width: 374px) {
    :root {
        --section-padding: clamp(35px, 7vh, 50px);
    }

    html {
        font-size: 14px;
    }

    .container {
        padding: 0 0.875rem;
    }

    .nav {
        padding: 0.625rem 0.875rem;
    }

    .logo-box {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .nav-toggle {
        width: 36px;
        height: 36px;
    }

    .nav-toggle span {
        width: 18px;
    }

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

    .section-tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.625rem;
    }

    .section-title {
        font-size: clamp(1.2rem, 7vw, 1.75rem);
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
        margin-bottom: 1.25rem;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 11vw, 2.25rem);
        margin-bottom: 0.875rem;
    }

    .typing-wrapper {
        font-size: 0.9rem;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
        line-height: 1.65;
    }

    .hero-stats {
        margin-bottom: 1.5rem;
        gap: 0.625rem;
    }

    .stat-card {
        padding: 0.75rem;
        gap: 0.625rem;
    }

    .stat-icon {
        font-size: 1.1rem;
    }

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

    .stat-plus {
        font-size: 0.75rem;
    }

    .stat-label {
        font-size: 0.625rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .btn-icon svg {
        width: 16px;
        height: 16px;
    }

    .tech-grid {
        gap: 0.4rem;
        padding: 0.125rem;
    }

    .tech-item {
        padding: 0.625rem 0.25rem;
        border-radius: 12px;
    }

    .tech-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .tech-icon svg {
        width: 16px;
        height: 16px;
    }

    .tech-item span {
        font-size: 0.55rem;
    }

    .image-frame {
        width: 160px;
        height: 160px;
        border-width: 2px;
    }

    .image-decoration {
        inset: -15px;
    }

    .about-text .lead {
        font-size: 0.95rem;
    }

    .about-text p {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .location-tag {
        display: block;
        margin-top: 0.25rem;
    }

    .info-card {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .card-icon {
        font-size: 1rem;
    }

    .card-label {
        font-size: 0.6rem;
    }

    .card-value {
        font-size: 0.75rem;
    }

    .app-card {
        border-radius: 20px;
    }

    .app-card-content {
        padding: 1rem;
    }

    .app-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .app-icon-img,
    .app-icon-placeholder {
        border-radius: 14px;
    }

    .app-name {
        font-size: 1rem;
    }

    .app-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.35rem;
    }

    .app-tagline {
        font-size: 0.75rem;
    }

    .app-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .app-tech-tags {
        gap: 0.35rem;
    }

    .app-tech-tags span {
        font-size: 0.625rem;
        padding: 0.15rem 0.45rem;
    }

    .app-store-btn {
        font-size: 0.7rem;
    }

    .skill-category-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .category-header {
        gap: 0.5rem;
        margin-bottom: 0.875rem;
    }

    .category-icon {
        width: 28px;
        height: 28px;
    }

    .category-icon svg {
        width: 16px;
        height: 16px;
    }

    .category-header h3 {
        font-size: 0.85rem;
    }

    .skill-tags {
        gap: 0.375rem;
    }

    .skill-tag {
        font-size: 0.6rem;
        padding: 0.225rem 0.45rem;
    }

    .step-card {
        padding: 1.1rem;
        border-radius: 20px;
    }

    .step-icon-wrapper {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
    }

    .step-icon {
        font-size: 1.35rem;
    }

    .step-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .step-description {
        font-size: 0.75rem;
        margin-bottom: 0.875rem;
        line-height: 1.6;
    }

    .step-features {
        padding: 0.75rem;
        border-radius: 12px;
    }

    .step-features li {
        font-size: 0.7rem;
        padding: 0.4rem 0;
        padding-left: 1.25rem;
    }

    .step-features li::before {
        font-size: 0.8rem;
    }

    .journey-cta {
        padding: 1.25rem;
        border-radius: 20px;
        margin-top: 1.5rem;
    }

    .journey-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .contact-card {
        padding: 0.75rem;
        border-radius: 14px;
    }

    .contact-icon {
        font-size: 1.1rem;
    }

    .contact-label {
        font-size: 0.6rem;
    }

    .contact-value {
        font-size: 0.8rem;
        word-break: break-word;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .contact-form {
        padding: 1rem;
        border-radius: 18px;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.875rem 0;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .company-card {
        padding: 1.1rem;
        border-radius: 22px;
    }

    .company-logo {
        width: 70px;
        height: 70px;
    }

    .company-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        margin-top: 0.75rem;
    }

    .company-name {
        font-size: 1.25rem;
    }

    .company-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .company-description {
        font-size: 0.8rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }

    .company-highlights {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .highlight-item {
        padding: 0.45rem 0.625rem;
        border-radius: 10px;
    }

    .highlight-icon {
        font-size: 1rem;
    }

    .highlight-item span {
        font-size: 0.75rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-brand {
        gap: 0.5rem;
    }

    .logo-box.small {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .footer-brand p {
        font-size: 0.75rem;
    }

    .footer-links {
        gap: 0.5rem 1rem;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .footer-copyright p {
        font-size: 0.7rem;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        gap: 0.75rem;
    }

    .mouse {
        width: 22px;
        height: 36px;
    }

    .wheel {
        width: 3px;
        height: 8px;
        top: 8px;
    }

    .scroll-indicator span {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects on touch devices for better performance */
    .app-card:hover,
    .stat-card:hover,
    .info-card:hover,
    .skill-category-card:hover,
    .step-card:hover {
        transform: none;
    }

    /* Increase touch targets */
    .btn {
        min-height: 48px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .social-link {
        min-width: 48px;
        min-height: 48px;
    }

    /* Disable custom cursor on touch devices */
    .cursor,
    .cursor-blur {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    button {
        cursor: auto !important;
    }
}

/* ===== Landscape Phone Orientation ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .section {
        min-height: auto;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 0 1 auto;
    }

    .hero-cta {
        flex-direction: row;
    }

    .btn {
        width: auto;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ===== Print Styles ===== */
@media print {

    .noise-overlay,
    .cursor-wrapper,
    .preloader,
    .bg-effects,
    .scroll-indicator,
    .nav {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ===== Reduced Motion Preferences ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .orb,
    .phone-image,
    .tech-item,
    .floating-editor,
    .loader-letter,
    .wheel {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== MOBILE-SPECIFIC FIXES ===== */

/* Hide scroll indicator on mobile to prevent overlap with buttons */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none !important;
    }
}

/* Footer Mobile Fixes - Better wrapping and spacing */
@media (max-width: 600px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 0.75rem;
        padding: 0 0.5rem;
    }

    .footer-links a {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }
}

/* Extra small footer fixes */
@media (max-width: 374px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links a {
        font-size: 0.75rem;
    }
}

/* ===== Desktop/Mobile Visibility Classes ===== */

/* Mobile-only elements (hidden on desktop) */
.mobile-only {
    display: none;
}

/* Desktop-only elements (shown by default) */
.desktop-only {
    display: grid;
}

/* Show mobile layout, hide desktop layout on small screens */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }
}

/* ===== Journey Section - Mobile Alternating Layout ===== */
.journey-mobile-steps {
    /* Hidden by default on desktop via .mobile-only class */
    /* Flex layout applies only on mobile media query below */
    flex-direction: column;
    gap: 2rem;
}

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

.step-number-mobile {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.9) 0%, rgba(124, 58, 237, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

/* Linked Hover Effect - Using .hovered class added by JavaScript */
.journey-step-mobile.hovered .step-card {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

.journey-step-mobile.hovered .step-number-mobile {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.6));
}

/* Make step-card transitions smooth */
.journey-step-mobile .step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Mobile Journey Step Card Adjustments */
@media (max-width: 768px) {
    .journey-mobile-steps {
        display: flex;
    }

    .journey-mobile-steps .step-card {
        width: 100%;
        padding: 1.5rem;
    }

    .journey-mobile-steps .step-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .journey-mobile-steps .step-icon {
        font-size: 1.5rem;
    }

    .journey-mobile-steps .step-title {
        font-size: 1.15rem;
    }

    .journey-mobile-steps .step-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .journey-mobile-steps .step-features {
        padding: 0.875rem;
    }

    .journey-mobile-steps .step-features li {
        font-size: 0.75rem;
        padding: 0.4rem 0;
        padding-left: 1.5rem;
    }
}

/* Extra small mobile journey adjustments */
@media (max-width: 374px) {
    .step-number-mobile {
        font-size: 2.5rem;
    }

    .journey-mobile-steps .step-card {
        padding: 1.25rem;
    }

    .journey-mobile-steps .step-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .journey-mobile-steps .step-icon {
        font-size: 1.25rem;
    }

    .journey-mobile-steps .step-title {
        font-size: 1rem;
    }

    .journey-mobile-steps .step-description {
        font-size: 0.8rem;
    }
}

/* ===== Services Section ===== */
.services {
    background: transparent;
}

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

/* Service Card with Premium Styling - Matching Journey Card Design */
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Card Glow Effect */
.service-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: 0.6s;
}

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

/* Card Gradient Border on Hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--secondary));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:hover::after {
    opacity: 0.3;
}

/* Service Icon - Matching Journey Icon Style */
.service-icon-wrapper {
    position: relative;
    display: inline-flex;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.service-icon {
    font-size: 2.5rem;
    z-index: 1;
    transition: var(--transition);
}

.service-icon-glow {
    position: absolute;
    inset: -10px;
    background: var(--gradient-glow);
    filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card:hover .service-icon-glow {
    opacity: 0.5;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.service-features {
    list-style: none;
    text-align: left;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    margin: 0;
}

.service-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.6rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-card:hover .service-features li {
    color: var(--text-primary);
}

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .service-icon {
        font-size: 2rem;
    }
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--bg-dark);
    overflow: hidden;
}

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

.testimonial-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars span {
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* ===== Blog Section ===== */
.blog {
    background: linear-gradient(180deg, rgba(15, 15, 20, 1) 0%, var(--bg-dark) 100%);
}

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

.blog-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
}

.blog-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-date,
.blog-read-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--text-primary);
    gap: 0.75rem;
}

.blog-link svg {
    transition: transform var(--transition);
}

.blog-link:hover svg {
    transform: translateX(3px);
}

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

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 150px;
    }

    .blog-content {
        padding: 1.25rem;
    }
}

/* ===== Languages Section ===== */
.languages {
    background: transparent;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.language-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.language-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: 0.6s;
}

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

.language-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--secondary));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.language-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(124, 58, 237, 0.25);
}

.language-card:hover::after {
    opacity: 0.3;
}

.language-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.language-info {
    margin-bottom: 1.5rem;
}

.language-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.language-level {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
}

.language-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.language-progress {
    height: 100%;
    width: var(--progress);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

@media (max-width: 768px) {
    .languages-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .language-card {
        padding: 1.5rem;
    }

    .language-flag {
        font-size: 2.5rem;
    }
}

/* ===== FAQ Section ===== */
.faq {
    background: transparent;
}

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

.faq-item {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item::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: 0.6s;
    pointer-events: none;
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(124, 58, 237, 0.2);
}

.faq-item.active {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(124, 58, 237, 0.25);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--primary-light);
    transition: transform var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ===== New Sections Animations ===== */
.services[data-animate="fade-up"],
.testimonials[data-animate="fade-up"],
.blog[data-animate="fade-up"],
.languages[data-animate="fade-up"],
.faq[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.services.animated,
.testimonials.animated,
.blog.animated,
.languages.animated,
.faq.animated {
    opacity: 1;
    transform: translateY(0);
}