/* style.css */
:root {
  --color-bg: #000;
  --color-text: #fff;
  --color-primary: #E6CC43;
  --color-secondary: #000;
  --color-tertiary: #FFE144;
  --color-hover: #ffd500;
  --color-on-primary: #fff;
  --color-on-secondary: #fff;
  --color-on-tertiary: #000;
  --color-primary-gradient: linear-gradient(180deg, #E6CC43 0%, #2D2706 100%);
  --color-radial-gradient: radial-gradient(circle, rgba(255,255,255,0.39) 0%, rgba(255,255,255,0.58) 100%);
  --font-main: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-weight-extralight: 200;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-top: 70px; /* Add top padding to body content to avoid header overlap */
}

/* Safe area utility */
.safe-area {
  /* max-width: 1680px; */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  /* Inherit padding from .site-header for spacing */
  padding-left: 0;
  padding-right: 0;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 70px;
  /* background: var(--color-radial-gradient); */
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 0 56px;
  box-sizing: border-box;
  overflow-x: auto;
  border-radius: 10px;
  margin: 16px 0;
  transition: top 0.3s, opacity 0.3s, background 3.5s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.site-header.scrolled {
  background: var(--color-radial-gradient);
}

.site-header.hide-on-scroll {
  top: -100px;
  opacity: 0;
  pointer-events: none;
}

/* Remove margin from .header-logo, let .safe-area handle spacing */
.header-logo {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
}

.header-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-main);
  font-size: 18px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  display: block;
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--color-hover);
}

/* Hero Section */
.hero-section {
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 100px;
  min-height: 100vh;
}

.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-right: 80px;
}

.hero-content {
  /* max-width: 500px; */
  text-align: left;
}

.hero-title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--color-text);
}

.cta-button {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 40px;
  display: none !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-button:hover {
  background-color: var(--color-on-primary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.waitlist-signup h3 {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text);
}

.email-form {
  display: flex;
  gap: 10px;
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  background: var(--color-radial-gradient);
  color: var(--color-text);
  max-width: 300px;
  box-sizing: border-box;
  width: 100%;
}

.email-input::placeholder {
  color: #bbb;
}

.email-input:focus {
  outline: none;
  border-color: #333;
}

.email-submit {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-submit:hover {
  background-color: var(--color-on-primary);
  color: var(--color-secondary);
}

.app-splash {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-splash img {
  max-width: 800px;
  max-height: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Main Section */
main.blocksplit-side-by-side.compact {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 40px;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  align-items: stretch;
  justify-content: center;
  background-color: var(--color-tertiary);
  color: var(--color-secondary);
}

.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.right-panel {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.phone-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup img {
  max-width: 300px;
  max-height: 100%;
  object-fit: contain;
}

.intro-heading {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.5;
  text-align: left;
}

.intro-heading span {
  font-weight: bold;
}

.blockstack-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  flex: 1;
  justify-content: center;
  max-height: 100%;
  transform: scale(0.7);
  transform-origin: center;
}

.image-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-self: center;
}

.image-showcase > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.blockstack-vertical > * {
  max-width: 100%;
}

.blocksplit-left-wide-right-stack {
  display: flex;
  gap: 10px;
  width: 100%;
}

.blocksplit-left-wide-right-stack .left-img {
  flex: 1;
  width: auto;
  height: 100%;
  object-fit: contain;
  align-items: flex-start;
  max-height: 50vh;
}

.blocksplit-left-wide-right-stack .right-imgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.blocksplit-left-wide-right-stack .right-imgs img {
  width: 100%;
  height: auto;
  flex: 1;
  max-height: 25vh;
}

.blocksplit-left-wide-right-stack img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.blocksplit-side-by-side {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;
  width: 100%;
}

.blocksplit-side-by-side .features {
  flex: 2;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.blocksplit-side-by-side .logo-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.blocksplit-side-by-side .logo-area img {
  max-width: 450px;
  height: auto;
}

/* Showcase Section */
.showcase-section {
  padding: 80px 40px;
  background-color: #111;
  color: var(--color-text);
}

.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-column {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.showcase-column:nth-child(2) {
  margin-top: 120px;
}

.showcase-card {
  text-align: center;
}

.showcase-card img {
  width: 100%;
  max-width: 450px;
  height: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.showcase-card img:hover {
  transform: translateY(-10px);
}

.showcase-card h2 {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 15px;
  color: var(--color-hover);
}

.showcase-card p {
  font-family: var(--font-main);
  font-weight: var(--font-weight-extralight);
  font-size: 16px;
  line-height: 1.6;
  color: #eee;
  max-width: 350px;
  margin: 0 auto;
}

/* Full-Screen Image Section */
.fullscreen-section {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  overflow: hidden;
}

.fullscreen-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Button Styles */
button,
.cta-button,
.email-submit,
.floating-cta {
  background: var(--color-primary-gradient);
  color: var(--color-on-primary);
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  font-family: var(--font-main);
  font-weight: var(--font-weight-regular);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  outline: none;
  padding-left: 32px;
  padding-right: 32px;
}

.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 18px 36px;
  font-size: 20px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cta-button:hover,
.email-submit:hover,
.floating-cta:hover {
  background: var(--color-hover);
  color: var(--color-secondary);
  border-color: var(--color-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* Final Call to Action Section */
.final-cta {
  padding: 64px 0 80px 0;
  background: #111;
  color: var(--color-text);
  text-align: center;
  margin-left: 40px;
  margin-right: 40px;
  border-radius: 16px;
}

.final-cta h2 {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 18px;
  color: var(--color-hover);
}

.final-cta p {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: var(--font-weight-regular);
  margin-bottom: 32px;
  color: #eee;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-button {
  display: inline-block !important;
  margin-bottom: 0;
  margin-top: 10px;
  font-size: 1.15rem;
  padding: 14px 40px;
}

.final-cta .email-form {
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1280px) {
  .safe-area {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-header {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1100px) {
  main.blocksplit-side-by-side.compact {
    padding: 24px 8px;
    gap: 24px;
    height: auto;
    min-height: unset;
    align-items: stretch;
  }
  .left-panel,
  .right-panel {
    padding: 0;
    min-width: 0;
    min-height: unset;
    height: auto;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
  .phone-mockup img {
    max-width: 180px;
    width: 100%;
    height: auto;
  }
  .blockstack-vertical {
    transform: none !important;
    max-width: 600px;
    width: 100%;
    align-items: center;
    gap: 18px;
    padding: 0 8px;
  }
  .blockstack-vertical > * {
    max-width: 100%;
    width: 100%;
  }
  .blocksplit-side-by-side .logo-area img {
    max-width: 100px;
  }
  .blocksplit-side-by-side .features {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .app-splash img {
    max-width: 600px;
    max-height: auto;
  }
  .final-cta {
    margin-left: 16px;
    margin-right: 16px;
    padding-left: 8px;
    padding-right: 8px;
  }
  main.blocksplit-side-by-side.compact {
    padding: 12px 0;
    gap: 16px;
    height: auto;
    min-height: unset;
  }
  .blockstack-vertical {
    max-width: 100%;
    padding: 0 4px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 8px;
    height: 56px;
    border-radius: 5px;
    margin: 12px 0;
    width: 100vw;
  }
  .safe-area {
    padding-left: 0;
    padding-right: 0;
  }
  .header-logo img {
    height: 36px;
  }
  .main-nav ul {
    gap: 12px;
  }
  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 14px 24px;
    font-size: 16px;
  }
  .hero-section {
    flex-direction: column;
    min-height: auto;
  }
  
  .hero-left,
  .hero-right {
    min-height: 50vh;
    padding: 40px 20px;
  }
  
  .email-form {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 100%;
  }

  .email-input,
  .email-submit {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  main.blocksplit-side-by-side.compact {
    flex-direction: column;
    gap: 32px;
    padding: 20px 0;
    height: auto;
    min-height: unset;
    align-items: stretch;
  }

  .left-panel,
  .right-panel {
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    min-width: 0;
    min-height: unset;
    height: auto;
    margin: 0;
  }

  .phone-mockup {
    width: 100%;
    justify-content: center;
    margin-bottom: 16px;
  }

  .phone-mockup img {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .blockstack-vertical {
    transform: none !important;
    max-width: 100%;
    width: 100%;
    align-items: center;
    gap: 18px;
    padding: 0 12px;
  }

  .blockstack-vertical > * {
    max-width: 100%;
    width: 100%;
  }

  .intro-heading {
    font-size: 22px;
    text-align: center;
    margin-bottom: 12px;
  }

  .blocksplit-side-by-side {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
    width: 100%;
  }

  .blocksplit-side-by-side .features {
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
    width: 100%;
    padding-left: 0;
  }

  .blocksplit-side-by-side .logo-area {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
  }

  .blocksplit-side-by-side .logo-area img {
    max-width: 80px;
    width: 100%;
    height: auto;
  }

  .blockstack-vertical img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 8px auto;
    display: block;
  }

  .image-showcase {
    gap: 8px;
  }

  .image-showcase > img {
    max-width: 100%;
    height: auto;
  }
  
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .showcase-column:nth-child(2) {
    margin-top: 0;
  }
  
  .showcase-card h2 {
    font-size: 24px;
  }
  }

