:root {
    --bg-primary: #0a0a0a;
    --text-primary: #f5f5f5;
    --text-accent: #ffffff;
    --text-tertiary: #666666;
    --font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.cursor-spotlight {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 210, 220, 0.07) 0%, rgba(200, 210, 220, 0.03) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}

.cursor-spotlight.active {
    opacity: 1;
}

.hero {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.bulb-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 640px;
    pointer-events: none;
    z-index: 0;
}

.bulb-svg {
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: bulb-appear 2s ease-out 0.5s forwards;
}

@keyframes bulb-appear {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.bulb-glass {
    animation: glass-shimmer 8s ease-in-out infinite;
}

@keyframes glass-shimmer {
    0%, 100% { stroke: rgba(255,255,255,0.06); }
    50% { stroke: rgba(255,255,255,0.12); }
}

.bulb-reflection {
    animation: reflection-fade 6s ease-in-out infinite;
}

@keyframes reflection-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.filament-glow-circle {
    animation: filament-pulse 3s ease-in-out infinite;
}

@keyframes filament-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.filament-core {
    animation: core-glow 2s ease-in-out infinite;
}

@keyframes core-glow {
    0%, 100% { r: 2; fill: rgba(255,230,180,0.6); }
    50% { r: 3.5; fill: rgba(255,240,210,1); }
}

.filament-coil {
    animation: coil-brightness 3s ease-in-out infinite;
}

@keyframes coil-brightness {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.light-rays {
    animation: rays-rotate 20s linear infinite;
    transform-origin: 100px 120px;
}

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

.bulb-ambient {
    animation: ambient-pulse 4s ease-in-out infinite;
}

@keyframes ambient-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.bulb-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(210, 220, 230, 0.5);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: particle-float var(--duration) ease-in-out var(--delay) infinite;
    box-shadow: 0 0 6px rgba(210, 220, 230, 0.3);
}

.particle:nth-child(1) { --x: 20%; --y: 30%; --delay: 0s;   --duration: 4s;   }
.particle:nth-child(2) { --x: 75%; --y: 25%; --delay: 1.2s; --duration: 5s;   }
.particle:nth-child(3) { --x: 40%; --y: 60%; --delay: 0.5s; --duration: 3.5s; }
.particle:nth-child(4) { --x: 65%; --y: 45%; --delay: 2s;   --duration: 4.5s; }
.particle:nth-child(5) { --x: 30%; --y: 50%; --delay: 1.5s; --duration: 3.8s; }
.particle:nth-child(6) { --x: 80%; --y: 55%; --delay: 0.8s; --duration: 4.2s; }
.particle:nth-child(7) { --x: 50%; --y: 20%; --delay: 2.5s; --duration: 3.2s; }
.particle:nth-child(8) { --x: 15%; --y: 65%; --delay: 1.8s; --duration: 5.5s; }

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) scale(1.2);
        opacity: 0.6;
    }
    90% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-logo {
    margin-bottom: 32px;
    animation: fade-in 2.5s ease-in-out 0.5s both;
}

.logo-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: capitalize;
}

.logo-dot {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-accent);
    animation: fade-in 2.5s ease-in-out 0.9s both;
}

.hero-title--gradient {
    background: linear-gradient(135deg, #e0e0e0, #888888, #555555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 768px) {
    .bulb-container {
        width: 280px;
        height: 450px;
    }

    .logo-text,
    .logo-dot {
        font-size: 15px;
    }

    .hero-logo {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .bulb-tagline-text {
        font-size: clamp(14px, 3.5vw, 18px);
    }
}

@media (max-width: 480px) {
    .bulb-container {
        width: 220px;
        height: 352px;
    }

    .hero-title {
        font-size: clamp(24px, 7vw, 34px);
    }

    .hero-logo {
        margin-bottom: 16px;
    }

    .logo-text,
    .logo-dot {
        font-size: 13px;
    }

    .bulb-tagline-text {
        font-size: clamp(12px, 3vw, 15px);
    }
}

.bulb-tagline {
    position: absolute;
    left: 50%;
    bottom: 18%;
    transform: translateX(-50%);
    text-align: center;
    cursor: default;
    animation: fade-in 2.5s ease-in-out 1.2s both;
}

.bulb-tagline-text {
    font-family: var(--font-family);
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
    white-space: nowrap;
}

.footer {
    padding: 18px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.02em;
}
