/* ==========================================================================
   Base / Reset
   ========================================================================== */
:root {
  --color-bg: #0d1420;
  --color-primary: #1081eb;
  --color-primary-dark: #0d7ce0;
  --color-text: #ffffff;
  --color-text-muted: #b9c6de;
  --color-tag-bg: #253648;
  --color-card-bg: rgba(34, 69, 102, 0.29);
  --color-border: rgba(255, 255, 255, 0.32);
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ==========================================================================
   Gradient Text
   ========================================================================== */
.gradient-text {
  background-image: linear-gradient(107deg, #1081eb 34%, #094985 117%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.15em;
}

.text-muted-light { color: var(--color-text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.36px;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 8px;
  padding: 12px 16px 12px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn:hover {
  background: #0e6fcc;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn img { flex-shrink: 0; }

/* ==========================================================================
   Animation Keyframes
   ========================================================================== */
@keyframes pixFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pixFadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pixFadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pixFadeRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pixZoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Page Loader
   ========================================================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader .loader {
  width: 200px;
  height: 200px;
}

.page-loader .blobs {
  filter: url(#goo);
  width: 100%;
  height: 100%;
  position: relative;
}

.page-loader .blob-center {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--color-primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-loader .blob {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: blob-around 4s infinite;
}

.page-loader .blob:nth-child(2) { animation-delay: 0s; }
.page-loader .blob:nth-child(3) { animation-delay: 0.6s; }
.page-loader .blob:nth-child(4) { animation-delay: 1.2s; }
.page-loader .blob:nth-child(5) { animation-delay: 1.8s; }
.page-loader .blob:nth-child(6) { animation-delay: 2.4s; }
.page-loader .blob:nth-child(7) { animation-delay: 3.0s; }

@keyframes blob-around {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) translateX(0); }
  25% { transform: translate(-50%, -50%) rotate(90deg) translateX(60px); }
  50% { transform: translate(-50%, -50%) rotate(180deg) translateX(0); }
  75% { transform: translate(-50%, -50%) rotate(270deg) translateX(60px); }
}

.page-loader svg {
  position: absolute;
  width: 0;
  height: 0;
}

/* ==========================================================================
   Logo
   ========================================================================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover { text-decoration: none; }

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -0.7px;
  text-transform: uppercase;
  color: #fff;
}

.logo-now {
  display: inline-flex;
  align-items: center;
}

.logo-now img {
  height: 35px;
  width: auto;
  display: block;
}

.logo-text--lg {
  font-size: 52px;
  letter-spacing: -1.05px;
}

.logo-now--lg img {
  height: 52px;
  width: auto;
  display: block;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 24px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.site-header.pix-header-fixed {
  background: rgba(13, 20, 32, 0.95);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-mobile-logo { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.site-logo { flex-shrink: 0; }

.close-menu { display: none; }

.menu-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-main-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-main-menu li a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: #fff;
  transition: color 0.2s;
}

.site-main-menu li a:hover,
.site-main-menu li a.current_page {
  color: var(--color-primary);
  text-decoration: none;
}

.toggle-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10001;
}

.toggle-menu .bar {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.fullscreen {
  position: relative;
  padding: 176px 0 60px;
  min-height: 660px;
  overflow: hidden;
}

.fullscreen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 640px;
  background-color: #0e2d4f;
  background-image: url('../images/main-page/hero-bg.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.fullscreen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 640px;
  background: rgba(13, 20, 32, 0.68);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  pointer-events: none;
}

.hero-globe {
  position: absolute;
  top: -50px;
  left: calc(50% + 308px);
  width: 691px;
  height: 675px;
  mix-blend-mode: overlay;
  transform: rotate(175.28deg) scaleY(-1);
  pointer-events: none;
  z-index: 1;
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 132px;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 954px;
}

.hero-tag {
  display: inline-block;
  background: var(--color-tag-bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: capitalize;
  margin-bottom: 4px;
}

.title-big {
  font-size: 64px;
  line-height: 1.1;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.4;
  margin-top: 16px;
  max-width: 550px;
}

.hero-desc strong {
  color: #fff;
  font-weight: 800;
}

.hero-content .btn {
  margin-top: 32px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.hiw-section {
  position: relative;
  padding-bottom: 56px;
}

.hiw-header {
  border-bottom: 1px solid var(--color-border);
  padding: 62px 48px 16px;
  max-width: 1440px;
  margin: 0 auto;
}

.hiw-header .title {
  font-size: 40px;
}

.hiw-tag,
.features-tag {
  display: inline-block;
  background: var(--color-tag-bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  text-transform: capitalize;
}

.hiw-steps {
  display: flex;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.hiw-step {
  flex: 1;
  padding: 75px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-bottom: 1px solid var(--color-border);
  min-height: 538px;
}

.hiw-step--left {
  border-right: 1px solid var(--color-border);
  padding-left: 48px;
}

.hiw-step--right {
  padding-right: 48px;
}

.hiw-step__mockup {
  border-radius: 8px;
  overflow: hidden;
}

.hiw-mockup-bg {
  width: 100%;
  height: auto;
  display: block;
}

.hiw-step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
}

.hiw-step__desc {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-top: 16px;
}

.hiw-step__desc strong { color: #fff; }

.code-tag {
  display: inline-block;
  background: var(--color-tag-bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
}

.hiw-step__example {
  margin-top: 6px;
  font-size: 20px;
  color: var(--color-text-muted);
}

.hiw-step__example strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.hiw-cta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 3;
  padding: 0;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  position: relative;
  padding-bottom: 100px;
}

.features-header {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 48px;
  max-width: 1440px;
  margin: 0 auto;
}

.features-header .title {
  font-size: 40px;
}

.features-grid {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  max-width: 1440px;
  margin: 0 auto;
}

.features-col--left {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.features-col--right {
  flex: 1;
}

.feature-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 32px 32px 48px;
}

.features-col--left .feature-card {
  border-right: 1px solid var(--color-border);
}

.features-col--left .feature-card:first-child {
  border-bottom: 1px solid var(--color-border);
}

.features-col--right .feature-card {
  padding: 32px 48px 32px 32px;
}

.feature-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}

.feature-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 129, 235, 0.29);
  pointer-events: none;
}

.feature-card__content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
}

.feature-card__desc {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-top: 20px;
}

.feature-card__icon {
  position: relative;
  z-index: 1;
  width: 45px;
  height: 45px;
  background: var(--color-primary-dark);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
}

.feature-card--tall {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-height: 100%;
}

.feature-card__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.feature-card__icon--inline {
  margin-left: 0;
}

.feature-card__desc--bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 0 48px 0 32px;
}

.feature-card--tall .feature-card__desc--bottom {
  padding: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
}

.footer-content { width: 100%; }

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-wrap { flex-shrink: 0; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.footer-logo:hover { text-decoration: none; }

.footer-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 48px;
}

.footer-link {
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-scroll-top { display: none; }

/* ==========================================================================
   Back-to-Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #0e6fcc;
  text-decoration: none;
}

.back-to-top img {
  transform: rotate(-90deg);
  width: 14px;
  height: auto;
}

.footer-copyright {
  text-align: center;
  margin-top: 8px;
}

.footer-copyright p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Inner Pages — Shared
   ========================================================================== */
.inner-page-section {
  padding: 195px 48px 80px;
}

.inner-page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  text-align: center;
  padding-bottom: 0.15em;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-section {
  padding: 195px 0 80px;
}

.contact-section .title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  text-align: center;
  padding-bottom: 0.15em;
}

.contact-cards {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  justify-content: center;
}

.contact-card {
  background: var(--color-card-bg);
  border-radius: 24px;
  padding: 32px;
  width: 368px;
  min-height: 352px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(25, 33, 61, 0.08);
}

.contact-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
}

.contact-card__text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-top: 24px;
}

.contact-card .btn {
  width: 201px;
  margin-top: auto;
}

/* ==========================================================================
   Terms / Privacy Pages
   ========================================================================== */
.terms-section {
  padding: 195px 0 80px;
}

.terms-section .title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  text-align: center;
  padding-bottom: 0.15em;
}

.terms-body {
  max-width: 780px;
  margin: 32px auto 0;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
}

.terms-body h2, .terms-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: #fff;
}

.terms-body p {
  margin-bottom: 12px;
}

.terms-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.terms-body ul, .terms-body ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.terms-body li {
  margin-bottom: 6px;
  list-style: disc;
}

/* ==========================================================================
   Uninstall Page
   ========================================================================== */
.uninstall-section {
  padding: 195px 0 80px;
}

.uninstall-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  padding-top: 130px;
}

.uninstall-text {
  max-width: 546px;
}

.uninstall-text .title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  padding-bottom: 0.15em;
}

.uninstall-desc {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.uninstall-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 616px;
}

.uninstall-step {
  background: var(--color-card-bg);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.uninstall-step__num {
  flex-shrink: 0;
}

.uninstall-step__num img {
  height: 20px;
  width: auto;
}

.uninstall-step__text {
  flex: 1;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #fff;
}

.uninstall-step__text strong {
  font-weight: 700;
}

.uninstall-step__icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: linear-gradient(94deg, #1081eb 34%, #094985 117%);
  flex-shrink: 0;
}

.uninstall-step__icon img {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Status Pages — Shared (Thanks, 404, Removed)
   ========================================================================== */
.status-section {
  position: relative;
  min-height: calc(100vh - 205px);
  overflow: hidden;
}

.status-content {
  position: relative;
  z-index: 2;
  max-width: 626px;
}

.status-content .title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  padding-bottom: 0.15em;
}

.status-desc {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-top: 16px;
}

.status-content .btn {
  margin-top: 32px;
}

/* ==========================================================================
   Thanks Page
   ========================================================================== */
.thanks-hero {
  padding: 97px 0 0;
}

.thanks-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.thanks-bg__image {
  position: absolute;
  width: 1253px;
  height: 1242px;
  top: -221px;
  left: calc(50% - 332px);
  transform: rotate(-7.2deg);
  object-fit: cover;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0,0,0,0.5) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0,0,0,0.5) 0%, transparent 100%);
  opacity: 0.4;
}

.status-layout {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-top: 289px;
  padding-bottom: 80px;
}

.status-layout .status-content {
  flex-shrink: 0;
  width: 626px;
}

.thanks-mockups {
  flex: 1;
  position: relative;
  min-height: 420px;
  padding: 0 40px;
}

.thanks-mockup {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  width: 532px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.thanks-mockup:first-child {
  top: 0;
  left: 40px;
}

.thanks-mockup:last-of-type {
  top: 163px;
  left: 102px;
}

.thanks-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.thanks-arrow {
  position: absolute;
  top: 200px;
  left: 60px;
  width: 50px;
  height: auto;
  transform: scaleY(-1) rotate(90deg);
}

/* ==========================================================================
   Globe Hero (404, Removed)
   ========================================================================== */
.globe-hero {
  padding: 97px 0 0;
  min-height: 959px;
}

.globe-hero .status-content {
  padding-top: 289px;
  padding-bottom: 120px;
}

.globe-hero--removed .status-content {
  padding-top: 303px;
}

.globe-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.globe-bg__composition {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
}

.globe-bg__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-content {
  border-radius: 12px;
}

.modal-body p {
  font-size: 14px;
  line-height: 1.6;
}

.modal .btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
}

.modal .btn:hover {
  background: #0e6fcc;
  color: #fff;
}
