/* ===== CSS Variables - Organic Palette ===== */
:root {
  --sage: #5B7C5B;
  --sage-light: #7A9B7A;
  --sage-dark: #3D5A3D;
  --forest: #2D4A2D;
  --cream: #F7F4EF;
  --cream-warm: #EFE9E0;
  --wheat: #E8DCC8;
  --terracotta: #C47B5B;
  --terracotta-hover: #B86A4A;
  --earth: #8B7355;
  --charcoal: #2C2C2C;
  --shadow-soft: rgba(45, 74, 45, 0.12);
  --shadow-medium: rgba(45, 74, 45, 0.2);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-warm) 50%, var(--wheat) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== Noise Texture Overlay ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== Organic Blob Backgrounds ===== */
.blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--wheat) 0%, transparent 70%);
  bottom: -5%;
  left: -8%;
  animation-delay: -5s;
}

.blob-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--terracotta) 0%, transparent 70%);
  top: 40%;
  left: 20%;
  opacity: 0.3;
  animation-delay: -10s;
}

.blob-4 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  bottom: 20%;
  right: 15%;
  opacity: 0.35;
  animation-delay: -15s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.02); }
}

/* ===== Decorative Leaves ===== */
.organic-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.leaf {
  position: absolute;
  width: 60px;
  height: 120px;
  color: var(--sage-dark);
}

.leaf-1 {
  top: 15%;
  left: 8%;
  transform: rotate(-25deg);
  animation: leafSway 8s ease-in-out infinite;
}

.leaf-2 {
  bottom: 20%;
  right: 10%;
  width: 45px;
  height: 90px;
  transform: rotate(15deg);
  animation: leafSway 10s ease-in-out infinite reverse;
  animation-delay: -3s;
}

@keyframes leafSway {
  0%, 100% { transform: rotate(-25deg) translateY(0); }
  50% { transform: rotate(-20deg) translateY(-10px); }
}

/* ===== Main Content ===== */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.logo-mark {
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
}

.logo-icon {
  font-size: 3rem;
  display: inline-block;
  animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.brand-buyzo {
  color: var(--forest);
}

.brand-mart {
  color: var(--sage);
  font-style: italic;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 500;
  color: var(--earth);
  margin-bottom: 1.5rem;
  min-height: 2rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--terracotta);
}

@keyframes blink {
  50% { opacity: 0; }
}

.description {
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* ===== Notify Form ===== */
.notify-section {
  width: 100%;
  max-width: 420px;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

@media (min-width: 480px) {
  .input-wrapper {
    flex-direction: row;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 0.35rem;
    box-shadow: 0 4px 24px var(--shadow-soft);
    border: 1px solid rgba(91, 124, 91, 0.15);
  }
}

.notify-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(91, 124, 91, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  transition: var(--transition-smooth);
}

.notify-form input::placeholder {
  color: var(--earth);
  opacity: 0.7;
}

.notify-form input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(91, 124, 91, 0.2);
}

.notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-hover) 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(196, 123, 91, 0.35);
}

.notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 123, 91, 0.45);
}

.notify-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform var(--transition-smooth);
}

.notify-btn:hover .btn-icon {
  transform: translateX(4px);
}

.form-note {
  font-size: 0.85rem;
  color: var(--earth);
  opacity: 0.8;
  margin-top: 0.75rem;
}

/* ===== Feature Cards ===== */
.features-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 1s both;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(91, 124, 91, 0.12);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--forest);
  cursor: default;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-soft);
  border-color: rgba(91, 124, 91, 0.2);
}

.feature-icon {
  font-size: 1.75rem;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 10;
  padding: 2rem;
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
  color: var(--earth);
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-link {
  font-size: 0.9rem;
  color: var(--sage);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--terracotta);
  text-decoration: underline;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Success State ===== */
.notify-form.success .input-wrapper {
  animation: successPulse 0.6s ease-out;
}

.notify-form.success input,
.notify-form.success .notify-btn {
  display: none;
}

.notify-form .success-message {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(91, 124, 91, 0.15);
  border-radius: 12px;
  color: var(--forest);
  font-weight: 500;
  width: 100%;
  text-align: center;
}

.notify-form.success .success-message {
  display: block;
}

.notify-form.success .input-wrapper {
  justify-content: center;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
