/* ===== CSS Variables ===== */
:root {
    --cyan: #1CC8D0;
    --coral: #FF6B5E;
    --dark-bg: #07111F;
    --light-bg: #F8FAFB;
    --text-dark: #0A0A0A;
    --text-light: #F5F7FA;
    --glass: rgba(255, 255, 255, .06);
    --glass-border: rgba(255, 255, 255, .1);
    --cyan-glow: 0 0 30px rgba(28, 200, 208, .35);
    --coral-glow: 0 0 30px rgba(255, 107, 94, .3);
    --radius: 16px;
    --transition: cubic-bezier(.4, 0, .2, 1)
}

[data-theme="dark"] {
    --bg: var(--dark-bg);
    --text: var(--text-light);
    --text-sub: rgba(245, 247, 250, .6);
    --nav-bg: rgba(7, 17, 31, .85);
    --card-bg: rgba(255, 255, 255, .04);
    --card-border: rgba(255, 255, 255, .08);
    --input-bg: rgba(255, 255, 255, .06);
    --input-border: rgba(255, 255, 255, .12);
    --glass: rgba(255, 255, 255, .06);
    --glass-border: rgba(255, 255, 255, .1);
    --section-shadow: none;
    --hero-bg: var(--dark-bg)
}

[data-theme="light"] {
    --bg: #F8FAFB;
    --text: #0A0A0A;
    --text-sub: rgba(10, 10, 10, .5);
    --nav-bg: rgba(255, 255, 255, .78);
    --card-bg: rgba(255, 255, 255, .65);
    --card-border: rgba(0, 0, 0, .06);
    --input-bg: rgba(255, 255, 255, .8);
    --input-border: rgba(0, 0, 0, .1);
    --glass: rgba(255, 255, 255, .55);
    --glass-border: rgba(0, 0, 0, .06);
    --section-shadow: 0 1px 0 rgba(0, 0, 0, .04);
    --hero-bg: #F8FAFB
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: 'PF Din Text Universal', 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    transition: background .6s var(--transition), color .6s var(--transition)
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit
}

ul {
    list-style: none
}

::selection {
    background: var(--cyan);
    color: #fff
}

/* ===== Utilities ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.text-cyan {
    color: var(--cyan)
}

.text-coral {
    color: var(--coral)
}

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden
}

.section-header {
    text-align: center;
    margin-bottom: 64px
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.5px
}

/* Title Effects */
.hero-title,
.section-title {
    color: var(--cyan);
    font-family: 'Cairo', sans-serif;
    animation: titleShadowPulse 3s ease-in-out infinite;
}

@keyframes titleShadowPulse {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }

    50% {
        text-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 500px;
    margin: 0 auto
}

.section-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: .15;
    pointer-events: none;
    z-index: 0
}

.reels-section .section-bg-glow {
    background: var(--cyan);
    top: -200px;
    left: -200px
}

.about-glow {
    background: var(--coral);
    bottom: -200px;
    right: -200px
}

.contact-glow {
    background: var(--cyan);
    top: 50%;
    left: -300px;
    transform: translateY(-50%)
}

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(28, 200, 208, .08) 0%, transparent 70%);
    top: 0;
    left: 0;
    will-change: transform;
    transition: opacity .3s;
    opacity: 0;
    contain: strict
}

body:hover .cursor-glow {
    opacity: 1
}

/* ===== Particles ===== */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: .5
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all .4s var(--transition)
}

.navbar.scrolled {
    padding: 8px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .04)
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800
}

.logo-accent {
    color: var(--cyan)
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center
}

.nav-link {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-sub);
    position: relative;
    padding: 4px 0;
    transition: color .3s
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width .3s var(--transition)
}

.nav-link:hover,
.nav-link.active {
    color: var(--text)
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all .3s
}

.theme-toggle:hover {
    border-color: var(--cyan);
    box-shadow: var(--cyan-glow)
}

.theme-toggle svg {
    width: 18px;
    height: 18px
}

[data-theme="dark"] .icon-moon {
    display: none
}

[data-theme="light"] .icon-sun {
    display: none
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s
}

/* Mobile Nav */
@media(max-width:768px) {
    .nav-hamburger {
        display: flex
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        flex-direction: column;
        background: var(--nav-bg);
        backdrop-filter: blur(30px);
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right .4s var(--transition);
        z-index: 999
    }

    .nav-links.open {
        right: 0
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px)
    }

    .nav-hamburger.active span:nth-child(2) {
        opacity: 0
    }

    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px)
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all .4s var(--transition);
    z-index: 1
}

.btn span {
    position: relative;
    z-index: 2
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), #0ea5b0);
    color: #fff;
    border: none
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(28, 200, 208, .4)
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--card-border)
}

.btn-secondary:hover {
    border-color: var(--cyan);
    box-shadow: var(--cyan-glow);
    transform: translateY(-2px)
}

.btn-coral {
    background: linear-gradient(135deg, var(--coral), #e05548);
    color: #fff
}

.btn-coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 94, .4)
}

.btn-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s
}

.btn:hover .btn-glow {
    opacity: 1
}

.btn-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
    transform: skewX(-20deg);
    transition: none
}

.btn:hover .btn-sweep {
    animation: sweep .6s ease
}

@keyframes sweep {
    to {
        left: 150%
    }
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .04)
}

[data-theme="light"] .glass-card {
    box-shadow: 0 8px 40px rgba(28, 200, 208, .06), 0 2px 12px rgba(0, 0, 0, .04)
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    z-index: 1
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .2;
    will-change: transform;
    contain: strict
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--cyan);
    top: -100px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--coral);
    bottom: -100px;
    left: -100px;
    animation: orbFloat 10s ease-in-out infinite reverse
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0)
    }

    50% {
        transform: translate3d(30px, -30px, 0)
    }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(28, 200, 208, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 200, 208, .03) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 20s linear infinite;
    will-change: transform;
    contain: strict
}

[data-theme="light"] .hero-grid-lines {
    background-image: linear-gradient(rgba(28, 200, 208, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 200, 208, .05) 1px, transparent 1px)
}

[data-theme="light"] .hero-gradient-orb {
    opacity: .12;
    filter: blur(160px)
}

@keyframes gridMove {
    to {
        transform: translate3d(-80px, -80px, 0)
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -1px
}

/* ===== Hero Name Heading ===== */
.hero-name {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--cyan);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 40px rgba(28, 200, 208, .25), 0 0 80px rgba(28, 200, 208, .1);
    animation: heroNameReveal 1.2s cubic-bezier(.16, 1, .3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroNameReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        text-shadow: 0 0 0 rgba(28, 200, 208, 0);
        filter: blur(8px);
    }

    60% {
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 40px rgba(28, 200, 208, .25), 0 0 80px rgba(28, 200, 208, .1);
        filter: blur(0);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-sub);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.8
}

/* ===== Software Icons Row ===== */
.hero-software-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
    align-items: center;
    flex-wrap: wrap;
    animation: iconsRowReveal 1s .6s cubic-bezier(.16, 1, .3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes iconsRowReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.software-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    border: 1px solid rgba(28, 200, 208, .2);
    border-radius: 12px;
    background: rgba(28, 200, 208, .06);
    transition: all .4s var(--transition);
    animation: iconSoftFloat 4s ease-in-out infinite;
    cursor: default;
    position: relative;
}

.software-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(28, 200, 208, .15), transparent 70%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}

.software-icon:nth-child(1) {
    animation-delay: 0s;
}

.software-icon:nth-child(2) {
    animation-delay: 0.8s;
}

.software-icon:nth-child(3) {
    animation-delay: 1.6s;
}

.software-icon:nth-child(4) {
    animation-delay: 2.4s;
}

.software-icon:nth-child(5) {
    animation-delay: 3.2s;
}

.software-icon:nth-child(6) {
    animation-delay: 4.0s;
}

@keyframes iconSoftFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Mobile Floating Icons Styling */
.mobile-floating-icons {
    display: none;
}

.floating-icon {
    position: absolute;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(28, 200, 208, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(28, 200, 208, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 20px rgba(28, 200, 208, 0.15);
    will-change: transform;
    pointer-events: auto;
}

.floating-icon svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    display: block;
}

[data-theme="light"] .floating-icon {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(28, 200, 208, 0.25);
    box-shadow: 0 4px 15px rgba(28, 200, 208, 0.12);
}

@keyframes floatOpposite1 {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(12px) rotate(5deg);
    }
}

@keyframes floatOpposite2 {

    0%,
    100% {
        transform: translateY(0) rotate(5deg) scale(1);
    }

    50% {
        transform: translateY(15px) rotate(-2deg) scale(1.05);
    }
}

@keyframes floatOpposite3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-8px, 10px);
    }
}

@keyframes floatOpposite4 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(8px, 12px);
    }
}

.fi-1 {
    top: 8%;
    left: -20px;
    animation: floatOpposite1 5.5s ease-in-out infinite;
}

.fi-2 {
    top: 12%;
    right: -25px;
    animation: floatOpposite2 6s ease-in-out infinite 1s;
}

.fi-3 {
    top: 45%;
    left: -30px;
    animation: floatOpposite3 7s ease-in-out infinite 0.5s;
}

.fi-4 {
    top: 50%;
    right: -15px;
    animation: floatOpposite4 5s ease-in-out infinite 1.5s;
}

.fi-5 {
    bottom: 18%;
    left: -15px;
    animation: floatOpposite2 6.5s ease-in-out infinite 2s;
}

.fi-6 {
    bottom: 12%;
    right: -30px;
    animation: floatOpposite1 4.5s ease-in-out infinite 0.8s;
}

.software-icon:hover {
    border-color: var(--cyan);
    background: rgba(28, 200, 208, .12);
    box-shadow: 0 0 20px rgba(28, 200, 208, .25), 0 0 40px rgba(28, 200, 208, .1);
    transform: translateY(-6px) scale(1.1);
}

.software-icon:hover::after {
    opacity: 1;
}

.software-icon svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
    display: block;
}

[data-theme="light"] .software-icon {
    background: rgba(28, 200, 208, .08);
    border-color: rgba(28, 200, 208, .18);
}

[data-theme="light"] .software-icon:hover {
    background: rgba(28, 200, 208, .14);
    box-shadow: 0 0 24px rgba(28, 200, 208, .2);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

/* Hero Image */
.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    aspect-ratio: 3/4;
    border-radius: 24px;
    overflow: visible
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    animation: heroFloat 6s ease-in-out infinite;
    will-change: transform
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0)
    }

    50% {
        transform: translate3d(0, -15px, 0)
    }
}

.frame-border {
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--cyan), var(--coral)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 3;
    animation: borderRotate 8s linear infinite
}

@keyframes borderRotate {
    to {
        filter: hue-rotate(360deg)
    }
}

.frame-glow {
    position: absolute;
    inset: -20px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(28, 200, 208, .2), rgba(255, 107, 94, .2));
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 3s ease-in-out infinite
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: .5
    }

    50% {
        opacity: .8
    }
}

.frame-tech-lines span {
    position: absolute;
    background: var(--cyan);
    z-index: 4;
    opacity: .4
}

.frame-tech-lines span:nth-child(1) {
    width: 60px;
    height: 2px;
    top: -20px;
    right: 30px
}

.frame-tech-lines span:nth-child(2) {
    width: 2px;
    height: 60px;
    left: -20px;
    top: 30px
}

.frame-tech-lines span:nth-child(3) {
    width: 40px;
    height: 2px;
    bottom: -20px;
    left: 40px
}

.frame-tech-lines span:nth-child(4) {
    width: 2px;
    height: 40px;
    right: -20px;
    bottom: 40px
}

.floating-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
    animation: floatLight 5s ease-in-out infinite;
    will-change: transform, opacity;
    contain: strict
}

.fl-1 {
    width: 80px;
    height: 80px;
    background: var(--cyan);
    top: -30px;
    left: -20px;
    animation-delay: 0s
}

.fl-2 {
    width: 60px;
    height: 60px;
    background: var(--coral);
    bottom: -20px;
    right: -10px;
    animation-delay: 1.5s
}

.fl-3 {
    width: 50px;
    height: 50px;
    background: var(--cyan);
    top: 50%;
    right: -30px;
    animation-delay: 3s
}

@keyframes floatLight {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: .3
    }

    50% {
        transform: translate3d(10px, -10px, 0) scale(1.2);
        opacity: .6
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-sub);
    font-size: .8rem;
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 2
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-sub);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--cyan);
    border-radius: 3px;
    animation: scrollWheel 1.5s ease-in-out infinite
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0)
    }

    100% {
        opacity: 0;
        transform: translateY(10px)
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(8px)
    }
}

/* ===== Reels Grid ===== */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
    content-visibility: auto;
    contain-intrinsic-size: 0 2000px
}

.reel-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform .4s var(--transition), box-shadow .4s;
    will-change: transform;
    contain: layout style
}

.reel-card:hover {
    transform: translate3d(0, -8px, 0) scale(1.02);
    box-shadow: var(--cyan-glow)
}

[data-theme="light"] .reel-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06)
}

[data-theme="light"] .reel-card:hover {
    box-shadow: 0 12px 40px rgba(28, 200, 208, .2)
}

.reel-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: var(--radius);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.reel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--transition);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.reel-card:hover .reel-thumbnail img {
    transform: scale(1.08)
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 17, 31, .8) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s
}

.reel-card:hover .reel-overlay {
    opacity: 1
}

.reel-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(28, 200, 208, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    backdrop-filter: blur(10px)
}

.reel-play-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
    margin-right: -2px
}

.reel-play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(28, 200, 208, .6)
}

.reel-category {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    background: rgba(7, 17, 31, .7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(28, 200, 208, .3);
    color: var(--cyan);
    z-index: 2
}

.reel-border-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    pointer-events: none;
    transition: border-color .4s, box-shadow .4s
}

.reel-card:hover .reel-border-glow {
    border-color: rgba(28, 200, 208, .4);
    box-shadow: inset 0 0 30px rgba(28, 200, 208, .05)
}

/* ===== Video Modal ===== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .4s var(--transition)
}

.video-modal.active {
    opacity: 1;
    visibility: visible
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(10px)
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    z-index: 1;
    transform: scale(.9);
    transition: transform .4s var(--transition)
}

.video-modal.active .modal-content {
    transform: scale(1)
}

.modal-close {
    position: absolute;
    top: -50px;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all .3s
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: #fff
}

.modal-close:hover {
    background: var(--coral);
    border-color: var(--coral)
}

.modal-video-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/16;
    max-height: 80vh;
    margin: 0 auto;
    width: auto
}

.modal-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius)
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-sub);
    margin-bottom: 20px;
    line-height: 1.9
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px
}

.skill-badge {
    padding: 10px 22px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all .3s var(--transition)
}

.skill-badge:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: var(--cyan-glow);
    transform: translateY(-3px)
}

[data-theme="light"] .skill-badge {
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

[data-theme="light"] .skill-badge:hover {
    box-shadow: 0 4px 20px rgba(28, 200, 208, .18)
}

/* About Image */
.about-image-frame {
    position: relative;
    max-width: 400px;
    margin: 0 auto
}

.about-image-frame img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2
}

.about-frame-glow {
    position: absolute;
    inset: -30px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 107, 94, .15), rgba(28, 200, 208, .15));
    filter: blur(50px);
    z-index: 0
}

.about-ring {
    position: absolute;
    border: 2px solid rgba(28, 200, 208, .15);
    border-radius: 50%;
    z-index: 1;
    animation: ringRotate 12s linear infinite;
    will-change: transform;
    contain: strict
}

.ring-1 {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%
}

.ring-2 {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-direction: reverse;
    border-color: rgba(255, 107, 94, .1)
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg)
    }
}

.about-float-icon {
    position: absolute;
    font-size: 1.8rem;
    z-index: 3;
    animation: iconFloat 4s ease-in-out infinite;
    will-change: transform
}

.afi-1 {
    top: -10px;
    right: -10px;
    animation-delay: 0s
}

.afi-2 {
    bottom: 20px;
    left: -20px;
    animation-delay: 1s
}

.afi-3 {
    top: 40%;
    right: -30px;
    animation-delay: 2s
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0)
    }

    50% {
        transform: translate3d(0, -12px, 0)
    }
}



/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-sub);
    margin: 20px 0 40px;
    line-height: 1.9
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all .3s var(--transition)
}

.contact-link-item:hover {
    border-color: var(--cyan);
    transform: translateX(8px);
    box-shadow: var(--cyan-glow)
}

[data-theme="light"] .contact-link-item {
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04)
}

[data-theme="light"] .contact-link-item:hover {
    transform: translateX(-8px);
    box-shadow: 0 6px 24px rgba(28, 200, 208, .15)
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(28, 200, 208, .15), rgba(28, 200, 208, .05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--cyan)
}

.contact-label {
    font-size: .8rem;
    color: var(--text-sub);
    display: block
}

.contact-value {
    font-size: .95rem;
    font-weight: 600
}

/* Contact Form */
.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: .95rem;
    font-family: inherit;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text);
    transition: all .3s;
    outline: none
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(28, 200, 208, .1)
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(0, 0, 0, .08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .03)
}

.form-group textarea {
    resize: vertical;
    min-height: 100px
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--card-border)
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800
}

.footer-socials {
    display: flex;
    gap: 12px
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s
}

.social-link svg {
    width: 18px;
    height: 18px
}

.social-link:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: var(--cyan-glow)
}

.footer-copy {
    font-size: .85rem;
    color: var(--text-sub)
}

/* ===== Reveal Animation ===== */
.reveal-up {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity .8s var(--transition), transform .8s var(--transition);
    will-change: opacity, transform
}

.reveal-up.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto
}

/* ===== Responsive ===== */
@media(max-width:1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px
    }

    .hero-subtitle {
        margin: 0 auto 32px
    }

    .hero-software-icons {
        justify-content: center
    }

    .hero-buttons {
        justify-content: center
    }

    .hero-image-frame {
        max-width: 320px
    }

    .hero-name {
        font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    }

    .reels-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px
    }

    .about-grid .about-visual {
        order: -1
    }

    .skill-badges {
        justify-content: center
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px
    }
}

@media(max-width:768px) {
    .section {
        padding: 80px 0
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-name {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 14px;
    }

    .hero-subtitle {
        margin-top: 0;
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .hero-image-frame {
        max-width: 260px;
        aspect-ratio: 3/4;
    }

    .hero-image {
        border-radius: 20px;
    }

    .hero-visual {
        margin-top: -10px;
    }

    .frame-glow {
        inset: -12px;
        filter: blur(28px);
    }

    .desktop-icons {
        display: none !important;
    }

    .mobile-floating-icons {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .scroll-indicator {
        display: none;
    }

    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.6rem)
    }

    .contact-form {
        padding: 24px
    }

    .footer-content {
        flex-direction: column;
        text-align: center
    }
}

@media(max-width:480px) {
    .hero-name {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .hero-image-frame {
        max-width: 220px;
    }

    .hero-container {
        gap: 28px;
    }

    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center
    }

    .btn {
        padding: 12px 28px;
        font-size: .9rem
    }

    .modal-video-wrapper {
        aspect-ratio: 9/16;
        max-height: 85vh
    }

    .floating-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .floating-icon svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }
}