/* ==========================================================================
   LED Display Store - Premium Design System (Vanilla CSS)
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Premium Design System */
:root {
    /* Color Palette */
    --bg-main: #06060c;
    --bg-surface: #0f0f1d;
    --bg-surface-elevated: #16162a;
    --primary: #00f2fe;
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --accent: #f35588;
    --accent-gradient: linear-gradient(135deg, #f35588 0%, #ff758c 100%);
    --success: #00e676;
    --warning: #ffb300;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    /* Typography */
    --font-heading: 'Outfit', 'Prompt', sans-serif;
    --font-body: 'Outfit', 'Prompt', sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadows & Glows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --glow-primary: 0 0 15px rgba(0, 242, 254, 0.4);
    --glow-accent: 0 0 15px rgba(243, 85, 136, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container Width */
    --container-width: 1200px;
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 6, 12, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 15, 29, 0.95);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
    display: inline-block;
    box-shadow: var(--glow-accent);
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
}

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

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
    box-shadow: var(--glow-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #06060c;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), var(--shadow-md);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-accent), var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(243, 85, 136, 0.08) 0%, transparent 50%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.hero-title {
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    z-index: -1;
    border-radius: calc(var(--radius-lg) + 2px);
    opacity: 0.3;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-glow-element {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    margin-bottom: 20px;
}

/* Features/Services Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 242, 254, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(0, 242, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.5rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary-gradient);
    color: #06060c;
    box-shadow: var(--glow-primary);
}

.feature-title {
    margin-bottom: 16px;
}

/* Products Highlights */
.products-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(6, 6, 12, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

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

.product-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.product-spec-list {
    margin: 20px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.product-spec-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-spec-item i {
    color: var(--primary);
    font-size: 0.95rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
    font-family: var(--font-heading);
}

.product-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.product-price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

/* Call to Action Section */
.cta-banner {
    background: linear-gradient(135deg, rgba(15, 15, 29, 0.9) 0%, rgba(6, 6, 12, 0.95) 100%),
                url('../images/product-rental.jpg') center/cover no-repeat;
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg), var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    margin-bottom: 20px;
}

.cta-desc {
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1.1rem;
}

/* Contact & Forms styling */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin-bottom: 6px;
}

.form-wrapper {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background: var(--bg-surface-elevated);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-error {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--success);
}

.alert-danger {
    background: rgba(243, 85, 136, 0.1);
    border: 1px solid rgba(243, 85, 136, 0.2);
    color: var(--accent);
}

/* Footer */
.footer {
    background-color: #030307;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--primary-gradient);
    color: #06060c;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pages Styling Extra */
.page-header {
    padding: 160px 0 60px;
    background: radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 60%);
    text-align: center;
}

.page-title {
    margin-bottom: 16px;
}

.page-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.page-breadcrumbs a:hover {
    color: var(--primary);
}

/* Detail page styling */
.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.detail-gallery {
    position: sticky;
    top: 110px;
}

.detail-main-img-wrapper {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.detail-specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-specs-table td {
    padding: 16px 8px;
    font-size: 0.95rem;
}

.detail-specs-table td:first-child {
    font-weight: 600;
    color: var(--text-secondary);
    width: 40%;
}

.detail-specs-table td:last-child {
    color: #ffffff;
}

.detail-info-panel {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    height: fit-content;
    position: sticky;
    top: 110px;
}

.detail-title {
    margin-bottom: 16px;
}

.detail-price-box {
    margin: 24px 0;
    padding: 24px;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.detail-price-box-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.detail-price-box-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.detail-benefits {
    list-style: none;
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-benefit-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-benefit-item i {
    color: var(--success);
}

/* Success page styling */
.success-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    max-width: 580px;
    margin: 40px auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: rgba(0, 230, 118, 0.1);
    border: 2px solid var(--success);
    color: var(--success);
    font-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}

.success-ref-box {
    margin: 24px 0 36px;
    background: var(--bg-surface-elevated);
    padding: 16px;
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: 1.1rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-gallery {
        position: static;
    }
    
    .detail-info-panel {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile menu handled via JS */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
