/* About HEX-KEY Page Styles */

:root {
    --primary-color: #009922;
    --secondary-color: #00cc2d;
    --text-color: #000000;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hexkey-main {
    margin-top: 80px;
    overflow: hidden;
}

/* Hero Section */
.hexkey-hero {
    padding: 0;
    background: linear-gradient(135deg, rgba(0, 153, 34, 0.03), rgba(0, 204, 45, 0.05));
    min-height: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hexkey-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 153, 34, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(0, 153, 34, 0.1);
    border: 1px solid rgba(0, 153, 34, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

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

.hero-description {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 153, 34, 0.1);
    border-radius: 12px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
}

/* App Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    overflow: hidden;
}

.app-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.mockup-screen {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 6px solid #2c3e50;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.screen-header {
    background: #34495e;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.screen-buttons {
    display: flex;
    gap: 0.5rem;
}

.screen-buttons span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #95a5a6;
}

.screen-buttons span:nth-child(1) { background: #e74c3c; }
.screen-buttons span:nth-child(2) { background: #f39c12; }
.screen-buttons span:nth-child(3) { background: #2ecc71; }

.screen-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
}

.screen-content {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex: 1;
    overflow-y: auto;
}

.wallet-ui {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.balance-card {
    background: var(--gradient-primary);
    padding: 1.5rem;
    border-radius: 12px;
    color: #ffffff;
}

.balance-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.4rem;
}

.balance-amount {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.balance-amount span {
    font-size: 1rem;
    opacity: 0.9;
}

.balance-usd {
    font-size: 0.9rem;
    opacity: 0.85;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.action-btn i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.action-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 153, 34, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

/* Features Overview */
.features-overview {
    padding: 6rem 8rem;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.6);
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.features-left {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

.feature-large {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-large:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.feature-icon-large i {
    font-size: 2.5rem;
    color: #ffffff;
}

.feature-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-large p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

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

.features-grid-mini {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-mini {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-mini:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon-mini {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 153, 34, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.feature-icon-mini i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-mini h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.feature-mini p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

/* Features Detail */
.features-detail {
    padding: 6rem 8rem;
    background: var(--bg-light);
}

.detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item.reverse {
    direction: rtl;
}

.detail-item.reverse > * {
    direction: ltr;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 153, 34, 0.1);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detail-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.detail-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}

.detail-visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-color);
}

.detail-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.visual-box {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Swap Interface */
.swap-interface {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.swap-header {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

.swap-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.swap-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    min-width: 0;
    max-width: 100%;
}

.swap-input input:focus {
    outline: none;
}

.swap-input span {
    padding: 0.6rem 1.2rem;
    background: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.swap-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.swap-btn {
    padding: 1.2rem;
    background: var(--gradient-primary);
    color: #ffffff;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swap-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Code Editor */
.code-editor {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
}

.file-name {
    color: #ffffff;
    font-size: 0.9rem;
}

.editor-actions {
    display: flex;
    gap: 1rem;
}

.editor-actions i {
    color: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.editor-actions i:hover {
    opacity: 1;
}

.editor-content {
    padding: 1.5rem;
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif !important;
    font-size: 0.95rem;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.code-line {
    color: #d4d4d4;
    line-height: 1.8;
    white-space: nowrap;
    overflow-x: auto;
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif !important;
}

.keyword {
    color: #569cd6;
}

.class {
    color: #4ec9b0;
}

.type {
    color: #4ec9b0;
}

/* Portfolio View */
.portfolio-view {
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.chart-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Platform Section */
.platform-section {
    padding: 6rem 8rem;
    background: #ffffff;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.platform-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.platform-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 153, 34, 0.1);
    border-radius: 20px;
    margin: 0 auto 2rem;
}

.platform-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.platform-card p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: 6rem 8rem;
    background: var(--gradient-primary);
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}
