/* ============================================================
   GCsoft Design System
   - Brand:    #F6821F (Orange) / #6B3FA0 (Purple accent)
   - Theme:    data-theme="light" | "dark"
   ============================================================ */

:root {
    --color-primary: #F6821F;
    --color-primary-light: #FBAD41;
    --color-primary-dark: #E05D00;
    --color-secondary: #6B3FA0;
    --color-secondary-light: #8B5FC0;

    --gradient-primary: linear-gradient(135deg, #F6821F 0%, #FBAD41 100%);
    --gradient-hero: linear-gradient(135deg, #F6821F 0%, #6B3FA0 50%, #F6821F 100%);
    --gradient-cta: linear-gradient(135deg, #F6821F 0%, #E05D00 100%);

    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1200px;
    --section-padding: 100px 0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* ---------- Dark theme (default) ---------- */
[data-theme="dark"] {
    --bg: #0D1117;
    --bg-2: #161B22;
    --bg-3: #1C2128;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-code: #0B0F14;

    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-muted: #484F58;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);

    --navbar-bg: rgba(13, 17, 23, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ---------- Light theme ---------- */
[data-theme="light"] {
    --bg: #FFFFFF;
    --bg-2: #F6F8FA;
    --bg-3: #EDF1F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFBFC;
    --bg-code: #0B0F14;

    --text-primary: #0D1117;
    --text-secondary: #57606A;
    --text-muted: #8B949E;

    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.16);

    --navbar-bg: rgba(255, 255, 255, 0.85);
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ---------- Reset ---------- */
*, *::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-family);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(246, 130, 31, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(246, 130, 31, 0.4); }

.btn-outline {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: transparent;
}
.btn-outline:hover { background: var(--bg-card-hover); border-color: var(--color-primary); color: var(--color-primary); }

.btn-ghost { background: transparent; color: var(--text-primary); }
.btn-ghost:hover { color: var(--color-primary); }

.btn-white { background: #fff; color: #E05D00; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); }

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-primary);
}
.logo-icon {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo-text { font-size: 17px; }

.nav-menu {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
    align-items: center;
}
.nav-link {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ---------- Dropdown ---------- */
.nav-item-dropdown { position: relative; }
.nav-link-dropdown .dropdown-caret {
    transition: transform 0.25s ease;
    opacity: 0.7;
}
.nav-item-dropdown:hover .nav-link-dropdown .dropdown-caret,
.nav-item-dropdown:focus-within .nav-link-dropdown .dropdown-caret {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 220px;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}
/* bridge to avoid flicker between trigger and panel */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -14px; left: 0; right: 0;
    height: 14px;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-item:hover {
    background: var(--bg-2);
    color: var(--color-primary);
}
.dropdown-item-muted { color: var(--text-muted); }
.dropdown-divider {
    height: 1px;
    margin: 4px 6px;
    background: var(--border);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: var(--transition);
}
.theme-toggle:hover { background: var(--bg-card-hover); border-color: var(--color-primary); color: var(--color-primary); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 6px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    padding: 160px 0 120px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-gradient {
    position: absolute;
    top: -30%; left: -10%;
    width: 120%; height: 120%;
    background: radial-gradient(circle at 30% 30%, rgba(246, 130, 31, 0.25), transparent 50%),
                radial-gradient(circle at 75% 60%, rgba(107, 63, 160, 0.22), transparent 55%);
    filter: blur(40px);
}
[data-theme="light"] .hero-gradient {
    background: radial-gradient(circle at 30% 30%, rgba(246, 130, 31, 0.14), transparent 55%),
                radial-gradient(circle at 75% 60%, rgba(107, 63, 160, 0.12), transparent 55%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(246, 130, 31, 0.2);
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}
.hero-title-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-pan 6s ease-in-out infinite;
}
@keyframes gradient-pan {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   Page hero (sub pages)
   ============================================================ */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}
.page-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 16px 0 20px;
}
.page-description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--color-primary); }

/* ============================================================
   Section header & tags
   ============================================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
.section-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(246, 130, 31, 0.12);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-description {
    font-size: 17px;
    color: var(--text-secondary);
}

/* ============================================================
   Services grid (home / services overview)
   ============================================================ */
.products { padding: var(--section-padding); }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--text-primary);
    box-shadow: var(--shadow);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 130, 31, 0.12);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}
.service-card-upcoming { opacity: 0.85; }
.service-card-upcoming .service-icon.icon-muted {
    background: var(--bg-3);
    color: var(--text-muted);
}
.service-status {
    position: absolute;
    top: 20px; right: 20px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.status-active { background: rgba(34, 197, 94, 0.15); color: #22C55E; }
.status-upcoming { background: rgba(139, 148, 158, 0.15); color: var(--text-secondary); }

.service-name { font-size: 20px; font-weight: 700; }
.service-desc { color: var(--text-secondary); font-size: 15px; flex: 1; }
.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================================
   Education software grid
   ============================================================ */
.edu-section { padding: var(--section-padding); }

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.edu-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}
.edu-card:hover { transform: translateY(-3px); border-color: var(--color-primary); box-shadow: var(--shadow-lg); }
.edu-card-link { display: block; }
.edu-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.edu-icon {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 63, 160, 0.12);
    color: var(--color-secondary);
    border-radius: var(--radius-md);
}
.edu-icon.icon-muted { background: var(--bg-3); color: var(--text-muted); }
.edu-badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}
.edu-badge.badge-upcoming { background: rgba(139, 148, 158, 0.15); color: var(--text-secondary); }
.edu-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.edu-desc { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; }
.edu-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.edu-tag {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    background: var(--bg-3);
    color: var(--text-secondary);
}

/* ============================================================
   Feature cards (1632)
   ============================================================ */
.feature-section { padding: var(--section-padding); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--color-primary); }
.feature-icon {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(246, 130, 31, 0.12);
    color: var(--color-primary);
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 15px; }

.page-actions {
    margin-top: 28px;
    justify-content: flex-start;
}

.promo-panel,
.story-panel {
    margin: 8px 0 32px;
    padding: 32px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.story-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(260px, 0.9fr);
    gap: 32px;
    align-items: start;
}
.promo-panel p,
.story-panel p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}
.promo-panel p + p,
.story-panel p + p { margin-top: 14px; }
.story-copy h3 {
    margin: 10px 0 16px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.35;
}
.value-stack {
    display: grid;
    gap: 12px;
}
.value-stack div {
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.value-stack strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 16px;
}
.value-stack span {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.role-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.role-card h3 {
    margin: 10px 0 16px;
    font-size: 20px;
    font-weight: 800;
}
.role-card p {
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}
.role-card ul {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}
.role-card li {
    position: relative;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}
.role-card li::before {
    content: "";
    position: absolute;
    top: 0.78em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.workflow-panel {
    margin-top: 16px;
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
    gap: 32px;
    align-items: start;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.workflow-panel h2 {
    margin-top: 10px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
}
.workflow-list {
    display: grid;
    gap: 14px;
    counter-reset: workflow;
}
.workflow-list li {
    display: grid;
    grid-template-columns: 32px 88px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
.workflow-list li:last-child { border-bottom: 0; }
.workflow-list li::before {
    counter-increment: workflow;
    content: counter(workflow);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(246, 130, 31, 0.12);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
}
.workflow-list strong { color: var(--text-primary); }

.compact-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 48px;
    margin-bottom: 0;
}

/* Upcoming box */
.upcoming-section { padding: var(--section-padding); }
.upcoming-box {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.upcoming-icon {
    width: 96px; height: 96px;
    margin: 0 auto 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 130, 31, 0.12);
    color: var(--color-primary);
    border-radius: 50%;
}
.upcoming-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.upcoming-box p { color: var(--text-secondary); margin-bottom: 28px; }

/* Inline CTA */
.cta-inline {
    margin-top: 32px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.cta-inline p { font-weight: 600; font-size: 17px; }

/* ============================================================
   CTA section
   ============================================================ */
.cta {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-cta);
    overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-gradient {
    position: absolute;
    top: -50%; right: -20%;
    width: 80%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
}
.cta-content { position: relative; text-align: center; color: #fff; }
.cta-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.cta-description { font-size: 17px; opacity: 0.92; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   About page
   ============================================================ */
.about-page { padding: var(--section-padding); }
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}
.value {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.value h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--color-primary); }
.value p { color: var(--text-secondary); font-size: 15px; }

.about-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 60px;
}
.number-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.number-label { font-size: 13px; color: var(--text-secondary); }

/* Company info card */
.company-info-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.company-info-card h3 { font-size: 18px; margin-bottom: 18px; }
.info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.info-list div { display: flex; gap: 10px; font-size: 14px; }
.info-list dt { min-width: 120px; color: var(--text-secondary); }
.info-list dd { color: var(--text-primary); font-weight: 500; }
.info-list a:hover { color: var(--color-primary); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-section { padding: var(--section-padding); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.contact-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--text-primary);
}
a.contact-card:hover { transform: translateY(-3px); border-color: var(--color-primary); }
.contact-icon {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 130, 31, 0.12);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 10px; }
.contact-link { font-weight: 600; color: var(--color-primary); font-size: 14px; }

/* ============================================================
   Legal (privacy / terms)
   ============================================================ */
.legal-section { padding: 60px 0 100px; }
.legal-container { max-width: 820px; }
.legal-container h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.legal-container h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-container p, .legal-container li { color: var(--text-secondary); font-size: 15px; line-height: 1.8; }
.legal-container ul, .legal-container ol { padding-left: 22px; margin: 10px 0; }
.legal-container ul li { list-style: disc; margin-bottom: 4px; }
.legal-container ol li { list-style: decimal; margin-bottom: 4px; }
.legal-container a { color: var(--color-primary); text-decoration: underline; }
.legal-container strong { color: var(--text-primary); }
.legal-meta {
    margin-top: 40px;
    padding: 16px;
    background: var(--bg-2);
    border-radius: var(--radius-md);
    font-size: 14px;
}
.legal-footer-info {
    margin-top: 40px;
    padding: 18px;
    background: var(--bg-2);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary);
}
.legal-footer-info a { color: var(--color-primary); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .footer-tagline {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 14px;
}
.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}
.footer-links a:hover { color: var(--color-primary); }

.footer-legal {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.9;
}
.footer-company .sep { margin: 0 8px; color: var(--text-muted); }
.footer-company a:hover { color: var(--color-primary); }
.footer-copy { margin-top: 8px; color: var(--text-muted); }

/* ============================================================
   Reveal animation
   ============================================================ */
.service-card, .edu-card, .feature-card, .number-card, .value, .contact-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.service-card.visible, .edu-card.visible, .feature-card.visible,
.number-card.visible, .value.visible, .contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--navbar-bg);
        backdrop-filter: saturate(180%) blur(14px);
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .nav-menu.active { transform: translateY(0); }
    .nav-menu > li > .nav-link { padding: 10px 4px; }
    .nav-toggle { display: flex; }
    .nav-actions .btn:not(.theme-toggle) { display: none; }

    /* 모바일: 드롭다운을 인라인 확장형으로 */
    .nav-item-dropdown { flex-direction: column; }
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 4px 0 4px 12px;
        margin-top: 2px;
        border-left: 2px solid var(--border);
        min-width: 0;
    }
    .nav-dropdown::before { display: none; }
    .nav-link-dropdown .dropdown-caret { display: none; }
    .dropdown-item { padding: 8px 10px; }

    .hero { padding: 120px 0 80px; }
    .page-hero { padding: 110px 0 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .cta-inline { flex-direction: column; align-items: flex-start; }
    .story-panel { grid-template-columns: 1fr; }
    .workflow-panel { grid-template-columns: 1fr; }
    .workflow-list li { grid-template-columns: 32px 72px 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .about-numbers { grid-template-columns: repeat(2, 1fr); }
    .story-panel { padding: 24px; }
    .workflow-panel { padding: 24px; }
    .workflow-list li {
        grid-template-columns: 32px 1fr;
        align-items: start;
    }
    .workflow-list li span { grid-column: 2; }
}
