/* =====================================================
   DESIGN SYSTEM - ULTRA PREMIUM EDITION
   ===================================================== */
:root {
    /* Colors - Luxury & Premium */
    --color-bg-primary: #fdfbff;
    --color-bg-secondary: #f8f4ff;
    --color-bg-tertiary: #ffffff;
    --color-bg-glass: rgba(255, 255, 255, 0.85);
    --color-bg-glass-hover: rgba(255, 255, 255, 0.95);

    --color-text-primary: #1a1a2e;
    --color-text-secondary: rgba(30, 30, 63, 0.75);
    --color-text-tertiary: rgba(30, 30, 63, 0.55);

    --color-border: rgba(139, 92, 246, 0.12);
    --color-border-hover: rgba(139, 92, 246, 0.3);

    /* Premium Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #f43f5e 100%);
    --gradient-secondary: linear-gradient(135deg, #c4b5fd 0%, #f5d0fe 50%, #fecdd3 100%);
    --gradient-accent: linear-gradient(135deg, #a78bfa 0%, #e879f9 100%);
    --gradient-text: linear-gradient(135deg, #7c3aed 0%, #c026d3 50%, #e11d48 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);

    /* Premium Glow Effects */
    --glow-primary: 0 20px 50px rgba(139, 92, 246, 0.25), 0 0 100px rgba(139, 92, 246, 0.1);
    --glow-secondary: 0 20px 50px rgba(217, 70, 239, 0.2);
    --glow-card: 0 25px 60px rgba(139, 92, 246, 0.15);
    --shadow-soft: 0 4px 20px rgba(139, 92, 246, 0.08);
    --shadow-medium: 0 8px 40px rgba(139, 92, 246, 0.12);
    --shadow-large: 0 20px 60px rgba(139, 92, 246, 0.18);

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 2vw, 1rem);
    --font-size-base: clamp(1rem, 2.5vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 3vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 3.5vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 4vw, 2rem);
    --font-size-3xl: clamp(2rem, 5vw, 3rem);
    --font-size-4xl: clamp(2.5rem, 6vw, 4rem);
    --font-size-hero: clamp(3rem, 8vw, 6rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.75rem;
    --radius-xl: 2.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Z-Index */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-cursor: 500;
}

/* =====================================================
   DARK MODE THEME
   ===================================================== */
[data-theme="dark"] {
    --color-bg-primary: #0f0f23;
    --color-bg-secondary: #1a1a2e;
    --color-bg-tertiary: #16213e;
    --color-bg-glass: rgba(15, 15, 35, 0.85);
    --color-bg-glass-hover: rgba(26, 26, 46, 0.95);

    --color-text-primary: #f1f5f9;
    --color-text-secondary: rgba(241, 245, 249, 0.75);
    --color-text-tertiary: rgba(241, 245, 249, 0.55);

    --color-border: rgba(139, 92, 246, 0.2);
    --color-border-hover: rgba(139, 92, 246, 0.4);

    --glow-primary: 0 20px 50px rgba(139, 92, 246, 0.35), 0 0 100px rgba(139, 92, 246, 0.15);
    --glow-secondary: 0 20px 50px rgba(217, 70, 239, 0.3);
    --glow-card: 0 25px 60px rgba(139, 92, 246, 0.2);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-large: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-bg-glass);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: var(--color-text-secondary);
    margin-right: var(--space-md);
}

.theme-toggle:hover {
    border-color: var(--color-border-hover);
    background: var(--gradient-primary);
    color: white;
    transform: rotate(180deg);
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* Dark mode specific overrides */
[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .portfolio,
[data-theme="dark"] .about,
[data-theme="dark"] .services,
[data-theme="dark"] .contact {
    background: var(--color-bg-primary);
}

[data-theme="dark"] .process {
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =====================================================
   PAGE TRANSITIONS
   ===================================================== */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #f43f5e 100%);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-transitioning {
    opacity: 0.5;
}

/* =====================================================
   LIGHTBOX MODAL
   ===================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    animation: lightboxZoomIn 0.4s ease;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: white;
    padding: var(--space-lg) 0;
    font-size: var(--font-size-lg);
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: var(--space-xl);
}

.lightbox-next {
    right: var(--space-xl);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gradient-primary);
    transform: translateY(-50%) scale(1.1);
}

/* =====================================================
   CURSOR TRAIL EFFECT
   ===================================================== */
.cursor-trail-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.7;
}

/* =====================================================
   CUSTOM CURSOR - PREMIUM
   ===================================================== */
.cursor {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gradient-primary);
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
    display: none;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.cursor-follower {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.05);
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, width 0.4s ease, height 0.4s ease, border-color 0.3s ease, background 0.3s ease;
    display: none;
    backdrop-filter: blur(2px);
}

@media (pointer: fine) {

    .cursor,
    .cursor-follower {
        display: block;
    }

    body {
        cursor: none;
    }

    a,
    button {
        cursor: none;
    }
}

body.cursor-hover .cursor {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.5;
}

body.cursor-hover .cursor-follower {
    width: 80px;
    height: 80px;
    border-color: rgba(217, 70, 239, 0.6);
    background: rgba(217, 70, 239, 0.1);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7c3aed;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* =====================================================
   BUTTONS - PREMIUM
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.4), 0 0 120px rgba(139, 92, 246, 0.2);
}

.btn-primary svg {
    transition: transform var(--transition-bounce);
}

.btn-primary:hover svg {
    transform: translateX(6px);
}

.btn-secondary {
    background: var(--color-bg-glass);
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-bg-glass-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.btn-full {
    width: 100%;
}

/* =====================================================
   NAVIGATION - PREMIUM
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-lg) 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(253, 251, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.08);
}

/* Portfolio page dark navbar */
.portfolio-page .navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-page .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-page .nav-link:hover,
.portfolio-page .nav-link.active {
    color: white;
}

.portfolio-page .logo-text {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    letter-spacing: 0.08em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 25px rgba(217, 70, 239, 0.8);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-sm) 0;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-sm);
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: var(--z-fixed);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #fdfbff 0%, #f8f4ff 50%, #fdf2f8 100%);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-2xl);
        transition: right var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: var(--font-size-2xl);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* =====================================================
   HERO SECTION - ULTRA PREMIUM
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--space-5xl) + 20px) 0 var(--space-3xl);
    background: linear-gradient(180deg, #fdfbff 0%, #f8f4ff 50%, #fef7ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Animated Gradient Mesh Background */
.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(217, 70, 239, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(244, 63, 94, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 30%, rgba(251, 191, 36, 0.08) 0%, transparent 35%);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, -2%) rotate(1deg);
    }

    50% {
        transform: translate(-1%, 2%) rotate(-1deg);
    }

    75% {
        transform: translate(-2%, -1%) rotate(0.5deg);
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.8;
    animation: float 15s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #c4b5fd 0%, #f5d0fe 100%);
    top: -15%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #a78bfa 0%, #f9a8d4 100%);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fde68a 0%, #fecdd3 100%);
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

/* Floating Shapes */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 90% 80%, rgba(217, 70, 239, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.08) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 50px 50px;
    animation: sparkle 10s linear infinite;
}

@keyframes sparkle {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.98);
    }

    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: var(--z-base);
    text-align: center;
    max-width: 950px;
    padding: 0 var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-lg);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease forwards, float-badge 4s ease-in-out infinite 1s;
    box-shadow: var(--shadow-soft);
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-name {
    animation-delay: 0.5s;
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease forwards, text-glow 3s ease-in-out infinite 1.5s;
}

.title-line:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes text-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(217, 70, 239, 0.5));
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rotating Text Animation */
.rotating-text {
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-text.fade-out {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    filter: blur(4px);
}

.rotating-text.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title line rotation support */
.title-line {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-line.fade-out {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    filter: blur(4px);
}

.title-line.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--color-text-primary);
    font-weight: 700;
}

.hero-description em {
    font-style: normal;
    background: var(--gradient-secondary);
    padding: 0 6px;
    border-radius: 4px;
}

.hero-specialties {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.specialty-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
    cursor: default;
}

.specialty-tag:hover {
    transform: translateY(-3px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-soft);
    background: var(--color-bg-glass-hover);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-3xl);
    opacity: 0;
    animation: fadeInUp 1s ease 1.3s forwards;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: calc(var(--space-4xl) * -0.5);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-tertiary);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
    z-index: 10;
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-tertiary);
    font-weight: 600;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #8b5cf6, transparent);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.6);
        opacity: 0.5;
    }
}

/* =====================================================
   PORTFOLIO SECTION - PREMIUM
   ===================================================== */
.portfolio {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #f8f4ff 0%, #fefce8 50%, #f8f4ff 100%);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--color-bg-primary), transparent);
}

.portfolio-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.filter-btn {
    padding: var(--space-sm) var(--space-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    color: var(--color-text-primary);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: var(--glow-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--space-2xl);
}

.portfolio-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-card {
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.portfolio-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: transparent;
    box-shadow: var(--glow-card);
}

.portfolio-card:hover::before {
    opacity: 0.03;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
    position: relative;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shine 3s infinite;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .image-placeholder::after {
    opacity: 1;
}

@keyframes shine {
    0% {
        background-position: -100% -100%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.placeholder-icon {
    font-size: 5rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: transform var(--transition-bounce);
}

.portfolio-card:hover .placeholder-icon {
    transform: scale(1.1) rotate(5deg);
}

.portfolio-card:hover .image-placeholder {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 30, 63, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-xl);
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.view-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateY(30px) scale(0.8);
    opacity: 0;
    transition: var(--transition-spring);
    box-shadow: var(--glow-primary);
}

.portfolio-card:hover .view-btn {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.view-btn:hover {
    transform: scale(1.15) !important;
}

.portfolio-info {
    padding: var(--space-xl);
    background: var(--color-bg-tertiary);
    position: relative;
    z-index: 1;
}

.portfolio-category {
    display: inline-block;
    font-size: var(--font-size-xs);
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.portfolio-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.portfolio-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* =====================================================
   ABOUT SECTION - PREMIUM
   ===================================================== */
.about {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c4b5fd 0%, #f5d0fe 50%, #fecdd3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shine 4s infinite;
}

.placeholder-avatar {
    font-size: 10rem;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.image-decoration {
    position: absolute;
    inset: -25px;
    border: 3px solid transparent;
    border-image: var(--gradient-primary) 1;
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 160px;
    height: 160px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--glow-primary);
    animation: float-badge 4s ease-in-out infinite;
    border: 4px solid white;
}

.exp-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1;
    color: white;
}

.exp-text {
    font-size: var(--font-size-xs);
    font-weight: 600;
    opacity: 0.9;
    color: white;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
    font-size: var(--font-size-base);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.skill-item:hover {
    background: var(--color-bg-glass-hover);
    border-color: var(--color-border-hover);
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.skill-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.skill-icon svg {
    color: white;
}

.skill-item span {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.skill-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.skill-info span {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    position: relative;
    animation: skillFill 1.5s ease-out forwards;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer-bar 2s infinite;
}

@keyframes skillFill {
    from {
        width: 0;
    }
}

@keyframes shimmer-bar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skills-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-percent {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: #8b5cf6;
}

/* =====================================================
   EXPERIENCE SECTION
   ===================================================== */
.experience {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #fdfbff 0%, #f8f4ff 100%);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

@media (max-width: 992px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
}

.timeline-section {
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.timeline-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.timeline-title svg {
    color: #8b5cf6;
}

.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #8b5cf6, #d946ef);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: calc(var(--space-xl) * -1 + 2px);
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--color-bg-tertiary);
    border: 3px solid #8b5cf6;
    border-radius: 50%;
    z-index: 1;
}

.timeline-dot.active {
    background: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.timeline-content {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.timeline-content:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-soft);
    transform: translateX(5px);
}

.timeline-date {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.timeline-content h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.timeline-content p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* Reference Card */
.reference-card {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.reference-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.reference-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.reference-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.reference-details h5 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.reference-details p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.reference-details a {
    display: block;
    font-size: var(--font-size-sm);
    color: #8b5cf6;
    font-weight: 500;
}

.reference-details a:hover {
    color: #7c3aed;
}

/* =====================================================
   SERVICES SECTION - PREMIUM
   ===================================================== */
.services {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #f8f4ff 0%, #fef7ff 50%, #fefce8 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-border-hover);
    box-shadow: var(--glow-card);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card.featured {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.service-card.featured .service-title {
    color: white;
}

.service-card.featured::before {
    display: none;
}

.featured-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f8f4ff 0%, #f5d0fe 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: #8b5cf6;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.service-desc {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.service-card.featured .service-desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features li::before {
    content: '✓';
    color: #22c55e;
    font-weight: bold;
}

.service-card.featured .service-features li::before {
    color: white;
}

/* =====================================================
   CONTACT SECTION - PREMIUM
   ===================================================== */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info .section-title {
    text-align: left;
}

.contact-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.contact-item:hover {
    background: var(--color-bg-glass-hover);
    border-color: var(--color-border-hover);
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    flex-shrink: 0;
}

.contact-text-group {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.contact-text-group a,
.contact-text-group span {
    font-weight: 600;
}

.contact-text-group a:hover {
    color: #8b5cf6;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 52px;
    height: 52px;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--glow-primary);
}

.contact-form-wrapper {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-medium);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    background: var(--color-bg-tertiary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-tertiary);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* =====================================================
   FOOTER - PREMIUM
   ===================================================== */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: linear-gradient(180deg, #f8f4ff 0%, #fdfbff 100%);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border);
}

.footer-tagline {
    color: var(--color-text-secondary);
    margin-top: var(--space-sm);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: #8b5cf6;
}

.footer-bottom {
    padding-top: var(--space-xl);
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE - FULL HD (1920px+)
   ===================================================== */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .section-title {
        font-size: var(--font-size-5xl);
    }
}

/* =====================================================
   RESPONSIVE - HD / LAPTOP (1366px - 1919px)
   ===================================================== */
@media (max-width: 1366px) {
    .container {
        max-width: 1140px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   RESPONSIVE - TABLET LANDSCAPE (1024px - 1365px)
   ===================================================== */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-bg-glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: var(--space-4xl);
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 0 var(--space-lg);
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .hero-stats {
        gap: var(--space-2xl);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-track {
        gap: var(--space-lg);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-connector {
        display: none;
    }
}

/* =====================================================
   RESPONSIVE - TABLET PORTRAIT (768px - 1023px)
   ===================================================== */
@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-5xl: 5rem;
    }

    .hero {
        padding: calc(var(--space-4xl) + 60px) 0 var(--space-2xl);
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-lg);
    }

    .stat-item::after {
        display: none;
    }

    .hero-specialties {
        gap: var(--space-xs);
    }

    .specialty-tag {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.7rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--space-md);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }

    .filter-btn {
        padding: var(--space-xs) var(--space-md);
        font-size: var(--font-size-xs);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
    }

    .exp-number {
        font-size: var(--font-size-xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-description {
        font-size: var(--font-size-sm);
    }

    .scroll-indicator {
        bottom: var(--space-md);
    }

    .scroll-line {
        height: 30px;
    }

    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .footer-social {
        justify-content: center;
    }

    /* Testimonials responsive */
    .testimonial-card {
        padding: var(--space-lg);
    }

    .testimonial-text {
        font-size: var(--font-size-sm);
    }
}

/* =====================================================
   RESPONSIVE - MOBILE (480px - 767px)
   ===================================================== */
@media (max-width: 480px) {
    :root {
        --space-xl: 1.25rem;
        --space-2xl: 1.75rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3.5rem;
        --space-5xl: 4.5rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero {
        min-height: 99vh;
        padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
    }

    .scroll-indicator {
        display: flex;
        bottom: var(--space-lg);
        left: 45%;
        transform: translateX(-50%);
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: var(--space-xs) var(--space-md);
        margin-bottom: var(--space-md);
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: var(--space-md);
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: var(--space-lg);
    }

    .hero-specialties {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
        margin-bottom: var(--space-lg);
    }

    .specialty-tag {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .hero-cta {
        margin-bottom: var(--space-xl);
    }

    .hero-stats {
        flex-direction: row;
        margin-top: var(--space-lg);
        gap: var(--space-md);
        padding-bottom: var(--space-md);
    }

    .stat-number {
        font-size: var(--font-size-xl);
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .nav-menu {
        width: 100%;
        max-width: none;
        padding: var(--space-3xl);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .portfolio-card {
        border-radius: var(--radius-md);
    }

    .portfolio-info {
        padding: var(--space-md);
    }

    .portfolio-title {
        font-size: var(--font-size-base);
    }

    /* Contact responsive */
    .contact-form {
        padding: var(--space-lg);
    }

    .form-group input,
    .form-group textarea {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-sm);
    }

    /* Skills marquee responsive */
    .marquee-item {
        padding: 0 var(--space-lg);
        font-size: var(--font-size-lg);
    }

    .skills-marquee {
        padding: var(--space-md) 0;
    }

    /* Process responsive */
    .process-card {
        padding: var(--space-lg);
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }

    /* Experience badge */
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: -5px;
        right: -5px;
    }

    .exp-number {
        font-size: var(--font-size-lg);
    }

    .exp-text {
        font-size: 0.5rem;
    }
}

/* =====================================================
   RESPONSIVE - SMALL MOBILE (320px - 479px)
   ===================================================== */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .hero-badge {
        font-size: 0.6rem;
    }

    .hero-specialties {
        gap: 4px;
    }

    .specialty-tag {
        font-size: 0.6rem;
        padding: 4px 8px;
    }

    .hero-stats {
        gap: var(--space-md);
    }

    .scroll-indicator {
        display: none;
    }
}

/* =====================================================
   SKILLS MARQUEE - PREMIUM
   ===================================================== */
.skills-marquee {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    padding: var(--space-xl) 0;
    overflow: hidden;
    position: relative;
}

.skills-marquee::before,
.skills-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.skills-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #1a1a2e 0%, transparent 100%);
}

.skills-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #0f0f23 0%, transparent 100%);
}

.marquee-container {
    width: 100%;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    gap: var(--space-3xl);
    padding: 0 var(--space-lg);
    flex-shrink: 0;
}

.marquee-item {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    background: linear-gradient(135deg, #c4b5fd 0%, #f5d0fe 50%, #fecdd3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.skills-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* =====================================================
   WORK PROCESS SECTION
   ===================================================== */
.process {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #fdfbff 0%, #f8f4ff 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(217, 70, 239, 0.08) 100%);
    border-radius: 50%;
    filter: blur(80px);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-card);
    border-color: var(--color-border-hover);
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(139, 92, 246, 0.08);
    z-index: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.step-icon svg {
    stroke: #7c3aed;
    transition: var(--transition-base);
}

.process-step:hover .step-icon {
    background: var(--gradient-primary);
    transform: rotate(5deg) scale(1.1);
}

.process-step:hover .step-icon svg {
    stroke: white;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.step-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

@media (min-width: 769px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 50%;
        right: -20px;
        width: 40px;
        height: 3px;
        background: var(--gradient-primary);
        z-index: 3;
    }

    .step-connector::after {
        content: '';
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid #8b5cf6;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

    .process-step:last-child .step-connector {
        display: none;
    }
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-connector {
        display: none;
    }
}

@media (max-width: 640px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #f8f4ff 0%, #fef7ff 50%, #fdfbff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(244, 63, 94, 0.08) 100%);
    border-radius: 50%;
    filter: blur(100px);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 350px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    position: relative;
}

.testimonial-content {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-2xl);
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(139, 92, 246, 0.1);
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: var(--space-lg);
}

.testimonial-rating .star {
    font-size: 1.5rem;
    color: #fbbf24;
    margin: 0 2px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    line-height: 1.9;
    margin-bottom: var(--space-2xl);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.author-info h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.testimonial-dots .dot:hover {
    background: rgba(139, 92, 246, 0.5);
}

.testimonial-dots .dot.active {
    background: var(--gradient-primary);
    width: 36px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item.delay-1 {
    transition-delay: 0.1s;
}

.reveal-item.delay-2 {
    transition-delay: 0.2s;
}

.reveal-item.delay-3 {
    transition-delay: 0.3s;
}

.reveal-item.delay-4 {
    transition-delay: 0.4s;
}

/* Card 3D Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card:hover {
    transform: rotateY(var(--rotate-x, 0deg)) rotateX(var(--rotate-y, 0deg));
}

/* Floating Animation for Cards */
@keyframes float-subtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float-subtle 4s ease-in-out infinite;
}

.float-animation:nth-child(2) {
    animation-delay: 0.5s;
}

.float-animation:nth-child(3) {
    animation-delay: 1s;
}

.float-animation:nth-child(4) {
    animation-delay: 1.5s;
}

/* =====================================================
   PORTFOLIO DETAIL PAGES
   ===================================================== */

/* Portfolio Header */
.portfolio-header {
    padding: calc(var(--space-5xl) + 100px) 0 var(--space-4xl);
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(217, 70, 239, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.1) 0%, transparent 40%);
    pointer-events: none;
    animation: meshMove 20s ease-in-out infinite;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-2xl);
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.back-link svg {
    stroke: currentColor;
}

.portfolio-header .section-tag {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.3);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    color: white;
}

.page-title .gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #fb7185 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Portfolio Gallery */
.portfolio-gallery {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-card {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-card);
    border-color: var(--color-border-hover);
}

.gallery-image {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-showcase {
    text-align: center;
}

.showcase-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
}

.gallery-info {
    padding: var(--space-xl);
}

.gallery-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.gallery-info p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.gallery-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.gallery-tags span {
    padding: 4px 12px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: #7c3aed;
}

/* Project Showcase (Kurumsal) */
.project-showcase {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.project-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.project-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.project-subtitle {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.project-item {
    text-align: center;
}

.project-image {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: var(--transition-base);
}

.project-item:hover .project-image {
    transform: scale(1.05);
}

.item-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.doc-showcase {
    width: 60%;
    height: 70%;
    background: white;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.doc-lines {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 8px,
            rgba(0, 0, 0, 0.05) 8px,
            rgba(0, 0, 0, 0.05) 9px);
}

.card-showcase {
    width: 70%;
    height: 45%;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.envelope-showcase {
    width: 70%;
    height: 50%;
    background: white;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.envelope-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 50%, transparent 50%);
}

.email-showcase {
    font-size: 2rem;
    color: white;
    font-weight: 700;
}

.folder-showcase {
    width: 70%;
    height: 55%;
    background: white;
    border-radius: 4px 4px 0 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.folder-showcase::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    width: 40%;
    height: 10px;
    background: white;
    border-radius: 4px 4px 0 0;
}

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.social-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.social-item:nth-child(1) {
    animation-delay: 0.1s;
}

.social-item:nth-child(2) {
    animation-delay: 0.15s;
}

.social-item:nth-child(3) {
    animation-delay: 0.2s;
}

.social-item:nth-child(4) {
    animation-delay: 0.25s;
}

.social-item:nth-child(5) {
    animation-delay: 0.3s;
}

.social-item:nth-child(6) {
    animation-delay: 0.35s;
}

.social-item:nth-child(7) {
    animation-delay: 0.4s;
}

.social-item:nth-child(8) {
    animation-delay: 0.45s;
}

.social-item:nth-child(9) {
    animation-delay: 0.5s;
}

.social-item.story {
    grid-row: span 2;
}

.social-item.wide {
    grid-column: span 2;
}

.social-card {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition-base);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.social-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-item.story .social-image {
    aspect-ratio: 9/16;
}

.social-item.wide .social-image {
    aspect-ratio: 16/9;
}

.post-preview,
.story-preview {
    text-align: center;
    color: white;
}

.post-icon,
.story-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.post-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-info {
    padding: var(--space-lg);
}

.platform-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platform-badge.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #4267b2 100%);
}

.social-info h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
}

/* Packaging Grid */
.packaging-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.package-item.large {
    grid-column: span 2;
}

.package-card {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-card);
}

.package-image {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 500px;
}

.box-3d {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(-25deg);
    transition: transform 0.5s ease;
}

.package-card:hover .box-3d {
    transform: rotateX(-10deg) rotateY(-15deg);
}

.box-front {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bag-3d,
.pouch-preview {
    font-size: 4rem;
}

.label-preview {
    background: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.package-info {
    padding: var(--space-xl);
}

.package-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.package-info p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.package-specs {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.package-specs span {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Print Design */
.print-category {
    margin-bottom: var(--space-4xl);
}

.category-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
}

.print-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.print-grid.posters {
    grid-template-columns: repeat(3, 1fr);
}

.print-grid.small-items {
    grid-template-columns: repeat(4, 1fr);
}

.print-item.large {
    grid-column: span 2;
}

.print-item.poster {
    aspect-ratio: 3/4;
}

.print-card {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition-base);
}

.print-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.print-image {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-item.poster .print-image {
    aspect-ratio: 3/4;
}

.catalog-preview {
    display: flex;
    gap: 4px;
    transform: perspective(200px) rotateY(-5deg);
}

.catalog-page {
    width: 60px;
    height: 80px;
    background: white;
    border-radius: 2px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.magazine-preview,
.travel-preview,
.tag-preview,
.ticket-preview,
.notebook-preview {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.poster-preview {
    text-align: center;
    color: white;
}

.poster-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.businesscard-preview {
    width: 100px;
    height: 60px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.print-info {
    padding: var(--space-lg);
}

.print-info h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.print-info p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.print-specs {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-top: var(--space-sm);
}

/* Portfolio CTA */
.portfolio-cta {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #0f0f23 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
    font-size: var(--font-size-lg);
}

/* Responsive for Portfolio Pages */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .packaging-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .print-grid.small-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .gallery-grid,
    .packaging-grid,
    .print-grid,
    .print-grid.posters {
        grid-template-columns: 1fr;
    }

    .gallery-item.large,
    .package-item.large,
    .print-item.large {
        grid-column: span 1;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-item.story {
        grid-row: span 1;
    }

    .social-item.story .social-image {
        aspect-ratio: 1;
    }
}

@media (max-width: 480px) {

    .project-grid,
    .social-grid,
    .print-grid.small-items {
        grid-template-columns: 1fr;
    }

    .social-item.wide {
        grid-column: span 1;
    }
}