/* ==========================================
   Carrot Field Website - Professional Styles
   ========================================== */

@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: local("Pretendard Variable"),
    url("../fonts/PretendardVariable.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Poppins";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: local("Poppins"),
    url("../fonts/Poppins.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: local("Inter"),
    url("../fonts/InterVariable.woff2") format("woff2");
}

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-color: #FF6B35;
    --secondary-color: #2E86AB;
    --accent-color: #06FFA5;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;

    --field-green:#4faba2;
    --field-green-secondary:#138378;
    
    /* Neutral Colors */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    
    /* Typography */
    --font-heading: 'Poppins', 'Pretendard Variable', sans-serif;
    --font-body: 'Inter', 'Pretendard Variable', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-secondary: linear-gradient(135deg, #2E86AB 0%, #06FFA5 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-light: #9CA3AF;
    --bg-primary: #111827;
    --bg-secondary: #1F2937;
    --bg-tertiary: #374151;
    --border-color: #374151;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary-small, .btn-secondary-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-vote {
    width: 100%;
    padding: 12px;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-vote:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 5px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 600;
    transition: color var(--transition-fast);
    font-size: 1.3rem;
    word-break: keep-all;
}

.nav-brand span{
    word-break: keep-all;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
}


/* Tablet Optimization */
@media (min-width: 1024px) and (max-width: 1208px) {
    .nav-menu li a {
        font-size: 15px;
        padding: 6px 8px;
    }

.nav-menu{
        gap: 8px;
    }

}
    @media (min-width: 768px) and (max-width: 1024px) {

    .nav-brand span {
        display: none;
    }
    .nav-brand img {
        width: 60px !important;
    }

    .navbar .container {
        gap: 8px;
    }

    .nav-menu {
        gap: 4px;
    }

    .nav-menu li a {
        font-size: 13px;
        padding: 6px 8px;
    }

    .nav-actions {
        gap: 6px;
    }
}

/* ===== Navigation Dropdown Panel ===== */
#navMenu .has-dropdown {
    flex: 1;
    text-align: center;
    position: relative;
    width: 100%;
}
#navMenu .has-dropdown.is-active > a {
    color: var(--primary-color);
}
.nav-panel {
    position: absolute;
    /* top: 100%; */
    top: 76px;
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-top: 2px solid var(--primary-color);
    /* border-radius: 0 0 16px 16px; */
    /* box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06); */
    box-shadow: 0 2px 3px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
    z-index: 9999;
}
.nav-panel::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 8px;
}
.nav-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-panel-inner {
    padding: 10px;
    display: flex;
    gap: 0;
    align-items: stretch;
}
.nav-section {
    flex: 1;
    padding: 10px 6px;
    border-radius: 10px;
}
.nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.nav-section ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.12s, padding-left 0.15s;
}
.nav-section ul li a:hover {
    color: var(--text-primary);
    padding-left: 14px;
}
.nav-section ul li a:hover i {
    opacity: 1;
}
.nav-section ul li a i {
    width: 15px;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.78rem;
    opacity: 0.6;
    flex-shrink: 0;
    transition: color 0.12s, opacity 0.12s;
}
.nav-divider {
    width: 1px;
    background: var(--bg-tertiary);
    align-self: stretch;
    margin: 10px 2px;
    flex-shrink: 0;
}
@media (min-width: 769px) {
    #navMenu { width: 560px; }
    .mobile-submenu { display: none !important; }
}
@media (max-width: 768px) {
    .nav-panel { display: none !important; }
    /* 그룹 레이블: 회사 / 투자 / 지원 */
    .has-dropdown > .nav-parent {
        display: block;
        padding: 16px 16px 6px;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--field-green-secondary);
        pointer-events: none;
        border-bottom: 1px solid var(--bg-tertiary);
        text-align: left;
    }
    /* 서브메뉴: 항상 펼쳐진 상태 */
    .mobile-submenu {
        display: block !important;
        list-style: none;
        padding: 0 8px 8px;
        margin: 0;
    }
    .mobile-submenu li a {
        display: block;
        padding: 10px 16px !important;
        font-size: 0.95rem !important;
        font-weight: 500;
        color: var(--text-primary) !important;
        border-radius: 0;
        border-left: 2px solid transparent;
        text-decoration: none;
        text-align: left;
        transition: all 0.2s;
    }
    .mobile-submenu li a:hover {
        border-left: 2px solid var(--primary-color);
        color: var(--primary-color) !important;
        padding-left: 20px !important;
    }
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, #FFF5F2 0%, #E6F7FF 100%);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: var(--bg-primary);
    padding: 30px 0;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Section Styles */
.section {
    padding: 80px 0;
}


.sub-section{
    padding: 150px 0 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Executive Summary */
.executive-summary {
    background: var(--bg-secondary);
    z-index: 2; /* 맵 섹션보다 위에 위치 */
}

.dual-structure {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

.entity-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform var(--transition-normal);
}

.entity-card:hover {
    transform: translateY(-10px);
}

.entity-card.lhp {
    border-top: 4px solid var(--secondary-color);
}

.entity-card.carrot {
    border-top: 4px solid var(--primary-color);
}

.entity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.entity-card.lhp .entity-icon {
    color: var(--secondary-color);
}

.entity-card.carrot .entity-icon {
    color: var(--primary-color);
        display: inline-block;
}

.entity-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.entity-type {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.entity-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.entity-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.entity-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.entity-features i {
    color: var(--success-color);
}

.connection-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.flow-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.flow-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dividend-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dividend-card, .token-info {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.dividend-card h4, .token-info h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.dividend-split {
    display: flex;
    gap: 20px;
}

.split-item {
    flex: 1;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.split-item.primary {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
}

.split-item.secondary {
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.1) 0%, rgba(6, 255, 165, 0.1) 100%);
}

.split-percentage {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.split-item.secondary .split-percentage {
    color: var(--secondary-color);
}

.split-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.token-types {
    display: flex;
    gap: 20px;
}

.token-type {
    flex: 1;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    text-align: center;
}

.token-badge,
.education-category {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.token-badge.preferred1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.token-badge.preferred2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.token-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.token-target {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Exchange Section */
.exchange-section {
    background: var(--bg-primary);
}

.exchange-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.exchange-card {
    background: linear-gradient(135deg, #2E86AB 0%, #06FFA5 100%);
    padding: 40px;
    border-radius: 20px;
    color: white;
    box-shadow: var(--shadow-xl);
}

.exchange-logo {
    text-align: center;
    margin-bottom: 30px;
}

.exchange-logo i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.exchange-logo h3 {
    font-size: 2rem;
    color: white;
}

.exchange-desc {
    font-size: 1.125rem;
    margin-bottom: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.exchange-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.5rem;
}

.exchange-card .btn-primary {
    width: 100%;
    justify-content: center;
    background: white;
    color: var(--secondary-color);
}

.contract-highlights {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
}

.contract-highlights h4 {
    margin-bottom: 25px;
    color: var(--text-primary);
}

.highlight-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 15px;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.highlight-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.highlight-item p {
    font-size: 0.875rem;
    margin: 0;
}

/* =============================================
   Vision Section — Redesign
   ============================================= */

.vision-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* ── Future Expansion ── */
.future-expansion {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 44px 52px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.future-expansion::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #f7931e, #ffd700);
    border-radius: 20px 20px 0 0;
}

/* 제목 행 */
.fe-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

.fe-title-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}

.fe-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.fe-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* 스텝 목록 */
.fe-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fe-step {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.fe-step-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
    z-index: 1;
    margin-top: 10px;
    align-self: flex-start;
}

.fe-step-badge--final {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    font-size: 1rem;
}

/* 수직 연결선 */
/* .fe-step-connector {
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(255,107,53,0.15));
    margin: 54px 21px 0;
    align-self: stretch;
    min-height: 28px;
    flex-shrink: 0;
} */

.fe-step--last .fe-step-connector {
    display: none;
}

.fe-step-body {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    border-radius: 14px;
    padding: 16px 22px;
    margin: 8px 0 8px 18px;
    flex: 1;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    cursor: default;
}

.fe-step-body:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.fe-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,107,53,0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.fe-step-icon--final {
    background: rgba(16,185,129,0.1);
    color: #10B981;
}

.fe-step-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fe-step-content strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.fe-step-content span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.fe-step-content em {
    font-style: normal;
    color: var(--text-light);
}

/* ── Vision Cards ── */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.vision-card {
    background: var(--bg-primary);
    padding: 44px 36px 36px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: default;
    border: 1px solid var(--border-color);
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* 카드 내부 글로우 */
.vision-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    opacity: 0.08;
    transition: opacity var(--transition-normal);
}

.vision-card:hover .vision-card-glow {
    opacity: 0.15;
}

.trust-glow    { background: #667eea; }
.integrity-glow { background: #f5576c; }
.belief-glow   { background: #4facfe; }

/* 하단 컬러 바 */
.vision-card-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 0 0 20px 20px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.vision-card:hover .vision-card-line {
    transform: scaleX(1);
}

.trust-line     { background: linear-gradient(90deg, #667eea, #764ba2); }
.integrity-line { background: linear-gradient(90deg, #f093fb, #f5576c); }
.belief-line    { background: linear-gradient(90deg, #4facfe, #00f2fe); }

.vision-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: transform var(--transition-normal);
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(-5deg);
}

.vision-icon.trust {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vision-icon.integrity {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.vision-icon.belief {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.vision-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Transparency Promise ── */
.transparency-promise {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2744 100%);
    padding: 50px 52px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.promise-deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.promise-deco-circle.c1 {
    width: 300px; height: 300px;
    top: -80px; right: -80px;
}

.promise-deco-circle.c2 {
    width: 180px; height: 180px;
    bottom: -50px; left: -50px;
}

.promise-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.promise-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #06FFA5;
    flex-shrink: 0;
}

.promise-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #06FFA5;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.promise-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 14px;
}

.promise-content p {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.promise-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.promise-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.88);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.promise-features span:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(6,255,165,0.4);
}

.promise-features i {
    color: #06FFA5;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
    .future-expansion {
        padding: 30px 22px;
    }

    .fe-title { font-size: 1.1rem; }

    .fe-step-connector {
        margin: 54px 15px 0;
    }

    .fe-step-body {
        padding: 13px 14px;
        gap: 12px;
        margin-left: 12px;
    }

    .fe-step-content strong { font-size: 0.88rem; }
    .fe-step-content span  { font-size: 0.8rem; }

    .transparency-promise {
        padding: 32px 24px;
    }

    .vision-card {
        padding: 32px 24px 28px;
    }
}

/* Performance Section */
.performance-section {
    background: var(--bg-primary);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.dashboard-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.dashboard-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.algorithm-section {
    margin-bottom: 50px;
}

.section-sub-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    flex-wrap: wrap;
}
.section-sub-title i {
    color: var(--text-primary);
    font-size: 2rem;
}
.section-sub-desc {
    flex: 0 0 100%;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: -8px 0 0;
}

.algorithm-cards {
    display: flex;
    gap: 20px;
    align-items: center;
    overflow-x: auto;
    padding: 20px 0;
}

.algo-card {
    min-width: 200px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.algo-step {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.algo-card h4 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.algo-card p {
    font-size: 0.875rem;
    margin: 0;
}

.algo-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.revenue-streams {
    margin-bottom: 50px;
}


.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stream-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
    word-break: keep-all;
}

.stream-card:hover {
    transform: translateY(-5px);
}

.stream-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stream-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.stream-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success-color);
    margin-top: 15px;
}


.schedule-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.timeline-marker.q1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.timeline-marker.q2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.timeline-marker.q3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.timeline-marker.q4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.timeline-content h4 {
    margin-bottom: 5px;
    font-size: 1.125rem;
}

.timeline-content p {
    font-size: 0.875rem;
    margin: 0;
}

/* Shareholders Section */
.shareholders-section {
    background: var(--bg-secondary);
}

.shareholders-dashboard {
    margin-bottom: 50px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.chart-container {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.chart-container h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.top-shareholders h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.shareholders-table {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.shareholders-table table {
    width: 100%;
    border-collapse: collapse;
}

.shareholders-table th {
    background: var(--bg-tertiary);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
}

.shareholders-table td {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 700;
    color: white;
}

.rank.gold { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); }
.rank.silver { background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%); }
.rank.bronze { background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%); }

/* Community Section */
.community-section {
    background: var(--bg-primary);
}

.voting-system {
    margin-bottom: 60px;
}

.voting-system h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.proposals-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.proposal-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid transparent;
}

.proposal-card.active {
    border-left-color: var(--primary-color);
}

.proposal-card.completed {
    border-left-color: var(--success-color);
    opacity: 0.7;
}

.proposal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.proposal-header h4 {
    flex: 1;
    margin: 0;
}

.proposal-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.proposal-status.active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.proposal-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.proposal-desc {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.proposal-meta {
    display: flex;
    gap: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.vote-results {
    margin-bottom: 20px;
}

.vote-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.vote-progress {
    height: 100%;
    transition: width var(--transition-slow);
}

.vote-progress.agree {
    background: var(--success-color);
}

.vote-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.vote-stats .agree {
    color: var(--success-color);
}

.vote-stats .disagree {
    color: var(--danger-color);
}


.proposal-card.completed .vote-results{
    display: none !important;
}

.education-section {
    margin-bottom: 60px;
}

.education-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.education-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform var(--transition-normal);
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-card.featured {
    border: 2px solid var(--primary-color);
}

.education-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.education-category.economy {
    background: rgba(46, 134, 171, 0.1);
    color: var(--secondary-color);
}

.education-category.culture {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.education-category.business {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.education-card h4 {
    margin-bottom: 10px;
}

.education-card p {
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.education-meta {
    display: flex;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.discussion-board h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.discussion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.discussion-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--transition-fast);
    cursor: pointer;
}

.discussion-item:hover {
    transform: translateX(5px);
}

.discussion-item.hot {
    border-left: 4px solid var(--primary-color);
}

.discussion-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.discussion-badge.hot {
    background: var(--primary-color);
    color: white;
}

.discussion-item h4 {
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.discussion-meta {
    display: flex;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Roadmap Section */
/* .roadmap-section {
    background: var(--bg-secondary);
} */

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.roadmap-item {
    display: flex;
    gap: 30px;
    position: relative;
}

.roadmap-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    z-index: 1;
    /* margin-top: 15px; */
    place-self: center;
}

.roadmap-item.completed .roadmap-marker {
    background: var(--success-color);
}

.roadmap-item.active .roadmap-marker {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.roadmap-item:not(.completed):not(.active) .roadmap-marker {
    background: var(--bg-tertiary);
    color: var(--text-light);
}

.roadmap-content {
    flex: 1;
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.roadmap-phase {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.roadmap-content h3 {
    margin-bottom: 10px;
}

.roadmap-content p {
    margin-bottom: 15px;
}

.roadmap-content ul {
    list-style: none;
    margin-bottom: 15px;
}

.roadmap-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.roadmap-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.roadmap-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
}

/* My Page Section */
.mypage-section {
    background: var(--bg-primary);
}

.login-required {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.login-card {
    background: var(--bg-secondary);
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.login-card h3 {
    margin-bottom: 15px;
}

.login-card p {
    margin-bottom: 30px;
}

.login-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mypage-preview {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.mypage-preview h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.preview-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-primary);
    border-radius: 8px;
    font-size: 0.875rem;
}

.preview-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

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

.language-selector {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 600;
    word-break: keep-all;
}

.language-toggle:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

.language-toggle .fa-globe {
    font-size: 1rem;
}

.language-toggle .current-lang {
    font-weight: 600;
}

.language-toggle .fa-chevron-down {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.language-toggle:hover .fa-chevron-down {
    transform: translateY(2px);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    overflow: hidden;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.language-option .flag {
    font-size: 1.5rem;
    line-height: 1;
}

.language-option .lang-name {
    font-size: 0.875rem;
    font-weight: 600;
}

.language-option.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
    font-weight: 600;
}

.language-option.active::after {
    content: '✓';
    margin-left: auto;
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

.confidential {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .dual-structure {
        grid-template-columns: 1fr;
    }
    
    .connection-flow {
        flex-direction: row;
        justify-content: center;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .dividend-info {
        grid-template-columns: 1fr;
    }
    
    .exchange-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid,
    .charts-row {
        grid-template-columns: 1fr;
    }
    
    .login-required {
        grid-template-columns: 1fr;
    }

    
    .nav-menu a{
         font-size: 0.875rem;
        word-break: keep-all;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    /* 기본 폰트 크기 축소 */
    body {
        font-size: 14px;
    }
    
    /* 제목 폰트 크기 축소 */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.9rem; }
    h6 { font-size: 0.85rem; }
    
    /* 문단 폰트 크기 */
    p {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    /* 네비게이션 */
    .nav-menu {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 50%;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        background: var(--bg-primary);
        padding: 0;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal);
        font-size: 0.875rem;

        border-radius: 10px;
        border: 1px solid var(--field-green);
        margin-top: 10px;
        margin-left: 10px;

    }

    .nav-menu.active {
        left: 0;
    }

    /* 오버레이 — body 직계 자식으로 JS가 생성 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 10000;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    .nav-overlay.active {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.25rem;
    }
    
    .nav-brand {
        font-size: 1.15rem;
    }
    
    .nav-brand i {
        font-size: 1.35rem;
    }

    .nav-brand span {
        display: none;
    }
    
    .nav-actions {
        gap: 6px;
    }
    
    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.875rem;
    }
    
    .language-selector {
        margin-left: 0;
    }
    
    .language-toggle {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .language-toggle .fa-globe {
        font-size: 0.8rem;
    }
    
    .language-dropdown {
        right: auto;
        left: 0;
        min-width: 140px;
    }
    
    .language-option {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .language-option .flag {
        font-size: 1.15rem;
    }
    
    .language-option .lang-name {
        font-size: 0.75rem;
    }
    
    /* 히어로 섹션 */
    .hero {
        padding: 90px 0 50px;
    }
    
    .badge {
        padding: 4px 12px;
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 1.65rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    /* 버튼 크기 축소 */
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.875rem;
        gap: 6px;
    }
    
    .btn-primary-small, .btn-secondary-small {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* 통계 카드 */
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        font-size: 1.7rem;
        margin-bottom: 5px;
    }
    
    .stat-number {
        font-size: 1.55rem;
        margin-bottom: 3px;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* 섹션 */
    .section {
        padding: 50px 0;
    }
    
    .sub-section {
        padding: 100px 0 50px;
    }
    
    .section-header {
        margin-bottom: 35px;
        margin-top: 50px;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 0.9rem !important;
    }
    
    /* 엔티티 카드 */
    .entity-card {
        padding: 25px;
    }
    
    .entity-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .entity-title {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .entity-type {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .entity-description {
        font-size: 0.8rem;
    }
    
    /* 비전 카드 */
    .vision-card {
        padding: 25px;
    }
    
    .vision-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .vision-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .vision-card p {
        font-size: 0.8rem;
    }
    
    /* 스트림 카드 */
    .stream-card {
        padding: 25px;
    }
    
    .stream-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .stream-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .stream-detail {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .stream-detail i {
        font-size: 0.9rem;
    }
    
    /* 교육 카드 */
    .education-card {
        padding: 25px;
    }
    
    .education-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .education-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .education-card p {
        font-size: 0.8rem;
    }
    
    /* 배당금 정보 */
    .dividend-highlight {
        padding: 25px;
        font-size: 0.85rem;
    }
    
    .dividend-amount {
        font-size: 2rem;
    }
    
    .dividend-cards {
        gap: 12px;
    }
    
    .token-info,
    .dividend-card {
        padding: 20px;
    }
    
    /* .dividend-card i {
        font-size: 1.75rem;
        margin-bottom: 10px;
    } */
    
    .token-info h4,
    .dividend-card h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .dividend-card p {
        font-size: 0.8rem;
    }

    /* 알고리즘 카드 */
    .algorithm-cards {
        flex-direction: column;
    }
    
    .algo-card {
        padding: 25px;
    }
    
    .algo-number {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .algo-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .algo-card p {
        font-size: 0.8rem;
    }
    
    .algo-arrow {
        transform: rotate(90deg);
        font-size: 1.25rem;
    }
    
    /* 스케줄 타임라인 */
    .schedule-timeline {
        grid-template-columns: 1fr;
    }
    
    .schedule-item {
        padding: 20px;
    }
    
    .schedule-date {
        font-size: 1.15rem;
    }
    
    .schedule-item h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .schedule-item p {
        font-size: 0.8rem;
    }
    
    /* 로드맵 */
    .roadmap-timeline::before {
        left: 15px;
    }
    
    .roadmap-item {
        padding-left: 50px;
    }
    
    .roadmap-marker {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        left: 0;
    }
    
    .roadmap-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .roadmap-content p {
        font-size: 0.8rem;
    }
    
    /* 주주 명부 */
    .shareholders-table {
        overflow-x: auto;
        font-size: 0.8rem;
    }
    
    .shareholders-table th,
    .shareholders-table td {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    /* 투표 카드 */
    .vote-card {
        padding: 20px;
    }
    
    .vote-card h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .vote-card p {
        font-size: 0.8rem;
    }
    
    .vote-options label {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .btn-vote {
        padding: 10px;
        font-size: 0.875rem;
    }
    
    /* 대시보드 */
    .dashboard-grid,
    .charts-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dashboard-card {
        padding: 20px;
    }
    
    .card-value {
        font-size: 1.75rem;
    }
    
    .card-label {
        font-size: 0.75rem;
    }
    
    .card-change {
        font-size: 0.75rem;
    }
    
    /* 로그인 카드 */
    .login-required {
        grid-template-columns: 1fr;
    }
    
    .login-card {
        padding: 40px 25px;
    }
    
    .login-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .login-card h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    
    .login-card p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .login-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    /* 마이페이지 프리뷰 */
    .mypage-preview {
        padding: 20px;
    }
    
    .mypage-preview h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .preview-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .preview-item {
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .preview-item i {
        font-size: 1rem;
    }
    
    /* 기타 그리드 레이아웃 */
    .vision-grid,
    .stream-grid,
    .education-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 풋터 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-section li {
        margin-bottom: 8px;
        font-size: 0.85rem;
    }
    
    .footer-brand {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    
    .social-links a {
        width: 34px;
        height: 34px;
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.8rem;
    }
    
    .confidential {
        font-size: 0.75rem;
        margin-top: 8px;
    }

        
    .split-percentage{
        font-size: 2rem;
    }

    .token-amount{
        font-size: 1rem;
    }

    .entity-card h3{
        font-size: 1.5rem;
    }

    .activity-text {
    font-size: 0.8rem;
    }

}

/* 로그인,가입 */

   /* --- Advance Login Viewport --- */
.login-viewport {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 145px 20px;
    transition: background 0.5s ease;
}

/* 라이트 모드 배경 (요청하신 스타일) */
[data-theme="light"] .login-viewport {
    /* background: linear-gradient(135deg, #FFF5F2 0%, #E6F7FF 100%); */
}

/* 다크 모드 배경 (요청하신 스타일) */
[data-theme="dark"] .login-viewport {
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.08) 0%, #0f172a 100%), #0f172a;
}

/* Crystal Card (Glassmorphism) */
.login-input-card {
    width: 100%;
    max-width: 420px;
    padding: 50px 40px;
    border-radius: 28px;
    position: relative;
    z-index: 10;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

[data-theme="light"] .login-input-card {
    background: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="dark"] .login-input-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.05);
}


/* Card Glow Effect */
/* .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
} */

/* Header Section */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-logo {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.brand-subtitle {
    font-size: 0.75rem;
    /* letter-spacing: 3px; */
    color: var(--text-light);
    font-weight: 600;
}

/* Input Styles */
.login-input-box {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.input-field {
    position: relative;
}

.input-field input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border-color);
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    transition: 0.3s;
}

.field-focus-line {
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient-primary);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-field input:focus ~ .field-focus-line {
    width: 100%;
}

.pw-wrap {
    position: relative;
}

.pw-toggle-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-secondary, #aaa);
    display: flex;
    align-items: center;
    line-height: 0;
    transition: color 0.2s;
}

.pw-toggle-btn:hover {
    color: var(--text-primary, #fff);
}

#user_pw {
    padding-right: 32px;
}
/* 1. 기본 input 보더 제거 및 초기화 */
.input-field input {
    width: 100%;
    background: transparent;
    border: none;
    /* 기본 바닥선을 아주 연하게 설정해서 가이드라인 역할만 하게 함 */
    border-bottom: 1px solid rgba(128, 128, 128, 0.15); 
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    transition: 0.3s;
}

/* 2. 비밀번호 마스킹 폰트 차이로 인한 높이 불일치 방지 */
input[type="password"] {
    font-family: 'Inter', 'Pretendard Variable', sans-serif; /* 비밀번호 점(●) 크기를 표준화 */
}

/* 3. 포커스 라인 설정 (위치 고정) */
.field-focus-line {
    position: absolute;
    bottom: 0; /* -1.5px 대신 0으로 딱 맞춤 */
    left: 0;
    width: 0;
    height: 1px; /* 굵기를 명시적으로 고정 */
    background: var(--gradient-primary);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* 4. 자동완성 시 스타일 왜곡 강제 방지 (매우 중요) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s; /* 배경색 유지 */
}
/* Support (Checkbox & Link) */
.login-support {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    font-size: 0.85rem;
}

.session-keep {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
}

.session-keep input { display: none; }

.custom-box {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: 0.3s;
}

.session-keep input:checked + .custom-box {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.find-link {
    color: var(--text-light);
    text-decoration: none;
}

.find-link:hover { color: var(--primary-color); }

/* CTA Button */
.login-cta-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
}

/* Footer Nav */
.login-bottom-nav {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.nav-text { color: var(--text-light); }

.nav-link-gold {
    color: var(--secondary-color);
    font-weight: 700;
    margin-left: 8px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.nav-link-gold:hover {
    border-bottom-color: var(--secondary-color);
}

@media (max-width: 762px) {

.brand-logo{
    display: none;
}
}

/* 회원가입 카드 세로 집중 레이아웃 */
.join-card {
    max-width: 460px; /* 로그인(420px)보다 아주 약간만 넓게 설정해 시원한 느낌 유지 */
}

/* 한 줄 컬럼을 위해 기존의 join-row(2단) 설정을 제거하고 간격만 조정 */
.advance-input-box {
    margin-bottom: 25px; /* 입력창 간의 세로 간격 */
}

/* 약관 동의 박스 스타일 */
.join-agreement-box {
    margin: 10px 0 35px;
    padding: 12px 5px;
}

.join-agreement-box .lc-notice {
    margin-top: 10px;
    height: 68px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border:1px solid rgba(128, 128, 128, 0.15);
    border-radius: 6px;
    padding: 12px 14px;
    cursor: default;
}

.join-agreement-box .label-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 중복확인 인라인 버튼 */
.group-inline {
    display: flex;
    align-items: center;
}

.inner-check-btn {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 12px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.inner-check-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* ── 로그인 페이지 레이아웃 ── */
.login-section {
    min-height: calc(88vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 80px;
}

.login-wrap {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 860px) {
    .login-section {
        padding: 145px 16px 60px;
    }
}


@media (max-width: 768px) {
    .login-input-card{
        padding: 0;
        backdrop-filter:none;
        border: none;
        box-shadow: none;
    }
    /* .card-glow{
        opacity: 0;
    } */
    .login-viewport {
        min-height: auto;
    }
    .advance-input-box {
        margin-bottom: 15px;
    }
}

/* ── 회원가입 페이지 ── */

/* select — 기존 input-field 스타일과 통일 */
.select-field select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}
.select-field select option { background: var(--bg-primary); color: var(--text-primary); }
[data-theme="dark"] .select-field select option { background: var(--bg-secondary); }
.select-field select:focus { outline: none; }

/* 추천인 팝업 */
.ref-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.ref-popup-overlay.active { display: flex; }

.ref-popup {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 92%;
    max-width: 440px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
[data-theme="dark"] .ref-popup { background: var(--bg-secondary); }

.ref-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.ref-popup-head h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ref-popup-head h3 i { color: var(--primary-color); }
.ref-popup-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all .2s;
}
.ref-popup-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.ref-popup-search {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.ref-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.ref-search-row:last-child { margin-bottom: 0; }
.ref-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
[data-theme="dark"] .ref-search-input { background: var(--bg-tertiary); }
.ref-search-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,107,53,.1);
}
.ref-search-input i {
    padding: 0 10px 0 12px;
    color: var(--text-light);
    font-size: .85rem;
    transition: color .2s;
}
.ref-search-input:focus-within i { color: var(--primary-color); }
.ref-search-input input {
    flex: 1;
    padding: 10px 12px 10px 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: .9rem;
    color: var(--text-primary);
    font-family: var(--font-body);
}
.ref-search-btn {
    padding: 10px 16px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    font-family: var(--font-body);
}
.ref-search-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.ref-popup-body { flex: 1; overflow-y: auto; padding: 0; }

.ref-result-info {
    padding: 12px 24px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
[data-theme="dark"] .ref-result-info { background: var(--bg-tertiary); }

.ref-result-msg {
    padding: 32px 24px;
    text-align: center;
    font-size: .9rem;
    color: var(--text-light);
}

.ref-list { width: 100%; border-collapse: collapse; }
.ref-list thead th {
    padding: 10px 16px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    word-break: keep-all;
}
[data-theme="dark"] .ref-list thead th { background: var(--bg-tertiary); }
.ref-list tbody tr {
    cursor: pointer;
    transition: background .15s;
    border-bottom: 1px solid var(--border-color);
}
.ref-list tbody tr:last-child { border-bottom: none; }
.ref-list tbody tr:hover { background: rgba(255,107,53,.06); }
.ref-list td {
    padding: 13px 16px;
    font-size: .875rem;
    color: var(--text-primary);
}
.ref-list td.ref-id { font-weight: 600; color: var(--primary-color); }
.ref-list td.ref-num { color: var(--text-light); font-size: .78rem; font-weight: 600; }
.ref-select-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,107,53,.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
}

/* 추천인 선택 결과 표시 */
.ref-selected-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,107,53,.05);
    border: 1.5px solid rgba(255,107,53,.25);
    border-radius: 10px;
    margin-top: 6px;
}
.ref-selected-box i { color: var(--primary-color); font-size: .9rem; }
.ref-selected-info { flex: 1; }
.ref-selected-info strong {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    color: var(--text-primary);
}
.ref-selected-info span { font-size: .75rem; color: var(--text-secondary); }
.ref-clear-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: .9rem;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all .2s;
}
.ref-clear-btn:hover { color: var(--danger-color); background: rgba(239,68,68,.08); }

/* ==========================================
   Performance Page - Extended Styles
   ========================================== */

/* 섹션 블록 공통 */
.perf-block {
    margin-bottom: 50px;
}

.perf-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.perf-block-title i {
    color: var(--primary-color);
}

.perf-sub-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* 테이블 공통 */
.perf-table-wrap {
    padding: 0;
    overflow: hidden;
}

.perf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.perf-table thead tr {
    background: var(--gradient-primary);
    color: #fff;
}

.perf-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.perf-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.perf-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.perf-table tbody td {
    padding: 12px 16px;
    color: var(--text-primary);
    vertical-align: middle;
}

.perf-table-total {
    background: var(--bg-tertiary);
}

.perf-table-total td {
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* 배지 */
.perf-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-ceo    { background: rgba(255,107,53,.15); color: #FF6B35; }
.badge-advisor{ background: rgba(46,134,171,.15);  color: #2E86AB; }
.badge-board  { background: rgba(6,255,165,.15);   color: #059669; }
.badge-pref1  { background: rgba(245,158,11,.15);  color: #D97706; }
.badge-pref2  { background: rgba(139,92,246,.15);  color: #7C3AED; }

/* 차수 배지 */
.perf-round-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}
.r0 { background: rgba(107,114,128,.15); color: #6B7280; }
.r1 { background: rgba(255,107,53,.15);  color: #FF6B35; }
.r2 { background: rgba(46,134,171,.15);  color: #2E86AB; }
.r3 { background: rgba(16,185,129,.15);  color: #059669; }
.r4 { background: rgba(139,92,246,.15);  color: #7C3AED; }

/* 정보 박스 */
.perf-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(46,134,171,.08);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.perf-info-box i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 공지 박스 */
.perf-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,.1);
    border: 1px solid rgba(245,158,11,.3);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #92400E;
    font-weight: 600;
}

.perf-notice i { color: #F59E0B; }

.perf-notice-green {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(16,185,129,.08);
    border-left: 4px solid var(--success-color);
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.perf-notice-green i { color: var(--success-color); font-size: 1.1rem; flex-shrink: 0; }

/* 리스트 */
.perf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.perf-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.88rem;
    color: var(--text-primary);
}

.perf-list li:last-child { border-bottom: none; }

.perf-list li i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* 구분선 */
.perf-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 0;
}

/* 마케팅 그리드 */
.perf-marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* 포인트 테이블 수식 */
.perf-formula {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 10px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

/* 자본금 그리드 */
.perf-capital-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* 반응형 */
@media (max-width: 768px) {
    .perf-marketing-grid {
        grid-template-columns: 1fr;
    }

    .perf-table thead th,
    .perf-table tbody td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .perf-block-title {
        font-size: 1.2rem;
    }

    .perf-table-round {
        min-width: 600px;
    }
}

/* 경영계획 섹션 추가 스타일 */

/* 1. 지배구조 및 포인트 테이블 */
.shareholders-table {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.shareholders-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    min-width: 600px;
}

.shareholders-table th, 
.shareholders-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-primary);
    word-break: keep-all;
    white-space: nowrap;
}

.shareholders-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--secondary-color);
}

.shareholders-table tr:hover {
    background-color: rgba(255, 107, 53, 0.05); /* primary-color 투명도 조절 */
}

/* 2. 정기 배당 타임라인 */
.schedule-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

.timeline-item {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* 3. 투명성 및 보호 정책 (Promise Section) */
.transparency-promise {
    background: linear-gradient(135deg, var(--secondary-color), #1a5f7a);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.transparency-promise h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.promise-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.promise-features span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 반응형 조절 */
@media (max-width: 768px) {
    .schedule-timeline {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 15px;
    }
    
    .timeline-marker {
        margin: 0;
        flex-shrink: 0;
    }
}

/* ── 분기별 배당 흐름 타임라인 (ds-flow) — schedule-timeline 원형 스타일 ── */
.ds-flow {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    padding: 4px 2px 8px;
}

.ds-flow-card {
    flex: 1;
    min-width: 150px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}

.ds-flow-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* 원형 뱃지로 대체 — 상단 테두리 제거 */
.ds-flow-card.q1,
.ds-flow-card.q2,
.ds-flow-card.q3,
.ds-flow-card.q4 { border-top: 1px solid var(--border-color); }

/* 원형 마커 (timeline-marker 스타일) */
.ds-flow-qbadge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 0 4px 18px rgba(0,0,0,.22);
    flex-shrink: 0;
    margin-bottom: 4px;
}

.ds-flow-card.q1 .ds-flow-qbadge { background: linear-gradient(135deg, #667eea, #764ba2); }
.ds-flow-card.q2 .ds-flow-qbadge { background: linear-gradient(135deg, #f093fb, #f5576c); }
.ds-flow-card.q3 .ds-flow-qbadge { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.ds-flow-card.q4 .ds-flow-qbadge { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.ds-flow-season {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-secondary);
    opacity: 0.55;
}

.ds-flow-range {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.ds-flow-range i {
    margin-right: 4px;
    opacity: 0.5;
}

.ds-flow-pay {
    margin-top: auto;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.22);
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.ds-flow-pay i {
    margin-right: 4px;
}

.ds-flow-sep {
    flex-shrink: 0;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-color);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .ds-flow {
        flex-direction: column;
        overflow-x: visible;
    }

    .ds-flow-sep {
        width: 100%;
        height: 26px;
    }

    .ds-flow-sep i {
        transform: rotate(90deg);
    }

    .ds-flow-card {
        min-width: unset;
    }
}

/* Login Status Button */
.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.45);
}

.login-btn.logged-in {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 107, 53, 0.5);
}

.login-btn.logged-in:hover {
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.login-btn .user-id {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile */
@media (max-width: 768px) {
    .login-btn span {
        display: none;
    }

    .login-btn {
        padding: 7px 10px;
        border-radius: 50%;
    }

    .login-btn i {
        font-size: 16px;
    }
}

/* User Dropdown (로그인 상태 드롭다운) */
.user-selector {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 107, 53, 0.5);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.user-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.8);
}

.user-toggle .user-id {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-toggle .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

/* .user-selector:hover .fa-chevron-down {
    transform: rotate(180deg);
} */

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    overflow: hidden;
}

.user-selector:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
}

.user-option:last-child {
    border-bottom: none;
}

.user-option:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.user-option-logout:hover {
    color: #ff6b6b;
}

/* Mobile */
@media (max-width: 768px) {
    .user-toggle span {
        display: none;
    }
    .user-toggle {
        padding: 7px 10px;
        border-radius: 50%;
    }
    .user-toggle i {
        font-size: 16px;
    }
    .user-toggle .fa-chevron-down {
        display: none;
    }
}

/* ==========================================
   Proposal & Voting System Pages
   ========================================== */

/* 서브페이지 컨테이너 공통 패딩 */
.proposal-list-container,
.proposal-view-container,
.freeboard-list-container,
.freeboard-view-container {
    padding: 150px 20px 80px;
}

.proposal-list-container,
.freeboard-view-container {
    max-width: 900px;
    margin: 0 auto;
}

.proposal-view-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Proposal List Page */

.proposal-list-container .sub-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    margin-bottom: 10px;
}

.proposal-list-container .sub-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.proposal-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.no-proposal {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-proposal p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Proposal status badges */
.proposal-status.wait {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

.proposal-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.proposal-status.closed {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

/* Proposal View Page */

.proposal-view-header {
    margin-bottom: 40px;
}

.proposal-view-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.proposal-remaining {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.proposal-view-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.proposal-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.proposal-view-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proposal-view-meta i {
    color: var(--text-light);
}

.proposal-view-content {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

/* Vote Result Section */
.proposal-vote-result {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.proposal-vote-result h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.vote-result-bar {
    margin-bottom: 15px;
}

.vote-bar-track {
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.vote-bar-agree {
    height: 100%;
    background: var(--success-color);
    border-radius: 6px;
    transition: width 0.8s ease;
}

.vote-result-stats {
    display: flex;
    justify-content: space-between;
}

.vote-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.vote-stat small {
    font-weight: 600;
    color: var(--text-light);
}

.vote-stat.agree {
    color: var(--success-color);
}

.vote-stat.disagree {
    color: var(--danger-color);
}

.vote-total-count {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Vote Action Section */
.proposal-vote-action {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.vote-login-required,
.vote-already,
.vote-closed {
    padding: 20px;
}

.vote-login-required i,
.vote-already i,
.vote-closed i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.vote-login-required i { color: var(--text-light); }
.vote-already i { color: var(--success-color); }
.vote-closed i { color: var(--text-light); }

.vote-login-required p,
.vote-already p,
.vote-closed p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.my-vote-type {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.my-vote-type.agree {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.my-vote-type.disagree {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.vote-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.vote-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 50px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: white;
}

.vote-btn.agree {
    background: var(--success-color);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.vote-btn.agree:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.vote-btn.disagree {
    background: var(--danger-color);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.vote-btn.disagree:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Proposal View Footer */
.proposal-view-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}


.btn-back-community {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-back-community:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive for Proposal Pages */
@media (max-width: 768px) {
    .proposal-list-container,
    .proposal-view-container,
    .freeboard-list-container,
    .freeboard-view-container {
        padding: 100px 15px 60px;
    }

    .proposal-view-title {
        font-size: 1.5rem;
    }

    .proposal-view-meta {
        gap: 12px;
        font-size: 0.8rem;
    }

    .proposal-view-content {
        padding: 20px;
    }

    .proposal-vote-result,
    .proposal-vote-action {
        padding: 20px;
    }

    .vote-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .vote-btn {
        padding: 14px 30px;
        justify-content: center;
        font-size: 1rem;
    }

    .proposal-view-footer {
        flex-direction: column;
    }

    .btn-back-list,
    .btn-back-community {
        justify-content: center;
    }

    .proposal-write-container {
        padding: 100px 15px 60px;
    }

    .proposal-write-actions {
        flex-direction: column;
    }

    .proposal-write-actions .btn-submit,
    .proposal-write-actions .btn-cancel {
        justify-content: center;
        width: 100%;
    }
}

/* ==============================
   Proposal Write (User)
   ============================== */
.proposal-write-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 150px 20px 80px;
}

.proposal-write-header {
    text-align: center;
    margin-bottom: 35px;
}

.proposal-write-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.proposal-write-header h1 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.proposal-write-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.proposal-write-form .form-group {
    margin-bottom: 24px;
}

.proposal-write-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.proposal-write-form .form-group label i {
    color: var(--primary-color);
    margin-right: 6px;
    width: 16px;
}

.proposal-write-form .form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.proposal-write-form .form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background: var(--bg-card);
    color: var(--text-primary);
}

.proposal-write-form .form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.proposal-write-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    resize: vertical;
    min-height: 250px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: inherit;
}

.proposal-write-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.proposal-write-notice {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 30px;
}

.proposal-write-notice > i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.proposal-write-notice strong {
    display: block;
    color: #92400e;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.proposal-write-notice ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.proposal-write-notice ul li {
    color: #78350f;
    font-size: 0.85rem;
    line-height: 1.7;
}

.proposal-write-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.proposal-write-actions .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

.proposal-write-actions .btn-submit:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.proposal-write-actions .btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    text-decoration: none;
}

.proposal-write-actions .btn-cancel:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* =====================================================
   자유게시판 (Free Board) Styles
   ===================================================== */

/* 자유게시판 목록 */

/* 검색 폼 */
.freeboard-search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.freeboard-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.freeboard-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.freeboard-search-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.freeboard-search-btn:hover {
    background: var(--primary-dark, #e55a2b);
}

/* 카드 리스트 */
.freeboard-cards-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.freeboard-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--transition-fast);
    cursor: pointer;
}

.freeboard-card:hover {
    transform: translateX(5px);
}

.freeboard-card.hot {
    border-left: 4px solid var(--primary-color);
}

.freeboard-card h4 {
    margin-bottom: 8px;
    font-size: 1.125rem;
    padding-right: 60px;
}

.freeboard-card-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.freeboard-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

/* 자유게시판 상세 */

.freeboard-view-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.freeboard-view-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.freeboard-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.freeboard-view-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.freeboard-view-meta i {
    color: var(--primary-color);
}

.freeboard-view-content {
    padding: 30px 0;
    min-height: 200px;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    word-break: break-word;
}

/* 좋아요 섹션 */
.freeboard-like-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.like-login-required {
    text-align: center;
}

.like-login-required small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.8rem;
}

.btn-like {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-like:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-like.liked {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-like.liked:hover {
    background: var(--primary-dark, #e55a2b);
}

.btn-like.disabled {
    opacity: 0.6;
    cursor: default;
    text-decoration: none;
    color: var(--text-light);
}

/* 댓글 섹션 */
.freeboard-comments-section {
    padding: 25px 0;
}

.freeboard-comments-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.comment-count {
    color: var(--primary-color);
    font-weight: 700;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.comment-item {
    background: var(--bg-secondary);
    padding: 18px;
    border-radius: 10px;
    border-left: 3px solid var(--border-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-primary);
}

.comment-author i {
    color: var(--primary-color);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.comment-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.comment-actions {
    margin-top: 8px;
    text-align: right;
}

.comment-delete-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.comment-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.no-comments {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
}

/* 댓글 작성 */
.comment-write {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
}

.comment-write-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.comment-write-header i {
    color: var(--primary-color);
}

.comment-write textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 12px;
    font-family: inherit;
    box-sizing: border-box;
}

.comment-write textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.btn-comment-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-comment-submit:hover {
    background: var(--primary-dark, #e55a2b);
}

.comment-login-required {
    text-align: center;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 12px;
    color: var(--text-light);
}

.comment-login-required i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.comment-login-required p {
    margin-bottom: 12px;
}

/* 상세 페이지 하단 */
.freeboard-view-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.btn-edit-post {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-edit-post:hover {
    opacity: 0.85;
}

/* 관리자 수정 링크 (공통) */
.admin-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(46, 134, 171, 0.1);
    color: var(--secondary-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 8px;
}

.admin-edit-link:hover {
    background: rgba(46, 134, 171, 0.2);
}

.btn-admin-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(46, 134, 171, 0.1);
    color: var(--secondary-color);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s;
}

.btn-admin-edit:hover {
    background: var(--secondary-color);
    color: white;
}

/* NEW 뱃지 */
.discussion-badge.new {
    background: var(--secondary-color);
    color: white;
}

/* 커뮤니티 버튼 그룹 */
.community-btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

/* 반응형 */
@media (max-width: 768px) {
    .freeboard-view-title {
        font-size: 1.35rem;
    }

    .freeboard-view-meta {
        flex-direction: column;
        gap: 8px;
    }

    .freeboard-view-content {
        padding: 20px 0;
    }

    .freeboard-view-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .freeboard-view-footer a,
    .freeboard-view-footer button {
        text-align: center;
    }

    .freeboard-search-form {
        flex-direction: column;
    }

    .freeboard-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .freeboard-actions a {
        text-align: center;
    }

    .community-btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .community-btn-group a {
        text-align: center;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}


/* ═══════════════════════════════════════════
   LOGIN PAGE — Carrot Field Redesign
   ═══════════════════════════════════════════ */

/* 배경 글로우 블롭 */
.lc-bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}
.lc-bg-glow--orange {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.13) 0%, transparent 70%);
    top: -180px;
    right: -180px;
}
.lc-bg-glow--blue {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(46, 134, 171, 0.10) 0%, transparent 70%);
    bottom: -120px;
    left: -120px;
}

/* 브랜드 아이콘 */
.lc-brand-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}
.lc-brand-icon svg {
    filter: drop-shadow(0 6px 16px rgba(255, 107, 53, 0.45));
    transition: filter 0.3s ease;
}
.lc-brand-icon svg:hover {
    filter: drop-shadow(0 8px 22px rgba(255, 107, 53, 0.70));
}

/* 라벨-인풋 가로 배치 */
.lc-row-input {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}
.lc-row-input .input-label {
    flex-shrink: 0;
    width: 62px;
    margin-bottom: 0;
    padding-bottom: 10px;
    text-align: left;
}
.lc-row-input .input-field {
    flex: 1;
}

/* 체크박스 체크마크 */
.session-keep input:checked + .custom-box::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 로그인 버튼 아이콘 슬라이드 */
.login-cta-btn svg {
    opacity: 0.75;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.login-cta-btn:hover svg {
    transform: translateX(5px);
    opacity: 1;
}

/* 안내 문구 박스 */
.lc-notice {
    margin-top: 22px;
    padding: 14px 18px;
        background: rgb(255 212 196 / 18%);
    border: 1.5px solid rgba(255, 107, 53, 0.55);
    border-radius: 12px;
}
.lc-notice-row {
    font-size: 12px;
    color: #1A1A1A;
    line-height: 1.65;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.lc-notice-row + .lc-notice-row {
    margin-top: 5px;
    padding-left: 14px;
    margin-bottom: 0;
}
.lc-notice-star {
    color: #ff0000;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1.65;
}
.lc-notice-sub {
    color: #ff0000 !important;
}

@media (max-width: 500px) {
    .lc-notice { padding: 12px 14px; }
    .lc-bg-glow { display: none; }
}

/* 교육 컨텐츠 / 자유게시판 목록 공통 */
.freeboard-list-container,
.edu-list-container {
    max-width: 1100px;
    margin: 0 auto;
}

.freeboard-list-container .sub-title,
.edu-list-container .sub-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.freeboard-list-container .sub-desc,
.edu-list-container .sub-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.edu-list-container {
    padding: 40px 20px;
    margin-top: 100px;
}
.edu-cat-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.edu-cat-btn {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid #ddd;
    color: var(--text-secondary, #555);
    text-decoration: none;
    transition: all 0.18s ease;
    background: transparent;
}
.edu-cat-btn:hover,
.edu-cat-btn.active {
    background: var(--primary-color, #ff6b35);
    border-color: var(--primary-color, #ff6b35);
    color: #fff;
}
.edu-cards-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.edu-card-actions {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.edu-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}
.edu-btn-watch,
.edu-btn-learn {
    background: transparent;
    color: var(--text-secondary, #555);
    border: 1.5px solid #ccc;
}
.edu-btn-watch:hover,
.edu-btn-learn:hover {
    border-color: #999;
    color: var(--text-primary, #333);
    background: rgba(0,0,0,0.04);
}

/* ==========================================
   Policy Pages (Terms / Privacy)
   ========================================== */
.policy-doc {
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 56px 64px;
    margin-bottom: 60px;
    color: var(--text-primary);
    font-size: 0.97rem;
    line-height: 1.9;
}

.policy-doc .policy-version {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 36px;
}

.policy-doc .policy-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary-color);
    padding-left: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.policy-doc p {
    margin-bottom: 18px;
    color: var(--text-primary);
}

.policy-doc h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    /* color: var(--text-primary); */
    margin: 44px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.policy-doc h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.policy-doc ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-doc ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--text-primary);
}