/* ============================================================
   ASO4TECH STYLES - Vibrant & Secure
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #0d0e0e;
  --panel: #171818;
  --panel-2: #202121;
  --line: #303131;
  --text: #f6f6f3;
  --muted: #a1a5a5;
  --yellow: #ffcf19;
  --orange: #fba600;
  --radius: 18px;
  --font: 'DM Sans', Arial, sans-serif;
  --display: 'Space Grotesk', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  
  /* Anti-Select Protection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* =========================================
   CUSTOM SCROLLBAR (MATCHING LOGO YELLOW)
   ========================================= */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
  border-left: 1px solid var(--line);
}
::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

::selection {
  background: var(--yellow);
  color: #090909;
}

.container {
  width: min(1210px, calc(100% - 72px));
  margin: 0 auto;
}

.progress {
  height: 3px;
  position: fixed;
  z-index: 100;
  inset: 0 auto auto 0;
  background: var(--yellow);
  width: 0;
  pointer-events: none;
}

/* =========================================
   HEADER & SHRINK ANIMATION
   ========================================= */
.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(13, 14, 14, 0.92);
  border-bottom: 1px solid #292a2a;
  transition: background 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 44px;
  transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 600;
  transition: font-size 0.4s ease;
}

.brand-strong {
  color: var(--yellow);
}

.brand-logo {
  width: 39px;
  height: 39px;
  object-fit: contain;
  flex: none;
  border-radius: 7px;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* SHRINK STATE WHEN SCROLLING DOWN */
.site-header.shrink {
  background: rgba(13, 14, 14, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 207, 25, 0.15);
}
.site-header.shrink .header-inner {
  height: 52px;
}
.site-header.shrink .brand-logo {
  width: 26px;
  height: 26px;
}
.site-header.shrink .brand {
  font-size: 15px;
}

.inline-brand-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 7px;
  border-radius: 3px;
}

.eyebrow .inline-brand-logo {
  width: 17px;
  height: 17px;
  margin: 0 9px 0 2px;
}

.nav-links {
  display: flex;
  gap: 35px;
  margin: auto;
  font-size: 13px;
  color: #c4c4c4;
}

.nav-links a,
.footer a {
  transition: color 0.25s;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--yellow);
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid #5b5b52;
  border-radius: 100px;
  padding: 12px 18px;
  transition: 0.25s;
}

.header-link:hover {
  background: var(--yellow);
  color: #171717;
  border-color: var(--yellow);
}

.mobile-toggle,
.mobile-menu {
  display: none;
}

.section-pad {
  padding: 110px 0;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* =========================================
   ANIMATIONS: FLOATING GLOW
   ========================================= */
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 20px) scale(1.05); }
}

.hero-glow {
  position: absolute;
  z-index: -1;
  right: -13%;
  top: 4%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #ebb41125, transparent 62%);
  filter: blur(22px);
  animation: floatGlow 8s ease-in-out infinite;
}

.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 98%, #ffffff06 99%);
  background-size: 100% 54px;
  opacity: 0.45;
  z-index: -2;
}

.eyebrow,
.section-number {
  font-weight: 800;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 3px;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ffcf1920;
  margin-right: 10px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px #ffcf1900;
  }
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: var(--display);
  letter-spacing: -0.055em;
}

h1 {
  font-size: clamp(54px, 7.3vw, 112px);
  line-height: 1.055;
  margin: 32px 0 27px;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(115deg, #ffec85 0%, #ffcf19 45%, #df9b00 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-radius: 100px;
  padding: 17px 24px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.24s, background 0.24s, box-shadow 0.24s;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-primary {
  background: var(--yellow);
  color: #111;
  box-shadow: 0 8px 36px #ffcf191a;
}

.btn-primary:hover {
  background: #ffe46c;
  box-shadow: 0 12px 48px #ffcf1944;
}

/* =========================================
   ANIMATIONS: BUTTON SHINE EFFECT
   ========================================= */
.shine-effect {
  position: relative;
  overflow: hidden;
}
.shine-effect::after {
  content: "";
  position: absolute;
  top: 0; 
  left: -100%;
  width: 50%; 
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: shine 3.5s infinite ease-in-out;
}
@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.hero-actions .btn-outline {
  gap: 10px;
}

.btn-outline {
  border: 1px solid #535554;
}

.btn-outline:hover {
  background: #262828;
}

.hero-stats {
  margin-top: 70px;
  display: flex;
  gap: 35px;
  align-items: center;
}

.hero-stats > div:not(.stat-line) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-stats strong {
  font-family: var(--display);
  font-size: 23px;
}

.hero-stats span {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
}

.stat-line {
  height: 36px;
  width: 1px;
  background: #444;
}

.scroll-hint {
  position: absolute;
  right: 5%;
  bottom: 50px;
  display: flex;
  gap: 15px;
  align-items: center;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 2px;
  color: #808080;
}

.scroll-hint span {
  font-size: 18px;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-number {
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(39px, 5vw, 67px);
  line-height: 1.1;
  margin: 0;
}

h2 em {
  font-style: normal;
  color: var(--yellow);
}

.section-intro {
  max-width: 310px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter {
  border: 1px solid #3a3b3b;
  color: #b9b9b9;
  background: transparent;
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  transition: 0.25s;
}

.filter span {
  margin-left: 7px;
  opacity: 0.65;
}

.filter.active,
.filter:hover {
  background: var(--yellow);
  color: #171717;
  border-color: var(--yellow);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  min-height: 250px;
}

.app-card {
  background: linear-gradient(160deg, #202121, #151616);
  border: 1px solid #353636;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  position: relative;
}

.app-card:hover {
  transform: translateY(-9px);
  border-color: #bc962c;
  box-shadow: 0 25px 70px #0006;
}

.card-visual {
  height: 232px;
  background: radial-gradient(circle at 75% 20%, #84631624, transparent 40%), #111212;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.card-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 72%, #0c0c0c80);
  pointer-events: none;
}

.app-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-card:hover .app-preview {
  transform: scale(1.06);
}

.app-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  background: #0c0d0dbd;
  border: 1px solid #ffffff20;
  padding: 7px 11px;
  border-radius: 50px;
  font-size: 10px;
  color: #d7d7d7;
  letter-spacing: 0.1em;
}

.card-content {
  padding: 24px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: #989898;
  font-weight: 800;
}

.app-name-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

/* =========================================
   ANIMATIONS: ICON HOVER LIFT
   ========================================= */
.app-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex: none;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-card:hover .app-icon {
  transform: translateY(-4px) scale(1.08);
}

.app-name {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: -1px;
}

.app-description {
  min-height: 64px;
  margin: 18px 0 22px;
  font-size: 13px;
  line-height: 1.75;
  color: #a9acac;
}

.card-bottom {
  border-top: 1px solid #373737;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platform {
  color: #b2b2b2;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.download-btn {
  background: var(--yellow);
  color: #0d0d0d;
  border-radius: 100px;
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: 0.22s;
}

.download-btn:hover {
  background: #ffe16b;
  transform: translateY(-2px);
}

.why-section {
  background: #141515;
  border-block: 1px solid var(--line);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  border-top: 1px solid #414141;
  padding: 28px 10px 16px 0;
}

.feature-index {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--yellow);
}

.feature-icon {
  float: right;
  color: var(--yellow);
  font-size: 32px;
}

.feature h3 {
  font-family: var(--display);
  font-size: 24px;
  margin: 45px 0 13px;
}

.feature p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  max-width: 340px;
}

.cta-section {
  padding: 80px 0;
}

.cta-inner {
  padding: 85px 7%;
  background: linear-gradient(120deg, #ffd64a, #f7b800);
  color: #111;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.cta-inner:after {
  content: 'A4';
  position: absolute;
  right: -30px;
  bottom: -100px;
  font: bold 390px var(--display);
  color: #0000000d;
  pointer-events: none;
}

.cta-inner .section-number {
  color: #5f4d16;
}

.cta-inner h2 {
  font-size: clamp(46px, 6vw, 76px);
  position: relative;
  z-index: 1;
}

.cta-inner h2 em {
  color: #775009;
}

.cta-inner p {
  max-width: 430px;
  margin: 24px 0;
  color: #42380f;
  line-height: 1.7;
}

.btn-dark {
  background: #111;
  color: #fff;
  position: relative;
  z-index: 1;
}

.btn-dark:hover {
  background: #282828;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 55px 0 25px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-main p {
  color: #949797;
  font-size: 13px;
  margin: 17px 0;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-content: center;
  font-size: 13px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #858585;
  font-size: 11px;
  letter-spacing: 0.6px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   TOAST POPUP FOR MOBILE DOWNLOAD BLOCK
   ========================================= */
.toast {
  position: fixed;
  z-index: 120;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 30px);
  padding: 13px 20px;
  border-radius: 12px;
  background: #2d2e2e;
  border: 1px solid var(--yellow);
  color: #fff;
  font-weight: 600;
  font-family: var(--display);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: calc(100vw - 24px);
  text-align: center;
}
.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1000px) {
  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    min-height: 650px;
  }
  .nav-links {
    gap: 19px;
  }
  .header-inner {
    gap: 20px;
  }
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 36px, 530px);
  }
  .header-inner {
    height: 66px;
  }
  .nav-links,
  .header-link {
    display: none;
  }
  
  /* =========================================
     ANIMATIONS: MOBILE HAMBURGER TOGGLE
     ========================================= */
  .mobile-toggle {
    display: block;
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 23px;
    transition: transform 0.4s ease;
  }
  .mobile-toggle.is-open {
    transform: rotate(180deg);
  }
  
  /* =========================================
     ANIMATIONS: MOBILE MENU SLIDE DOWN
     ========================================= */
  .mobile-menu {
    display: block !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0 18px;
    background: #151515;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid transparent;
  }
  .mobile-menu.active {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    padding: 12px 18px 24px;
    border-top-color: var(--line);
  }
  
  .mobile-menu a {
    padding: 7px;
    display: block;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .mobile-menu.active a {
    transform: translateY(0);
    opacity: 1;
  }
  .mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
  .mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
  .mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
  .mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }

  .section-pad {
    padding: 75px 0;
  }
  .hero {
    min-height: 670px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-stats {
    gap: 18px;
    margin-top: 50px;
  }
  .hero-stats strong {
    font-size: 18px;
  }
  .hero-stats span {
    font-size: 8px;
  }
  .section-top {
    display: block;
  }
  .section-intro {
    margin-top: 19px;
  }
  .apps-grid,
  .features {
    grid-template-columns: 1fr;
  }
  .card-visual {
    height: 230px;
  }
  .feature h3 {
    margin-top: 28px;
  }
  .cta-section {
    padding: 50px 0;
  }
  .cta-inner {
    padding: 62px 25px;
  }
  .footer-main {
    display: block;
  }
  .footer-links {
    margin-top: 32px;
  }
  .footer-bottom {
    margin-top: 35px;
    gap: 15px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}