:root {
    --bg-dark: #050816;
    --bg-dark-soft: #0b1020;
    --bg-light: #f5f7ff;
    --accent-blue: #4CC9F0;
    --accent-purple: #7209B7;
    --text-main: #f5f5f7;
    --text-muted: #c3c6e0;
    --card-dark: rgba(11, 16, 32, 0.96);
    --card-light: rgba(255, 255, 255, 0.96);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #151a3a 0, #050816 55%, #02030a 100%);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Background waves + shimmer (JS adds elements) */
.wave-layer {
    position: fixed;
    inset: -25vh -25vw;
    background:
        radial-gradient(circle at 10% 20%, rgba(76, 201, 240, 0.35), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(114, 9, 183, 0.4), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(76, 201, 240, 0.25), transparent 55%),
        radial-gradient(circle at 90% 70%, rgba(114, 9, 183, 0.35), transparent 55%);
    filter: blur(40px);
    opacity: 0.9;
    z-index: -2;
    transition: transform 0.25s ease-out;
    pointer-events: none;
}

.wave-shimmer {
    position: fixed;
    inset: -30vh -30vw;
    background: conic-gradient(
        from 120deg,
        rgba(255, 255, 255, 0.08),
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    mix-blend-mode: screen;
    opacity: 0.4;
    animation: shimmerMove 18s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes shimmerMove {
    0% { transform: translate3d(-5%, -5%, 0) rotate(0deg); }
    50% { transform: translate3d(5%, 5%, 0) rotate(180deg); }
    100% { transform: translate3d(-5%, -5%, 0) rotate(360deg); }
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    z-index: 30;
    box-shadow: 0 0 12px rgba(76, 201, 240, 0.7);
}

/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Tilt base */
.tilt {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    will-change: transform;
}

/* HERO (dark tech) */
.hero {
    background: linear-gradient(135deg, rgba(5, 8, 22, 0.98), rgba(11, 16, 32, 0.98));
    padding: 110px 20px 90px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.4rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Sections */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 70px 20px;
}

/* Dark section */
.section-dark {
    background: radial-gradient(circle at top, #151a3a 0, #050816 55%, #02030a 100%);
}

/* Light section */
.section-light {
    background: var(--bg-light);
    color: #1a1b2f;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* Why Choose Us */
.section-dark h2,
.section-dark h3 {
    color: #ffffff;
}

.section-dark h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.why-card {
    background: var(--card-dark);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(76, 201, 240, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.why-card p {
    color: var(--text-muted);
}

/* Featured (light tech) */
.section-light .featured {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding: 40px 40px 45px;
}

.section-light h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.featured-text p {
    color: #3b3f5c;
}

.featured-price {
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-purple);
}

.featured-card {
    position: relative;
    background: var(--card-light);
    border-radius: 20px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(114, 9, 183, 0.25);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.featured-glow {
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        rgba(76, 201, 240, 0.0),
        rgba(76, 201, 240, 0.35),
        rgba(114, 9, 183, 0.4),
        rgba(76, 201, 240, 0.0)
    );
    opacity: 0.0;
    mix-blend-mode: screen;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.featured-card:hover .featured-glow {
    opacity: 0.7;
    transform: translate3d(10px, -10px, 0);
}

.featured-inner {
    position: relative;
    z-index: 1;
}

.featured-inner .tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Products */
.products h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.product-card {
    background: var(--card-dark);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(76, 201, 240, 0.18);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        rgba(76, 201, 240, 0.0),
        rgba(76, 201, 240, 0.35),
        rgba(114, 9, 183, 0.4),
        rgba(76, 201, 240, 0.0)
    );
    opacity: 0;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    mix-blend-mode: screen;
}

.product-card:hover::before {
    opacity: 0.7;
    transform: translate3d(10px, -10px, 0);
}

.product-card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.price {
    font-weight: 600;
    margin-top: 5px;
    color: var(--accent-blue);
}

.desc {
    color: var(--text-muted);
    margin-top: 8px;
}

/* About (light) */
.about {
    padding: 45px 40px 40px;
}

.about h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.about p {
    max-width: 750px;
    font-size: 1.1rem;
    color: #3b3f5c;
}

/* Contact (dark) */
.contact h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.contact-info {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--card-dark);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(114, 9, 183, 0.25);
}

.contact-form label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 12, 30, 0.9);
    color: var(--text-main);
    font-size: 1rem;
    transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(15, 20, 40, 0.95);
    outline: none;
    box-shadow: 0 0 14px rgba(76, 201, 240, 0.4);
}

.contact-form button {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    color: white;
    font-size: 1.15rem;
    border-radius: 12px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.15s ease;
}

.contact-form button:hover {
    box-shadow: 0 0 22px rgba(76, 201, 240, 0.7);
    transform: translateY(-2px);
}

/* Floating action button */
.fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #4CC9F0, #7209B7);
    box-shadow: 0 0 25px rgba(76, 201, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050712;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 20;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 32px rgba(114, 9, 183, 0.9);
}

/* Cursor trail */
.cursor-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff, var(--accent-blue));
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.9;
    z-index: 25;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(5, 7, 18, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .section-light .featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero {
        padding: 90px 16px 70px;
    }

    .section {
        padding: 60px 18px;
    }

    .about {
        padding: 35px 22px 30px;
    }

    .section-light .featured {
        padding: 30px 22px 35px;
    }

    .fab {
        width: 52px;
        height: 52px;
        right: 18px;
        bottom: 18px;
    }
}
