/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1e1b29;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 27, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #00bfff;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00bfff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, #ff1744);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #00bfff;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1e1b29 0%, #2d1b3d 100%),
                url('https://images.pexels.com/photos/3861972/pexels-photo-3861972.jpeg') center/cover;
    background-blend-mode: multiply;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 27, 41, 0.7);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero-logo {
    animation: fadeInUp 1s ease-out;
}

.brand-name {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #00bfff 50%, #ff1744 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-slogan {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    position: relative;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00bfff 0%, #0080cc 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.4);
}

.button-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00bfff, #ff1744);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Section Titles */
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    background: linear-gradient(135deg, #ffffff 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00bfff, #ff1744);
    border-radius: 2px;
}

/* Collection Section */
.collection-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #1e1b29 0%, #2a1f3d 100%);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.2);
    border-color: rgba(0, 191, 255, 0.3);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.9) 0%, rgba(255, 23, 68, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-specs {
    text-align: center;
    padding: 24px;
}

.product-specs h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.product-specs li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #ffffff;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #00bfff;
}

.product-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background: #1e1b29;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.15);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    border: 3px solid #00bfff;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.testimonial-author h4 {
    color: #00bfff;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Features Carousel Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #2a1f3d 0%, #1e1b29 100%);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.carousel {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.carousel-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.carousel-slide.active {
    display: grid;
}

.slide-image {
    height: 400px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    padding: 40px;
}

.slide-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #00bfff;
    margin-bottom: 16px;
}

.feature-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.spec-badge {
    background: linear-gradient(135deg, #00bfff, #0080cc);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 16px;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.carousel-btn {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid #00bfff;
    color: #00bfff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #00bfff;
    color: #ffffff;
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #00bfff;
    transform: scale(1.2);
}

/* Newsletter Section */
.newsletter-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #00bfff 0%, #ff1744 100%);
    text-align: center;
}

.newsletter-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    padding: 16px 24px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-btn {
    background: #ffffff;
    color: #00bfff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #0f0d14;
    padding: 80px 0 24px;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    color: #00bfff;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav h4, .footer-social h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #00bfff;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
    color: #00bfff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.social-link:hover {
    background: #00bfff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Success Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: #1e1b29;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 2px solid #00bfff;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup-icon {
    font-size: 48px;
    color: #00bfff;
    margin-bottom: 16px;
}

.popup h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.popup p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.5;
}

.popup-close {
    background: linear-gradient(135deg, #00bfff, #0080cc);
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(30, 27, 41, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
        gap: 24px;
        border-top: 1px solid rgba(0, 191, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: 100vh;
        padding: 0 16px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .carousel-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .slide-image {
        height: 250px;
    }

    .slide-content {
        padding: 24px;
    }

    .carousel-controls {
        justify-content: center;
        gap: 16px;
    }

    .input-group {
        flex-direction: column;
        border-radius: 20px;
        gap: 8px;
    }

    .subscribe-btn {
        border-radius: 20px;
        margin: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .sticky-cta {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .brand-name {
        font-size: 48px;
    }

    .brand-slogan {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .collection-section,
    .testimonials-section,
    .features-section,
    .newsletter-section {
        padding: 80px 0;
    }

    .testimonial-card {
        padding: 24px;
    }

    .popup {
        padding: 24px;
    }
}