/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    --bg-dark: #050505;
    --bg-panel: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #222222;
    --accent-glow: rgba(255, 255, 255, 0.05);
    
    --font-head: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --sidebar-width: 15%;
    --sidebar-collapsed-width: 70px;
    --transition-speed: 0.6s;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    /* Deep Radial Gradient */
    background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 80%);
    color: var(--text-main);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden; 
}

/* Allow scrolling on pages that need it */
body.product-body {
    overflow-y: auto; 
    height: auto;
    background: #050505;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* =========================================
   2. GLOBAL LAYOUT (Sidebar & Grid)
   ========================================= */
.app-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr; 
    height: 100vh;
    transition: grid-template-columns var(--transition-speed) var(--easing);
}

.app-container.collapsed {
    grid-template-columns: var(--sidebar-collapsed-width) 1fr;
}

/* --- Sidebar --- */
.sidebar {
    background: var(--bg-panel);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.sidebar-header {
    padding: 0 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-end;
    height: 40px;
    align-items: center;
}

#sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.nav-item:hover {
    color: var(--text-main);
}

.nav-item i {
    font-size: 1.2rem;
    min-width: 24px;
}

.nav-text {
    margin-left: 1rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s var(--easing);
}

.app-container.collapsed .nav-text {
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
}

.sidebar-nav li.active .nav-item {
    color: var(--text-main);
}

.sidebar-footer {
    margin-top: auto;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.legal-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.legal-btn:hover, .legal-btn.active-legal {
    color: var(--text-main);
}

.visible-collapsed {
    display: none;
}

.app-container.collapsed .legal-btn .nav-text {
    display: none;
}
.app-container.collapsed .visible-collapsed {
    display: block;
    font-size: 1rem;
}

/* =========================================
   3. MAIN CONTENT AREA (Global)
   ========================================= */
.main-content {
    position: relative;
    padding: 3rem 4rem;
    overflow-y: auto;
    perspective: 1000px;
    z-index: 1;
}

/* Custom Scrollbar */
.main-content::-webkit-scrollbar {
    width: 6px;
}
.main-content::-webkit-scrollbar-track {
    background: transparent;
}
.main-content::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.brand-tag {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
    z-index: 5;
}

.page-header {
    margin-top: 2rem;
    margin-bottom: 4rem;
    overflow: hidden;
}

/* --- Swoop Animations --- */
.swoop-text-container {
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.swoop-line {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 3rem;
    color: #fff;
    transform: translateY(100%);
    display: block;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* =========================================
   4. HOMEPAGE SPECIFICS (Index)
   ========================================= */
.intro-section {
    margin-top: 4rem;
    margin-bottom: 6rem;
    max-width: 700px;
}

.intro-section .swoop-line {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.25rem;
    text-transform: none;
    letter-spacing: 0;
    color: #ddd;
}

.intro-section .swoop-line:first-child {
    font-weight: 600;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    width: 100%;
    padding-bottom: 4rem;
}

.news-box {
    position: relative;
    background: rgba(15, 15, 15, 0.6); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.3s ease, border-color 0.3s ease; 
}

.news-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.box-content {
    position: relative;
    z-index: 2;
    transform: translateZ(20px);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.news-box h2 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.news-box p {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.text-btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    cursor: pointer;
    color: #fff;
    transform-style: preserve-3d;
}

.text-btn:hover {
    border-color: #fff;
}


/* =========================================
   5. NEWS PAGE (news.html)
   ========================================= */
.news-feed {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 800px;
    padding-bottom: 6rem;
}

.news-item {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}

.news-item.expand-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.15);
}

.news-image-wrapper {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background-color: #111;
    border: 1px solid #222;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: filter 0.5s ease;
}

.news-item:hover .news-img {
    filter: grayscale(0%);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.tag {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
}

.date {
    font-size: 0.8rem;
    color: #666;
    font-family: var(--font-body);
}

.news-text-content h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.news-text-content p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #aaa;
    line-height: 1.7;
}

.admin-box {
    border-left: 2px solid #fff;
}

.inline-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.inline-link:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}


/* =========================================
   6. ABOUT PAGE (about.html)
   ========================================= */
.about-container {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-bottom: 6rem;
}

.about-block {
    position: relative;
    padding-left: 1.5rem;
    border-left: 1px solid #222;
}

.block-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.about-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
    font-weight: 300;
}

.quote-highlight {
    margin: 1.5rem 0;
    padding: 1rem 0;
    font-family: var(--font-head);
    font-weight: 500;
    font-style: italic;
    font-size: 1.3rem;
    color: #fff;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}


/* =========================================
   7. SHOP PAGE (shop.html)
   ========================================= */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    transition: transform 0.4s var(--easing), border-color 0.3s;
    overflow: hidden;
}

.product-card:hover {
    transform: scale(1.03);
    border-color: #444;
}

.card-image {
    width: 100%;
    height: 300px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.product-card:hover img {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    border: 1px solid #fff;
    padding: 0.5rem 1rem;
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.card-info {
    padding: 1.5rem;
}

.card-info h2 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-info .price {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
}


/* =========================================
   8. PRODUCT PAGE (product_cdj001.html)
   ========================================= */
.product-nav {
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    font-size: 1.5rem;
    color: #fff;
    padding: 10px;
}

.brand-tag-static {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
}

.product-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    padding: 1rem 4rem 6rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Left Column */
.product-left {
    display: flex;
    flex-direction: column;
}

.gallery-wrapper {
    margin-bottom: 3rem;
}

.main-image-container {
    width: 100%;
    height: 500px;
    background: #080808;
    border: 1px solid #222;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.circle-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.circle-nav:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.circle-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.thumbnails {
    display: flex;
    gap: 1rem;
}

.thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #333;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    border-color: #fff;
}

.separator-line {
    width: 100%;
    height: 1px;
    background: #222;
    margin-bottom: 2rem;
}

.product-description p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
    max-width: 90%;
}

/* Right Column */
.product-right {
    padding-top: 1rem;
}

.price-block {
    margin-bottom: 4rem;
}

.price-block h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.status {
    font-family: var(--font-head);
    color: #666;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.main-price {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.note {
    color: #666;
    font-size: 0.9rem;
}

.est-price {
    font-size: 0.9rem;
    color: #666;
    font-family: var(--font-body);
}

.early-access-box {
    border: 1px solid #222;
    padding: 2rem;
    background: #0a0a0a;
}

.access-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.access-header h4 {
    font-family: var(--font-head);
    font-size: 1rem;
}

.tooltip-container {
    position: relative;
    cursor: help;
}

.info-icon {
    color: #888;
    font-size: 1.1rem;
}

.info-icon:hover {
    color: #fff;
}

.tooltip-content {
    visibility: hidden;
    position: absolute;
    bottom: 140%;
    right: 0;
    width: 250px;
    background: #000;
    border: 1px solid #333;
    color: #ccc;
    font-size: 0.8rem;
    padding: 1rem;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    line-height: 1.5;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.access-body p {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mail-link {
    color: #fff;
    text-decoration: underline;
}


/* =========================================
   9. CONTACT & COLLAB (contact.html)
   ========================================= */
.contact-wrapper {
    max-width: 1200px;
    padding-bottom: 6rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: transform 0.4s var(--easing), border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.contact-box:hover {
    transform: scale(1.05); /* Expand */
    border-color: #555;
    background: rgba(255, 255, 255, 0.04);
}

.contact-box h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.contact-box a {
    font-family: var(--font-body);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    word-break: break-all;
    transition: color 0.3s;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Tel Section */
.tel-section {
    margin-bottom: 4rem;
    padding: 1rem;
    border-left: 2px solid #fff;
    padding-left: 2rem;
}

.tel-section h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.5rem;
}

.tel-number {
    font-family: var(--font-head);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.fineprint {
    color: #555;
    font-size: 0.8rem;
    font-style: italic;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: #222;
    margin-bottom: 4rem;
}

/* Collab Section */
.collab-section {
    max-width: 900px;
}

.section-subtitle {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
}

.text-column p {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sub-header {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.styled-list {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.styled-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1rem;
    color: #aaa;
    line-height: 1.6;
}

/* Bullet points */
.styled-list:not(.numbered) li::before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: #fff;
}

/* Numbered lists */
.styled-list.numbered {
    list-style-type: decimal;
    margin-left: 2.5rem;
}

.styled-list.numbered li {
    padding-left: 0.5rem;
}

.styled-list strong {
    color: #fff;
    font-weight: 600;
}

.styled-list a {
    color: #fff;
    text-decoration: underline;
}

/* CTA Box */
.cta-box {
    margin-top: 4rem;
    padding: 2rem;
    border: 1px solid #444;
    background: #080808;
}

.cta-box .sub-header {
    margin-top: 0;
}

.highlight-text {
    color: #fff;
    font-weight: 600;
    margin-top: 1rem;
    border-left: 2px solid #fff;
    padding-left: 1rem;
}

/* =========================================
   10. LEGAL PAGE (legal.html)
   ========================================= */
.legal-wrapper {
    max-width: 800px;
    padding-bottom: 6rem;
}

.legal-header-block {
    margin-bottom: 3rem;
}

.legal-header-block h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.company-desc {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.legal-divider {
    width: 100%;
    height: 1px;
    background: #222;
    margin: 3rem 0;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-section p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: #aaa;
    font-size: 1rem;
}

.legal-list li::before {
    content: "—";
    position: absolute;
    left: -1rem;
    color: #666;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}