@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --primary-accent: #FFFFFF;
    --accent-in: #00FF00; /* Neon Green */
    --accent-out: #FF0000; /* Neon Red */
    --border-color: #333333;
    --card-bg: #111111;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh; /* Ensure body takes full viewport height */
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Main Page Header Styles */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    backdrop-filter: blur(20px); /* High blur for glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    width: 200px;
}

.header-right {
    justify-content: flex-end;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-accent);
    text-decoration: none;
    line-height: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-name:hover {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    opacity: 0.8;
}

/* Framer-style Navigation */
.header-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-item {
    position: relative;
    cursor: pointer;
    padding: 1rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #999;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #fff;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Start slightly lower */
    background: rgba(10, 10, 10, 0.95); /* More opaque background */
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4); /* Much more visible border */
    border-radius: 20px; /* Highly rounded corners */
    padding: 1.25rem;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8); /* Stronger shadow for depth */
    margin-top: 0;
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Slide up to original position */
}

/* Hero Button Hover Effect */
.hero-cta-btn {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.hero-cta-btn:hover {
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
}

/* Secondary Button (Grey) Hover Effect */
.secondary-cta-btn {
    background-color: #333;
    color: #ccc;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.secondary-cta-btn:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown-content a {
    color: inherit;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    transition: background 0.2s ease;
    display: block;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.menu-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 2px;
}

.menu-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.dropdown-content a:hover .menu-desc {
    color: #999;
}

/* Landing Page Main Content Styles */
.landing-content {
    flex-grow: 1; /* Make it take all available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 2rem; /* Add top padding for fixed header */
}

/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #888;
}

.stat-card p {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.stat-in { color: var(--accent-in); }
.stat-out { color: var(--accent-out); }

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: left;
}

input, select, button {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #000;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

button.primary {
    background-color: #fff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

@keyframes scanMove {
    0% { top: 10%; }
    50% { top: 80%; }
    100% { top: 10%; }
}

@keyframes globeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.globe-sphere {
    animation: globeRotate 20s linear infinite;
}

.currency-tag {
    animation: floatAnim 4s ease-in-out infinite;
}

.tag-krw { animation-delay: 0s; }
.tag-usd { animation-delay: 1.5s; }
.tag-jpy { animation-delay: 0.8s; }
