/* ===== GC INFORMATIQUE - MAIN STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-glow: rgba(37,99,235,0.3);
    --text-primary: #f0f0f5;
    --text-secondary: #8888aa;
    --text-muted: #555570;
    --border: rgba(255,255,255,0.06);
    --border-accent: rgba(37,99,235,0.4);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --amd: #ED1C24;
    --intel: #0071c5;
    --nvidia: #76b900;
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --radius: 4px;
    --radius-lg: 8px;
}

[data-theme="light"] {
    --bg-primary: #f4f5f7;
    --bg-secondary: #eaebef;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fc;
    --text-primary: #0f0f1a;
    --text-secondary: #444466;
    --text-muted: #999aaa;
    --border: rgba(0,0,0,0.08);
    --border-accent: rgba(37,99,235,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

[data-theme="light"] .navbar {
    background: rgba(244,245,247,0.9);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.nav-brand .brand-gc { color: var(--text-primary); }
.nav-brand .brand-info { color: var(--accent-light); }
.nav-brand svg { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: var(--border);
}

.nav-links a.active { color: var(--accent-light); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.nav-btn:hover { color: var(--text-primary); background: var(--border); }

/* Language dropdown */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 6px;
    min-width: 120px;
    display: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.lang-dropdown.open { display: block; }
.lang-dropdown a {
    display: block;
    padding: 7px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.15s;
}
.lang-dropdown a:hover { background: var(--border); color: var(--text-primary); }
.lang-dropdown a.current { color: var(--accent-light); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(37,99,235,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(37,99,235,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,0.1);
    border: 1px solid var(--border-accent);
    color: var(--accent-light);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 400px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 0 30px rgba(37,99,235,0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(37,99,235,0.05);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    border: 1px solid var(--border);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(37,99,235,0.2), transparent 50%);
    pointer-events: none;
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.section-sub { color: var(--text-secondary); font-size: 1rem; }

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

/* ===== WHY CARDS ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.3s;
}

.why-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.why-icon {
    width: 40px; height: 40px;
    background: rgba(37,99,235,0.1);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.why-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.why-desc { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== PC CARDS ===== */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.pc-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37,99,235,0.15);
}

.pc-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.pc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pc-card:hover .pc-card-image img { transform: scale(1.04); }

.pc-badge {
    position: absolute;
    top: 12px; left: 12px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 2px;
    color: white;
}

.badge-amd { background: var(--amd); }
.badge-intel { background: var(--intel); }

.pc-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.pc-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
}

.pc-specs {
    list-style: none;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-specs li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.pc-specs li svg { color: var(--accent); flex-shrink: 0; }

.pc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.pc-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-light);
}

.pc-details-btn {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: color 0.2s;
}
.pc-details-btn:hover { color: var(--accent-light); }

/* ===== CONTACT ===== */
.contact-section {
    text-align: center;
    padding: 5rem 2rem;
}
.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 0 30px var(--accent-glow);
    transition: all 0.2s;
}
.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(37,99,235,0.4);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1.5rem;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    max-width: 280px;
    line-height: 1.7;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.78rem; }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 1;
}
.modal-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.modal-close:hover { color: var(--text-primary); background: var(--border); }
.modal-body { padding: 1.75rem; }

/* Detail Modal */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.detail-image { border-radius: var(--radius); overflow: hidden; }
.detail-image img { width: 100%; display: block; }
.detail-info { display: flex; flex-direction: column; justify-content: space-between; }
.detail-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-light);
    margin-bottom: 1rem;
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 8px 0; font-size: 0.82rem; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; font-size: 0.75rem; text-transform: uppercase; width: 40%; }

/* Order Form */
.order-form { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.order-form h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.form-group input, .form-group textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 9px 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea { height: 80px; resize: vertical; }

/* ===== NO PC ===== */
.no-pc {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}
.no-pc svg { margin-bottom: 1rem; opacity: 0.3; }
.no-pc p { font-size: 0.9rem; }

/* ===== TOAST ===== */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    min-width: 250px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .pc-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .detail-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
