/* ══════════════════════════════════════════════
   MAIN.CSS — SwiftEx Global Shared Styles
   Imported by index.html before landing.css
══════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em; /* makes it modern */
  color: #0f172a;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
  font-size: inherit;
}

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

ul, ol { list-style: none; }

/* ── Scrollbar styling ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ── Focus visible for accessibility ── */
:focus-visible {
  outline: 2px solid #4D148C;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Selection color ── */
::selection {
  background: rgba(77, 20, 140, 0.15);
  color: #4D148C;
}

/* ── Utility: visually hidden (accessibility) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Utility: container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility: desktop/mobile visibility ── */
@media (max-width: 900px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 901px) {
  .mobile-only { display: none !important; }
}

/* ── Smooth page transitions ── */
body {
  animation: pageIn 0.25s ease both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
