/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500&display=swap');

:root {
    --primary-color: #8354F8;
    --primary-gradient: linear-gradient(135deg, #669CFE, #0BFFEC);
    --dark-bg: #121212;
    --darker-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-muted: #888888;
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Base styles */
body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Inter', sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.lead {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(26, 26, 26, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar-toggler {
    margin-left: auto;
    margin-right: 15px;
    position: relative;
    z-index: 1000;
}

.navbar > .container {
    padding-right: 0;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Navbar brand hover effect */
.navbar-brand {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 10px rgba(131, 84, 248, 0.5));
}

/* Sections */
.section {
    padding: 100px 0;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background-color: var(--darker-bg);
    padding: 60px 0;
    min-height: 90vh;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-section .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-section .btn {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* Update hero section image styles */
.hero-section img {
    max-width: 100%;
    margin-left: 35%;
    transform: scale(1.5); /* Initial scale */
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(131, 84, 248, 0.2));
    transition: all 0.5s ease;
}

.hero-section img:hover {
    transform: scale(1.7);
    filter: drop-shadow(0 0 30px rgba(131, 84, 248, 0.4));
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Product Section */
.product-image {
    max-width: 100%;
    position: relative;
    margin: 20px auto;
    display: block;
    transition: all 0.4s ease;
    animation: productPulse 4s ease-in-out infinite;
}

.product-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 10px 20px rgba(131, 84, 248, 0.3));
}

.product-description {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Specs List */
.specs-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-container h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.specs-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* References */
.reference-card {
    background: linear-gradient(145deg, #1c1c1c, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 98%;
    margin-bottom: 100px;
}

.reference-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.reference-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.reference-card h4 {
    font-size: 1.1rem;
    margin: 15px 0 10px;
}

/* Purchase Options */
.purchase-options {
    margin-top: 60px;
}

.purchase-card {
    background: linear-gradient(145deg, #1c1c1c, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    height: 98%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purchase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.purchase-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.purchase-list li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.purchase-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* About Section */
#about.section {
    background: linear-gradient(145deg, var(--dark-bg), var(--darker-bg));
    padding: 80px 0;
}

#about .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

#about p {
    color: #e0e0e0;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
}

#about img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
    transform: translateX(0);
}

#about .col-md-8 {
    margin: 0 auto;
}

/* About Section Logo */
.about-logo {
    max-width: 300px;
    margin: 0 auto;
    display: block;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    animation: slowCoinFlip 8s linear infinite, silverGlow 3s ease-in-out infinite;
    position: relative;
}

.about-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(192, 192, 192, 0.2),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

.about-logo:hover {
    animation: slowCoinFlip 8s linear infinite, silverGlow 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .about-logo {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Contact Section */
#contact.section {
    background: linear-gradient(145deg, var(--dark-bg), var(--darker-bg));
    padding: 80px 0;
}

/* Contact Section Title */
#contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

#contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#contact .container {
    max-width: 1140px;
}

#contact h2, #contact h3 {
    background: var(--text-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

#contactForm, .contact-info {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    backdrop-filter: blur(10px);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.info-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item a, .contact-item span {
    color: var(--text-color);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Form Controls */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color) !important;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(131, 84, 248, 0.2);
    transform: translateY(-2px);
}

#contactForm .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    #contactForm, .contact-info {
        padding: 1.5rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info p a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--primary-color);
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.contact-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .contact-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Utilities */
.text-muted {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove slideInFromRight animation and update float animation */
@keyframes float {
    0% {
        transform: translateY(0) scale(1.5);
    }
    50% {
        transform: translateY(-20px) scale(1.5);
    }
    100% {
        transform: translateY(0) scale(1.5);
    }
}

@keyframes hoverAnimation {
    0% {
        transform: translateY(0) scale(1.6) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) scale(1.6) rotate(3deg);
    }
    100% {
        transform: translateY(0) scale(1.6) rotate(0deg);
    }
}

@keyframes heroHover {
    0% {
        transform: perspective(1000px) rotateY(0) scale(1.6);
    }
    100% {
        transform: perspective(1000px) rotateY(10deg) scale(1.6);
    }
}

@keyframes coinFlip {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes productPulse {
    0% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 5px 15px rgba(131, 84, 248, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.1) drop-shadow(0 10px 20px rgba(131, 84, 248, 0.3));
    }
    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 5px 15px rgba(131, 84, 248, 0.2));
    }
}

@keyframes slowCoinFlip {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* About Logo Animation */
@keyframes silverGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(192, 192, 192, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.3));
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section img {
        margin-left: 0;
        margin-top: 2rem;
        transform: scale(1.2);
        max-width: 90%;
        display: block;
        margin: 2rem auto 0;
        animation: float-mobile 6s ease-in-out infinite;
    }

    @keyframes float-mobile {
        0% {
            transform: translateY(0) scale(1.2);
        }
        50% {
            transform: translateY(-20px) scale(1.2);
        }
        100% {
            transform: translateY(0) scale(1.2);
        }
    }

    .product-image {
        transform: none;
    }

    .product-image:hover {
        transform: scale(1.02);
    }

    .reference-card,
    .purchase-card {
        margin-bottom: 30px;
    }

    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .contact-title {
        color: var(--primary-color);
        font-size: 2rem;
        margin-bottom: 2rem;
        font-weight: 600;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .contact-item i {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-right: 1rem;
        margin-top: 0.25rem;
    }

    .contact-info {
        margin-top: 3rem;
        padding-top: 3rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .contact-details {
        flex: 1;
    }

    #contact .row > div:first-child {
        margin-bottom: 2rem;
    }
    
    #contact.section {
        padding: 60px 0;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    #contactForm {
        padding: 1.5rem;
    }
    .contact-label {
        display: block;
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .contact-text {
        font-size: 1.1rem;
        color: var(--text-color);
        margin: 0;
        line-height: 1.6;
    }
    
    .contact-text a {
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .contact-text a:hover {
        color: var(--primary-color);
    }
}