* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    color: #212529;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 500;
    color: #0F4C4C;
    display: flex;
    align-items: center;
    gap: 8px;
	letter-spacing:-1px;
}

.logo-symbol {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #167064;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 5px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-signup {
    background: #167064;
    color: white;
}

.btn-signup:hover {
    background: #0F4C4C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 112, 100, 0.25);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #495057;
}

.hero {
    background: url('./img/hero.jpg') no-repeat center center/cover;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-text p {
    font-size: 18px;
    color: #e9ecef;
    margin-bottom: 30px;
}

.email-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.email-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ced4da;
    border-radius: 30px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.email-form input::placeholder {
    color: #999;
}

.email-form input:focus {
    border-color: #167064;
    outline: none;
}

.email-form button {
    padding: 15px 40px;
    background: #167064;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.email-form button:hover {
    background: #0F4C4C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 112, 100, 0.25);
}

.hero-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-badge {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 14px;
    color: #212529;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero-image {
    position: relative;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* 코인 카드 스타일 (trade.css에서 가져옴) */
.coin-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.coin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.coin-rank {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8f9fa;
    color: #6c757d;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.coin-rank.rank-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

.coin-rank.rank-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
    color: white;
}

.coin-rank.rank-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
    color: white;
}

.coin-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.coin-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #E6F2F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #167064;
    overflow: hidden;
}

.coin-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coin-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.coin-symbol {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.coin-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.price-change {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 15px;
}

.price-change.up {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.price-change.down {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.coin-chart {
    height: 120px;
    margin: 15px 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
}

.coin-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.coin-metrics {
    margin: 20px 0;
}

.metric-item {
    margin-bottom: 12px;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.metric-name {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.metric-value {
    font-size: 12px;
    color: #167064;
    font-weight: 600;
}

.metric-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.metric-fill.high {
    background: linear-gradient(90deg, #167064, #28a745);
}

.metric-fill.medium {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.metric-fill.low {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.coin-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.detail-row:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.detail-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.detail-value {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 600;
}

.coin-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.badge-info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.coin-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.coin-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-select {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #dee2e6;
}

.btn-select:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.btn-select.selected {
    background: rgba(22, 112, 100, 0.1);
    color: #167064;
    border-color: #167064;
}

.btn-trade {
    background: linear-gradient(135deg, #167064 0%, #0F4C4C 100%);
    color: white;
}

.btn-trade:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 112, 100, 0.3);
}

.loading-indicator {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #167064;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.why-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-title p {
    color: #6c757d;
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.features-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #E6F2F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-card p {
    color: #6c757d;
    font-size: 15px;
}

.steps-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #167064 0%, #0F4C4C 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: pulse 5s infinite;
}

.steps-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: pulse 7s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.5; }
}

.steps-section .section-title h2,
.steps-section .section-title p {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.steps-section .section-title h2 {
    font-size: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.step-number {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 42px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.step-card p {
    opacity: 0.9;
}

.stats-section {
    padding: 120px 0;
    background: #ffffff;
    color: #212529;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 50 Q25 0 50 50 T100 50" fill="none" stroke="%23167064" stroke-width="2" opacity="0.1"/></svg>') repeat;
    opacity: 0.05;
}

.stats-section .section-title h2 {
    font-size: 40px;
    color: #1a1a1a;
}

.stats-section .section-title p {
    color: #6c757d;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #167064 0%, #0F4C4C 100%);
    border-radius: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    color: white;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(22, 112, 100, 0.2);
}

.stat-card h3 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-card .stat-label {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
    color: white;
}

.stat-card .stat-desc {
    font-size: 15px;
    opacity: 0.9;
    color: white;
}

.roadmap-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #167064 0%, #0F4C4C 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.roadmap-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: pulse 5s infinite;
}

.roadmap-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: pulse 7s infinite;
}

.roadmap-section .section-title h2,
.roadmap-section .section-title p {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.roadmap-section .section-title h2 {
    font-size: 40px;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.roadmap-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.roadmap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.roadmap-number {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 42px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.roadmap-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.roadmap-card p {
    opacity: 0.9;
}

.roadmap-date {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 10px;
    font-weight: 600;
}

.power-section {
    padding: 100px 0;
    background: white;
}

.global-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.world-map {
    background: linear-gradient(135deg, #167064 0%, #0F4C4C 100%);
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.world-map::before {
    content: '🌍';
    font-size: 200px;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.global-stat {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.global-stat-icon {
    width: 60px;
    height: 60px;
    background: #E6F2F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

.global-stat h4 {
    font-size: 18px;
    color: #1a1a1a;
}

.users-section {
    padding: 100px 0;
    background: white;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.user-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.user-icon {
    width: 70px;
    height: 70px;
    background: #E6F2F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
}

.user-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.user-card p {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 20px;
}

.user-link {
    color: #167064;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.user-link:hover {
    color: #0F4C4C;
}

.security-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.security-card {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.security-icon {
    width: 70px;
    height: 70px;
    background: #E6F2F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.security-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.security-card p {
    color: #6c757d;
    font-size: 14px;
}

.referral-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #167064 0%, #0F4C4C 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.referral-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: pulse 5s infinite;
}

.referral-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: pulse 7s infinite;
}

.referral-section .section-title h2,
.referral-section .section-title p {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.referral-section .section-title h2 {
    font-size: 40px;
}

.referral-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.referral-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.referral-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.referral-icon {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 42px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.referral-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.referral-card p {
    opacity: 0.9;
}

.comparison-section {
    padding: 100px 0;
    background: white;
}

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

footer {
    background: #212529;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #343a40;
    color: #6c757d;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .steps-grid,
    .stats-grid,
    .roadmap-grid,
    .users-grid,
    .security-grid,
    .referral-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .global-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        text-align: center;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .features-grid,
    .steps-grid,
    .stats-grid,
    .roadmap-grid,
    .global-stats,
    .users-grid,
    .security-grid,
    .referral-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .email-form {
        flex-direction: column;
    }

    .comparison-table {
        overflow-x: auto;
    }
}