:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --secondary: #00d9ff;
  --dark: #0a0e27;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;

  --primary-rgb: 0, 102, 255;
  --secondary-rgb: 0, 217, 255;

  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --logo-gradient: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 100%
  );
  --shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
  --shadow-hover: 0 0px 40px rgba(var(--primary-rgb), 0.4);
  --shadow-header: 0 15px 50px rgba(var(--primary-rgb), 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 5px;
}

.footer-social a:focus-visible,
.scroll-top:focus-visible,
.lightbox-nav:focus-visible {
  border-radius: 50%;
}

.screenshots-grid img:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 6px;
  border-radius: 26px;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

body {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

h1,
h2,
h3 {
  font-family: "Clash Display", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 30px);
  max-width: 1260px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid #ffffff;
  border-radius: 15px;
  overflow: visible;
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.1),
    var(--shadow-header);
  will-change: transform;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

header.hidden {
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
  pointer-events: none;
}

header.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0;
}

.logo {
  font-family: "Clash Display", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
  display: block;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 99px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.cta-button {
  background: var(--gradient);
  color: var(--white);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

header .cta-button {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  box-shadow: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-download {
  display: none;
}

.hero {
  padding: 8rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
}

.hero-content {
  align-self: center;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  line-height: 1.1;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.secondary-button {
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  color: var(--dark);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  transform: translateY(-7px);
}

.hero-image {
  align-self: center;
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.phone-mockup {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(var(--primary-rgb), 0.2));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.hero .phone-mockup {
  filter: none;
}

.phone-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 15px 12px;
  border-radius: 42px;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.35),
    rgba(var(--secondary-rgb), 0.35)
  );
  box-shadow: 0 0px 50px rgba(var(--primary-rgb), 0.25);
  box-sizing: border-box;
  overflow: hidden;
}

.features {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 6rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.5s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08),
    0 15px 60px rgba(var(--primary-rgb), 0.25);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

.use-cases {
  padding: 6rem 2rem;
  background: var(--dark);
  color: var(--white);
}

.use-cases .section-header h2,
.use-cases .section-header p {
  color: var(--white);
}

.use-cases-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.use-case {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.use-case:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.25),
    0 0px 45px rgba(var(--secondary-rgb), 0.35);
}

.use-case h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.use-case p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.highlight {
  padding: 6rem 2rem 4rem;
  background: var(--light-gray);
}

.highlight-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.highlight-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.highlight-text p {
  font-size: 1.125rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.highlight-features {
  list-style: none;
  margin-bottom: 2rem;
}

.highlight-features li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--dark);
}

.highlight-features li:last-child {
  border-bottom: none;
}

.highlight .phone-mockup {
  animation: none;
}

.checkmark {
  width: 24px;
  height: 24px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  flex-shrink: 0;
}

.screenshots {
  padding: 6rem 2rem;
  background: var(--white);
}

.screenshots-grid {
  max-width: 1200px;
  margin: 6rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.screenshots-grid img {
  width: 95%;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.screenshots-grid img:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(var(--primary-rgb), 0.25);
}

.stats {
  padding: 4rem 2rem;
  background: var(--gradient);
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.stat.animate {
  opacity: 0;
  transform: translateY(30px);
}

.stat h3 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.final-cta {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--white);
}

.final-cta h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.final-cta p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  position: relative;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 350px;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links-list a {
  text-align: left;
  width: auto;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-links a::before,
.footer-contact a::before {
  content: "→";
  opacity: 1;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
  margin-right: 0.4rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links a:hover::before,
.footer-contact a:hover::before {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.footer-social a:hover {
  background: var(--gradient);
  transform: translateY(-2px);
}

.scroll-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-top:hover {
  background: var(--gradient);
  transform: translateY(-2px);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s ease;
  touch-action: manipulation;
  transform-origin: center;
  animation: zoomFromThumb 0.35s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.2s ease,
    stroke 0.2s ease;
}

.lightbox-close:hover svg {
  transform: scale(1.5);
  stroke: rgba(239, 68, 68, 0.92);
}

.lightbox-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.92);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-nav:hover svg {
  stroke: var(--primary);
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

.lightbox-nav svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#features-header {
  scroll-margin-top: 90px;
}

@media (hover: hover) and (pointer: fine) {
  .app-card:hover,
  .service-card:hover,
  .feature-card:hover,
  button:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
  }
}

@keyframes zoomFromThumb {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(40px) scale(0.92);
    opacity: 0;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-40px) scale(0.92);
    opacity: 0;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 968px) {
  header {
    width: 92%;
    padding: 0.875rem 1.5rem;
    top: 15px;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid #ffffff;
    flex-direction: column;
    gap: 1rem;
    width: calc(100% - 60px);
    max-width: 350px;
    box-shadow:
      0 0 30px rgba(0, 0, 0, 0.08),
      0 15px 50px rgba(var(--primary-rgb), 0.13);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
    isolation: isolate;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-menu a {
    text-align: center;
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }

  .nav-right {
    flex-direction: row;
  }

  .mobile-menu-toggle {
    display: block;
    order: 2;
  }

  .nav-menu .cta-button::after {
    display: none !important;
  }

  header .cta-button {
    order: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 8rem 2rem 4rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .hero-image {
    order: -1;
  }

  .highlight-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .highlight-text h2 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .final-cta h2 {
    font-size: 2.5rem;
  }

  .screenshots-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-brand-header {
    justify-content: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  header {
    width: 90%;
    border-radius: 15px;
    padding: 0.75rem 1rem;
  }

  .nav-right > .cta-button {
    display: none;
  }

  .nav-menu.active .mobile-download {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
  }

  .mobile-download .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button,
  .secondary-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .features-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 2rem 2rem;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 360px) {
  header {
    width: 95%;
    padding: 0.625rem 0.75rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .nav-menu {
    width: calc(100% - 40px);
    padding: 1.25rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }
}

@media print {
  header,
  .mobile-menu-toggle,
  .lightbox,
  .scroll-top {
    display: none !important;
  }

  body {
    background: white;
  }

  a {
    text-decoration: underline;
  }
}