/* ==========================================================================
   Mishima Karate - Clean White & Red Japanese Flag Aesthetic
   ========================================================================== */

/* Core Variables */
:root {
    --bg-white: #FFFFFF;
    --bg-offwhite: #FBFBFB;
    --text-dark: #111111;
    --text-muted: #666666;
    --jp-red: #BC002D; /* Crimson/Japanese Flag Red */
    --jp-red-hover: #9E0024;
    --border-light: #EEEEEE;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Proper Navbar Setup */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flag-dot {
    width: 16px;
    height: 16px;
    background-color: var(--jp-red);
    border-radius: 50%;
}

.logo-text {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: var(--jp-red);
}

.nav-btn {
    text-decoration: none;
    color: var(--jp-red);
    border: 2px solid var(--jp-red);
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background-color: var(--jp-red);
    color: var(--bg-white);
}

/* Hero Section - Pure Crisp White */
.hero {
    background-color: var(--bg-white);
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    color: var(--jp-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    background-color: var(--bg-offwhite);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero .sub-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.cta-btn {
    display: inline-block;
    background-color: var(--jp-red);
    color: var(--bg-white);
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.cta-btn:hover {
    background-color: var(--jp-red-hover);
}

/* Philosophy Section */
.philosophy-section {
    padding: 6rem 0;
    background-color: var(--bg-offwhite);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

blockquote {
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 300;
    max-width: 850px;
    margin: 0 auto;
}

cite {
    display: block;
    margin-top: 2rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Science Section */
.science-section {
    padding: 7rem 0;
}

.science-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 1rem;
}

.science-section h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--jp-red);
    margin: 12px auto 0 auto;
}

.section-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.formula-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--jp-red);
    padding: 3rem;
    margin-bottom: 4rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.formula {
    display: block;
    font-family: monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.formula-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Pillars Grid Layout */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background-color: var(--bg-offwhite);
    border: 1px solid var(--border-light);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.pillar-card:hover .card-accent {
    background-color: var(--jp-red);
}

.pillar-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer & Legal */
footer {
    background-color: #0A0A0A;
    color: #FFFFFF;
    padding: 5rem 2rem;
    font-size: 0.85rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-content .copyright {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--bg-white);
}

.footer-content .disclaimer {
    color: #777777;
    line-height: 1.6;
}

/* Responsive Breakdown */
@media (max-width: 768px) {
    .navbar { height: auto; padding: 1.5rem 0; }
    .nav-container { flex-direction: column; gap: 1.5rem; }
    .nav-links { flex-direction: column; gap: 1rem; width: 100%; }
    .nav-btn { width: 100%; text-align: center; }
    .hero { padding: 5rem 1rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero .tagline { font-size: 1.25rem; }
    blockquote { font-size: 1.35rem; }
    .formula { font-size: 2.25rem; }
}