/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  letter-spacing: -0.04em; /* -4% letter spacing */
}

/* Body styles - change background color here */
body {
  background-color: #f9f9f9;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

/* Main container - controls overall page width */
.container {
  max-width: 512px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  margin-top: 120px;
}

/* Header section - contains logo */
header {
  padding: 30px 0;
}

/* Logo styling - change font size and weight here */
.logo {
  position: relative;
}

/* Registered trademark symbol */
.logo::after {
  content: "®";
  position: absolute;
  top: 0;
  font-size: 14px;
  padding-left: 8px;
}

/* Hero section - main content area */
.hero {
  padding: 50px 0;
  text-align: left;
}

/* Main headline - adjust size and spacing here */
.hero h1 {
  font-size: 42px;
  margin-bottom: 40px;
  max-width: 512px;
  line-height: 1.2;
  font-weight: 400;
}

/* Highlighted text in headline - change color here */
.hero h1 .highlight {
  color: black;
}

/* Description paragraph - adjust size and spacing */
.description {
  max-width: 512px;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 24px;
}

/* Value proposition - adjust size and spacing */
.value-prop {
  max-width: 512px;
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 24px;
}

/* CTA buttons container - controls button layout */
.cta-section {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 120px;
  flex-wrap: wrap;
}

/* Base button styles - shared by all buttons */
.cta-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

/* Button jiggle animation on click */
.cta-btn:active {
  transform: scale(0.95) rotate(-1deg);
}

/* Primary button - dark background with white text */
.primary-btn {
  background-color: #1e1e1e;
  color: white;
  border: none;
}

/* Spacing for the arrow icon */
.primary-btn svg {
  margin-left: 8px;
}

/* Secondary button - white background with border */
.secondary-btn {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
}

/* Project showcase boxes container */
.grey-boxes {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 512px;
  margin-bottom: 60px;
}

/* Individual project box - updated with new colors and border */
.grey-box {
  height: 260px;
  background-color: #f2f2f2;
  border-radius: 8px;
  border: 1px solid #eaeaea;
}

/* Responsive styles */
@media (max-width: 512px) {
  /* Keep centered layout but adjust for mobile */
  body {
    align-items: center;
  }

  .container {
    padding: 40px 20px;
  }

  /* Adjust font sizes for mobile */
  .hero h1 {
    font-size: 32px;
    max-width: 100%;
  }

  .description,
  .value-prop {
    max-width: 100%;
  }

  /* Ensure buttons stack nicely on small screens */
  .cta-section {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  /* Make grey boxes responsive */
  .grey-boxes {
    max-width: 100%;
  }
}

/* Tablet responsive styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1,
  .description,
  .value-prop,
  .grey-boxes {
    max-width: 80%;
  }
}

/* Large screen adjustments */
@media (min-width: 1500px) {
  .container {
    max-width: 512px;
  }
}

/* Print styles for better document printing */
@media print {
  body {
    display: block;
  }

  .cta-section,
  .grey-boxes {
    break-inside: avoid;
  }
}
