/* ================================
   CSS Variables & Reset
   ================================ */

:root {
    /* Colors */
    --white: #FFFFFF;
    --warm-white: #FFFEF0;
    --soft-yellow: #FFF8E1;
    --warm-beige: #F5F5DC;
    --text-primary: #2C2C2C;
    --text-secondary: #666666;
    --accent-gold: #D4AF37;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1400px;
    --container-padding: 5%;

    /* Shadows - Directional lighting from above */
    --glow-subtle: 0 4px 20px rgba(255, 248, 225, 0.15);
    --glow-hover: 0 8px 30px rgba(255, 248, 225, 0.25);
    --shadow-card:
        0 -2px 8px rgba(255, 248, 225, 0.15),
        0 4px 16px rgba(44, 44, 44, 0.06),
        0 8px 24px rgba(44, 44, 44, 0.04);
    --shadow-card-hover:
        0 -4px 16px rgba(255, 248, 225, 0.25),
        0 8px 32px rgba(44, 44, 44, 0.08),
        0 16px 48px rgba(44, 44, 44, 0.06);
}

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

html {
    scroll-behavior: smooth;
    cursor: none;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* ================================
   Custom Scrollbar
   ================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--warm-white);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(212, 175, 55, 0.6) 100%);
    border-radius: 10px;
    border: 2px solid var(--warm-white);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(212, 175, 55, 0.8) 100%);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--warm-white);
}

/* ================================
   Custom Cursor
   ================================ */

.custom-cursor {
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    transform: translate(-50%, -50%);
    background-color: rgba(212, 175, 55, 0.2);
}

.cursor-glow {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(255, 248, 225, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.25s ease;
    transform: translate(-50%, -50%);
}

body.cursor-hover .custom-cursor {
    width: 50px;
    height: 50px;
    border-color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.15);
}

/* ================================
   Container
   ================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero .container {
    position: relative;
    z-index: 4;
}

/* ================================
   Header
   ================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 24px 0;
    border-bottom: 1px solid rgba(245, 245, 220, 0.3);
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.header.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

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

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

.nav a:hover::after {
    width: 100%;
}

/* ================================
   Hero Section
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(ellipse 1400px 600px at 50% -200px, rgba(255, 248, 225, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 1200px 800px at 50% 0%, rgba(255, 248, 225, 0.25) 0%, transparent 70%),
        linear-gradient(180deg, var(--warm-white) 0%, var(--white) 100%);
    padding-top: 80px;
    overflow: hidden;
}

/* Dark overlay for initial state */
.hero .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(44, 44, 44, 0.95) 0%, rgba(44, 44, 44, 0.85) 100%);
    z-index: 3;
    opacity: 1;
    pointer-events: none;
    transition: opacity 2s ease-out 0.2s;
}

.hero.illuminated .dark-overlay {
    opacity: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 1000px 1200px at 50% -150px,
        rgba(255, 248, 225, 0) 0%,
        rgba(255, 248, 225, 0) 10%,
        rgba(255, 248, 225, 0.15) 30%,
        rgba(255, 248, 225, 0.08) 50%,
        transparent 70%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: light-spread 1.5s ease-out 2.2s forwards;
}

.hero::after {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 300px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.4) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    box-shadow:
        0 0 40px rgba(255, 248, 225, 0.6),
        0 0 80px rgba(255, 248, 225, 0.4),
        0 0 120px rgba(255, 248, 225, 0.2);
    opacity: 0;
    animation: ceiling-light 1s ease-out 2.2s forwards;
}

@keyframes light-spread {
    from {
        opacity: 0;
        background: radial-gradient(ellipse 1000px 1200px at 50% -150px,
            rgba(255, 248, 225, 0) 0%,
            transparent 100%);
    }
    to {
        opacity: 1;
        background: radial-gradient(ellipse 1000px 1200px at 50% -150px,
            rgba(255, 248, 225, 0.6) 0%,
            rgba(255, 248, 225, 0.4) 20%,
            rgba(255, 248, 225, 0.2) 40%,
            rgba(255, 248, 225, 0.08) 60%,
            transparent 80%);
    }
}

@keyframes ceiling-light {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow:
        0 1px 2px rgba(255, 248, 225, 0.8),
        0 -1px 4px rgba(255, 248, 225, 0.4),
        0 4px 12px rgba(44, 44, 44, 0.05);
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-shadow:
        0 1px 2px rgba(255, 248, 225, 0.6),
        0 2px 8px rgba(44, 44, 44, 0.03);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 400;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: var(--text-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
    box-shadow:
        0 -2px 8px rgba(255, 248, 225, 0.2),
        0 4px 16px rgba(44, 44, 44, 0.15),
        0 8px 24px rgba(44, 44, 44, 0.1);
    position: relative;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 248, 225, 0.6) 50%, transparent 100%);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow:
        0 -4px 12px rgba(255, 248, 225, 0.4),
        0 8px 24px rgba(44, 44, 44, 0.15),
        0 16px 32px rgba(44, 44, 44, 0.12);
}

.cta-button:hover::before {
    opacity: 1;
}

/* Illuminate animation */
.illuminate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ================================
   Pendant Lamp
   ================================ */

.pendant-lamp {
    position: absolute;
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: lamp-descend 1.2s ease-out 0.5s forwards;
    pointer-events: none;
}

.lamp-cord {
    width: 2px;
    height: 300px;
    background: linear-gradient(180deg, rgba(44, 44, 44, 0.3) 0%, rgba(44, 44, 44, 0.15) 100%);
    margin: 0 auto;
    position: relative;
}

.lamp-fixture {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.lamp-cap {
    width: 50px;
    height: 20px;
    background: linear-gradient(180deg, #2C2C2C 0%, #3a3a3a 100%);
    border-radius: 25px 25px 0 0;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.lamp-bulb {
    width: 60px;
    height: 45px;
    background: radial-gradient(ellipse at center, rgba(255, 248, 225, 0.3) 0%, rgba(255, 248, 225, 0.1) 50%, rgba(200, 200, 200, 0.2) 100%);
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
    margin: -8px auto 0;
    position: relative;
    opacity: 0.4;
    animation: bulb-warmup 1.5s ease-in-out 1.7s forwards;
    box-shadow: inset 0 -8px 16px rgba(255, 248, 225, 0.1);
    z-index: 1;
}

.lamp-filament {
    width: 18px;
    height: 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: filament-glow 0.3s ease-in-out 2s forwards, filament-flicker 0.3s ease-in-out 2.3s;
}

.light-cone {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0px;
    height: 0px;
    background: radial-gradient(ellipse at top,
        rgba(255, 248, 225, 0.4) 0%,
        rgba(255, 248, 225, 0.25) 20%,
        rgba(255, 248, 225, 0.15) 40%,
        rgba(255, 248, 225, 0.05) 60%,
        transparent 80%);
    border-radius: 50%;
    opacity: 0;
    animation: light-expand 1s ease-out 2.2s forwards;
    filter: blur(20px);
    z-index: 2;
    pointer-events: none;
}

/* Lamp Animations */
@keyframes lamp-descend {
    from {
        top: -400px;
        opacity: 0;
    }
    to {
        top: -100px;
        opacity: 1;
    }
}

@keyframes lamp-descend-tablet {
    from {
        top: -700px;
        opacity: 0;
    }
    to {
        top: -300px;
        opacity: 1;
    }
}

@keyframes lamp-descend-mobile {
    from {
        top: -750px;
        opacity: 0;
    }
    to {
        top: -300px;
        opacity: 1;
    }
}

@keyframes bulb-warmup {
    0% {
        opacity: 0.4;
        background: radial-gradient(ellipse at center, rgba(255, 248, 225, 0.3) 0%, rgba(255, 248, 225, 0.1) 50%, rgba(200, 200, 200, 0.2) 100%);
    }
    50% {
        opacity: 0.6;
        background: radial-gradient(ellipse at center, rgba(255, 240, 200, 0.5) 0%, rgba(255, 240, 200, 0.3) 50%, rgba(220, 220, 200, 0.3) 100%);
    }
    100% {
        opacity: 1;
        background: radial-gradient(ellipse at center, rgba(255, 248, 225, 0.95) 0%, rgba(255, 248, 225, 0.7) 50%, rgba(240, 230, 200, 0.5) 100%);
        box-shadow:
            inset 0 -10px 30px rgba(255, 248, 225, 0.4),
            0 0 40px rgba(255, 248, 225, 0.6),
            0 0 80px rgba(255, 248, 225, 0.4);
    }
}

@keyframes filament-glow {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        background: linear-gradient(180deg, rgba(212, 175, 55, 0.8) 0%, rgba(255, 220, 120, 0.9) 50%, rgba(212, 175, 55, 0.8) 100%);
        box-shadow: 0 0 20px rgba(255, 248, 225, 0.8);
    }
}

@keyframes filament-flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes light-expand {
    from {
        width: 0px;
        height: 0px;
        opacity: 0;
    }
    to {
        width: 1200px;
        height: 1000px;
        opacity: 1;
    }
}

/* Hero initial state */
.hero.dark-state .hero-content {
    opacity: 0;
}

.hero.dark-state::before,
.hero.dark-state::after {
    animation: none;
    opacity: 0;
}

/* Content illumination */
.hero-content {
    transition: opacity 0.8s ease-out 2.8s, text-shadow 0.8s ease-out 2.8s;
}

.hero.illuminated .hero-content {
    opacity: 1;
}

.hero.illuminated .hero-title {
    text-shadow:
        0 2px 4px rgba(255, 248, 225, 0.6),
        0 4px 8px rgba(44, 44, 44, 0.3),
        0 -2px 8px rgba(255, 248, 225, 0.4);
}

.hero.illuminated .hero-subtitle,
.hero.illuminated .hero-description {
    text-shadow:
        0 2px 4px rgba(255, 248, 225, 0.4),
        0 3px 6px rgba(44, 44, 44, 0.2);
}

.hero.illuminated .cta-button {
    box-shadow:
        0 -4px 12px rgba(255, 248, 225, 0.5),
        0 8px 24px rgba(44, 44, 44, 0.25),
        0 16px 32px rgba(44, 44, 44, 0.15);
}

/* ================================
   Services Section
   ================================ */

.services {
    padding: var(--section-padding) 0;
    background: var(--warm-white);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -1px;
    text-shadow:
        0 1px 2px rgba(255, 248, 225, 0.4),
        0 2px 8px rgba(44, 44, 44, 0.03);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 16px;
    transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: var(--shadow-card);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 248, 225, 0.4) 50%, transparent 100%);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: var(--accent-gold);
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
    font-weight: 400;
}

/* ================================
   Numbers Section
   ================================ */

.numbers {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.number-card {
    text-align: center;
}

.number-value {
    font-size: clamp(56px, 8vw, 80px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 16px;
}

.number-value::after {
    content: '+';
    color: var(--accent-gold);
}

.number-card:nth-child(2) .number-value::after {
    content: '%';
}

.number-card:nth-child(4) .number-value::after {
    content: '/7';
}

.number-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ================================
   Testimonials Section
   ================================ */

.testimonials {
    padding: var(--section-padding) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 248, 225, 0.3) 50%, transparent 100%);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.quote-mark {
    font-size: 80px;
    color: var(--soft-yellow);
    line-height: 1;
    font-weight: 700;
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid var(--warm-beige);
    padding-top: 20px;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ================================
   Contact Section
   ================================ */

.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
    text-align: center;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-container {
    display: inline-block;
    padding: 30px 60px;
    background: var(--soft-yellow);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: all 0.3s ease;
}

.email-container:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.email-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 248, 225, 0.6) 50%, transparent 100%);
    border-radius: 2px;
}

.email-container::after {
    content: 'Click to copy';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.email-container:hover::after {
    opacity: 0.7;
}

#emailCanvas {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    max-width: 100%;
    height: auto;
    cursor: none;
    transition: opacity 0.2s ease;
}

#emailCanvas:hover {
    opacity: 0.8;
}

#emailCanvas:active {
    opacity: 0.6;
}

/* Copy Toast */
.copy-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    box-shadow:
        0 -2px 12px rgba(255, 248, 225, 0.2),
        0 8px 32px rgba(44, 44, 44, 0.3);
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.3s ease;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-toast::before {
    content: '✓';
    display: inline-block;
    margin-right: 8px;
    color: var(--accent-gold);
    font-weight: 700;
}

/* ================================
   FAQ Section
   ================================ */

.faq {
    padding: var(--section-padding) 0;
    background: var(--warm-white);
}

/* Search Container */
.faq-search-container {
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
}

.faq-search {
    width: 100%;
    padding: 18px 50px 18px 24px;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--white);
    border: 2px solid var(--warm-beige);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.faq-search::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.faq-search:focus {
    border-color: var(--accent-gold);
    box-shadow:
        0 -2px 12px rgba(255, 248, 225, 0.3),
        0 4px 20px rgba(44, 44, 44, 0.08),
        0 8px 32px rgba(44, 44, 44, 0.06);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: color 0.3s ease;
}

.faq-search:focus ~ .search-icon {
    color: var(--accent-gold);
}

.search-glow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.faq-search:focus ~ .search-glow {
    width: 80%;
    opacity: 1;
}

.faq-results-count {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-results-count.visible {
    opacity: 1;
}

/* FAQ List */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.4s ease, order 0s;
    box-shadow: var(--shadow-card);
}

.faq-item:hover {
    box-shadow: var(--shadow-card-hover);
}

.faq-item.hidden {
    opacity: 0.3;
    pointer-events: none;
}

/* Spotlight Effect */
.faq-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
        rgba(255, 248, 225, 0.15) 0%,
        rgba(255, 248, 225, 0.08) 30%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.faq-item.matched .faq-spotlight {
    opacity: 1;
    animation: spotlight-pulse 0.6s ease-out;
}

@keyframes spotlight-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Question */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: none;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-question mark {
    background: rgba(212, 175, 55, 0.25);
    color: var(--text-primary);
    padding: 2px 4px;
    border-radius: 3px;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--accent-gold);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-question:hover .faq-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.faq-item.active .faq-question:hover .faq-icon {
    transform: rotate(45deg) scale(1.1);
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer-inner {
    padding: 0 28px 0 28px;
    position: relative;
}

.faq-answer-inner::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(255, 248, 225, 0.6) 0%,
        rgba(255, 248, 225, 0.3) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}

.faq-item.active .faq-answer-inner::before {
    opacity: 1;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.faq-answer mark {
    background: rgba(212, 175, 55, 0.2);
    color: var(--text-secondary);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Active State Light Effects */
.faq-item.active {
    box-shadow:
        0 -3px 12px rgba(255, 248, 225, 0.25),
        0 4px 20px rgba(44, 44, 44, 0.08),
        0 8px 32px rgba(44, 44, 44, 0.06);
}

.faq-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 248, 225, 0.8) 50%, transparent 100%);
    border-radius: 2px;
    animation: light-glow 0.6s ease-out;
}

@keyframes light-glow {
    0% {
        width: 0%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 60%;
        opacity: 1;
    }
}

/* No Results */
.faq-no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

.faq-no-results.visible {
    display: block;
}

.faq-no-results p {
    margin: 0;
}

/* ================================
   Footer
   ================================ */

.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 400;
}

/* ================================
   Modal
   ================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    padding: 60px;
    border-radius: 16px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 300;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: none;
    line-height: 1;
    transition: color 0.3s ease;
}

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

.modal-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 12px;
}

.modal-body {
    line-height: 1.8;
    color: var(--text-secondary);
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* ================================
   Fade-in Animation
   ================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --container-padding: 8%;
    }

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 24px;
    }

    .nav a {
        font-size: 14px;
    }

    .nav-hide-mobile {
        display: none;
    }

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

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

    .service-card {
        padding: 40px 30px;
    }

    .modal-content {
        padding: 40px 30px;
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .email-container {
        padding: 20px 30px;
        max-width: calc(100vw - 60px);
        overflow: hidden;
    }

    .email-container::after {
        bottom: -25px;
        font-size: 12px;
    }

    #emailCanvas {
        cursor: pointer;
    }

    html {
        cursor: auto;
    }

    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-glow {
        display: none;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px;
    }

    .faq-answer-inner::before {
        left: 20px;
        right: 20px;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .pendant-lamp {
        transform: translateX(-50%) scale(0.7);
        animation: lamp-descend-tablet 1.2s ease-out 0.5s forwards;
    }

    .lamp-cord {
        height: 400px;
    }

    .light-cone {
        filter: blur(15px);
    }

    .copy-toast {
        bottom: 30px;
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .pendant-lamp {
        transform: translateX(-50%) scale(0.6);
        animation: lamp-descend-mobile 1.2s ease-out 0.5s forwards;
    }

    .lamp-cord {
        height: 500px;
    }

    .email-container {
        padding: 15px 20px;
    }
}

/* ================================
   Accessibility
   ================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}
