* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9333ea;
    --secondary-color: #7e22ce;
    --accent-color: #c084fc;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --gray-light: #f3f4f6;
    --gray-dark: #1f2937;
    --gray-medium: #6b7280;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
}

/* Speed up initial rendering for below-the-fold sections */
.summary,
.portfolio,
.about,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.scroll-reactive-bg {
    --scroll-progress: 0;
    --scroll-hue: 266;
    --scroll-shift: 0px;
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0.9;
}

.scroll-reactive-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 500px at 10% 5%, hsla(var(--scroll-hue), 90%, 70%, 0.18), transparent 65%),
        radial-gradient(900px 450px at 90% 90%, hsla(calc(var(--scroll-hue) + 28), 85%, 60%, 0.16), transparent 70%);
    transition: background 0.22s linear;
}

.scroll-reactive-blob,
.scroll-reactive-ring,
.scroll-reactive-grid {
    position: absolute;
    will-change: transform, opacity, filter;
}

.scroll-reactive-blob {
    width: clamp(240px, 30vw, 520px);
    aspect-ratio: 1;
    border-radius: 44% 56% 52% 48% / 53% 47% 55% 45%;
    left: clamp(10px, 6vw, 140px);
    top: 18%;
    background: linear-gradient(145deg,
        hsla(calc(var(--scroll-hue) - 18), 92%, 72%, 0.42),
        hsla(calc(var(--scroll-hue) + 14), 88%, 62%, 0.22));
    filter: blur(10px);
    transform: translate3d(calc(var(--scroll-shift) * -1), calc(var(--scroll-shift) * 0.6), 0)
        scale(calc(0.88 + var(--scroll-progress) * 0.5))
        rotate(calc(var(--scroll-progress) * 130deg));
    opacity: calc(0.28 + var(--scroll-progress) * 0.34);
}

.scroll-reactive-ring {
    width: clamp(280px, 42vw, 760px);
    aspect-ratio: 1;
    right: clamp(-120px, -4vw, 30px);
    top: clamp(80px, 20vh, 240px);
    border-radius: 50%;
    border: 1px solid hsla(calc(var(--scroll-hue) + 40), 96%, 84%, 0.46);
    box-shadow:
        inset 0 0 80px hsla(calc(var(--scroll-hue) + 35), 92%, 70%, 0.16),
        0 0 80px hsla(calc(var(--scroll-hue) + 35), 92%, 70%, 0.12);
    transform: translate3d(var(--scroll-shift), calc(var(--scroll-shift) * -0.42), 0)
        scale(calc(0.76 + var(--scroll-progress) * 0.7))
        rotate(calc(var(--scroll-progress) * -150deg));
    opacity: calc(0.16 + var(--scroll-progress) * 0.42);
}

.scroll-reactive-grid {
    left: -12%;
    right: -12%;
    top: 48%;
    bottom: -24%;
    background-image:
        linear-gradient(to right, hsla(calc(var(--scroll-hue) + 14), 88%, 72%, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, hsla(calc(var(--scroll-hue) + 14), 88%, 72%, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: perspective(820px) rotateX(66deg) translateY(calc(var(--scroll-shift) * -1));
    opacity: calc(0.07 + var(--scroll-progress) * 0.24);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    margin-right: auto;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(147, 51, 234, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #9333ea;
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

/* Hero Section - Modern Minimalist */
.hero {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 50%, #a855f7 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroOrb1 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(126, 34, 206, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroOrb2 25s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-motion-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.kinetic-halo {
    position: absolute;
    right: clamp(-40px, 6vw, 120px);
    top: 50%;
    width: clamp(320px, 42vw, 620px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    filter: drop-shadow(0 30px 90px rgba(76, 29, 149, 0.35));
    opacity: 0.9;
}

.kinetic-halo::before,
.kinetic-halo::after {
    content: '';
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(192, 132, 252, 0.08) 35%, transparent 70%);
    animation: haloBreath 10s ease-in-out infinite;
}

.kinetic-halo::after {
    inset: 22%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, rgba(96, 165, 250, 0.08) 45%, transparent 75%);
    animation-duration: 14s;
    animation-direction: reverse;
}

.halo-core,
.halo-ring,
.halo-arc,
.halo-spark {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.halo-core {
    inset: 32%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3) 28%, transparent 48%),
        radial-gradient(circle at 55% 55%, rgba(192, 132, 252, 0.5), rgba(147, 51, 234, 0.15) 35%, transparent 68%);
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.25),
        0 0 90px rgba(192, 132, 252, 0.3);
    animation: corePulse 8s ease-in-out infinite;
}

.halo-ring {
    border: 1px solid rgba(255, 255, 255, 0.18);
    mix-blend-mode: screen;
}

.halo-ring-a {
    inset: 10%;
    animation: ringSpin 18s linear infinite;
}

.halo-ring-b {
    inset: 20%;
    border-style: dashed;
    border-color: rgba(251, 191, 36, 0.28);
    animation: ringSpinReverse 24s linear infinite;
}

.halo-ring-c {
    inset: 30%;
    border-color: rgba(96, 165, 250, 0.26);
    animation: ringTilt 12s ease-in-out infinite;
}

.halo-arc {
    inset: 6%;
    border: 18px solid transparent;
    filter: blur(1px);
}

.halo-arc-a {
    border-top-color: rgba(255, 255, 255, 0.48);
    border-right-color: rgba(192, 132, 252, 0.38);
    transform: rotate(18deg);
    animation: arcOrbit 16s linear infinite;
}

.halo-arc-b {
    inset: 18%;
    border-width: 14px;
    border-left-color: rgba(251, 191, 36, 0.4);
    border-bottom-color: rgba(255, 255, 255, 0.3);
    transform: rotate(-22deg);
    animation: arcOrbitReverse 22s linear infinite;
}

.halo-arc-c {
    inset: 28%;
    border-width: 10px;
    border-top-color: rgba(96, 165, 250, 0.45);
    border-left-color: rgba(34, 197, 94, 0.22);
    transform: rotate(45deg);
    animation: arcDrift 9s ease-in-out infinite;
}

.halo-spark {
    inset: auto;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(192, 132, 252, 0.45) 45%, transparent 72%);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
}

.halo-spark-a {
    top: 18%;
    right: 22%;
    animation: sparkOrbitA 9s linear infinite;
}

.halo-spark-b {
    bottom: 20%;
    left: 16%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.95) 0%, rgba(251, 191, 36, 0.35) 50%, transparent 72%);
    animation: sparkOrbitB 11s linear infinite;
}

.halo-spark-c {
    top: 50%;
    left: 8%;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.95) 0%, rgba(96, 165, 250, 0.35) 50%, transparent 72%);
    animation: sparkOrbitC 13s linear infinite;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 24px;
    margin-bottom: 16px;
    opacity: 0.95;
    line-height: 1.4;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    min-width: 220px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    color: #9333ea;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.2);
    color: #7e22ce;
}

@keyframes heroOrb1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-50px) translateX(30px) scale(1.2);
        opacity: 0.5;
    }
}

@keyframes heroOrb2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(40px) translateX(-20px) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes haloBreath {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.04);
        opacity: 0.8;
    }
}

@keyframes corePulse {
    0%, 100% {
        transform: scale(0.94);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

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

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

@keyframes ringTilt {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(18deg) scale(1.04);
    }
}

@keyframes arcOrbit {
    from {
        transform: rotate(18deg);
    }
    to {
        transform: rotate(378deg);
    }
}

@keyframes arcOrbitReverse {
    from {
        transform: rotate(338deg);
    }
    to {
        transform: rotate(-22deg);
    }
}

@keyframes arcDrift {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: rotate(70deg) scale(1.06);
        opacity: 1;
    }
}

@keyframes sparkOrbitA {
    0% {
        transform: rotate(0deg) translateX(22px) scale(0.9);
    }
    50% {
        transform: rotate(180deg) translateX(-26px) scale(1.4);
    }
    100% {
        transform: rotate(360deg) translateX(22px) scale(0.9);
    }
}

@keyframes sparkOrbitB {
    0% {
        transform: rotate(0deg) translateY(0px) scale(1);
    }
    50% {
        transform: rotate(-180deg) translateY(-28px) scale(1.5);
    }
    100% {
        transform: rotate(-360deg) translateY(0px) scale(1);
    }
}

@keyframes sparkOrbitC {
    0%, 100% {
        transform: translateX(0px) translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateX(22px) translateY(-20px) scale(1.6);
        opacity: 1;
    }
}

/* Summary Section */
/* Summary Section - Modern Minimalist */
.summary {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.summary h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.5;
    font-weight: 400;
}

/* Modern Background Elements - Enhanced */
.modern-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Floating Orbs - Enhanced */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(40px);
    animation: floatOrb 25s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(192, 132, 252, 0.08) 50%, transparent 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(96, 165, 250, 0.06) 50%, transparent 100%);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.orb-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(34, 197, 94, 0.05) 50%, transparent 100%);
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.13) 0%, rgba(251, 191, 36, 0.07) 50%, transparent 100%);
    top: 40%;
    right: 30%;
    animation-delay: 15s;
}

.orb-5 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.11) 0%, rgba(220, 38, 38, 0.06) 50%, transparent 100%);
    top: 25%;
    left: 60%;
    animation-delay: 20s;
}

.orb-6 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 100%);
    bottom: 35%;
    right: 10%;
    animation-delay: 8s;
}

/* Geometric Shapes - Enhanced */
.geometric-shape {
    position: absolute;
    backdrop-filter: blur(20px);
    animation: geometricFloat 30s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(192, 132, 252, 0.1));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 20%;
    left: 70%;
    animation-delay: 2s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(96, 165, 250, 0.09));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    bottom: 30%;
    left: 15%;
    animation-delay: 7s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(34, 197, 94, 0.08));
    border-radius: 20px;
    transform: rotate(45deg);
    top: 70%;
    right: 20%;
    animation-delay: 12s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.17), rgba(251, 191, 36, 0.09));
    clip-path: circle(50% at 50% 50%);
    top: 50%;
    left: 5%;
    animation-delay: 17s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(220, 38, 38, 0.08));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    top: 15%;
    right: 5%;
    animation-delay: 22s;
}

.shape-6 {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.19), rgba(168, 85, 247, 0.1));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    bottom: 10%;
    left: 50%;
    animation-delay: 27s;
}

/* Gradient Blobs - Enhanced */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 35s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(192, 132, 252, 0.2), rgba(59, 130, 246, 0.1));
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(34, 197, 94, 0.15), rgba(245, 158, 11, 0.1));
    bottom: -5%;
    right: -10%;
    animation-delay: 10s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.15), rgba(147, 51, 234, 0.1));
    top: 30%;
    right: 10%;
    animation-delay: 20s;
}

.blob-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(220, 38, 38, 0.12), rgba(139, 92, 246, 0.08));
    top: 50%;
    left: -5%;
    animation-delay: 5s;
}

.blob-5 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(251, 191, 36, 0.12), rgba(16, 185, 129, 0.08));
    bottom: 20%;
    left: 30%;
    animation-delay: 15s;
}

/* Minimal Particles - Enhanced */
.minimal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.minimal-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleDrift 18s ease-in-out infinite;
}

.particle-1 {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.particle-2 {
    top: 35%;
    right: 30%;
    animation-delay: 3s;
}

.particle-3 {
    bottom: 25%;
    left: 35%;
    animation-delay: 6s;
}

.particle-4 {
    top: 55%;
    right: 15%;
    animation-delay: 9s;
}

.particle-5 {
    bottom: 15%;
    left: 60%;
    animation-delay: 12s;
}

.particle-6 {
    top: 25%;
    left: 80%;
    animation-delay: 15s;
}

.particle-7 {
    bottom: 40%;
    right: 25%;
    animation-delay: 2s;
}

.particle-8 {
    top: 70%;
    left: 10%;
    animation-delay: 8s;
}

/* Additional Motion Elements */
.motion-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.motion-circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: circlePulse 12s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 20%;
    animation-delay: 4s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 70%;
    animation-delay: 8s;
}

.motion-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: lineFlow 15s ease-in-out infinite;
}

.line-1 {
    width: 200px;
    top: 30%;
    left: 10%;
    animation-delay: 0s;
}

.line-2 {
    width: 150px;
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.line-3 {
    width: 180px;
    top: 50%;
    left: 60%;
    animation-delay: 10s;
}

/* Animations */
@keyframes floatOrb {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-60px) translateX(0px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-30px) translateX(-20px) scale(1.05);
        opacity: 0.4;
    }
}

@keyframes geometricFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-40px) translateX(25px) rotate(120deg) scale(1.2);
    }
    66% {
        transform: translateY(-20px) translateX(-15px) rotate(240deg) scale(0.8);
    }
}

@keyframes blobFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-50px) translateX(30px) scale(1.3);
        opacity: 0.7;
    }
}

@keyframes particleDrift {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) translateX(15px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(0px);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-20px) translateX(-15px);
        opacity: 0.6;
    }
}

/* New Motion Element Animations */
@keyframes circlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes lineFlow {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 0.5;
    }
}

/* Interactive Elements */
.interactive-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.interactive-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    animation: dotPulse 3s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.dot-2 {
    top: 40%;
    right: 35%;
    animation-delay: 0.5s;
}

.dot-3 {
    bottom: 30%;
    left: 40%;
    animation-delay: 1s;
}

.dot-4 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.dot-5 {
    bottom: 20%;
    right: 40%;
    animation-delay: 2s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }
}

/* Particle Effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.summary:hover .particles {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    background: rgba(147, 51, 234, 0.8);
}

.particle-2 {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    background: rgba(192, 132, 252, 0.8);
}

.particle-3 {
    top: 50%;
    left: 10%;
    animation-delay: 2s;
    background: rgba(255, 255, 255, 0.9);
}

.particle-4 {
    top: 70%;
    left: 80%;
    animation-delay: 3s;
    background: rgba(147, 51, 234, 0.7);
}

.particle-5 {
    top: 20%;
    left: 90%;
    animation-delay: 4s;
    background: rgba(192, 132, 252, 0.8);
}

.particle-6 {
    top: 80%;
    left: 30%;
    animation-delay: 5s;
    background: rgba(255, 255, 255, 0.8);
}

.particle-7 {
    top: 40%;
    left: 60%;
    animation-delay: 6s;
    background: rgba(147, 51, 234, 0.9);
}

.particle-8 {
    top: 60%;
    left: 40%;
    animation-delay: 7s;
    background: rgba(192, 132, 252, 0.7);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.5);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(0px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) translateX(-10px) scale(1.2);
        opacity: 0.8;
    }
}

.animated-logo-container {
    display: flex;
    justify-content: center;
    margin: 30px 0 40px 0;
    position: relative;
}

.animated-logo {
    width: 280px;
    height: 280px;
    filter: drop-shadow(0 15px 40px rgba(147, 51, 234, 0.25));
    animation: morphingFloat 8s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.animated-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(147, 51, 234, 0.3), rgba(192, 132, 252, 0.3), rgba(147, 51, 234, 0.3));
    border-radius: 50%;
    animation: orbit 4s linear infinite;
    z-index: -1;
}

.animated-logo::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    animation: shimmer 3s ease-in-out infinite;
    z-index: -1;
}

/* Logo particles */
.logo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.logo-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.8) 0%, rgba(192, 132, 252, 0.4) 70%, transparent 100%);
    border-radius: 50%;
    animation: logoParticleFloat 6s ease-in-out infinite;
}

.logo-particle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.logo-particle:nth-child(2) {
    top: 35%;
    right: 20%;
    animation-delay: 1.5s;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(96, 165, 250, 0.4) 70%, transparent 100%);
}

.logo-particle:nth-child(3) {
    bottom: 25%;
    left: 25%;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.8) 0%, rgba(251, 191, 36, 0.4) 70%, transparent 100%);
}

.logo-particle:nth-child(4) {
    top: 15%;
    right: 10%;
    animation-delay: 4.5s;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.8) 0%, rgba(34, 197, 94, 0.4) 70%, transparent 100%);
}

@keyframes logoParticleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.4);
        opacity: 1;
    }
    50% {
        transform: translateY(-60px) translateX(0px) scale(0.7);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-30px) translateX(-15px) scale(1.2);
        opacity: 0.8;
    }
}

.animated-logo:hover {
    animation: morphingFloat 4s ease-in-out infinite, logoGlow 1.5s ease-in-out infinite alternate;
    transform: scale(1.08) rotate(2deg);
}

@keyframes morphingFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 15px 40px rgba(147, 51, 234, 0.25)) hue-rotate(0deg);
    }
    15% {
        transform: translateY(-15px) rotate(3deg) scale(1.05);
        filter: drop-shadow(0 20px 50px rgba(192, 132, 252, 0.3)) hue-rotate(10deg);
    }
    30% {
        transform: translateY(-8px) rotate(-2deg) scale(0.98);
        filter: drop-shadow(0 10px 30px rgba(147, 51, 234, 0.2)) hue-rotate(20deg);
    }
    45% {
        transform: translateY(-25px) rotate(1deg) scale(1.02);
        filter: drop-shadow(0 25px 60px rgba(147, 51, 234, 0.35)) hue-rotate(5deg);
    }
    60% {
        transform: translateY(-12px) rotate(-1deg) scale(0.97);
        filter: drop-shadow(0 18px 45px rgba(192, 132, 252, 0.28)) hue-rotate(15deg);
    }
    75% {
        transform: translateY(-18px) rotate(2deg) scale(1.03);
        filter: drop-shadow(0 22px 55px rgba(147, 51, 234, 0.32)) hue-rotate(8deg);
    }
    85% {
        transform: translateY(-5px) rotate(0deg) scale(1.01);
        filter: drop-shadow(0 12px 35px rgba(147, 51, 234, 0.22)) hue-rotate(12deg);
    }
}

@keyframes orbit {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(0.9); }
    75% { transform: rotate(270deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: rotate(0deg); }
    50% { opacity: 0.8; transform: rotate(180deg); }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 15px 40px rgba(147, 51, 234, 0.25)) brightness(1) hue-rotate(0deg);
    }
    100% {
        filter: drop-shadow(0 30px 80px rgba(147, 51, 234, 0.6)) brightness(1.2) hue-rotate(20deg);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto 80px auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px 35px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 
        0 25px 80px rgba(147, 51, 234, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(147, 51, 234, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--gray-dark);
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--gray-medium);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.summary-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba20px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.summary-content h3 {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}

.summary-content p {
    color: var(--gray-dark);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 18px;
    text-align: center;
}

.promise-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.promise-list li {
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    padding: 16px 20px;
    background: rgba(147, 51, 234, 0.05);
    border-radius: 12px;
    border-left: 4px solid #9333ea;
    transition: all 0.3s ease;
}

.promise-list li:hover {
    background: rgba(147, 51, 234, 0.1);
    transform: translateX(8px);
}

/* Portfolio Section - Modern Minimalist */
.portfolio {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--gray-dark);
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.portfolio .section-subtitle {
    text-align: center;
    color: var(--gray-medium);
    font-size: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 50px;
    margin-top: 60px;
    justify-items: center;
    max-width: 1400px;
    margin: 60px auto 0 auto;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    max-width: 380px;
    cursor: pointer;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(147, 51, 234, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(147, 51, 234, 0.3);
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
    border-radius: 24px 24px 0 0;
}

.portfolio-item h3 {
    color: var(--gray-dark);
    padding: 30px 30px 15px;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    margin: 0;
}

.portfolio-item p {
    color: var(--gray-medium);
    padding: 0 30px 30px;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    margin: 0;
}

.portfolio-btn {
    display: block;
    width: calc(100% - 60px);
    margin: 0 30px 30px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.2);
}

.portfolio-btn:hover {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.3);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    font-size: 36px;
    color: var(--gray-dark);
    margin-bottom: 40px;
    text-align: center;
}

.about-intro {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.about-intro p {
    margin-bottom: 15px;
}

.vision {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #9333ea;
}

.vision h3 {
    color: var(--gray-dark);
    margin-bottom: 15px;
    font-size: 22px;
}

.vision p {
    color: var(--gray-dark);
    line-height: 1.8;
}

.founder-section {
    margin-bottom: 40px;
}

.founder-section h3 {
    color: var(--gray-dark);
    font-size: 24px;
    margin-bottom: 20px;
}

.founder-info {
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 50%, #c084fc 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.founder-details p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.about-values h3 {
    text-align: center;
    font-size: 28px;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card {
    background-color: var(--gray-light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
    color: var(--white);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.3);
}

.value-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--gray-dark);
}

.value-card:hover h4 {
    color: var(--white);
}

.value-card p {
    color: var(--gray-medium);
    font-size: 14px;
    line-height: 1.6;
}

.value-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--gray-medium);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--gray-dark);
}

.modal h2 {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 28px;
}

.modal p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.modal-examples {
    margin: 25px 0;
}

.example {
    background-color: var(--gray-light);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.example strong {
    display: block;
    color: var(--gray-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.example p {
    color: var(--gray-medium);
    font-size: 14px;
    margin: 0;
}

/* Contact Modal */
.contact-options {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    margin: 30px auto;
}

.contact-button {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px 25px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.email-button {
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
}

.whatsapp-button {
    background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%);
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.25);
}

.contact-button .icon {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-button span {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-button p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

.contact-form-section {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, rgba(192, 132, 252, 0.08) 100%);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.contact-form-section h3 {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 18px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contactForm input,
#contactForm textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}

#contactForm button {
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 50%, #c084fc 100%);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

#contactForm button:hover {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #9333ea 100%);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Responsive - Enhanced Mobile */
@media (max-width: 768px) {
    .kinetic-halo {
        width: 260px;
        right: -70px;
        opacity: 0.55;
    }

    .navbar .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
        min-height: 100px;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .logo-img {
        height: 50px;
    }

    .logo-main {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 10px;
    }

    .nav-links {
        position: static;
        gap: 20px;
        justify-content: center;
        order: 1;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 20px;
        max-width: 300px;
    }

    .btn {
        min-width: 250px;
        padding: 16px 24px;
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .promise-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about h2,
    .summary h2,
    .portfolio h2 {
        font-size: 32px;
    }

    .modal-content {
        margin: 20px auto;
        padding: 20px;
    }

    .contact-options {
        flex-direction: column;
        gap: 20px;
    }

    .contact-button {
        min-width: 100%;
        max-width: 100%;
    }

    /* Hide some background elements on mobile for performance */
    .floating-orb:nth-child(n+4),
    .geometric-shape:nth-child(n+3),
    .gradient-blob:nth-child(n+3),
    .minimal-particle:nth-child(n+5),
    .motion-circle,
    .motion-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px;
    }

    .kinetic-halo {
        width: 220px;
        right: -85px;
        opacity: 0.42;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 15px;
        min-width: 200px;
    }

    .cta-buttons {
        gap: 15px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .portfolio-item {
        margin: 0 auto;
        max-width: 320px;
    }

    .contact-button {
        padding: 25px 20px;
    }

    .logo-main {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 9px;
    }

    .modal-content {
        margin: 20px auto;
        padding: 20px;
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-button {
        min-width: 100%;
    }

    .scroll-reactive-bg {
        opacity: 0.6;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 30px;
    }
}

/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 25px;
        max-width: 350px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .hero h1 {
        font-size: 64px;
    }

    .hero p {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px;
    }

    .container {
        max-width: 1600px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .hero h1 {
        font-size: 72px;
    }

    .hero p {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 70px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 70px;
    }
}

/* Orientation-based adjustments */
/* Portrait orientation */
@media (orientation: portrait) {
    .hero {
        padding: 100px 20px;
    }

    .hero .container {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    /* Reduce background elements in portrait for better performance */
    .floating-orb:nth-child(n+5),
    .geometric-shape:nth-child(n+4),
    .gradient-blob:nth-child(n+4),
    .minimal-particle:nth-child(n+6) {
        display: none;
    }
}

/* Landscape orientation */
@media (orientation: landscape) {
    .hero {
        padding: 120px 20px;
    }

    .hero .container {
        display: flex;
        align-items: center;
        min-height: 80vh;
    }

    .hero-content {
        flex: 1;
        max-width: 50%;
    }

    .hero-visual {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

/* Aspect ratio specific adjustments */
/* Wide screens (16:9) */
@media (aspect-ratio: 16/9) {
    .hero h1 {
        font-size: clamp(48px, 8vw, 72px);
    }

    .hero p {
        font-size: clamp(18px, 2.5vw, 24px);
    }
}

/* Standard screens (4:3) */
@media (aspect-ratio: 4/3) {
    .hero h1 {
        font-size: clamp(42px, 7vw, 64px);
    }

    .hero p {
        font-size: clamp(16px, 2.2vw, 22px);
    }
}

/* Ultra-wide (21:9) */
@media (aspect-ratio: 21/9) {
    .hero h1 {
        font-size: clamp(52px, 6vw, 80px);
    }

    .hero p {
        font-size: clamp(20px, 2vw, 26px);
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        max-width: 2000px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        max-width: 2000px;
    }
}

/* Square screens */
@media (aspect-ratio: 1/1) {
    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 20px;
    }

    .kinetic-halo {
        display: none;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }

    .btn {
        min-width: 150px;
        padding: 12px 18px;
        font-size: 14px;
    }

    /* Hide more background elements in mobile landscape */
    .floating-orb,
    .geometric-shape,
    .gradient-blob,
    .minimal-particle,
    .motion-circle,
    .motion-line {
        display: none;
    }
}

/* Disable expensive visual effects on low-power devices */
html.reduced-effects .scroll-reactive-bg,
html.reduced-effects .hero-motion-bg,
html.reduced-effects .modern-bg-elements,
html.reduced-effects .hero::before,
html.reduced-effects .hero::after,
html.reduced-effects .kinetic-halo {
    display: none !important;
}

html.reduced-effects .portfolio-item,
html.reduced-effects .btn-primary,
html.reduced-effects .btn-secondary {
    backdrop-filter: none !important;
}

/* Small mobile portrait */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 14px;
        min-width: 180px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .portfolio-item {
        max-width: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reactive-bg,
    .scroll-reactive-blob,
    .scroll-reactive-ring,
    .scroll-reactive-grid {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    .kinetic-halo,
    .kinetic-halo::before,
    .kinetic-halo::after,
    .halo-core,
    .halo-ring,
    .halo-arc,
    .halo-spark {
        animation: none !important;
        transform: none !important;
    }
}
