/* Ocean Azure Global FX Portal Design System - Optimized for Mobile (375px+) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #072b42;
  --bg-darker: #041a29;
  --bg-card: rgba(11, 49, 74, 0.7);
  --bg-card-hover: rgba(16, 64, 96, 0.85);
  --border-color: rgba(56, 189, 248, 0.18);
  --border-highlight: rgba(56, 189, 248, 0.45);

  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --accent-gold: #fbbf24;
  --accent-green: #34d399;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Touch Target Accessibility Standard (min 48px x 48px) */
a, button, input, select, textarea, .accordion-header {
  touch-action: manipulation;
}

button, .btn, .mobile-toggle, .calc-select, .calc-input, .form-input, .form-textarea, .accordion-header {
  min-height: 48px;
  min-width: 48px;
  box-sizing: border-box;
}

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

a:hover {
  color: #7dd3fc;
}

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

/* Live FX Ticker Bar - Adapted for 375px Mobile */
.ticker-wrap {
  width: 100%;
  max-width: 100%;
  background: #031422;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  height: 48px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.ticker-title {
  background: linear-gradient(135deg, var(--accent-blue), #0369a1);
  color: #fff;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 4px 0 10px rgba(0,0,0,0.3);
}

.ticker-move {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
}

.ticker-move:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ticker-item span.pair {
  color: var(--text-main);
  font-weight: 600;
}

.ticker-item span.rate {
  color: var(--accent-cyan);
  font-family: monospace;
  font-weight: 700;
}

.ticker-item span.up {
  color: var(--accent-green);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.ticker-item span.down {
  color: #f87171;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.ticker-arrow {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header & Navigation - Strictly Logo Left & Hamburger Right on Mobile */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7, 43, 66, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  color: #fff;
  letter-spacing: -0.02em;
  min-height: 48px;
  min-width: 48px;
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-glow);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  position: relative;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  min-height: 48px;
  min-width: 48px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #0284c7);
  color: #fff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, var(--accent-blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
  color: #fff;
}

.btn-outline {
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-cyan);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px;
  min-height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-toggle:hover, .mobile-toggle:focus {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
  color: #fff;
  outline: none;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  padding: clamp(32px, 6vw, 80px) 20px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(2, 132, 199, 0.18) 0%, transparent 60%);
  width: 100%;
}

.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  min-height: 38px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 20px;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.hero-title span {
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  width: 100%;
}

.hero-img-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Quick Stats Bar */
.stats-bar {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 20px;
  width: 100%;
}

.stats-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 100%;
}

.stat-number {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* FX Converter Component - 375px Responsive Adaptation */
.fx-calc-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.calc-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.calc-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.calc-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.input-group {
  display: flex;
  background: rgba(4, 26, 41, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  min-height: 48px;
  width: 100%;
}

.input-group:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-glow);
}

.calc-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
  font-family: var(--font-family);
  min-height: 48px;
}

.calc-select {
  background: rgba(7, 43, 66, 0.95);
  color: var(--accent-cyan);
  border: none;
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  min-height: 48px;
  min-width: 80px;
  box-sizing: border-box;
}

.calc-select-full {
  width: 100%;
  padding: 12px 14px;
}

.calc-result-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px dashed var(--border-highlight);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.result-main {
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.calc-result-val {
  font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.25;
  word-break: break-word;
}

.result-details {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rate-text {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.fee-text {
  font-size: 0.72rem;
  color: var(--accent-green);
  font-weight: 600;
}

/* Article Longread Section */
.article-section {
  padding: clamp(40px, 6vw, 80px) 20px;
  background: var(--bg-dark);
  width: 100%;
}

.article-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 56px);
  box-shadow: var(--shadow-card);
  width: 100%;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.article-category {
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 16px;
  word-break: break-word;
}

.article-meta {
  display: flex;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin: 32px 0 14px 0;
  position: relative;
  padding-left: 14px;
  border-left: 4px solid var(--accent-cyan);
  word-break: break-word;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin: 20px 0 10px 0;
}

.article-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 20px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-box {
  background: rgba(2, 132, 199, 0.12);
  border-left: 4px solid var(--accent-blue);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin: 24px 0;
  width: 100%;
}

.info-box h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.info-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Benefits Grid */
.benefits-section {
  padding: clamp(40px, 6vw, 80px) 20px;
  background: var(--bg-darker);
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  width: 100%;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  word-break: break-word;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.cards-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  width: 100%;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-cyan);
}

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

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
  padding: clamp(40px, 6vw, 80px) 20px;
  width: 100%;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

.accordion-header {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-height: 52px;
  min-width: 48px;
  font-family: var(--font-family);
}

.accordion-header svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.accordion-item.open .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 20px;
  color: var(--text-muted);
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 0 20px 20px 20px;
  transition: max-height 0.35s ease-in-out;
}

/* Page Header Banner & Legal Content */
.page-header {
  background: var(--bg-darker);
  padding: clamp(36px, 5vw, 60px) 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  width: 100%;
}

.legal-content {
  max-width: 900px;
  margin: 32px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 48px);
  width: 100%;
}

.legal-content h2 {
  color: #fff;
  font-size: 1.4rem;
  margin: 24px 0 12px 0;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.legal-content ul {
  margin: 0 0 20px 20px;
  color: var(--text-muted);
}

/* Contact Form Grid */
.contact-grid {
  max-width: 1100px;
  margin: 36px auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  padding: 0 20px;
  width: 100%;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-text h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.info-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
}

.form-group {
  margin-bottom: 18px;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(4, 26, 41, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  min-height: 48px;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-glow);
}

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

.form-alert {
  display: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.9rem;
}

.form-alert.success {
  display: block;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--accent-green);
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 48px 20px 24px 20px;
  margin-top: auto;
  width: 100%;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto 36px auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
  width: 100%;
}

/* Mobile & Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Header (<768px): Strictly ONLY Logo on Left and Hamburger on Right */
@media (max-width: 767.98px) {
  .nav-container {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .brand {
    margin-right: auto;
    z-index: 1001;
  }

  .mobile-toggle {
    display: flex;
    margin-left: 0;
    z-index: 1001;
  }

  nav {
    display: contents;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    background: #041a29;
    border-bottom: 2px solid var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    padding: 24px 16px;
    gap: 12px;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    min-width: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu .nav-link.active::after {
    display: none;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
  }

  .nav-menu .btn-primary {
    width: 100%;
    min-height: 50px;
    margin-top: 8px;
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 375px Specific Mobile Optimizations */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .fx-calc-card {
    padding: 18px 14px;
  }

  .calc-result-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .result-details {
    text-align: left;
    width: 100%;
    border-top: 1px dashed rgba(56, 189, 248, 0.2);
    padding-top: 8px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .article-container, .legal-content, .contact-info-card, .contact-form {
    padding: 20px 16px;
  }
}

@media (max-width: 375px) {
  .brand {
    font-size: 1.1rem;
    gap: 8px;
  }
  .brand-icon {
    width: 34px;
    height: 34px;
  }
  .brand-icon svg {
    width: 20px;
    height: 20px;
  }
  .ticker-title {
    padding: 0 10px;
    font-size: 0.7rem;
  }
  .ticker-item {
    padding: 0 10px;
    font-size: 0.78rem;
  }
}
