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

:root {
    /* Color Palette - Modern Dark Theme */
    --bg-color: #0f172a;
    /* Slate 900 */
    --surface-color: #1e293b;
    /* Slate 800 */
    --primary-color: #6366f1;
    /* Indigo 500 */
    --primary-hover: #4f46e5;
    /* Indigo 600 */
    --text-primary: #f8fafc;
    /* Slate 50 */
    --text-secondary: #94a3b8;
    /* Slate 400 */
    --accent-color: #38bdf8;
    /* Sky 400 */
    --danger-color: #ef4444;
    --success-color: #22c55e;

    /* Spacing & Borders */
    --border-radius: 16px;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.15), transparent 60%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Product Grid */
.products-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #2e3b4e;
    margin-bottom: 1rem;
}

.product-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-buy {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-buy:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--surface-color);
    border: 1px solid var(--primary-color);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast i {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simplify for mobile for now */
    }
}
/* Pagination Styles */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; padding-bottom: 2rem; }
.page-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background-color: var(--surface-color); color: var(--text-secondary); border: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition); font-weight: 500; }
.page-link:hover, .page-link.active { background-color: var(--primary-color); color: white; border-color: var(--primary-color); }

/* Product Page Specific Styles */
.product-container { max-width: 1200px; margin: 4rem auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; padding: 0 20px; }
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.main-image { width: 100%; height: auto; border-radius: var(--border-radius); object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.1); }
.gallery-thumbs { display: flex; gap: 1rem; overflow-x: auto; }
.thumb { width: 80px; height: 60px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.thumb:hover, .thumb.active { border-color: var(--primary-color); }
.product-details { background-color: var(--surface-color); padding: 2rem; border-radius: var(--border-radius); border: 1px solid rgba(255, 255, 255, 0.05); height: fit-content; }
.product-title { font-size: 2rem; margin-bottom: 1rem; line-height: 1.2; }
.product-price { font-size: 2.5rem; color: var(--primary-color); font-weight: 700; margin-bottom: 2rem; display: block; }
.buy-action { display: flex; flex-direction: column; gap: 1rem; }
.btn-large { display: block; width: 100%; padding: 1rem; text-align: center; font-size: 1.2rem; border-radius: 12px; }
.description-header { font-size: 1.5rem; margin: 3rem 0 -1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 0.5rem; }
.description-content { color: var(--text-secondary); line-height: 1.8; margin-top: 1rem; }
.description-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
@media (max-width: 900px) { .product-container { grid-template-columns: 1fr; } }

/* Support Page & FAQ */
.faq-container { max-width: 800px; margin: 4rem auto; }
.accordion-item { background: var(--surface-color); border-radius: var(--border-radius); margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.accordion-header { padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 500; transition: background 0.3s; }
.accordion-header:hover { background: rgba(255,255,255,0.05); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 1.5rem; color: var(--text-secondary); line-height: 1.6; }
.accordion-content.active { padding-bottom: 1.5rem; }
.contact-box { text-align: center; margin-top: 4rem; padding: 3rem; background: var(--surface-color); border-radius: var(--border-radius); border: 1px solid var(--primary-color); }

/* Support Tabs */
.support-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn { background: var(--surface-color); border: 1px solid rgba(255,255,255,0.1); color: var(--text-secondary); padding: 0.8rem 2rem; border-radius: 8px; cursor: pointer; transition: var(--transition); font-weight: 500; font-size: 1rem; }
.tab-btn:hover { background: rgba(255,255,255,0.05); color: white; border-color: var(--primary-color); }
.tab-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.btn-contact { display: inline-block; width: auto; padding: 1rem 3rem; }
