:root {
  --green: #2e3d34;
  --gold: #b58a52;
  --cream: #f7f5f0;
  --beige: #eadfcb;
  --dark: #1f2a23;
  --muted: #68736b;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Poppins, Arial, sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at 70% 20%, rgba(181,138,82,.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(46,61,52,.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7f5f0 55%, #eadfcb 100%);
  overflow-x: hidden;
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: auto;
  padding: 50px 34px;
}

.content {
  animation: fadeLeft .9s ease both;
}

.logo {
  width: min(460px, 100%);
  margin-bottom: 28px;
}

.label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(234,223,203,.8);
  color: var(--green);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.label span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 1.5s infinite;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  color: var(--green);
  margin: 22px 0 18px;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.features div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(181,138,82,.22);
  box-shadow: 0 20px 50px rgba(46,61,52,.08);
}

.features strong {
  display: block;
  color: var(--green);
  margin-bottom: 8px;
  font-size: 18px;
}

.features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.notify {
  display: flex;
  max-width: 540px;
  padding: 8px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 18px 40px rgba(46,61,52,.1);
}

.notify input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 18px;
  font-size: 15px;
  background: transparent;
}

.notify button,
.stores button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 24px;
  background: var(--green);
  color: white;
  font-weight: 800;
}

.stores {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.stores button {
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(46,61,52,.2);
}

.phone-stage {
  position: relative;
  min-height: 720px;
  animation: fadeRight .9s ease both;
}

.phone {
  position: absolute;
  width: 320px;
  min-height: 640px;
  border-radius: 46px;
  background: #fff;
  border: 10px solid #202722;
  box-shadow: 0 35px 90px rgba(46,61,52,.25);
  overflow: hidden;
}

.phone-main {
  left: 110px;
  top: 20px;
  z-index: 3;
  animation: floatPhone 5s ease-in-out infinite;
}

.phone-back {
  right: 30px;
  top: 110px;
  z-index: 1;
  transform: rotate(7deg);
  opacity: .95;
  animation: floatPhone 6s ease-in-out infinite reverse;
}

.phone-top {
  width: 110px;
  height: 22px;
  margin: 0 auto 12px;
  border-radius: 0 0 18px 18px;
  background: #202722;
}

.app-header {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green);
  font-size: 24px;
}

.stories {
  display: flex;
  gap: 10px;
  padding: 0 18px 18px;
}

.stories span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--beige);
}

.post-card {
  margin: 0 16px;
  border-radius: 28px;
  overflow: hidden;
  background: #faf8f3;
  border: 1px solid #eee4d7;
}

.post-image {
  height: 260px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eadfcb, #ffffff);
}

.sofa {
  font-size: 90px;
  animation: sofaPop 2.8s ease-in-out infinite;
}

.post-actions {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
}

.post-card p {
  padding: 0 14px 18px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.nav {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background: rgba(247,245,240,.95);
}

.plus {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 26px;
}

.category-title {
  padding: 38px 20px 20px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green);
  font-size: 26px;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px;
}

.category-grid div {
  height: 95px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #f7f5f0;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 16px 20px;
  border-radius: 22px;
  background: white;
  color: var(--green);
  font-weight: 800;
  box-shadow: 0 20px 50px rgba(46,61,52,.16);
  animation: floatCard 4s ease-in-out infinite;
}

.card-one {
  left: 0;
  top: 170px;
}

.card-two {
  right: 0;
  bottom: 140px;
  animation-delay: 1s;
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.75); }
}

@keyframes floatPhone {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes sofaPop {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 690px;
  }

  .phone-main {
    left: 50%;
    transform: translateX(-50%);
  }

  .phone-back {
    display: none;
  }
}

@media (max-width: 620px) {
  .layout {
    padding: 28px 18px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .notify {
    display: block;
    border-radius: 28px;
  }

  .notify input {
    width: 100%;
    padding: 16px;
  }

  .notify button {
    width: 100%;
  }

  .phone {
    width: 290px;
    min-height: 610px;
  }

  .phone-main {
    left: 50%;
    translate: -50% 0;
  }

  .floating-card {
    display: none;
  }
}
