:root {
  /* Core Palette: OLED Dark */
  --bg-dark: #050505;
  --bg-card: rgba(18, 18, 18, 0.7);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;

  /* Accent Colors */
  --accent-web: #3b82f6;
  /* Cyber Blue */
  --accent-trade: #f59e0b;
  /* Trading Gold */
  --accent-green: #10b981;
  /* Solar Emerald */
  --accent-art: #ec4899;
  /* Art Pink */

  /* Glassmorphism Styles */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);

  /* Typography */
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* (Removed Glass Utility Classes for Editorial Design) */

/* Navbar Styling */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -2px;
}

.logo span {
  color: var(--accent-web);
}

.mobile-menu-btn {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #111 0%, #050505 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: inline-block;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -4px;
}

.roles {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 32px;
}

.divider {
  margin: 0 15px;
  opacity: 0.3;
}

.tagline {
  max-width: 500px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Editorial Architecture (Stark Minimalist) */
.editorial-section {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editorial-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.editorial-item {
  padding: 20px 0;
}

.editorial-icon {
  margin-bottom: 24px;
}

.editorial-icon svg {
  color: var(--text-primary);
  width: 48px;
  height: 48px;
}

.editorial-list {
  display: flex;
  flex-direction: column;
}

.editorial-row {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

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

.editorial-title h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.tech-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-stack span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.editorial-desc p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Trading specific background */
.trading-bg {
  background-image: url('../photo_2026-04-17_14-10-57.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.trading-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 5, 5, 0.85); /* Dark low opacity overlay */
  z-index: 1;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 60px;
  font-weight: 800;
  letter-spacing: -2px;
}
.section-title.text-left {
  text-align: left;
}

.strict-border {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}
.accent-green { color: var(--accent-green); margin-bottom: 15px; font-size: 1.5rem; }
.accent-art { color: var(--accent-art); margin-bottom: 15px; font-size: 1.5rem; }

/* Contact */
.contact {
  padding: 150px 0;
}

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

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta-button {
  background: white;
  color: black;
  padding: 18px 48px;
  border-radius: 100px;
  font-weight: 700;
  display: inline-block;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.cta-button.outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-button.outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.social-icon {
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: white;
  transform: translateY(-5px);
}

footer {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

.animate-fade {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
}

.stagger-item.stagger-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: calc(var(--delay) * 150ms) !important;
}

.editorial-item, .editorial-row, .narrative-box {
  transform: translateY(30px);
}

/* Custom Interactive Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0; /* Hidden by default until mouse moves */
}

.custom-cursor.active {
  opacity: 1;
}

.custom-cursor.hovering {
  width: 60px;
  height: 60px;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .editorial-row {
  cursor: none;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .stagger-item, .editorial-item, .editorial-row, .narrative-box {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .custom-cursor {
    display: none !important;
  }
  
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor .editorial-row {
    cursor: auto;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }

  .editorial-grid-3, .editorial-grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .editorial-desc p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    flex-direction: column;
    padding: 30px 0;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-links.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .editorial-title h2 {
    font-size: 2rem;
  }

  .editorial-row {
    padding: 60px 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}