/* ===== CSS Variables ===== */
:root {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #7c3aed;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border: #2a2a35;
    --glow-green: rgba(0, 255, 136, 0.5);
    --glow-blue: rgba(0, 136, 255, 0.5);
    --glow-red: rgba(255, 68, 68, 0.5);
    --glow-pink: rgba(255, 68, 170, 0.5);
    --glow-orange: rgba(255, 136, 0, 0.5);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00ccff);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-green);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary), #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-green) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== Features Section ===== */
.features {
    background: var(--bg-card);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Featured Product Section ===== */
.featured-product {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border);
    overflow: hidden;
}

.glow-ring {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 8px solid var(--primary);
    box-shadow:
        0 0 20px var(--glow-green),
        inset 0 0 20px var(--glow-green);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 40px var(--glow-green), inset 0 0 40px var(--glow-green); }
}

.placeholder-text {
    position: absolute;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.product-info {
    padding: 20px 0;
}

.product-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-features {
    margin-bottom: 30px;
}

.product-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.testimonial-card .stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-card .author {
    color: var(--primary);
    font-weight: 500;
}

/* ===== About Section ===== */
.about {
    background: var(--bg-card);
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    text-align: center;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-card);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Product Detail Page ===== */
.product-detail {
    padding-top: 120px;
}

.breadcrumb {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery .main-image {
    margin-bottom: 20px;
}

.product-placeholder.large {
    min-height: 500px;
}

.glow-ring.animated {
    animation: rotate-glow 10s linear infinite, glow-pulse 2s ease-in-out infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.thumbnail-row {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary);
}

.mini-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    margin: 15%;
    width: 70%;
    height: 70%;
}

.mini-placeholder.glow-green {
    background: var(--primary);
    box-shadow: 0 0 15px var(--glow-green);
}

.mini-placeholder.glow-blue {
    background: #0088ff;
    box-shadow: 0 0 15px var(--glow-blue);
}

.mini-placeholder.glow-red {
    background: #ff4444;
    box-shadow: 0 0 15px var(--glow-red);
}

.mini-placeholder.glow-pink {
    background: #ff44aa;
    box-shadow: 0 0 15px var(--glow-pink);
}

.product-details h1 {
    font-size: 2.5rem;
    margin: 10px 0;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-rating .stars {
    color: #ffd700;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-description-full {
    margin-bottom: 30px;
}

.product-description-full h3 {
    margin-bottom: 10px;
}

.product-description-full p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Product Options */
.product-options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.size-selector {
    display: flex;
    gap: 10px;
}

.size-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.color-selector {
    display: flex;
    gap: 10px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-btn.active::after,
.color-btn:hover::after {
    border-color: var(--text-primary);
}

.color-btn.green { background: #00ff88; box-shadow: 0 0 10px var(--glow-green); }
.color-btn.blue { background: #0088ff; box-shadow: 0 0 10px var(--glow-blue); }
.color-btn.red { background: #ff4444; box-shadow: 0 0 10px var(--glow-red); }
.color-btn.pink { background: #ff44aa; box-shadow: 0 0 10px var(--glow-pink); }
.color-btn.orange { background: #ff8800; box-shadow: 0 0 10px var(--glow-orange); }
.color-btn.white { background: #ffffff; box-shadow: 0 0 10px rgba(255,255,255,0.5); }

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Size Chart */
.size-chart-section {
    background: var(--bg-card);
}

.size-guide-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.size-chart-wrapper {
    overflow-x: auto;
}

.size-chart {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
}

.size-chart th,
.size-chart td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.size-chart th {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.size-chart tbody tr:hover {
    background: rgba(0, 255, 136, 0.05);
}

.size-tip {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Light Modes Section */
.light-modes-section {
    background: var(--bg-dark);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mode-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.mode-demo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary);
}

.mode-demo.fast-flash {
    animation: fast-flash 0.3s infinite;
}

.mode-demo.steady-flash {
    animation: steady-flash 1s infinite;
}

.mode-demo.constant {
    box-shadow: 0 0 30px var(--glow-green);
}

@keyframes fast-flash {
    0%, 100% { opacity: 1; box-shadow: 0 0 30px var(--glow-green); }
    50% { opacity: 0.2; box-shadow: none; }
}

@keyframes steady-flash {
    0%, 100% { opacity: 1; box-shadow: 0 0 30px var(--glow-green); }
    50% { opacity: 0.3; box-shadow: 0 0 10px var(--glow-green); }
}

.mode-card h3 {
    margin-bottom: 10px;
}

.mode-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews-section {
    background: var(--bg-card);
}

.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.rating-overview {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-dark);
    padding: 20px 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.big-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.rating-details {
    text-align: left;
}

.rating-details .stars {
    color: #ffd700;
    font-size: 1.3rem;
}

.review-count {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--bg-dark);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header .stars {
    color: #ffd700;
}

.verified {
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
    padding: 3px 10px;
    border-radius: 10px;
}

.review-card h4 {
    margin-bottom: 10px;
}

.review-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.reviewer {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .product-showcase,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .product-placeholder.large {
        min-height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-actions {
        flex-direction: column;
    }

    .size-chart th,
    .size-chart td {
        padding: 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .product-details h1 {
        font-size: 1.8rem;
    }

    .thumbnail-row {
        gap: 10px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}
