/* SF Pro Font Declarations */
@font-face {
  font-family: 'SF Pro Display';
  src: url('../assets/fonts/sf-pro-display_regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../assets/fonts/sf-pro-display_medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../assets/fonts/sf-pro-display_bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-bg: #0D0E1F;
  --primary-text: #FFFFFF;
  --accent-color: #FF6B35;
  --accent-glow: rgba(255, 107, 53, 0.7);
  --accent-light: rgba(255, 140, 90, 0.8);

  --device-width: calc(1200px / 3 * 2);
  --device-height: calc(1260px / 3 * 2);

  --fade-duration: 2s;
  --fade-delay: 0.7s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--primary-text);
  background-color: var(--primary-bg);
}

body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

/**
 * Safari video border fix
 * Prevents gray border on hover
 */
video {
  isolation: isolate;
  mask-image: radial-gradient(white, white);
}

/* Main Body Wrapper */
.app-showcase-wrapper {
  will-change: transform;
  display: flex;
  flex-direction: column;
  flex: none;
  place-content: center;
  align-items: center;
  gap: 64px;
  width: 100%;
  height: min-content;
  padding: 54px;
  position: relative;
  overflow: visible;
}

.app-showcase-wrapper>* {
  flex: none;
}

.content-area,
.device-display {
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (min-width: 810px) and (max-width: 1199px) {
  .app-showcase-wrapper {
    gap: 45px;
  }
}

@media screen and (max-width: 809px) {
  .app-showcase-wrapper {
    padding: 23px 40px 40px;
    gap: 35px;
    width: auto;
  }
}

/* Animations */
@keyframes glowAppear {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.2;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Device Display */
.device-display {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

@media screen and (max-width: 809px) {
  .device-display {
    padding: 0;
  }
}

/* App Store Badge */
.app-store-badge {
  height: 54px;
  width: auto;
  margin-top: 32px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.app-store-badge:hover {
  transform: scale(1.05);
}

/* Ambient Glow Effect - Orange for Screeny */
.ambient-effect {
  position: fixed;
  top: 25%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  opacity: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 107, 53, 0.2) 40%, rgba(255, 107, 53, 0.05) 60%, rgba(255, 107, 53, 0) 75%);
  pointer-events: none;
  z-index: -1;
  animation: glowAppear var(--fade-duration) ease-out forwards;
  animation-delay: var(--fade-delay);
}

/* Device Frame */
.device-frame {
  position: relative;
  width: var(--device-width);
  height: auto;
  aspect-ratio: 800 / 840;
  z-index: 1;
}

.device-mockup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 0.8) 70%,
      rgba(0, 0, 0, 0.5) 80%,
      rgba(0, 0, 0, 0.2) 90%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 0.8) 70%,
      rgba(0, 0, 0, 0.5) 80%,
      rgba(0, 0, 0, 0.2) 90%,
      rgba(0, 0, 0, 0) 100%);
}

.device-mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 650px) {
  .device-frame {
    width: 90vw;
    height: auto;
    aspect-ratio: 306/626;
    max-width: 400px;
  }

  .device-mockup {
    width: auto;
    transform: translate(-24%, 0%)

  }
}

.screen-content {
  position: absolute;
  top: 37.8%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
  border-radius: 42px;
  overflow: hidden;
  object-fit: cover;
  z-index: 1;
}

@media screen and (max-width: 650px) {
  .ambient-effect {
    width: 150%;
    height: 150%;
  }

  .screen-content {
    transform: translate(-49%, -50%);
    width: 68%;
    height: auto;
    overflow: hidden;
    object-fit: contain;
    border-radius: 32px;

    z-index: 1;
  }
}

/* Content Area */
.content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 40px 0 0;
  gap: 0;
}

@media screen and (min-width: 810px) and (max-width: 1199px) {
  .content-area {
    padding: 20px 0 0;
  }
}

@media screen and (max-width: 809px) {
  .content-area {
    padding: 0;
    align-content: center;
    align-items: center;
    text-align: center;
  }
}

/* Brand Identity */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  position: relative;
  left: -2px;
  margin: 0;
  opacity: 0;
  animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.1s;
}

.brand-identity img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand-identity h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

/* Headlines */
.main-headline {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 80px;
  font-weight: 600;
  line-height: 1em;
  margin-top: 0px;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 800px;
  background: linear-gradient(0deg, rgb(255, 200, 180) 0%, rgb(255, 255, 255) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.2s;
}

.tagline-text {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 30px;
  font-weight: 400;
  margin-top: 16px;
  line-height: 1.3em;
  letter-spacing: -0.005em;
  color: var(--accent-light);
  opacity: 0;
  animation: fadeInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.4s;
}

.coming-soon {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fadeInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.6s;
}

@media screen and (max-width: 650px) {
  .brand-identity {
    margin-bottom: 10px;
  }

  .main-headline {
    font-size: 48px;
  }

  .tagline-text {
    font-size: 20px;
  }
}

/* Large screen media queries */
@media screen and (min-width: 1920px) {
  :root {
    --device-width: 900px;
    --device-height: 945px;
  }

  .app-showcase-wrapper {
    gap: 70px;
  }

  .main-headline {
    font-size: 70px;
  }

  .tagline-text {
    font-size: 28px;
  }
}

/* Ultra-wide and 4K monitors */
@media screen and (min-width: 2560px) {
  .app-showcase-wrapper {
    gap: 80px;
  }
}

/* Section Titles */
.section-title {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
  background: linear-gradient(0deg, rgb(255, 200, 180) 0%, rgb(255, 255, 255) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media screen and (max-width: 650px) {
  .section-title {
    font-size: 32px;
    margin-bottom: 32px;
  }
}

/* How It Works Section */
.how-it-works {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 54px;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  width: 240px;
  min-height: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
}

.step p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.step-arrow {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 809px) {
  .how-it-works {
    padding: 60px 20px;
  }

  .steps-container {
    flex-direction: column;
    gap: 24px;
  }

  .step {
    max-width: 100%;
    width: 100%;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
}

/* Features Section */
.features-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 54px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  text-align: center;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media screen and (max-width: 650px) {
  .features-section {
    padding: 60px 20px;
  }

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

/* Use Cases Section */
.use-cases-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 54px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.use-case {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.use-case-emoji {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.use-case h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.use-case p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media screen and (max-width: 809px) {
  .use-cases-section {
    padding: 60px 20px;
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
.footer-section {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 60px 54px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.8s;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
}

.footer-logo-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px 0px;
}

.footer-links {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 140px;
}

.footer-heading {
  font-family: "Inter", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1em;
  letter-spacing: -0.01em;
  color: rgb(255, 255, 255);
  margin: 0;
  white-space: pre;
}

.footer-link {
  font-family: "Inter", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1em;
  letter-spacing: -0.01em;
  color: rgb(153, 153, 153);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: pre;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  border-top: none;
  width: 100%;
}

.footer-copyright {
  font-family: "Inter", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5em;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
  text-align: left;
}

@media screen and (max-width: 809px) {
  .footer-section {
    margin: 60px auto 0;
    padding: 50px 40px 40px;
  }

  .footer-content {
    gap: 48px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-logo-container {
    margin-bottom: 8px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .footer-column {
    width: 100%;
  }

  .footer-heading {
    font-size: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-copyright {
    font-size: 18px;
    text-align: left;
    color: rgba(255, 255, 255, 0.3);
  }
}

@media screen and (max-width: 650px) {
  .footer-section {
    margin: 60px auto 0;
    padding: 50px 20px 40px;
  }
}
