/* ============================================================
   TRADE GRID — landing.css   (with Dark Mode support)
   ============================================================ */

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

:root {
  --primary:        #0D3B3B;
  --accent:         #0FA3B1;
  --light:          #B5EAF0;
  --bg:             #F0FAFB;
  --text:           #1A1A1A;
  --white:          #FFFFFF;
  --primary-dark:   #082828;
  --accent-light:   rgba(15,163,177,0.12);
  --border:         rgba(13,59,59,0.12);
  --border-card:    rgba(13,59,59,0.10);
  --text-secondary: #4a6464;
  --text-muted:     #7a9a9a;

  /* Dark mode specific vars (light mode values) */
  --dm-bg:          #F0FAFB;
  --dm-surface:     #FFFFFF;
  --dm-text:        #1A1A1A;
  --dm-text-sec:    #4a6464;
  --dm-border:      rgba(13,59,59,0.10);
  --dm-input-bg:    #F0FAFB;
  --dm-hours-bg:    #F0FAFB;
  --dm-footer-sub:  rgba(181,234,240,0.45);

  --nav-height:     68px;
  --radius-card:    14px;
  --radius-tag:     20px;
  --font-display:   'Inter', sans-serif;
  --font-body:      'Inter', sans-serif;
  --max-width:      1200px;
  --section-pad:    80px 40px;
}

/* ── DARK MODE OVERRIDES ── */
body.dark-mode {
  --dm-bg:         #011635;
  --dm-surface:    #041e45;
  --dm-text:       #e2eaf5;
  --dm-text-sec:   #7ea8cc;
  --dm-border:     rgba(100,160,220,0.12);
  --dm-input-bg:   #031a3d;
  --dm-hours-bg:   #031a3d;
  --dm-footer-sub: rgba(181,210,240,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: var(--font-body);
  background: var(--dm-bg);
  color: var(--dm-text);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--primary);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex; align-items: center;
  transition: background 0.3s ease;
}
body.dark-mode .top-nav {
  background: #010e24;
  border-bottom: 1px solid rgba(100,160,220,0.10);
}
.nav-container {
  width: 100%; max-width: var(--max-width);
  margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-container > a.logo, .logo {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.65);
  position: relative; transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--light); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 2px; background: var(--light); border-radius: 2px;
}
.auth-buttons { display: flex; align-items: center; gap: 12px; }

/* ── Dark Mode Toggle Button ── */
.dark-mode-toggle {
  width: auto; height: auto;
  background: none;
  border: none;
  padding: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(181,234,240,0.75);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.dark-mode-toggle:hover {
  color: var(--white);
  transform: rotate(-15deg);
}
body.dark-mode .dark-mode-toggle {
  color: var(--light);
}
/* Show lamp-off (filled/lit) icon in light mode, lamp-on in dark mode */
.dark-mode-toggle .icon-lamp-off { display: flex; }
.dark-mode-toggle .icon-lamp-on  { display: none; }
body.dark-mode .dark-mode-toggle .icon-lamp-off { display: none; }
body.dark-mode .dark-mode-toggle .icon-lamp-on  { display: flex; }

.btn-ghost {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.8); padding: 8px 16px; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-primary {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--primary); background: var(--light);
  padding: 10px 22px; border-radius: 8px; border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--white); transform: translateY(-1px); }

/* ============================================================
   MOBILE HAMBURGER MENU
   ============================================================ */
.nav-hamburger {
  display: none; background: none;
  border: 1px solid rgba(181,234,240,0.3); border-radius: 8px;
  padding: 8px 10px; cursor: pointer;
  flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
}
.nav-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--light); border-radius: 2px; transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--primary);
  border-bottom: 1px solid rgba(181,234,240,0.15);
  z-index: 999; flex-direction: column;
  padding: 8px 0 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transition: background 0.3s ease;
}
body.dark-mode .mobile-menu { background: #010e24; }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.7);
  padding: 12px 24px; transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(181,234,240,0.08); }
.mobile-menu a.active { color: var(--light); }
.mobile-menu-divider { height: 1px; background: rgba(181,234,240,0.1); margin: 8px 24px; }
.mobile-menu .mobile-btn-ghost {
  color: rgba(255,255,255,0.7); padding: 12px 24px;
  font-size: 0.9rem; font-weight: 500;
}
.mobile-menu .mobile-btn-primary {
  margin: 8px 24px 0; padding: 12px 24px;
  background: var(--light); color: var(--primary);
  border-radius: 8px; font-size: 0.9rem; font-weight: 700;
  text-align: center; transition: background 0.2s;
}
.mobile-menu .mobile-btn-primary:hover { background: var(--white); }

/* Mobile dark mode toggle in hamburger menu */
.mobile-dark-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.mobile-dark-label {
  font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.landing-gradient-bg {
  background: linear-gradient(160deg, #0a2e2e 0%, #0D3B3B 45%, #0f4545 100%);
  min-height: 98vh; padding-top: var(--nav-height);
  transition: background 0.3s ease;
}
body.dark-mode .landing-gradient-bg {
  background: linear-gradient(160deg, #010e24 0%, #011635 45%, #021f4a 100%);
}

.about-gradient-bg {
  background: var(--dm-bg);
  min-height: 98vh;
  transition: background 0.3s ease;
}

.market-gradient-bg {
  background: linear-gradient(160deg, #0a2e2e 0%, #0D3B3B 45%, #0f4545 100%);
  min-height: 98vh;
  transition: background 0.3s ease;
}
body.dark-mode .market-gradient-bg {
  background: linear-gradient(160deg, #010e24 0%, #011635 45%, #021f4a 100%);
}

.contact-gradient-bg {
  background: var(--dm-surface);
  min-height: 98vh;
  border-top: 1px solid var(--dm-border);
  transition: background 0.3s ease;
}

/* ============================================================
   LANDING / HOME
   ============================================================ */
.landing-container { max-width: var(--max-width); margin: 0 auto; padding: var(--section-pad); }
.hero-section { text-align: center; padding: 60px 0 80px; }
.globe-icon { display: flex; justify-content: center; margin-bottom: 24px; }
.hero-section h1 {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero-description {
  font-size: 1.1rem; color: var(--light); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.7; opacity: 0.9;
}
.hero-buttons { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
#DiscoverBtn { margin-left: 10px; }
.btn-secondary {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 500;
  color: var(--light); padding: 12px 24px;
  border: 1px solid rgba(181,234,240,0.35); border-radius: 50px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { color: var(--white); border-color: var(--light); background: rgba(181,234,240,0.08); }

.landing-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 80px; }
.landing-feature-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(181,234,240,0.15);
  border-radius: var(--radius-card); padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
body.dark-mode .landing-feature-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(181,234,240,0.10);
}
.landing-feature-card:hover { transform: translateY(-4px); border-color: rgba(181,234,240,0.35); background: rgba(255,255,255,0.09); }
.landing-feature-card .feature-icon { margin-bottom: 16px; }
.landing-feature-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.landing-feature-card p  { font-size: 0.88rem; color: var(--light); line-height: 1.65; opacity: 0.85; }

.stats-section {
  display: flex; justify-content: center; gap: 100px;
  padding: 60px 0 40px; text-align: center;
  border-top: 1px solid rgba(181,234,240,0.15);
}
.stat {
  padding: 28px 40px; border: 1px solid rgba(181,234,240,0.25);
  border-radius: 14px; background: rgba(255,255,255,0.04);
  transition: border-color 0.3s, background 0.3s;
}
body.dark-mode .stat {
  border-color: rgba(181,234,240,0.12);
  background: rgba(255,255,255,0.02);
}
.stat-number { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--light); line-height: 1.1; margin-bottom: 8px; }
.stat-label  { font-size: 0.9rem; color: rgba(181,234,240,0.65); letter-spacing: 0.03em; }

/* ============================================================
   TRANSITION SECTION
   ============================================================ */
.transition-section { position: relative; height: 80vh; }
.hero-banner {
  position: relative; width: 100%; height: 80vh; min-height: 400px;
  background: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600") no-repeat center/cover;
  background-attachment: fixed; overflow: hidden;
}
.hero-banner::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1;
  transition: background 0.3s ease;
}
body.dark-mode .hero-banner::before { background: rgba(0,0,0,0.72); }
.hero-banner img { display: none; }
.hero-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; z-index: 2; width: 90%; max-width: 700px; color: white;
}
.hero-text h1 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2;
}
.hero-text p { font-size: 1rem; color: var(--light); opacity: 0.85; line-height: 1.6; }
.floating-card { position: absolute; top: 50%; left: 50%; margin: 36px auto 0; transform: translate(-50%, 0); z-index: 10; }
.floating-card img {
  width: 100%; max-width: 500px; height: auto; display: block; margin: 0 auto;
  border-radius: 16px; box-shadow: 0 20px 60px rgba(13,59,59,0.18); border: 1px solid var(--border-card);
}

/* ============================================================
   ABOUT US
   ============================================================ */
.page-container { max-width: var(--max-width); margin: 0 auto; padding: var(--section-pad); }
.about-page-hero { text-align: center; padding: 60px 0 60px; }
.about-page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; margin-bottom: 20px;
  color: var(--dm-text);
  transition: color 0.3s;
}
body:not(.dark-mode) .about-page-hero h1 { color: var(--primary); }
.about-page-description {
  font-size: 1rem; color: var(--dm-text-sec); max-width: 700px;
  margin: 0 auto; line-height: 1.7; transition: color 0.3s;
}
.about-content-card {
  background: var(--dm-surface); border: 1px solid var(--dm-border);
  border-radius: var(--radius-card); padding: 36px 40px; margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(13,59,59,0.07);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
body.dark-mode .about-content-card {
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.about-content-card h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 16px;
  color: var(--dm-text);
  transition: color 0.3s;
}
body:not(.dark-mode) .about-content-card h2 { color: var(--primary); }
.about-content-card h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  margin: 16px 0 10px;
  color: var(--dm-text);
  transition: color 0.3s;
}
body:not(.dark-mode) .about-content-card h3 { color: var(--primary); }
.about-content-card p  { font-size: 0.92rem; color: var(--dm-text-sec); line-height: 1.7; transition: color 0.3s; }
.about-content-card .feature-icon-large { margin-bottom: 8px; }
.about-features-grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.section { margin-top: 60px; }
.section h2 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 40px;
  color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .section h2 { color: var(--primary); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-member {
  background: var(--dm-surface); border: 1px solid var(--dm-border); border-radius: var(--radius-card);
  padding: 28px 20px; text-align: center;
  box-shadow: 0 2px 12px rgba(13,59,59,0.06);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s, border-color 0.3s;
}
body.dark-mode .team-member { box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.team-member:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(13,59,59,0.12); }
body.dark-mode .team-member:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.4); }
.team-member h4 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  margin-bottom: 14px; color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .team-member h4 { color: var(--primary); }
.team-member img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--light); }
.team-member p { font-size: 0.85rem; color: var(--dm-text-sec); transition: color 0.3s; }

/* ============================================================
   MARKETS
   ============================================================ */
.container { width: 100%; }
.market-page-hero { text-align: center; padding: 60px 0 60px; }
.market-hero-icon { margin: 0 auto 1.5rem; display: block; }
.market-page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.page-description  { font-size: 1rem; color: var(--light); max-width: 600px; margin: 0 auto; opacity: 0.85; }
.section-title     { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.market-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(181,234,240,0.15);
  border-radius: var(--radius-card); padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
body.dark-mode .market-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(181,234,240,0.08);
}
.market-card:hover { transform: translateY(-3px); border-color: rgba(181,234,240,0.35); background: rgba(255,255,255,0.09); }
.market-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 10px; }
.market-header h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.growth-indicator { display: flex; align-items: center; gap: 4px; white-space: nowrap; background: rgba(15,163,177,0.2); border: 1px solid rgba(15,163,177,0.35); padding: 4px 10px; border-radius: 20px; }
.growth-indicator.positive span { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; color: var(--light); }
.growth-indicator.positive::after { content: '↗'; font-size: 0.72rem; color: var(--light); }
.market-volume { margin-bottom: 18px; }
.volume-label  { font-size: 0.78rem; color: rgba(181,234,240,0.6); margin-bottom: 4px; letter-spacing: 0.02em; }
.volume-amount { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--light); }
.industry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.75rem; color: var(--light); background: rgba(181,234,240,0.1); border: 1px solid rgba(181,234,240,0.2); border-radius: var(--radius-tag); padding: 5px 12px; font-weight: 500; }
.content-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(181,234,240,0.15);
  border-radius: var(--radius-card); padding: 8px 0; margin-bottom: 60px; overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
body.dark-mode .content-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(181,234,240,0.08);
}
.hint { font-size: 0.9rem; font-weight: 700; color: var(--light); padding: 16px 24px 0; margin-bottom: 8px; }
.trending-products { display: flex; flex-direction: column; }
.trend-item { border-top: 1px solid rgba(181,234,240,0.1); cursor: pointer; font-family: var(--font-body); color: var(--light); transition: background 0.15s; }
.trend-item:hover { background: rgba(255,255,255,0.04); }
.trend-main { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; }
.trend-name     { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.trend-category { font-size: 0.82rem; color: rgba(181,234,240,0.6); }
.trend-growth   { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.trend-dropdown { padding: 0 24px 16px 28px; overflow: hidden; }
.trend-dropdown ul { list-style-type: disc; color: rgba(181,234,240,0.75); font-size: 0.85rem; line-height: 1.8; }

/* ============================================================
   CONTACT US
   ============================================================ */
.contact-hero { text-align: center; padding: 60px 0 50px; }
.contact-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; margin-bottom: 18px;
  color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .contact-hero h1 { color: var(--primary); }
.contact-hero p  { font-size: 1rem; color: var(--dm-text-sec); max-width: 600px; margin: 0 auto; line-height: 1.7; transition: color 0.3s; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 32px; color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .contact-info h2 { color: var(--primary); }
.contact-item   { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.contact-icon   {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--light); border: 1px solid rgba(15,163,177,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary); transition: background 0.3s;
}
body.dark-mode .contact-icon {
  background: rgba(181,234,240,0.15);
  color: var(--light);
  border-color: rgba(181,234,240,0.2);
}
.contact-item strong {
  display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  margin-bottom: 6px; color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .contact-item strong { color: var(--primary); }
.contact-item p { font-size: 0.88rem; color: var(--dm-text-sec); line-height: 1.6; margin: 0; transition: color 0.3s; }

.office-hours {
  background: var(--dm-hours-bg); border: 1px solid var(--dm-border);
  border-radius: var(--radius-card); padding: 24px 28px; margin-top: 8px;
  transition: background 0.3s, border-color 0.3s;
}
.office-hours h3 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  margin-bottom: 16px; color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .office-hours h3 { color: var(--primary); }
.hours-row {
  display: flex; justify-content: space-between; font-size: 0.88rem;
  color: var(--dm-text-sec); padding: 8px 0;
  border-bottom: 1px solid var(--dm-border); transition: color 0.3s, border-color 0.3s;
}
.hours-row:last-child { border-bottom: none; }

.contact-form-card {
  background: var(--dm-surface); border: 1px solid var(--dm-border);
  border-radius: var(--radius-card); padding: 36px 36px 40px;
  box-shadow: 0 4px 24px rgba(13,59,59,0.08);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
body.dark-mode .contact-form-card { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.contact-form-card h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 28px; color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .contact-form-card h2 { color: var(--primary); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 8px; color: var(--dm-text); transition: color 0.3s;
}
body:not(.dark-mode) .form-group label { color: var(--primary); }
.form-group input, .form-group textarea {
  width: 100%; background: var(--dm-input-bg); border: 1px solid var(--dm-border);
  border-radius: 10px; padding: 14px 16px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--dm-text);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,163,177,0.12); }
.btn-send {
  width: 100%; background: var(--primary); color: var(--white);
  border: none; border-radius: 10px; padding: 16px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 8px; transition: background 0.2s, transform 0.15s;
}
body.dark-mode .btn-send { background: #0FA3B1; color: var(--white); }
body.dark-mode .btn-send:hover { background: #0d8f9c; }
.btn-send:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Map section */
.map-section { margin-top: 48px; }
.map-header { margin-bottom: 16px; }
.map-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--dm-text); margin-bottom: 4px; transition: color 0.3s; }
body:not(.dark-mode) .map-title { color: var(--primary); }
.map-subtitle { font-size: 0.9rem; color: var(--dm-text-sec); transition: color 0.3s; }
.map-wrapper { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--dm-border); transition: border-color 0.3s; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 40px 0; transition: background 0.3s;
}
body.dark-mode .footer {
  background: #010e24;
  border-top: 1px solid rgba(100,160,220,0.08);
}
.footer-container { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-left .logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: 0.05em; display: block; margin-bottom: 16px; }
.footer-left .logo span { color: var(--light); }
.footer-left p { font-size: 0.88rem; color: rgba(181,234,240,0.7); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.socials { display: flex; gap: 12px; }
.socials i { font-size: 1.1rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(181,234,240,0.1); border: 1px solid rgba(181,234,240,0.2); display: flex; align-items: center; justify-content: center; color: rgba(181,234,240,0.7); transition: background 0.2s, color 0.2s, border-color 0.2s; cursor: pointer; }
.socials i:hover { background: rgba(181,234,240,0.2); color: var(--white); border-color: rgba(181,234,240,0.4); }
.footer-column h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-column a  { display: block; font-size: 0.88rem; color: rgba(181,234,240,0.65); margin-bottom: 10px; transition: color 0.2s; }
.footer-column a:hover { color: var(--light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); max-width: var(--max-width); margin: 0 auto; padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--dm-footer-sub); transition: color 0.3s; }

/* ============================================================
   MASHA AI WIDGET
   ============================================================ */
.masha-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 2000;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #0D3B3B 0%, #0FA3B1 100%);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(13,59,59,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
body.dark-mode .masha-fab {
  background: linear-gradient(135deg, #011635 0%, #0FA3B1 100%);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}
.masha-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 32px rgba(13,59,59,0.4); }
.masha-fab i { font-size: 24px; color: #fff; }
.masha-fab .icon-open  { display: flex; }
.masha-fab .icon-close { display: none; }
.masha-fab.open .icon-open  { display: none; }
.masha-fab.open .icon-close { display: flex; }
.masha-fab .fab-dot {
  position: absolute; top: 6px; right: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #B5EAF0; border: 2px solid #0D3B3B;
  animation: masha-pulse-dot 2s infinite;
}
@keyframes masha-pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

.masha-window {
  position: fixed; bottom: 100px; right: 28px; z-index: 1999;
  width: 380px; height: 560px;
  background: var(--dm-surface);
  border-radius: 20px;
  border: 1px solid var(--dm-border);
  box-shadow: 0 20px 60px rgba(13,59,59,0.18);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(0.92) translateY(20px); opacity: 0; pointer-events: none;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), opacity 0.2s, background 0.3s, border-color 0.3s;
}
body.dark-mode .masha-window { box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.masha-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.masha-header {
  background: linear-gradient(135deg, #0D3B3B 0%, #0f4848 100%);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  transition: background 0.3s;
}
body.dark-mode .masha-header {
  background: linear-gradient(135deg, #010e24 0%, #021f4a 100%);
}

.masha-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(181,234,240,0.2);
  border: 2px solid rgba(181,234,240,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  color: #B5EAF0;
}

.masha-header-info { flex: 1; }
.masha-name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.2px; }
.masha-status { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(181,234,240,0.8); margin-top: 1px; }
.masha-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.masha-header-actions { display: flex; gap: 4px; }
.masha-header-btn {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(181,234,240,0.1); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(181,234,240,0.8); font-size: 16px;
  transition: background 0.2s, color 0.2s;
}
.masha-header-btn:hover { background: rgba(181,234,240,0.2); color: #fff; }

.masha-chips {
  padding: 12px 16px 8px; display: flex; gap: 6px; flex-wrap: wrap;
  background: var(--dm-input-bg); border-bottom: 1px solid var(--dm-border);
  flex-shrink: 0; transition: background 0.3s, border-color 0.3s;
}
.masha-chip {
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid rgba(15,163,177,0.25); background: rgba(15,163,177,0.07);
  color: var(--dm-text); font-size: 11px; font-weight: 500; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.3s; font-family: 'Inter', sans-serif;
}
.masha-chip:hover { background: rgba(15,163,177,0.15); border-color: rgba(15,163,177,0.4); }

.masha-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: rgba(13,59,59,0.1) transparent;
  background: var(--dm-surface); transition: background 0.3s;
}
.masha-messages::-webkit-scrollbar { width: 4px; }
.masha-messages::-webkit-scrollbar-thumb { background: rgba(13,59,59,0.12); border-radius: 2px; }

.msg-row { display: flex; gap: 8px; align-items: flex-end; }
.msg-row.user { flex-direction: row-reverse; }

.msg-bubble-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(13,59,59,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  color: #4a6464; transition: background 0.3s;
}
.msg-row.bot .msg-bubble-avatar  { background: rgba(15,163,177,0.12); color: #0FA3B1; }
.msg-row.user .msg-bubble-avatar { background: rgba(13,59,59,0.12);  color: #0D3B3B; }
body.dark-mode .msg-row.user .msg-bubble-avatar { background: rgba(181,234,240,0.1); color: var(--light); }

.msg-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.55; transition: background 0.3s, color 0.3s; }
.msg-row.bot .msg-bubble  {
  background: var(--dm-input-bg); color: var(--dm-text);
  border: 1px solid var(--dm-border); border-bottom-left-radius: 4px;
}
.msg-row.user .msg-bubble {
  background: linear-gradient(135deg, #0D3B3B, #0f4848); color: #fff;
  border-bottom-right-radius: 4px;
}
body.dark-mode .msg-row.user .msg-bubble {
  background: linear-gradient(135deg, #0FA3B1, #0d8a96);
}
.msg-time { font-size: 10px; color: #7a9a9a; margin-top: 3px; padding: 0 4px; }
.msg-row.user .msg-time { text-align: right; }

.masha-typing {
  display: flex; align-items: center; gap: 4px; padding: 12px 14px;
  background: var(--dm-input-bg); border: 1px solid var(--dm-border);
  border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content;
  transition: background 0.3s;
}
.masha-typing-dot { width: 6px; height: 6px; border-radius: 50%; background: #7a9a9a; animation: masha-typing-bounce 1.2s infinite; }
.masha-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.masha-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes masha-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

.masha-input-area {
  padding: 12px 16px; border-top: 1px solid var(--dm-border);
  background: var(--dm-surface); display: flex; gap: 10px; align-items: flex-end;
  flex-shrink: 0; transition: background 0.3s, border-color 0.3s;
}
.masha-textarea {
  flex: 1; resize: none; border: 1px solid var(--dm-border); border-radius: 12px;
  padding: 10px 14px; font-family: 'Inter', sans-serif; font-size: 13px;
  color: var(--dm-text); background: var(--dm-input-bg);
  outline: none; max-height: 100px; min-height: 40px; line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
}
.masha-textarea::placeholder { color: #7a9a9a; }
.masha-textarea:focus { border-color: #0FA3B1; box-shadow: 0 0 0 3px rgba(15,163,177,0.1); }
.masha-send {
  width: 40px; height: 40px; border-radius: 12px; background: #0D3B3B;
  border: none; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
body.dark-mode .masha-send { background: #0FA3B1; }
body.dark-mode .masha-send:hover { background: #0d8a96; }
.masha-send:hover { background: #082828; transform: translateY(-1px); }
.masha-send:disabled { background: rgba(13,59,59,0.2); cursor: default; transform: none; }
.masha-powered {
  text-align: center; padding: 6px 0 8px; font-size: 10px; color: #7a9a9a;
  background: var(--dm-surface); flex-shrink: 0; transition: background 0.3s;
}
.masha-powered span { color: #0FA3B1; font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .landing-features-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 48px 20px; }
  .nav-container { padding: 0 20px; }
  .nav-links { display: none; }
  .auth-buttons { display: none; }
  .nav-hamburger { display: flex; }
  .hero-section { padding: 40px 0 60px; }
  .hero-section h1 { font-size: 2.2rem; }
  .landing-features-grid { grid-template-columns: 1fr; }
  .about-features-grid-2col { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .stats-section { gap: 40px; flex-wrap: wrap; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .masha-fab {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
  .masha-window {
    right: 12px;
    bottom: 82px;
    width: min(360px, calc(100vw - 24px));
    height: min(540px, calc(100dvh - 110px));
    max-height: calc(100vh - 110px);
    border-radius: 16px;
  }
  .masha-header {
    padding: 12px 14px;
    gap: 9px;
  }
  .masha-avatar {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .masha-status {
    font-size: 10px;
  }
  .masha-chips {
    padding: 9px 10px 7px;
    gap: 5px;
    max-height: 76px;
    overflow-y: auto;
  }
  .masha-chip {
    padding: 5px 9px;
    font-size: 10px;
  }
  .masha-messages {
    padding: 12px;
    gap: 10px;
  }
  .msg-bubble {
    max-width: 86%;
    font-size: 12px;
    padding: 9px 11px;
  }
  .masha-input-area {
    padding: 10px 12px;
    gap: 8px;
  }
  .masha-textarea {
    min-height: 38px;
    font-size: 12px;
    padding: 9px 11px;
  }
  .masha-send {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 480px) {
  .team { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .masha-window {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 76px;
    height: min(500px, calc(100dvh - 94px));
    max-height: calc(100vh - 94px);
  }
  .masha-fab {
    right: 14px;
    bottom: 14px;
  }
}
