/*
Theme Name: H2A TECH
Description: Theme kustom untuk H2A TECH - Toko Laptop ProGeTer (Programmer, Gamer, Content Creator).
Author: Antigravity
Version: 1.1.0
*/

:root {
    /* ProGeTer Dark Theme Variables */
    --bg-color: #06090e;
    /* Very dark background */
    --surface-color: #0d121c;
    /* Slightly lighter for cards */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-purple: #7c3aed;
    --border-color: #1e293b;
    --glow: 0 0 15px rgba(37, 99, 235, 0.4);
}

body {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    margin-top: 0;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-blue);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Header */
.site-header {
    background-color: rgba(6, 9, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-branding .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.site-branding .logo span {
    color: var(--accent-blue);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-size: 0.9rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.header-icon:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero-section {
    padding: 6rem 5% 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content h4 {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.3));
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(6, 9, 14, 0) 70%);
    z-index: -1;
}

/* Features Badges (Bottom of Hero) */
.hero-features {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface-color);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-badge i {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.feature-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Target Audience Section */
.target-section {
    padding: 6rem 5%;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    margin-bottom: 3rem;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.target-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.3s;
}

.target-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.target-card-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.target-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.target-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.target-card a {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Featured Product Section */
.featured-product-section {
    padding: 4rem 5% 6rem;
}

.featured-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    align-items: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
}

.featured-details h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.featured-details h4 {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.featured-details p {
    margin-bottom: 2rem;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.specs-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
}

.specs-list li i {
    color: var(--accent-blue);
}

/* Footer */
.site-footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent-blue);
}

.footer-widget h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 0.8rem;
}

.footer-widget ul li a {
    color: var(--text-secondary);
}

.footer-widget ul li a:hover {
    color: var(--text-primary);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    border-radius: 8px 0 0 8px;
    width: 100%;
}

.newsletter-form button {
    background: var(--accent-blue);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--text-primary);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-section,
    .featured-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .target-grid {
        grid-template-columns: 1fr;
    }

    .main-navigation {
        display: none;
        /* simple mobile hide for now */
    }
}

/* Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Custom WooCommerce Grid */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

@media (min-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (min-width: 1280px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* Custom WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination {
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    border: none;
    list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(10, 14, 23, 0.8) !important;
    color: #9ca3af !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #f97316 !important;
    color: #f97316 !important;
    background: rgba(249, 115, 22, 0.1) !important;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: linear-gradient(to right, #f97316, #ef4444) !important;
    color: white !important;
    border: 1px solid transparent !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.5);
}

/* Light Mode Overrides */
html.light-mode body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

html.light-mode .bg-brand-dark,
html.light-mode .bg-\[\#05080f\],
html.light-mode .bg-\[\#0A0E17\] {
    background-color: #f8fafc !important;
}

html.light-mode .bg-brand-card,
html.light-mode .bg-\[\#131A2A\],
html.light-mode .bg-gray-900,
html.light-mode .bg-gray-900\/20 {
    background-color: #ffffff !important;
}

html.light-mode .text-white,
html.light-mode .text-gray-200 {
    color: #0f172a !important;
}

html.light-mode .text-brand-muted,
html.light-mode .text-gray-400,
html.light-mode .text-gray-500,
html.light-mode .text-gray-300 {
    color: #64748b !important;
}

html.light-mode .border-gray-800,
html.light-mode .border-gray-700,
html.light-mode .border-gray-800\/50 {
    border-color: #e2e8f0 !important;
}

html.light-mode .glass-nav {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html.light-mode input.bg-\[\#0A0E17\],
html.light-mode input.bg-gray-900,
html.light-mode input.input-dark {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html.light-mode .woocommerce ul.products li.product {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

html.light-mode .woocommerce ul.products li.product:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #f97316 !important;
}

html.light-mode .text-glow {
    text-shadow: none !important;
}

html.light-mode .btn-glow {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

html.light-mode .woocommerce nav.woocommerce-pagination ul li a,
html.light-mode .woocommerce nav.woocommerce-pagination ul li span {
    background: #ffffff !important;
    color: #64748b !important;
    border-color: #e2e8f0 !important;
}

html.light-mode .woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #f97316 !important;
    color: #f97316 !important;
    background: #fff7ed !important;
}

html.light-mode footer {
    background-color: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
}

html.light-mode .tab-active {
    border-bottom-color: #0f172a !important;
    color: #0f172a !important;
}

html.light-mode .tab-inactive {
    color: #64748b !important;
}