/* ============================================================
   SHARENTIS — index.css
   Premium SaaS design | Neutral + Deep Blue accent system
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --color-bg:          #F7F8FA;
  --color-surface:     #FFFFFF;
  --color-border:      #E4E7ED;
  --color-text-primary:#0D1117;
  --color-text-muted:  #6B7280;
  --color-text-light:  #9CA3AF;
  --color-accent:      #1A4FBF;
  --color-accent-light:#EEF3FF;
  --color-accent-hover:#1341A3;

  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;

  --shadow-xs:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 60px;
  --max-width:  1160px;
  --spacing:    8px;
}

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

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

body {
  font-family: var(--font-body);
   background: rgb(11, 12, 16);

  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.sovereign-flags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  vertical-align: middle;
}

.sovereign-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  opacity: 0.85;
}

/* ── Top Navigation ── */
#topPanel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(var(--spacing) * 3);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

#topPanel::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgb(0, 125, 255) 0%,
    rgb(140, 200, 140) 50%,
    rgb(255, 200, 0) 100%
  );
}

#logoImage {
  width: 32px !important;
  height: 32px !important;
  margin-left: 0 !important;
  cursor: pointer;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
  flex-shrink: 0;
}
#logoImage:hover { opacity: 1; }

#topButtons {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 0.5);
  flex: 1;
  justify-content: center;
}

.topButton {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: calc(var(--spacing) * 0.75) calc(var(--spacing) * 1.5);
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  white-space: nowrap;
}
.topButton:hover {
  color: rgb(255, 255, 255);
  background: transparent;
}

#loginButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 17px;
  transition: color var(--transition);
  flex-shrink: 0;
  box-shadow: none;
  margin-right: -10px;
}
#loginButton:hover {
  color: rgb(255, 255, 255);
  background: transparent;
  border: none;
  box-shadow: none;
}

#loginButton ion-icon {
  font-size: 1.25rem;
  width: 1.25em;
  height: 1.25em;
}

/* ── Center Panel ── */
#centerPanel {
  width: 100%;
  background: transparent;
}

/* ── Shared Button ── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

/* ── Responsive: collapse nav ── */
@media (max-width: 640px) {
  #topButtons { gap: 2px; }
  .topButton   { font-size: 12px; padding: 6px 10px; }
  #topPanel    { padding: 0 12px; }
}