/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(ellipse at top right, rgba(197,227,249,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at top left, rgba(208,247,235,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(197,227,249,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at center right, rgba(208,247,235,0.35) 0%, transparent 45%),
    #ffffff;
  background-attachment: fixed;
  color: #1a1a1a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Mobile-only polish ===== */
@media (max-width: 767px) {
  .hero {
    min-height: 100dvh;
    padding: 40px 20px 0;
  }

  .logo {
    margin-bottom: 20px;
  }

  h1 {
    margin-bottom: 18px;
    line-height: 115%;
  }

  .description {
    line-height: 165%;
    margin-bottom: 20px;
  }

  .coming-soon {
    margin-bottom: 16px;
  }

  .mockups {
    width: 110%;
    margin-left: -5%;
    margin-right: -5%;
    margin-top: auto;
    overflow: visible;
    padding-bottom: 16%;
  }
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 28px 20px 0;
}

/* ===== Logo ===== */
.logo {
  width: 120px;
  height: auto;
  margin-bottom: 16px;
}

/* ===== Heading ===== */
h1 {
  font-size: 28px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -1px;
  color: #293130;
  margin-bottom: 16px;
  max-width: 600px;
}

h1 .highlight {
  color: #00B493;
}

/* ===== Description ===== */
.description {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.5px;
  color: #334140;
  max-width: 90%;
  margin-bottom: 16px;
}

/* ===== Coming Soon ===== */
.coming-soon {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, #FFFFFF -78.77%, #03B594 115.07%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

/* ===== Device Mockups ===== */
.mockups {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin-top: 0;
  flex-shrink: 0;
}

.mockup-laptop {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.mockup-phone {
  position: absolute;
  width: 35%;
  height: auto;
  left: 74%;
  top: 15.4%;
  object-fit: contain;
}

/* ===== Tablet (768px+) ===== */
@media (min-width: 768px) {
  .hero {
    padding: 32px 40px 0;
  }

  .logo {
    width: 150px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    max-width: 700px;
  }

  .description {
    font-size: 15px;
    max-width: 600px;
    margin-bottom: 20px;
  }

  .coming-soon {
    font-size: 30px;
    letter-spacing: -2px;
    margin-bottom: 16px;
  }

  .mockup-phone {
    width: 35%;
    left: 74%;
  }
}

/* ===== Desktop (1024px+) ===== */
@media (min-width: 1024px) {
  .hero {
    padding: 28px 60px 0;
  }

  .logo {
    width: 157px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: 56px;
    letter-spacing: -2px;
    max-width: 755px;
    margin-bottom: 24px;
  }

  .description {
    font-size: 16px;
    max-width: 671px;
    margin-bottom: 24px;
  }

  .coming-soon {
    font-size: 36px;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
  }

  .mockups {
    width: 95%;
    max-width: 1000px;
  }

  .mockup-phone {
    width: 35%;
    left: 74%;
  }
}

/* ===== Large Desktop (1440px+) — Pixel-perfect Figma match ===== */
/* Figma frame: 1440 x 1024 */
@media (min-width: 1440px) {
  .hero {
    padding: 28px 0 0;
  }

  .logo {
    width: 157px;
    margin-bottom: 28px;
  }

  h1 {
    font-size: 64px;
    letter-spacing: -2.5px;
    max-width: 755px;
    margin-bottom: 28px;
  }

  .description {
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.5px;
    max-width: 671px;
    margin-bottom: 24px;
  }

  .coming-soon {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
  }

  /*
    Figma mockup layout on 1440px canvas:
    Laptop: left 126, width 1120, top 441
    Phone:  left 988, width 325, top 562
    Combined visual center: (126 + 1313) / 2 = 719.5 ≈ center
  */
  .mockups {
    width: 100%;
    max-width: 1120px;
  }

  .mockup-phone {
    width: 392px;
    height: auto;
    left: 829px;
    top: 90px;
  }
}

/* ===== Fade-in Animation ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  animation: fadeInUp 0.6s ease-out both;
}

h1 {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.description {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.coming-soon {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.mockups {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
