/* ============================================
   HB Space TL - Futuristic Premium UI
   Advanced Technology & Robotics Design
   ============================================ */

/* Root Variables - Futuristic Color Palette */
:root {
    --primary: #0b4fd8;
    --primary-glow: #3b82f6;
    --secondary: #18b76a;
    --secondary-glow: #10b981;
    --accent: #06b6d4;
    --accent-glow: #22d3ee;
    --dark: #0a0e27;
    --dark-secondary: #0f172a;
    --light: #0f172a;
    --light-bg: #1e293b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Advanced Shadows & Glows */
    --glow-primary: 0 0 40px rgba(11, 79, 216, 0.4), 0 0 80px rgba(11, 79, 216, 0.2);
    --glow-secondary: 0 0 40px rgba(24, 183, 106, 0.4), 0 0 80px rgba(24, 183, 106, 0.2);
    --glow-accent: 0 0 40px rgba(6, 182, 212, 0.4), 0 0 80px rgba(6, 182, 212, 0.2);
    --shadow-glow: 0 20px 60px rgba(11, 79, 216, 0.3);
    --shadow-glow-hover: 0 30px 80px rgba(11, 79, 216, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0b4fd8 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #18b76a 0%, #10b981 50%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1e293b 50%, #0f172a 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(11, 79, 216, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(24, 183, 106, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, 30px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

/* ============================================
   NAVBAR - Futuristic Glassmorphism
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(11, 79, 216, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 12px;
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.logo-container:hover::before {
    opacity: 0.3;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(11, 79, 216, 0.5));
    transition: filter 0.3s ease;
}

.logo-container:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(11, 79, 216, 0.8));
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: var(--glow-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    inset: -4px -8px;
    border-radius: 6px;
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover::after {
    opacity: 0.2;
}

/* ============================================
   HERO SECTION - Futuristic & Dynamic
   ============================================ */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(11, 79, 216, 0.1) 0%, transparent 70%);
    z-index: 2;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

#home h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.3);
    letter-spacing: -2px;
}

/* Typing Text with Cursor */
#typing-text {
    position: relative;
    display: inline-block;
    min-height: 1.2em;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.15);
    font-weight: 800;
}

#typing-text::after {
    content: '|';
    display: inline-block;
    margin-left: 6px;
    color: #3b82f6 !important;
    font-weight: 400;
    font-size: 1em;
    animation: blink 1s infinite;
    text-shadow: 0 0 8px #3b82f6, 0 0 16px #3b82f6;
    vertical-align: baseline;
    opacity: 1;
}

@keyframes blink {
    0%, 45% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0.3;
    }
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

#home p {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white !important;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gradientFlow 3s ease infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-gradient::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-gradient > * {
    position: relative;
    z-index: 2;
}

.btn-gradient:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-glow-hover);
    color: white !important;
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient:hover::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   GLASSMORPHISM CARDS - Premium Glass Effect
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(11, 79, 216, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(11, 79, 216, 0.2),
                var(--glow-primary);
}

/* ============================================
   SECTIONS - Modern Spacing & Typography
   ============================================ */
section {
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
}

section:nth-child(even) {
    background: rgba(15, 23, 42, 0.5);
}

section h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

section h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* ============================================
   SERVICE CARDS - Futuristic Design
   ============================================ */
.service-card {
    position: relative;
    padding: 2.5rem;
    cursor: pointer;
}

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    box-shadow: var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.service-card .icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .icon-wrapper::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PROJECT CARDS - Gallery Design
   ============================================ */
.project-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(11, 79, 216, 0.2),
                var(--glow-primary);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover > div:last-child {
    opacity: 1 !important;
}

/* ============================================
   TEAM CARDS - Premium Design
   ============================================ */
.team-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card .avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
    position: relative;
    overflow: hidden;
}

.team-card .avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.team-card:hover .avatar::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.team-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card:hover {
    transform: translateY(-12px);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card .role {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   FORM - Modern Input Design
   ============================================ */
input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

input:focus, textarea:focus {
    outline: none;
    border-color: rgba(11, 79, 216, 0.5);
    box-shadow: 0 0 0 4px rgba(11, 79, 216, 0.1),
                var(--glow-primary);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button[type="submit"] {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

button[type="submit"]:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-hover);
}

/* Form Status Message */
#form-status {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    animation: fadeInUp 0.4s ease;
}

#form-status::before {
    margin-right: 0.5rem;
    font-weight: 700;
}

/* ============================================
   SCROLL TO TOP - Floating Button
   ============================================ */
#scrollToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#scrollToTop:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: var(--shadow-glow-hover);
}

#scrollToTop:active {
    transform: scale(0.95);
}

/* ============================================
   FLYER CARD
   ============================================ */
.flyer-card {
    position: relative;
    overflow: visible;
    padding: 1.5rem;
}

.flyer-card img {
    max-width: 100%;
    height: auto;
    display: block;
    width: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.flyer-card:hover img {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                var(--glow-primary);
}

/* ============================================
   FOOTER - Modern Design
   ============================================ */
footer {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
}

footer h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Social Media Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-link:hover {
    color: white;
    transform: translateY(-4px) scale(1.1);
    border-color: rgba(11, 79, 216, 0.5);
    box-shadow: 0 8px 24px rgba(11, 79, 216, 0.4),
                0 0 0 1px rgba(11, 79, 216, 0.2);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: var(--glow-primary);
}

/* ============================================
   BOUNCE ANIMATION
   ============================================ */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    transition: transform 0.5s ease;
}

.product-image-container:hover img {
    transform: scale(1.05);
}

/* ============================================
   MODAL - Order Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    transform: scale(0.9) translateY(50px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

#closeModal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.payment-option {
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: rgba(11, 79, 216, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 79, 216, 0.2);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(11, 79, 216, 0.3) !important;
    transform: translateY(-2px);
}

.copy-btn.copied {
    background: rgba(24, 183, 106, 0.2) !important;
    border-color: var(--secondary) !important;
    color: var(--secondary) !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .logo-img {
        height: 45px;
    }

    section {
        padding: 4rem 1rem;
    }

    #scrollToTop {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    /* Product Section Responsive */
    #product > div > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .modal-content {
        padding: 2rem 1.5rem !important;
        max-height: 95vh;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}
