:root {
    /* Colors */
    --color-bg-body: #0a0a0a;
    --color-bg-surface: #1a1a1a;
    --color-bg-surface-hover: #2a2a2a;
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-primary: #ff4d00;
    --color-primary-hover: #ff7400;
    --color-secondary: #00e5ff;
    --color-accent: #ff0055;

    /* Typography */
    --font-family-sans: 'Inter', 'Noto Sans JP', sans-serif;
    --font-family-display: 'Oswald', 'Noto Sans JP', sans-serif;
    /* Strong, condensed for headers */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

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

body {
    font-family: var(--font-family-sans);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-display);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-primary {
    color: var(--color-primary);
}

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

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

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

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-family-display);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
}

.btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-text-main);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--color-text-main);
    color: var(--color-bg-body);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Button Group */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.btn-group .btn {
    flex: 1;
    text-align: center;
    min-width: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    /* Override default if any */
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: var(--spacing-sm) 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-family-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text-main);
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    /* Show on mobile */
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5);
    object-position: center center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-muted);
}

/* Section Common */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.section-title p {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Features/Services */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
}

.card {
    background: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    background: var(--color-bg-surface-hover);
    border-color: var(--color-primary);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: var(--spacing-sm) 0;
    font-family: var(--font-family-display);
}

.price-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.feature-list li {
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: bold;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--color-bg-surface) 0%, #2a1a1a 100%);
    border-left: 4px solid var(--color-primary);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Schedule */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.schedule-table-container {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
    background: transparent;
    color: #333;
}

.schedule-table th,
.schedule-table td {
    border: none;
    padding: 10px 4px;
    border-radius: 4px;
}

.schedule-table th {
    background: #444;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 4px;
}

.schedule-table td:first-child {
    background: #333;
    color: #fff;
    font-weight: bold;
    font-family: var(--font-family-display);
}

.schedule-table td {
    background: #eee;
    /* Empty slot color */
}

/* Schedule Cell Colors */
.sch-personal {
    background-color: #b3e5fc !important;
    color: #0277bd;
    font-weight: 600;
}

.sch-group-w {
    background-color: #f8bbd0 !important;
    color: #c2185b;
    font-weight: 600;
}

.sch-group-g {
    background-color: #d1c4e9 !important;
    color: #512da8;
    font-weight: 600;
}

.sch-kids {
    background-color: #fff59d !important;
    color: #f57f17;
    font-weight: 600;
}

.sch-sparring {
    background-color: #ffab91 !important;
    color: #d84315;
    font-weight: 600;
}

.location-card {
    background: var(--color-bg-surface);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.location-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
}

/* Footer */
.footer {
    background: #000;
    padding: var(--spacing-lg) 0;
    text-align: center;
    margin-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    margin: 0 var(--spacing-sm);
    color: var(--color-text-muted);
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-bg-surface);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.required::after {
    content: " *";
    color: var(--color-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid #333;
    background: var(--color-bg-body);
    color: #fff;
    font-family: var(--font-family-sans);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.2);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: var(--spacing-md);
}

.radio-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }

    .nav-links {
        display: none;
        /* Implement JS toggle later */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg-surface);
        flex-direction: column;
        padding: var(--spacing-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Button Adjustments for Mobile */
    .btn {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
        white-space: nowrap;
    }

    .btn-group {
        flex-direction: row;
        justify-content: center;
    }

    .btn-group .btn {
        min-width: 140px;
        width: auto;
        flex: 0 1 auto;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        margin: 0;
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem;
    }
}