:root {
    /* Colors - Dark Luxury Palette */
    --bg-color: #050505;
    --bg-card: #0d0d0d;
    --bg-card-hover: #141414;
    --text-main: #f0f0f0;
    --text-muted: #999999;
    --text-accent: #c5a059;
    /* Amber/Gold */
    --accent-gold: #c5a059;
    --accent-gold-dim: #8a703e;
    --accent-gold-light: #e2c28d;
    --accent-bordeaux: #4a0a10;
    --border-color: #1f1f1f;
    --border-gold-subtle: rgba(197, 160, 89, 0.15);

    /* Typography */
    --font-main: "Noto Sans JP", sans-serif;
    --font-heading: "Noto Serif JP", serif;

    /* Metrics */
    --header-height: 80px;
    --container-width: 1100px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Elegant ease */
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gold {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 48px;
}

/* 
   ==========================================================================
   Abstract Backgrounds (Option A Implementation)
   ========================================================================== 
*/
.hero-bg-abstract {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #050505 100%);
}

.hero-bg-abstract::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-abstract::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
    animation: pulseGlow 15s infinite alternate ease-in-out;
    z-index: 2;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1) translate(-10px, 10px);
        opacity: 0.8;
    }
}

/* Header */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    position: absolute;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Hero Section */
.page-hero {
    min-height: 60vh;
    /* Taller hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

/* Image-based Hero Overrides */
.page-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.page-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.8) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    /* Larger */
    color: var(--accent-gold);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    color: #e0e0e0;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-gold);
    display: inline-block;
    position: relative;
    padding-bottom: 24px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-bordeaux);
}

/* Cards (Glassmorphism / Dark Matte) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-card);
    padding: 48px 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    /* Slight round */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-gold-subtle);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold-light);
    margin-bottom: 24px;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--accent-bordeaux);
    color: #fff;
    font-family: var(--font-main);
    font-weight: 500;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn:hover {
    background-color: #5e0d15;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 10, 16, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: rgba(197, 160, 89, 0.08);
    transform: translateY(-2px);
}

.cta-center {
    text-align: center;
    margin-top: 80px;
}

/* Forms */
input,
textarea {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 16px;
    color: #fff;
    font-family: var(--font-main);
    margin-bottom: 24px;
    border-radius: 2px;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #141414;
}

/* Footer */
footer {
    padding: 100px 0 40px;
    background: linear-gradient(180deg, var(--bg-color) 0%, #000 100%);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: block;
    font-size: 1.3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-nav ul {
    display: flex;
    gap: 32px;
}

.copyright {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #555;
    font-family: var(--font-heading);
}

/* FAQ */
.faq-list {
    border-top: 1px solid var(--border-color);
}

.faq-q {
    color: var(--accent-gold-light);
    font-family: var(--font-heading);
    cursor: pointer;
    /* Prepared for JS toggle if needed */
    padding-right: 24px;
    position: relative;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 1s ease-out forwards;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden */
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        font-family: var(--font-heading);
    }

    .page-hero {
        min-height: 50vh;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 16px;
    }
}