/* ─────────────────────────────────────────────────────────
   Snagito Website – style.css
   ───────────────────────────────────────────────────────── */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --bg-deep: #080a0f;
  --bg-surface: #0f121a;
  --bg-card: rgba(25, 30, 45, 0.4);
  --accent-primary: #5c8dff;
  --accent-secondary: #a855f7;
  --accent-gradient: linear-gradient(135deg, #5c8dff 0%, #a855f7 100%);
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --text-muted: #64748b;
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 40px rgba(92, 141, 255, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Skip Link (Accessibility) ─────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ── Background Blobs ──────────────────────────────────── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.blob-1 {
  top: -100px;
  left: -100px;
  background: var(--accent-primary);
  animation: blob-move 20s infinite alternate;
}

.blob-2 {
  bottom: -200px;
  right: -100px;
  background: var(--accent-secondary);
  animation: blob-move 25s infinite alternate-reverse;
}

@keyframes blob-move {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(100px, 50px) scale(1.1);
  }
}

/* ── Navigation ────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 70px;
  background: rgba(15, 18, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 28px;
  z-index: 1000;
  transition: background 0.3s, top 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(15, 18, 26, 0.92);
  top: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
  text-transform: lowercase;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo span,
.f-logo span,
.brand-text span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text {
  color: white;
  font-weight: inherit;
  text-transform: lowercase;
}

#navbar ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

#navbar ul a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s;
}

#navbar ul a:hover {
  color: white;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-gray);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.lang-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.15);
}

.lang-chevron {
  transition: transform 0.25s;
  flex-shrink: 0;
  opacity: 0.6;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: rgba(15, 18, 26, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 6px;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2000;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-gray);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.lang-option.active {
  color: white;
  background: rgba(92, 141, 255, 0.15);
  font-weight: 700;
}

/* Nav CTA Button */
.btn-nav {
  background: var(--accent-gradient);
  color: white;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(92, 141, 255, 0.35);
}

/* ── Hamburger Button ──────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Menu (Fullscreen Overlay) ──────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a:not(.btn-nav) {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  transition: all 0.2s;
}

.mobile-menu a:not(.btn-nav):hover {
  color: white;
}

.mobile-menu .btn-nav {
  font-size: 18px;
  padding: 14px 36px;
}

.mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mobile-lang-opt {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-lang-opt:hover,
.mobile-lang-opt.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── Responsive Nav ────────────────────────────────────── */
@media (max-width: 768px) {

  #navbar ul,
  .lang-switch,
  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ── Sections ──────────────────────────────────────────── */
section {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 0;
}

.section-header .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ── Common Typography ─────────────────────────────────── */
.label {
  background: rgba(92, 141, 255, 0.1);
  color: var(--accent-primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid rgba(92, 141, 255, 0.2);
}

h1 {
  font-size: clamp(40px, 8vw, 84px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

p.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-gray);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn-main {
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
}

.btn-main.primary {
  background: white;
  color: var(--bg-deep);
}

.btn-main.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
}

.btn-main.outline {
  border: 1px solid var(--glass-border);
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.btn-main.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 300px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(92, 141, 255, 0.3));
  border-radius: 15px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .hero-visual img {
    width: 160px;
    height: auto;
  }
}

/* ── Scroll Indicator ──────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--glass-border);
  border-radius: 12px;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 14px);
    opacity: 0;
  }
}

/* ── Features ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.f-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.f-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
  pointer-events: none;
}

.f-card:hover {
  border-color: rgba(92, 141, 255, 0.35);
  transform: translateY(-5px);
  background: rgba(30, 40, 65, 0.65);
}

.f-card:hover::before {
  opacity: 0.04;
}

.f-icon {
  width: 58px;
  height: 58px;
  background: rgba(92, 141, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(92, 141, 255, 0.15);
}

.f-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.f-card p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.f-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

/* ── How it works ──────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-top: 64px;
}

.step {
  position: relative;
  padding-top: 16px;
}

.step-num {
  font-size: 110px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -32px;
  left: -16px;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-primary);
  position: relative;
  z-index: 1;
}

.step p {
  color: var(--text-gray);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ── Privacy ───────────────────────────────────────────── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.privacy-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.privacy-item:hover {
  border-color: rgba(92, 141, 255, 0.25);
  transform: translateY(-3px);
}

.privacy-icon {
  font-size: 30px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.privacy-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-item p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.7;
}

/* ── CTA ───────────────────────────────────────────────── */
.cta {
  text-align: center;
}

.cta-card {
  background: var(--accent-gradient);
  padding: 80px 40px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.cta-card h2 {
  margin-bottom: 16px;
  color: white;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 19px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-cta {
  background: white;
  color: var(--bg-deep);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

/* Beta CTA Badge (white variant inside gradient card) */
.cta-badge {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

/* Beta 3-Step List */
.beta-steps {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 36px;
  padding: 0;
  counter-reset: beta-step;
  position: relative;
  z-index: 1;
}

.beta-steps li {
  counter-increment: beta-step;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
}

.beta-steps li::before {
  content: counter(beta-step);
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Beta Note (small text below button) */
.beta-note {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  position: relative;
  z-index: 1;
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.f-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  display: inline-block;
  text-decoration: none;
  color: white;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.f-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.f-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s;
}

.f-links a:hover {
  color: white;
}

.copy {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ── Scroll-Reveal Animations ──────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive Tweaks ─────────────────────────────────── */
@media (max-width: 640px) {
  section {
    padding: 52px 16px;
  }

  .cta-card {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .hero {
    padding-top: 80px;
  }

  .features-grid {
    gap: 14px;
    margin-top: 32px;
  }

  .f-card {
    padding: 24px 20px;
  }

  .steps {
    gap: 28px;
    margin-top: 36px;
  }

  .privacy-grid {
    gap: 14px;
    margin-top: 32px;
  }

  .privacy-item {
    padding: 20px 16px;
  }

  .beta-steps {
    gap: 12px;
    margin: 20px 0 24px;
  }

  h1 {
    letter-spacing: -1px;
  }

  p.lead {
    font-size: 16px;
  }
}