/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gold: #D4AF37;
    --gold-dim: #aa8c2c;
    --gold-gradient: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --blur: 12px;
}

/* Tabs */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.female-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.female-intro .highlight {
    color: var(--gold);
    font-weight: 600;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Page Transition Base State */
    opacity: 0;
    transform: scale(0.98);
    filter: blur(5px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.6s ease;
    transform-origin: center top;
}

body.loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

body.exiting {
    opacity: 0;
    transform: scale(1.02);
    filter: blur(8px);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--gold);
}

.italic {
    font-style: italic;
}

/* Header Glassmorphism */
.header-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    /* Gradient Border Trick */
    background: var(--gold-gradient);
    padding: 2px;
    /* Border width */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.logo-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #000;
    /* Prevent bg bleed */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

.btn-gold {
    background: var(--gold);
    color: #000;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Abstract Background for Hero */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1)), url('hero_bg.png') no-repeat center center/cover;
    z-index: -1;
    animation: none;
    /* Removed pulse animation for static bg */
}

.hero-content {
    width: 100%;
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Products Layout (Sidebar + Grid) */
.products-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* Sidebar */
.sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    /* Offset for fixed header */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
}

/* Search Bar */
.search-container {
    margin-bottom: 2rem;
    position: relative;
}

.search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: 0.3s;
}

.search-input:focus {
    border-color: var(--gold);
    outline: none;
    background: rgba(0, 0, 0, 0.5);
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 18px;
    height: 18px;
}

/* Category Menu */
.category-menu {
    list-style: none;
}

.category-menu li {
    padding: 0.8rem 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: 0.3s;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.category-menu li:hover,
.category-menu li.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

/* Compact Product Grid */
.products-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    /* Reduced padding */
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card h3 {
    font-size: 1.1rem;
    /* Smaller font */
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-card p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    min-height: auto;
}

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
}

.card-link {
    width: 100%;
    /* Full width */
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--gold);
    color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    /* Stronger shadow */
    margin-top: auto;
    /* Push to bottom if flex container */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.7);
    /* Glow effect */
    background: #fff;
    /* White on hover for contrast */
}

.recommendation-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
    font-weight: 500;
}

/* Responsive Sidebar */
@media (max-width: 900px) {
    .products-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Legacy Section (Mission) */
.legacy-section {
    padding: 100px 0;
    background-color: #050505;
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.legacy-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--gold);
    filter: brightness(0.9);
}

.quote-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--text-primary);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Responsive adjustment for new sections */
@media (max-width: 768px) {

    .story-grid,
    .legacy-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge-secure {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.8rem;
    border: 1px solid #333;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

/* Animations */
@keyframes reveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.product-enter {
    animation: reveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.5s;
}

.delay-4 {
    animation-delay: 0.7s;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .header-glass {
        position: relative;
        /* Allow flow on mobile or keep fixed but allow scroll */
        position: fixed;
    }

    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
        background: rgba(0, 0, 0, 0.95);
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
        padding: 0.5rem 0;
        border-top: 1px solid var(--glass-border);
        border-bottom: 1px solid var(--glass-border);
    }

    .hero {
        padding-top: 200px;
        /* Push content down below taller nav */
        align-items: center;
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .products {
        padding: 60px 0;
    }

    .tabs-nav {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: absolute;
    transform: translateY(20px);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.modal-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-content h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}