/* ===== CSS Custom Properties ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a28;
    --bg-card: rgba(20, 20, 35, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6a6a80;

    --accent-1: #7c5cfc;
    --accent-2: #00d4aa;
    --accent-3: #ff6b9d;
    --accent-4: #ffa64d;

    --gradient-primary: linear-gradient(135deg, #7c5cfc, #00d4aa);
    --gradient-secondary: linear-gradient(135deg, #ff6b9d, #ffa64d);
    --gradient-glow: linear-gradient(135deg, rgba(124, 92, 252, 0.15), rgba(0, 212, 170, 0.15));

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(124, 92, 252, 0.15);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 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.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --container-max: 1200px;
    --section-padding: clamp(80px, 12vh, 140px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body.menu-open {
    overflow: hidden;
}

::selection {
    background: rgba(124, 92, 252, 0.3);
    color: #fff;
}

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

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

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

/* ===== Animated Background ===== */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.bg-glow--1 {
    width: 600px;
    height: 600px;
    background: rgba(124, 92, 252, 0.08);
    top: -200px;
    right: -100px;
    animation: glowFloat1 8s ease-in-out infinite;
}

.bg-glow--2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 170, 0.06);
    bottom: -150px;
    left: -100px;
    animation: glowFloat2 10s ease-in-out infinite;
}

.bg-glow--3 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 157, 0.05);
    top: 50%;
    left: 50%;
    animation: glowFloat3 12s ease-in-out infinite;
}

@keyframes glowFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 50px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

@keyframes glowFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes glowFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(calc(-50% + 50px), calc(-50% - 30px)) scale(1.2); }
}

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

/* ===== Custom Cursor ===== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: difference;
}

.cursor-dot--hover {
    width: 12px;
    height: 12px;
    background: var(--accent-2);
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(124, 92, 252, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28),
                height 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28),
                border-color 0.3s;
}

.cursor-ring--hover {
    width: 60px;
    height: 60px;
    border-color: rgba(0, 212, 170, 0.5);
}

@media (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
    body, a, button { cursor: auto; }
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px clamp(20px, 5vw, 60px);
    transition: var(--transition-medium);
}

.nav--scrolled {
    padding: 16px clamp(20px, 5vw, 60px);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

.nav--hidden {
    transform: translateY(-100%);
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
}

.nav__logo:hover {
    opacity: 0.8;
}

.nav__logo-bracket {
    color: var(--accent-1);
}

.nav__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav--scrolled .nav__logo-img {
    height: 34px;
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    z-index: 1001;
}

.nav__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
    transform-origin: center;
}

.nav__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav__menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

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

.mobile-menu__links {
    list-style: none;
    text-align: center;
}

.mobile-menu__link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    padding: 16px 0;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    opacity: 0;
    transform: translateY(20px);
}

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

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-menu__link:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu__link:hover {
    color: var(--text-primary);
}

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

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px clamp(20px, 5vw, 60px) 80px;
}

.hero__content {
    max-width: 900px;
    text-align: center;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: tagPulse 3s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
    50% { box-shadow: 0 0 0 8px rgba(0, 212, 170, 0.06); }
}

.hero__tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

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

.hero__title-word {
    display: inline-block;
    animation: titleSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.15s);
}

.hero__title-line:nth-child(1) .hero__title-word { --i: 0; }
.hero__title-line:nth-child(2) .hero__title-word { --i: 1; }
.hero__title-line:nth-child(3) .hero__title-word { --i: 2; }

@keyframes titleSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero__ampersand {
    color: var(--accent-1);
    font-style: italic;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.7;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 24px rgba(124, 92, 252, 0.3);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn--primary:hover {
    box-shadow: 0 8px 40px rgba(124, 92, 252, 0.45);
    transform: translateY(-2px);
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--outline {
    border: 1.5px solid var(--border-hover);
    color: var(--text-primary);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    border-color: var(--accent-1);
    background: rgba(124, 92, 252, 0.08);
    transform: translateY(-2px);
}

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

.btn--success {
    background: linear-gradient(135deg, #00d4aa, #00b894) !important;
    box-shadow: 0 4px 24px rgba(0, 212, 170, 0.3) !important;
}

/* ===== Section ===== */
.section {
    position: relative;
    z-index: 2;
    padding: var(--section-padding) 0;
}

.section__header {
    margin-bottom: clamp(48px, 6vw, 72px);
}

.section__number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-1);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* ===== About Section ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.about__image-wrapper {
    position: relative;
}

.about__image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.about__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__image-wrapper:hover .about__photo {
    transform: scale(1.05);
}

.about__image-border {
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--radius-lg) + 3px);
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.5;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.about__exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.about__exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.about__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__text:last-of-type {
    margin-bottom: 36px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.about__stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-1);
}

.about__stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 4px;
}

/* ===== Showreel / Bilgi Alın Section ===== */
.showreel__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.showreel__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.showreel__video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
}

.showreel__video-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(124, 92, 252, 0.12) 0%, rgba(0, 212, 170, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: showreelGlow 5s ease-in-out infinite;
}

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

.showreel__video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    z-index: 1;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(124, 92, 252, 0.08);
}

.showreel__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}

.showreel__video-border {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: var(--gradient-primary);
    z-index: 0;
    opacity: 0.4;
    animation: videoBorderGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes videoBorderGlow {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.55; }
}

/* ===== Custom Video Player ===== */
.custom-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Big Play Button Overlay */
.video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(124, 92, 252, 0.2);
    border: 2px solid rgba(124, 92, 252, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    z-index: 10;
    cursor: pointer;
    transition: var(--transition-medium);
    backdrop-filter: blur(4px);
}

.video-overlay-play svg {
    margin-left: 6px; /* Optical center for play icon */
}

.custom-video-player:hover .video-overlay-play {
    background: rgba(124, 92, 252, 0.4);
    border-color: rgba(124, 92, 252, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(124, 92, 252, 0.4);
}

.custom-video-player.is-playing .video-overlay-play {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Custom Control Bar */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 16px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-medium);
}

.custom-video-player:hover .video-controls,
.custom-video-player:focus-within .video-controls,
.custom-video-player:not(.is-playing) .video-controls {
    opacity: 1;
    transform: translateY(0);
}

.control-btn {
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-1);
    transform: scale(1.1);
}

.video-progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    border-radius: 3px;
    position: relative;
    pointer-events: none;
}

.video-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

/* Fullscreen Cursor Fix */
body.is-fullscreen {
    cursor: auto !important;
}

body.is-fullscreen * {
    cursor: auto !important;
}

body.is-fullscreen button,
body.is-fullscreen a,
body.is-fullscreen .video-progress-container {
    cursor: pointer !important;
}

body.is-fullscreen .cursor-dot,
body.is-fullscreen .cursor-ring {
    display: none !important;
}

/* ===== Skills Section ===== */
.skills__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.skill-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    overflow: hidden;
    transition: var(--transition-medium);
    transition-delay: calc(var(--delay) * 0.1s);
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.skill-card__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-medium);
}

.skill-card:hover .skill-card__glow {
    opacity: 1;
    box-shadow: 0 0 30px 10px rgba(124, 92, 252, 0.15);
}

.skill-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    color: var(--accent-1);
    margin-bottom: 20px;
    transition: var(--transition-medium);
}

.skill-card:hover .skill-card__icon {
    border-color: var(--accent-1);
    box-shadow: 0 0 20px rgba(124, 92, 252, 0.15);
}

.skill-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.skill-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.skill-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(124, 92, 252, 0.08);
    color: var(--accent-1);
    border: 1px solid rgba(124, 92, 252, 0.15);
    transition: var(--transition-fast);
}

.skill-card:hover .skill-tag {
    background: rgba(124, 92, 252, 0.12);
    border-color: rgba(124, 92, 252, 0.25);
}

/* ===== Projects Section ===== */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-medium);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-card--large {
    grid-column: span 1;
}

.project-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        hsl(var(--hue, 250), 50%, 15%),
        hsl(calc(var(--hue, 250) + 40), 50%, 10%)
    );
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card__placeholder {
    transform: scale(1.05);
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, hsla(var(--hue, 250), 60%, 40%, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, hsla(calc(var(--hue, 250) + 60), 60%, 40%, 0.2) 0%, transparent 50%);
    opacity: 0.8;
}

.project-card__pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 48%, hsla(var(--hue, 250), 40%, 30%, 0.15) 49%, hsla(var(--hue, 250), 40%, 30%, 0.15) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, hsla(var(--hue, 250), 40%, 30%, 0.1) 49%, hsla(var(--hue, 250), 40%, 30%, 0.1) 51%, transparent 52%);
    background-size: 30px 30px;
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__link-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(0.7) rotate(-45deg);
    transition: var(--transition-bounce);
}

.project-card:hover .project-card__link-btn {
    transform: scale(1) rotate(0);
}

.project-card__content {
    padding: 24px 28px 28px;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.project-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(0, 212, 170, 0.08);
    color: var(--accent-2);
    border: 1px solid rgba(0, 212, 170, 0.15);
}

.project-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.project-card:hover .project-card__title {
    color: var(--accent-2);
}

.project-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

.contact__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-medium);
}

.contact__link:hover {
    border-color: var(--accent-1);
    transform: translateX(6px);
    background: rgba(124, 92, 252, 0.05);
}

.contact__link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    color: var(--accent-1);
    flex-shrink: 0;
    transition: var(--transition-medium);
}

.contact__link:hover .contact__link-icon {
    border-color: var(--accent-1);
}

.contact__link-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.contact__link-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== Contact Form ===== */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 0 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    outline: none;
    transition: var(--transition-fast);
    resize: none;
}

.form-input:focus {
    border-color: var(--accent-1);
}

.form-label {
    position: absolute;
    left: 0;
    top: 18px;
    font-size: 0.95rem;
    color: var(--text-tertiary);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0;
    font-size: 0.75rem;
    color: var(--accent-1);
    font-weight: 500;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.form-textarea {
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-color);
    padding: 36px 0;
}

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

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer__logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.footer__logo:hover .footer__logo-img {
    opacity: 0.8;
}

.footer__copy {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer__social:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(124, 92, 252, 0.2);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .project-card--large {
        grid-column: span 1;
    }
}

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

    .nav__menu-btn {
        display: flex;
    }

    .hero__title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero__cta {
        flex-direction: column;
        gap: 12px;
    }

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

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

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

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

    .footer__inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero__tag {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .section {
        padding: 60px 0;
    }

    .about__exp-badge {
        bottom: -10px;
        right: -10px;
        padding: 14px 18px;
    }

    .about__exp-number {
        font-size: 1.6rem;
    }
}

/* ===== Staggered Reveal for Skill Cards ===== */
.skill-card.reveal {
    transition-delay: calc(var(--delay) * 0.12s);
}

/* ===== Shimmer effect on project cards ===== */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.02),
        transparent
    );
    transition: left 0.6s;
    pointer-events: none;
}

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

/* ===== Smooth loading ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 0.6s ease-out;
}
