/* ========================================
   Zynx - Cryptocurrency Exchange Platform
   Design System & Styles
   ======================================== */

/* CSS Variables */
:root {
    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #111111;
    --bg-hover: #1a1a1a;

    /* Accent Colors */
    --accent-primary: #FFD700;
    --accent-hover: #FFC107;
    --accent-glow: rgba(255, 215, 0, 0.3);
    --accent-ring: rgba(255, 215, 0, 0.15);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #707070;
    --text-muted: #505050;

    /* Border Colors */
    --border-color: #2a2a2a;
    --border-light: #1a1a1a;

    /* Status Colors */
    --color-success: #00d084;
    --color-danger: #ff4757;
    --color-info: #3b82f6;
    --color-warning: #f59e0b;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 24px rgba(255, 215, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   Layout & Container
   ======================================== */
/* 注意: 基础 .container 样式已在 design-system.css 中定�?   这里仅覆盖首页特定的容器样式 */
/* 使用 main.content > .container 限制只在首页内容区域生效，不影响其他页面如 spot */
main.content > .container {
    max-width: var(--container-xl, 1280px) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 兼容旧的首页结构 */
.hero-section .container,
.stats-bar .container,
.markets-section .container,
.features-section .container,
.cta-section .container {
    max-width: var(--container-xl, 1280px) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 确保主要内容区域占据剩余空间，将footer推到底部 */
main.content {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.text-center {
    text-align: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: rgba(255, 215, 0, 0.9);
    color: #000000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 215, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
}

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

.btn-large {
    padding: 14px 36px;
    font-size: 15px;
    border-radius: 50px;
}

/* ========================================
   Hero Section
   ======================================== */
/* 为固�?header 添加顶部间距 */
body {
    padding-top: var(--header-height, 64px);
}

.hero-section {
    min-height: calc(100vh - var(--header-height, 64px));
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero Section Container - 强制两列布局 */
.hero-section .container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "content visual" !important;
    gap: var(--space-3xl) !important;
    align-items: center !important;
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: var(--container-xl, 1280px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* 确保内容在左�?*/
.hero-section .container .hero-content {
    grid-area: content !important;
    order: 1 !important;
}

/* 确保图形在右�?*/
.hero-section .container .hero-visual {
    grid-area: visual !important;
    order: 2 !important;
}

.hero-content {
    max-width: 560px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.hero-content h1 .highlight {
    color: var(--accent-primary);
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.1em;
}

.hero-buttons {
    margin-bottom: var(--space-2xl);
}

/* Hero Image - Global Network Style */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-globe-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.15));
    animation: globeFloat 6s ease-in-out infinite;
}

@keyframes globeFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

/* ========================================
   Stats Bar
   ======================================== */
.stats-bar {
    padding: 0 0 var(--space-3xl);
    background: var(--bg-primary);
}

.stats-bar .container {
    width: 100%;
    max-width: var(--container-xl, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: var(--space-xl) var(--space-lg);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: var(--border-color);
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    letter-spacing: 0;
}

/* ========================================
   Core Features Section
   ======================================== */
.core-features-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.core-features-section .container {
    width: 100%;
    max-width: var(--container-xl, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.core-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.core-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
}

.core-feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-visual {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

/* Tech Feature Icons */
.feature-icon-tech {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-tech svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(255, 215, 0, 0.4));
}

/* Progress Ring with Chart */
.progress-chart-wrapper {
    position: relative;
    width: 140px;
    height: 120px;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 8;
}

.progress-bg {
    stroke: var(--border-color);
}

.progress-fill {
    stroke: var(--accent-primary);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.mini-chart {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 50px;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

/* Icon Cluster */
.icon-cluster {
    position: relative;
    width: 140px;
    height: 100px;
}

.icon-circle {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.icon-circle.icon-1 {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-circle.icon-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    z-index: 2;
    width: 56px;
    height: 56px;
}

.icon-circle.icon-3 {
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-circle svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
    padding: 0 var(--space-md);
}

.bar {
    flex: 1;
    background: var(--border-color);
    border-radius: 4px 4px 0 0;
    transition: all var(--transition-normal);
    min-width: 24px;
}

.bar.active {
    background: var(--accent-primary);
}

.core-feature-card:hover .bar {
    background: var(--accent-primary);
    opacity: 0.5;
}

.core-feature-card:hover .bar.active {
    opacity: 1;
}

.core-feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.core-feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Trusted Platform Section
   ======================================== */
.trusted-platform-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
}

.trusted-platform-section .container {
    width: 100%;
    max-width: var(--container-xl, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.trusted-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-3xl);
    align-items: center;
}

.trusted-text h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.trusted-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* Orbit System */
.trusted-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-system {
    position: relative;
    width: 420px;
    height: 420px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.25);
}

.center-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
}

.center-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.ring-1 {
    width: 150px;
    height: 150px;
    animation: orbitRotate 12s linear infinite;
}

.ring-2 {
    width: 260px;
    height: 260px;
    animation: orbitRotate 20s linear infinite reverse;
}

.ring-3 {
    width: 380px;
    height: 380px;
    animation: orbitRotate 30s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-item svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.ring-1 .item-1 { top: -18px; left: 50%; transform: translateX(-50%); }
.ring-1 .item-2 { bottom: 20%; right: -10px; }
.ring-1 .item-3 { bottom: 20%; left: -10px; }

.ring-2 .item-4 { top: 8%; right: 8%; }
.ring-2 .item-5 { top: 8%; left: 8%; }
.ring-2 .item-6 { bottom: 8%; right: 8%; }
.ring-2 .item-7 { bottom: 8%; left: 8%; }

.ring-3 .item-8 { top: 2%; left: 50%; transform: translateX(-50%); }
.ring-3 .item-9 { top: 22%; right: 2%; }
.ring-3 .item-10 { bottom: 22%; right: 2%; }
.ring-3 .item-11 { bottom: 22%; left: 2%; }
.ring-3 .item-12 { top: 22%; left: 2%; }

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========================================
   Market Trend Section
   ======================================== */
.market-trend-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.market-trend-section .container {
    width: 100%;
    max-width: var(--container-xl, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.market-trend-section .section-header {
    margin-bottom: var(--space-xl);
}

.market-trend-section .section-header h2 {
    font-size: 28px;
    font-weight: 600;
}

.market-trend-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.market-trend-table th,
.market-trend-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.market-trend-table th {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-tertiary);
}

.market-trend-table tbody tr {
    transition: background var(--transition-fast);
}

.market-trend-table tbody tr:hover {
    background: var(--bg-hover);
}

.market-trend-table tbody tr:last-child td {
    border-bottom: none;
}

.col-rank {
    width: 50px;
    color: var(--text-tertiary);
    font-weight: 500;
    text-align: center;
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.crypto-icon-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.crypto-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: white;
}

.crypto-icon.btc { background: linear-gradient(135deg, #f7931a 0%, #f7b731 100%); color: #fff; }
.crypto-icon.eth { background: linear-gradient(135deg, #627eea 0%, #8bacff 100%); color: #fff; }
.crypto-icon.usdt { background: linear-gradient(135deg, #26a17b 0%, #4cd7a7 100%); color: #fff; }
.crypto-icon.bnb { background: linear-gradient(135deg, #f3ba2f 0%, #fcd535 100%); color: #0a0a0a; }
.crypto-icon.xrp { background: linear-gradient(135deg, #23292f 0%, #3a4550 100%); color: #fff; }
.crypto-icon.doge { background: linear-gradient(135deg, #c2a633 0%, #e8d175 100%); color: #0a0a0a; }

.crypto-details {
    display: flex;
    flex-direction: column;
}

.crypto-symbol {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.crypto-fullname {
    font-size: 12px;
    color: var(--text-tertiary);
}

.col-price {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.col-change {
    font-size: 14px;
    font-weight: 500;
}

.col-change.positive {
    color: var(--color-success);
}

.col-change.negative {
    color: var(--color-danger);
}

.sparkline {
    width: 100px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sparkline-up {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32'%3E%3Cpolyline points='0,28 20,24 40,20 60,14 80,10 100,4' fill='none' stroke='%2300d084' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sparkline-down {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32'%3E%3Cpolyline points='0,4 20,10 40,14 60,20 80,24 100,28' fill='none' stroke='%23ff4757' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sparkline-flat {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32'%3E%3Cpolyline points='0,16 20,15 40,17 60,16 80,15 100,16' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.trade-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity var(--transition-fast);
}

.trade-link:hover {
    opacity: 0.8;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
}

.testimonials-section .container {
    width: 100%;
    max-width: var(--container-xl, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.testimonials-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.testimonials-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.testimonials-header h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.01em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.quote-icon {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 48px;
    color: var(--accent-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.author-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.faq-section .container {
    width: 100%;
    max-width: var(--container-xl, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-section .section-header h2 {
    font-size: 28px;
    font-weight: 600;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-item.active {
    border-color: var(--accent-primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    background: var(--bg-card);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-hover);
}

.faq-question h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-icon {
    color: var(--text-tertiary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
    background: var(--bg-tertiary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-lg) var(--space-md);
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-top: var(--space-md);
}

/* ========================================
   Floating Action Button
   ======================================== */
.fab-container {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 1000;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-normal);
}

.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

.fab-btn svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   Responsive Design - Desktop (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    .container {
        max-width: var(--container-xl, 1280px);
    }
}

/* ========================================
   Responsive Design - Tablet (768-1199px)
   ======================================== */
@media (max-width: 1199px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-section .container {
        grid-template-columns: 1fr !important;
        grid-template-areas: "visual" "content" !important;
        text-align: center;
        gap: var(--space-2xl);
    }

    .hero-section .container .hero-content {
        grid-area: content !important;
        order: 2 !important;
        max-width: 100%;
    }

    .hero-section .container .hero-visual {
        grid-area: visual !important;
        order: 1 !important;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
    }

    .hero-image-container {
        width: 400px;
        height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }

    .stat-item:not(:last-child)::after {
        right: calc(-0.5 * var(--space-lg));
    }

    .core-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .trusted-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .trusted-text {
        text-align: center;
    }

    .testimonials-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .testimonials-header {
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .orbit-system {
        width: 360px;
        height: 360px;
    }

    .ring-3 {
        width: 340px;
        height: 340px;
    }
}

/* ========================================
   Responsive Design - Mobile (�?68px)
   ======================================== */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: auto;
        padding: var(--space-xl) 0 var(--space-2xl);
    }

    .hero-section .container {
        grid-template-columns: 1fr !important;
        grid-template-areas: "visual" "content" !important;
        text-align: center;
        gap: var(--space-xl);
        padding: 0 var(--space-md) !important;
    }

    .hero-section .container .hero-content {
        grid-area: content !important;
        order: 2 !important;
        max-width: 100%;
    }

    .hero-section .container .hero-visual {
        grid-area: visual !important;
        order: 1 !important;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-content h1 {
        margin-bottom: 4px;
    }

    .hero-content h2 {
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 0.1em;
        margin-bottom: var(--space-lg);
    }

    .hero-buttons {
        margin-bottom: 0;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
        min-height: 48px;
    }

    /* Hero Image Mobile */
    .hero-image-container {
        width: 280px;
        height: 280px;
    }

    /* Stats Bar Mobile */
    .stats-bar {
        padding: 0 0 var(--space-xl);
    }

    .stats-bar .container {
        padding: 0 var(--space-md);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: var(--radius-lg);
    }

    .stat-item {
        padding: var(--space-lg) var(--space-md);
    }

    .stat-item:nth-child(1)::after,
    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(1)::after,
    .stat-item:nth-child(3)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 40%;
        background: var(--border-color);
    }

    .stat-item:nth-child(1)::before,
    .stat-item:nth-child(2)::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 1px;
        background: var(--border-color);
    }

    .stat-value {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Core Features Mobile */
    .core-features-section {
        padding: var(--space-2xl) 0;
    }

    .core-features-section .container {
        padding: 0 var(--space-md);
    }

    .section-header {
        margin-bottom: var(--space-lg);
        text-align: center;
    }

    .section-header h2,
    .trusted-text h2,
    .testimonials-header h2,
    .testimonials-header h3 {
        font-size: 22px;
        line-height: 1.3;
    }

    .core-features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .core-feature-card {
        padding: var(--space-lg);
    }

    .feature-visual {
        height: 120px;
        margin-bottom: var(--space-md);
    }

    .core-feature-card h3 {
        font-size: 15px;
    }

    .core-feature-card p {
        font-size: 13px;
    }

    /* Trusted Platform Mobile */
    .trusted-platform-section {
        padding: var(--space-2xl) 0;
    }

    .trusted-platform-section .container {
        padding: 0 var(--space-md);
    }

    .trusted-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .trusted-text {
        text-align: center;
    }

    .trusted-text h2 {
        margin-bottom: var(--space-md);
    }

    .trusted-text p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: var(--space-sm);
    }

    .orbit-system {
        width: 280px;
        height: 280px;
    }

    .orbit-center {
        width: 56px;
        height: 56px;
    }

    .center-logo {
        font-size: 22px;
    }

    .center-logo-img {
        width: 36px;
        height: 36px;
    }

    .ring-1 {
        width: 100px;
        height: 100px;
    }

    .ring-2 {
        width: 180px;
        height: 180px;
    }

    .ring-3 {
        width: 260px;
        height: 260px;
    }

    .orbit-item {
        width: 28px;
        height: 28px;
    }

    .orbit-item svg {
        width: 14px;
        height: 14px;
    }

    /* Market Trend Mobile */
    .market-trend-section {
        padding: var(--space-2xl) 0;
    }

    .market-trend-section .container {
        padding: 0 var(--space-md);
    }

    .market-trend-section .section-header {
        text-align: center;
    }

    .market-trend-section .section-header h2 {
        font-size: 22px;
    }

    .market-trend-table {
        overflow-x: auto;
        border-radius: var(--radius-md);
        -webkit-overflow-scrolling: touch;
    }

    .market-trend-table table {
        min-width: 600px;
    }

    .market-trend-table th,
    .market-trend-table td {
        padding: var(--space-sm) var(--space-md);
    }

    /* Testimonials Mobile */
    .testimonials-section {
        padding: var(--space-2xl) 0;
    }

    .testimonials-section .container {
        padding: 0 var(--space-md);
    }

    .testimonials-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .testimonials-header {
        text-align: center;
    }

    .testimonials-header h3 {
        margin-bottom: var(--space-md);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .testimonial-card {
        padding: var(--space-lg);
    }

    .quote-icon {
        font-size: 36px;
        top: var(--space-md);
        right: var(--space-md);
    }

    .testimonial-card p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: var(--space-md);
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    /* FAQ Mobile */
    .faq-section {
        padding: var(--space-2xl) 0;
    }

    .faq-section .container {
        padding: 0 var(--space-md);
    }

    .faq-section .section-header h2 {
        font-size: 22px;
    }

    .faq-list {
        max-width: 100%;
    }

    .faq-question {
        padding: var(--space-md);
    }

    .faq-question h3 {
        font-size: 14px;
        line-height: 1.4;
        padding-right: var(--space-md);
    }

    .faq-icon svg {
        width: 18px;
        height: 18px;
    }

    .faq-item.active .faq-answer {
        padding: 0 var(--space-md) var(--space-md);
    }

    .faq-answer p {
        font-size: 13px;
        line-height: 1.7;
    }

    /* FAB Mobile */
    .fab-container {
        bottom: calc(60px + var(--space-md));
        right: var(--space-md);
    }
}

/* ========================================
   JPMS Hero Section Styles
   ======================================== */
.jpms-hero-section {
    position: relative;
    padding: calc(var(--header-height, 64px) + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 50%, #0a0a0a 100%);
    overflow: hidden;
}

.jpms-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.jpms-hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    animation: jpmsGlowPulse 4s ease-in-out infinite;
}

@keyframes jpmsGlowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.jpms-hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.jpms-hero-content {
    text-align: center;
}

/* JPMS Logo Area */
.jpms-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.jpms-logo {
    width: 56px;
    height: 56px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: jpmsLogoPulse 2s ease-in-out infinite;
}

.jpms-logo svg {
    width: 32px;
    height: 32px;
}

@keyframes jpmsLogoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
}

.jpms-title h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
}

.jpms-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* JPMS Price Display */
.jpms-price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.jpms-price-main {
    display: flex;
    align-items: flex-start;
}

.jpms-price-symbol {
    font-size: 28px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-right: 4px;
}

.jpms-price-value {
    font-size: 64px;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.jpms-price-value.updating {
    animation: pricePulse 0.5s ease;
}

@keyframes pricePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.jpms-price-change {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.jpms-price-change.positive {
    background: rgba(0, 208, 132, 0.15);
    color: var(--color-success);
}

.jpms-price-change.negative {
    background: rgba(255, 71, 87, 0.15);
    color: var(--color-danger);
}

.jpms-price-change svg {
    width: 16px;
    height: 16px;
}

/* JPMS Chart Container */
.jpms-chart-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
}

/* JPMS Action Buttons */
.jpms-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.btn-jpms-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #000;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-jpms-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-jpms-primary svg {
    width: 20px;
    height: 20px;
}

.btn-jpms-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-jpms-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(255, 215, 0, 0.05);
}

/* JPMS Stats Grid */
.jpms-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.jpms-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.jpms-stat-card:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.jpms-stat-label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jpms-stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

/* ========================================
   JPMS Features Section
   ======================================== */
.jpms-features-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.jpms-features-section .container {
    max-width: var(--container-xl, 1280px);
    margin: 0 auto;
    padding: 0;
}

.jpms-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.jpms-feature-card {
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.jpms-feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}

.jpms-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jpms-feature-icon.staking {
    background: rgba(0, 208, 132, 0.1);
    border-color: rgba(0, 208, 132, 0.2);
}

.jpms-feature-icon.governance {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.jpms-feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.jpms-feature-icon.staking svg {
    color: var(--color-success);
}

.jpms-feature-icon.governance svg {
    color: var(--color-info);
}

.jpms-feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.jpms-feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.jpms-feature-highlight {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.jpms-highlight-value {
    font-size: 14px;
    color: var(--text-tertiary);
}

.jpms-highlight-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
}

.jpms-highlight-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   JPMS Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .jpms-hero-section {
        padding: calc(var(--header-height, 64px) + var(--space-2xl)) 0 var(--space-2xl);
    }

    .jpms-price-value {
        font-size: 48px;
    }

    .jpms-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .jpms-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .jpms-hero-section {
        padding: calc(var(--header-height, 56px) + var(--space-xl)) 0 var(--space-xl);
    }

    .jpms-hero-section .container {
        padding: 0 var(--space-md);
    }

    .jpms-logo {
        width: 48px;
        height: 48px;
    }

    .jpms-logo svg {
        width: 28px;
        height: 28px;
    }

    .jpms-title h1 {
        font-size: 32px;
    }

    .jpms-subtitle {
        font-size: 11px;
    }

    .jpms-price-display {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .jpms-price-symbol {
        font-size: 24px;
    }

    .jpms-price-value {
        font-size: 42px;
    }

    .jpms-price-change {
        font-size: 14px;
        padding: 6px 12px;
    }

    .jpms-chart-container {
        height: 100px;
        padding: var(--space-sm);
    }

    .jpms-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .btn-jpms-primary,
    .btn-jpms-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .jpms-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .jpms-stat-card {
        padding: var(--space-md);
    }

    .jpms-stat-label {
        font-size: 10px;
    }

    .jpms-stat-value {
        font-size: 14px;
    }

    .jpms-features-section {
        padding: var(--space-2xl) 0;
    }

    .jpms-features-section .container {
        padding: 0 var(--space-md);
    }

    .jpms-features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .jpms-feature-card {
        padding: var(--space-lg);
    }

    .jpms-feature-icon {
        width: 56px;
        height: 56px;
    }

    .jpms-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .jpms-feature-card h3 {
        font-size: 16px;
    }

    .jpms-feature-card p {
        font-size: 13px;
    }

    .jpms-highlight-number {
        font-size: 24px;
    }
}
    .fab-btn {
        width: 48px;
        height: 48px;
        min-width: 44px;
        min-height: 44px;
    }

    .fab-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   Responsive Design - Small Mobile (�?80px)
   ======================================== */
@media (max-width: 480px) {
    .hero-content h1,
    .hero-content h2 {
        font-size: 24px;
    }

    .hero-image-container {
        width: 240px;
        height: 240px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: var(--radius-md);
    }

    .stat-item {
        padding: var(--space-md) var(--space-sm);
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .core-feature-card {
        padding: var(--space-lg);
    }

    .testimonial-card {
        padding: var(--space-lg);
    }

    .faq-question h3 {
        font-size: 14px;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background: var(--bg-primary);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: auto;
}

.footer .container {
    width: 100%;
    max-width: var(--container-xl, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg, 24px);
    padding-right: var(--space-lg, 24px);
}

/* Footer Top: Logo + Divider + Social Links */
.footer-top {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: #000;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-divider {
    flex: 1;
    height: 1px;
    background: var(--border-color);
    min-width: 100px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #000;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: 0;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    line-height: 1.8;
}

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

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: center;
    padding-top: var(--space-md);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
}

/* ========================================
   Footer Responsive Design
   ======================================== */
@media (max-width: 1199px) {
    .footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer-top {
        gap: var(--space-lg);
    }

    .footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 767px) {
    .footer {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .footer-top {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-divider {
        width: 100%;
        min-width: auto;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .footer-column h4 {
        font-size: 15px;
    }

    .footer-column a {
        font-size: 13px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }
}

/* ========================================
   Scrollbar Styling
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}
