:root {
  --ink: #101414;
  --sand: #f6efe8;
  --amber: #f2b14a;
  --teal: #1a7f78;
  --slate: #1b2b2a;
  --white: #fffaf5;
  --shadow: 0 24px 60px rgba(16, 20, 20, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff7ec 0%, #f3e6d8 38%, #e6d6c6 100%);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.45;
  z-index: 0;
}

.orb-a {
  background: radial-gradient(circle, rgba(26, 127, 120, 0.45), rgba(26, 127, 120, 0));
  top: -120px;
  right: -120px;
}

.orb-b {
  background: radial-gradient(circle, rgba(242, 177, 74, 0.5), rgba(242, 177, 74, 0));
  bottom: 120px;
  left: -120px;
}

.hero {
  position: relative;
  padding: 40px 6vw 80px;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.tag {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--teal);
  margin-bottom: 16px;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

h1 span {
  color: var(--teal);
}

.lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

button {
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.primary {
  background: var(--ink);
  color: var(--white);
}

.ghost {
  background: transparent;
  border: 1px solid rgba(16, 20, 20, 0.2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.stats strong {
  font-size: 1.2rem;
}

.stats span {
  display: block;
  color: rgba(16, 20, 20, 0.65);
  font-size: 0.85rem;
}

.hero-card {
  position: relative;
  display: grid;
  gap: 20px;
  justify-items: center;
}

.phone {
  width: min(340px, 80vw);
  background: var(--slate);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
}

.phone-screen {
  background: linear-gradient(160deg, #1f3b38, #0f1f1e);
  border-radius: 30px;
  padding: 20px;
  min-height: 420px;
  color: var(--white);
  display: grid;
  gap: 18px;
}

.phone-notch {
  position: absolute;
  width: 120px;
  height: 18px;
  background: #0a0f0f;
  border-radius: 0 0 12px 12px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.capture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.capture-grid span {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 12px;
  text-align: center;
}

.shot {
  position: relative;
  border-radius: 20px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.shot-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 60%);
  animation: pulse 6s ease-in-out infinite;
}

.shot p {
  position: relative;
  font-size: 0.95rem;
  z-index: 1;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dial {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.bars {
  display: flex;
  gap: 8px;
}

.bars span {
  width: 6px;
  height: 26px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.badge {
  background: var(--white);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.badge span {
  display: block;
  font-size: 0.8rem;
  color: rgba(16, 20, 20, 0.6);
}

.section {
  padding: 80px 6vw;
}

.section-title {
  max-width: 560px;
  margin-bottom: 40px;
}

.section-title p {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--teal);
  margin-bottom: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.cards article {
  background: var(--white);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.tools {
  background: #f9f2ea;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.tool {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(140deg, #fff4e4, #f3d7b7);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.frame {
  min-height: 220px;
  border-radius: 28px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

.frame span {
  position: relative;
  z-index: 1;
}

.one {
  background-image: url("assets/images/pixabay-girl.jpg");
}

.two {
  background-image: url("assets/images/pixabay-sunset.jpg");
}

.three {
  background-image: url("assets/images/pexels-kursatakkynl-8975329.jpg");
}

.four {
  background-image: url("assets/images/pexels-emareynares-17721885.jpg");
  color: var(--white);
}

.tips {
  background: var(--white);
}

.tip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.tip-list li {
  background: #f3e6d8;
  padding: 20px;
  border-radius: 20px;
  display: grid;
  gap: 10px;
}

.tip-list strong {
  font-size: 1.05rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.compare-grid div {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.compare-grid ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
  color: rgba(16, 20, 20, 0.7);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--slate);
  color: var(--white);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
}

.credits {
  font-size: 0.85rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 28px;
  }

  .phone-screen {
    min-height: 360px;
  }
}
