body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.App {
  text-align: center;
  /* Remove default dark background and set text color */
  /* background-color: #282c34; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center; /* Put this back */
  justify-content: space-between; /* Pushes footer to bottom */
  /* font-size: calc(10px + 2vmin); */
  color: black; /* Change text color to black */
  /*padding: 10px; /* Add some padding */
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

.App-footer {
  /* Remove default background and color if any */
  /* background-color: #282c34; */
  /* color: white; */
  padding: 0; /* Explicitly set padding to 0 */
  width: 100%; /* Make footer span width */
  box-sizing: border-box; /* Include padding in width calculation */
}

.App-link {
  color: #61dafb; /* Keep link color or change as needed */
  text-decoration: none; /* Remove underline */
}

body { /* Apply white background to the entire page */
  background-color: white;
  margin: 0; /* Remove default body margin */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
  /* font-size: calc(10px + 3vmin); */

  min-height: 50vh;
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;
}

h1 {
  font-size: calc(10px + 10vmin);
  margin-bottom: 10px; /* Add small margin below h1 */
}

h3 {
  font-size: calc(10px + 4vmin);
}

/* Style for the App Store button */
.App-store-button {
  display: inline-block; /* Make it behave like a button */
  padding: 10px 20px; /* Slightly reduce padding for aesthetics with border */
  background-color: white;
  color: black;
  border: 2px solid black; /* Add black border */
  border-radius: 8px;
  font-weight: bold;
  /* margin-top: 10px; */ /* Remove - control space via h1 margin */
  /* margin-bottom: 40px; */ /* Remove - control space via img margin */
  text-decoration: none; /* Ensure no underline */
}

.App-store-button:hover {
  /* background-color: #333; */ /* Dark grey on hover */
  background-color: #f0f0f0; /* Light grey hover */
  color: black; /* Keep text black on hover */
}

/* Comment out unused styles */
/*
@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}
*/

/* Comment out unused animation */
/*
@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
*/

/* Style for the iPhone preview image */
.iphone-preview {
  /* border: 10px solid red; */ /* Remove test border */
  /* max-height: 70vh; */ /* Make image height relative to viewport height */
  height: 70vh;     /* Set explicit height relative to viewport */
  width: auto;      /* Maintain aspect ratio */
  display: block;   /* Ensure margin auto works if needed later */
  margin-left: auto;  /* Center if container allows */
  margin-right: auto; /* Center if container allows */
  margin-top: 120px; /* Increase margin above image */
  margin-bottom: 60px; /* Add margin below image to match top padding */
}

/* Style for footer links */
.footer-links {
  margin-top: 20px;
  font-size: 14px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  color: #61dafb;
}

/* Keep Traxe’s original device bezel and replace only its screen content. */
.framed-preview { position: relative; width: calc(70vh * 800 / 1630); background: url('/assets/iphone-frame.png') center / 100% 100% no-repeat; }
.framed-preview > img { position: absolute; left: 5.125%; top: 2.21%; width: 89.75%; height: 95.58%; object-fit: fill; border-radius: 13% / 6%; }
.dynamic-island { position: absolute; left: 35.875%; top: 3.56%; width: 28.125%; height: 4.11%; border-radius: 999px; background: #000; }
