/* =============================================
   VOLUME TRADE — Design System & Styles
   ============================================= */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-accent: #ECEAE5;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;

  --text-primary: #ECEAE5;
  --text-secondary: #888888;
  --text-dark: #0E0E0E;
  --text-muted: #555555;

  --accent: #00D4AA;
  --accent-hover: #00F5C4;
  --accent-glow: rgba(0, 212, 170, 0.15);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --gap: 40px;
  --section-padding: 140px 0;
  --radius: 12px;
  --radius-sm: 8px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, .h1 {
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2, .h2 {
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

h4, .h4 {
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 600;
  line-height: 1.4;
}

.text-lg {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.6;
  font-weight: 300;
}

.text-body {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-secondary);
}

.text-sm {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.text-accent {
  color: var(--accent);
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 500;
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  width: 100%;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section--dark {
  background-color: var(--bg-primary);
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section--light {
  background-color: var(--bg-accent);
  color: var(--text-dark);
}

.section__label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.section__title {
  margin-bottom: 24px;
}

.section__subtitle {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
}

.section--light .section__subtitle {
  color: var(--text-muted);
}

.section__header {
  margin-bottom: 80px;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: var(--gap);
}

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: background-color var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.navbar__logo svg {
  width: 32px;
  height: 32px;
}

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

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar__link:hover {
  color: var(--text-primary);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar__lang {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
}

.navbar__lang:hover,
.navbar__lang.active {
  color: var(--text-primary);
}

.navbar__lang-divider {
  color: var(--text-muted);
  font-size: 13px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid rgba(236, 234, 229, 0.2);
  color: var(--text-primary);
}

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

.btn--dark {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.btn--dark:hover {
  background: var(--bg-secondary);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  margin-bottom: 28px;
}

.hero__subtitle {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero__buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.hero__gradient--1 {
  top: 10%;
  right: 10%;
  background: var(--accent);
}

.hero__gradient--2 {
  bottom: 20%;
  right: 25%;
  background: #0066FF;
  width: 400px;
  height: 400px;
}

/* Grid lines background */
.hero__grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(236, 234, 229, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 234, 229, 1) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* =============================================
   SERVICES (What We Do)
   ============================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services__grid .service-card:nth-child(4),
.services__grid .service-card:nth-child(5) {
  grid-column: span 1;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 170, 0.15);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* =============================================
   WHY US
   ============================================= */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Full-width last item when 7 items */
.why__grid .why-item:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.why-item {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.why-item:hover {
  border-color: rgba(0, 212, 170, 0.2);
  background: rgba(0, 212, 170, 0.03);
}

.why-item__number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 212, 170, 0.12);
  margin-bottom: 16px;
  line-height: 1;
}

.why-item__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-item__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* =============================================
   TECHNOLOGY
   ============================================= */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.tech-card:hover {
  border-color: rgba(0, 212, 170, 0.2);
  transform: translateY(-2px);
}

.tech-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.tech-card__icon svg {
  width: 100%;
  height: 100%;
}

.tech-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tech-card__text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
}

.stat-item__number {
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-item__label {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* =============================================
   TARGET AUDIENCE
   ============================================= */
.audience__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 48px 40px;
  transition: all var(--transition);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.audience-card:hover {
  border-color: rgba(0, 212, 170, 0.15);
  background: var(--bg-card-hover);
}

.audience-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--accent);
}

.audience-card__icon svg {
  width: 100%;
  height: 100%;
}

.audience-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.audience-card__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--bg-accent);
  color: var(--text-dark);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info {
  padding-top: 20px;
}

.contact__info .section__label {
  color: var(--text-muted);
}

.contact__info .section__title {
  color: var(--text-dark);
}

.contact__desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-dark);
  transition: color var(--transition);
}

.contact__channel:hover {
  color: var(--accent);
}

.contact__channel-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.contact__channel-icon svg {
  width: 100%;
  height: 100%;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  background: rgba(10, 10, 10, 0.05);
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(10, 10, 10, 0.3);
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-primary);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

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

.footer__nav {
  display: flex;
  gap: 32px;
}

.footer__link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__legal {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__legal:hover {
  color: var(--text-secondary);
}

/* =============================================
   ANIMATIONS (base classes for GSAP)
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-line {
  overflow: hidden;
}

.reveal-line > * {
  transform: translateY(100%);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

/* Noise overlay */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Smooth scroll body lock (used by Lenis) */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}
