/* /www/wwwroot/fairexports.shop/assets/css/styles.css */

/* Typography & Base */
:root {
  --bg: #0f1115;
  --card: #151923;
  --text: #ecf0f1;
  --muted: #c6cbd2;
  --accent: #1ea7fd;
  --accent-2: #00c2a8;
  --danger: #ff5a5f;
  --warning: #ffb703;
  --success: #2ecc71;
  --border: #263043;
  --focus: #ffd166;
  --maxw: 1200px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.25);
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 96px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1000px 600px at 80% -10%, rgba(30,167,253,0.08), transparent 40%),
              radial-gradient(800px 500px at 10% -10%, rgba(0,194,168,0.07), transparent 40%),
              var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; border-radius: 8px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-6) 0; }

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-4); }
.section { padding: var(--space-7) 0; }
.section-tight { padding: var(--space-5) 0; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(10,12,18,0.7);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 24px;
}
.brand svg { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-links a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
}
@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    background: rgba(10,12,18,0.95);
    padding: var(--space-4);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}
.hero p {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  margin: 0 0 var(--space-5);
}
.hero-figure {
  position: relative;
  isolation: isolate;
}
.hero-figure .ring {
  position: absolute;
  inset: -10%;
  background: radial-gradient(400px 300px at 70% 20%, rgba(30,167,253,0.2), transparent 60%),
              radial-gradient(400px 300px at 20% 80%, rgba(0,194,168,0.18), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 24px;
}
.hero img {
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5ec8ff);
  color: #06131b;
  box-shadow: 0 8px 24px rgba(30,167,253,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

/* Grids & Cards */
.grid {
  display: grid;
  gap: var(--space-4);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px)  { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.card h3 { margin: 0 0 var(--space-2); }
.card p { margin: 0; color: var(--muted); }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(30,167,253,0.12);
  border: 1px solid rgba(30,167,253,0.3);
  color: #9bd9ff;
  font-weight: 700;
  letter-spacing: .3px;
}

/* Testimonial / Trust */
.banner {
  border: 1px solid var(--border);
  padding: var(--space-5);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0,194,168,0.12), rgba(0,0,0,0));
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.banner strong { color: #9df2e7; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(30,167,253,0.18), rgba(0,194,168,0.18));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
  background: rgba(0,0,0,0.2);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 2fr 1fr 1fr;
}
.footer small { color: var(--muted); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; } }

/* Forms */
.form {
  display: grid;
  gap: var(--space-4);
}
.input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}
textarea { min-height: 140px; resize: vertical; }

/* Placeholder styling */
.input::placeholder,
textarea::placeholder {
  font-size: 18px;
  color: var(--muted);
  opacity: 0.8;
}
label { display: block; margin-bottom: 6px; font-weight: 600; }
.help { color: var(--muted); font-size: 14px; margin-top: 6px; }
.inline {
  display: flex; align-items: center; gap: 10px;
}
.error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 6px;
}
.required { color: var(--warning); margin-left: 4px; }

/* Toast */
.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #0b121a;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 2000;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Utility */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.center { text-align: center; }
.hidden { display: none !important; }
