/* ===== DESIGN TOKENS (Brand Guide V2.0) ===== */
:root {
    --purple: #6232D3;           /* Purple Net Violet - Pantone 2725c, RGB 98 50 211 */
    --purple-dark: #4A1FA8;
    --purple-deeper: #3B1985;
    --green: #B2BE55;            /* Seed Green - Pantone 583c, RGB 178 190 85 */
    --grey: #9FA0A0;
    --black: #000000;
    --white: #FFFFFF;
    --bg: #FAFAFB;
    --bg-alt: #F3F0FA;
    --text: #1A1A1A;
    --text-secondary: #5C5C5C;
    --text-tertiary: #9FA0A0;
    --border: rgba(0, 0, 0, 0.06);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-full: 100px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --font: 'SUIT Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* ===== SKIP LINK (a11y) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 16px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
    border-radius: 4px;
}
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-purple { color: var(--purple); }
.text-green { color: var(--green); }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
    display: block;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.75rem;
}
.eyebrow.light { color: var(--green); }

.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
}
.section-heading.light { color: var(--white); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 16px; left: 50%;
    transform: translateX(-50%);
    width: 92%; max-width: 1120px;
    padding: 0.625rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.logo-link {
    display: flex; align-items: center; gap: 0.625rem;
}
.nav-logo-img {
    display: block;
    height: 36px;
    width: auto;
}

.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0.7;
    transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--purple); }

.btn-primary {
    background: var(--purple);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    opacity: 1 !important;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(98, 50, 211, 0.3);
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 40%, #7B4FE0 100%);
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(178, 190, 85, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    text-align: center;
    padding: 140px 24px 80px;
    position: relative;
    z-index: 1;
}
.hero-logo { margin-bottom: 2rem; display: block; height: 120px; width: auto; }

.hero-en {
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}
.hero-en .text-green {
    color: var(--green);
    font-weight: 700;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-manifesto {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 3rem;
}

.hero-scroll {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
.hero-scroll:hover { color: rgba(255, 255, 255, 0.8); }
.hero-scroll svg { animation: bounce 2s infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ===== WHY SECTION ===== */
.section-why {
    padding: 7rem 0;
    background: var(--white);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.why-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: all 0.3s;
}
.why-card:hover {
    border-color: rgba(98, 50, 211, 0.15);
    box-shadow: var(--shadow-md);
}
.why-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--purple);
    background: var(--bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}
.why-sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.why-main {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ===== WORKGRAPHY SECTION ===== */
.section-wg {
    padding: 7rem 0;
    background: var(--bg);
}
.wg-concept {
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}
.wg-compare {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.wg-compare strong { color: var(--text); font-weight: 700; }
.wg-define {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -0.02em;
}
.wg-define strong { color: var(--purple); }

.wg-dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.wg-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.wg-card:hover { box-shadow: var(--shadow-md); }
.wg-card.featured {
    border: 2px solid var(--purple);
    background: var(--white);
}
.wg-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.wg-card-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.wg-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--purple);
}
.wg-badge.green {
    background: rgba(178, 190, 85, 0.15);
    color: #6B7A1A;
}
.wg-card-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}
.wg-list { display: flex; flex-direction: column; gap: 0.625rem; }
.wg-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}
.wg-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.4;
}
.wg-card.featured .wg-list li::before { opacity: 0.8; }

/* ===== FLYWHEEL SECTION ===== */
.section-flywheel {
    padding: 5rem 0;
    background: var(--purple);
}
.fw-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.fw-step {
    text-align: center;
    padding: 1.5rem 1rem;
    flex: 0 0 auto;
}
.fw-num {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.08em;
    margin-bottom: 0.375rem;
}
.fw-step h4 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}
.fw-step p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}
.fw-arrow {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.25rem;
    padding: 0 0.25rem;
    user-select: none;
}

/* ===== SERVICES SECTION ===== */
.section-services {
    padding: 7rem 0;
    background: var(--white);
}
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.svc-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: all 0.3s;
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(98, 50, 211, 0.12);
}
.svc-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    color: var(--purple);
}
.svc-icon svg { width: 24px; height: 24px; }

.svc-card h3 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.svc-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== IMPACT SECTION ===== */
.section-impact {
    padding: 7rem 0;
    background: var(--bg);
}
.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.impact-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.impact-card:hover { box-shadow: var(--shadow-md); }

.impact-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}
.impact-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.impact-quote {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 4px solid var(--purple);
}
.impact-quote p {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ===== CTA SECTION ===== */
.section-cta {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 60%, #7B4FE0 100%);
    text-align: center;
}
.cta-inner { max-width: 640px; }

.section-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}
.cta-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}
.cta-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.cta-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 1.5rem 2.5rem;
    backdrop-filter: blur(8px);
    margin-bottom: 1.5rem;
}
.cta-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--green);
}
.cta-email {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    transition: opacity 0.2s;
}
.cta-email:hover { opacity: 0.8; }

.cta-url {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0 1.5rem;
    background: var(--purple-deeper);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-brand {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}
.footer-company-info {
    text-align: right;
}
.footer-company-info p {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}
.footer-company-info a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}
.footer-company-info a:hover {
    color: rgba(255, 255, 255, 0.7);
}
.footer-copy {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.7s ease-out forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
    .section-heading { font-size: 1.75rem; margin-bottom: 2.5rem; }

    .why-grid { gap: 1rem; }
    .wg-dual { gap: 1rem; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .hero-title { font-size: 2.75rem; }
    .hero-inner { padding: 120px 24px 60px; }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.625rem 1.25rem;
        width: 94%;
        top: 12px;
    }
    .hamburger { display: flex; }
    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border);
        opacity: 0; visibility: hidden;
        transform: translateY(-12px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }
    .nav-links.active {
        opacity: 1; visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-links a { font-size: 1.0625rem; opacity: 1; }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* Hero */
    .hero { min-height: auto; }
    .hero-inner { padding: 110px 20px 60px; }
    .hero-logo { height: 90px; width: auto; margin-bottom: 1.5rem; }
    .hero-en { font-size: 0.9375rem; }
    .hero-title { font-size: 2rem; margin-bottom: 1.25rem; }
    .hero-manifesto { font-size: 0.9375rem; margin-bottom: 2.5rem; }

    /* Sections */
    .section-why, .section-wg, .section-services, .section-impact { padding: 4.5rem 0; }
    .section-flywheel { padding: 3.5rem 0; }
    .section-heading { font-size: 1.5rem; margin-bottom: 2rem; }

    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 2rem 1.5rem; }
    .why-main { font-size: 1rem; }

    .wg-concept { padding: 2rem 1.5rem; }
    .wg-define { font-size: 1.125rem; }
    .wg-dual { grid-template-columns: 1fr; }
    .wg-card { padding: 2rem 1.5rem; }

    .fw-grid { flex-wrap: wrap; gap: 0; justify-content: center; }
    .fw-step { flex: 0 0 33.33%; padding: 1rem 0.5rem; }
    .fw-arrow { display: none; }

    .svc-grid { grid-template-columns: 1fr; gap: 1rem; }
    .svc-card { padding: 2rem 1.5rem; }

    .impact-grid { grid-template-columns: 1fr; gap: 1rem; }
    .impact-quote { padding: 2rem 1.5rem; }
    .impact-quote p { font-size: 1rem; }

    /* CTA */
    .section-cta { padding: 4.5rem 0; }
    .section-cta h2 { font-size: 1.75rem; }
    .cta-desc { font-size: 0.9375rem; }
    .cta-email { font-size: 1.125rem; }
    .cta-box { padding: 1.25rem 2rem; width: calc(100% - 2rem); }

    /* Footer */
    .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ===== RESPONSIVE - SMALL MOBILE ===== */
@media (max-width: 480px) {
    .hero-title { font-size: 1.625rem; }
    .hero-en { font-size: 0.8125rem; }
    .section-heading { font-size: 1.375rem; }
    .why-main { font-size: 0.9375rem; }
    .section-cta h2 { font-size: 1.5rem; }
    .cta-email { font-size: 1rem; word-break: break-all; }

}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in-up {
        opacity: 1;
        transform: none;
    }
}

/* ===== PRINT ===== */
@media print {
    .navbar, .hero-scroll, .section-cta, .hamburger { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .hero { min-height: auto; background: #fff; padding: 2rem 0; }
    .hero-title, .hero-en, .hero-manifesto { color: #000; }
    .section-flywheel { background: #eee; }
    .section-flywheel, .section-flywheel h2, .section-flywheel h4, .section-flywheel p,
    .section-flywheel .eyebrow { color: #000; }
    a[href^="mailto:"]::after { content: " (" attr(href) ")"; }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    .footer-company-info { text-align: center; }
}
