/* 🌟 Final World-Class CSS — VyapaarBuddy (2025) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #fa709a, #fee140);
  color: #1e1e1e;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ✨ Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom, #fd6e6a, #ffb347);
  color: #1e1e1e;
  position: relative;
  z-index: 1;
  border-radius: 0 0 3rem 3rem;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: #2e2e2e;
}

/* 🌈 Main Content Area */
.content-generator {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* 📦 Form & Output Cards */
.form-box,
.output-box {
  flex: 1 1 400px;
  background: #fff4f2;
  border-radius: 20px;
  padding: 2.5rem;
  border: 3px solid #ff69b4;
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.25);
  transition: 0.3s ease;
}

.form-box:hover,
.output-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(255, 20, 147, 0.35);
}

/* 🧾 Form Styling */
.form-box label {
  display: block;
  font-weight: 600;
  margin-top: 1.5rem;
  color: #c2185b;
}

.form-box input,
.form-box select {
  width: 100%;
  padding: 0.9rem;
  border-radius: 14px;
  background: #fff0fa;
  border: 2px solid #f48fb1;
  color: #1e1e1e;
  margin-top: 0.5rem;
  transition: border-color 0.2s ease;
}

.form-box input:focus,
.form-box select:focus {
  outline: none;
  border-color: #e91e63;
  box-shadow: 0 0 8px rgba(233, 30, 99, 0.4);
}

.form-box button {
  margin-top: 2rem;
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(to right, #ec407a, #f06292);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-box button:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #d81b60, #f48fb1);
}

/* 📤 Output */
.output-box h3 {
  margin-bottom: 1rem;
  color: #d81b60;
  font-size: 1.5rem;
}

.output-box p {
  font-size: 1.15rem;
  color: #4a148c;
  min-height: 5rem;
  margin-bottom: 1.2rem;
}

.output-box button {
  background: linear-gradient(to right, #42a5f5, #80d8ff);
  color: white;
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px rgba(33, 150, 243, 0.3);
}

.output-box button:hover {
  background: linear-gradient(to right, #0288d1, #26c6da);
  transform: scale(1.05);
}

/* 🤖 Assistant Image */
.assistant-img {
  max-width: 240px;
  margin-top: 2rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(233, 30, 99, 0.3));
  transition: transform 0.3s ease;
}

.assistant-img:hover {
  transform: scale(1.08) rotate(-2deg);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* 📱 Mobile-First Responsiveness */
@media (max-width: 768px) {
  .content-generator {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .form-box,
  .output-box {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* 🦶 Footer */
footer {
  background: linear-gradient(to right, #ff758c, #ff7eb3);
  color: #4a148c;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
  border-top: 3px solid #ec407a;
  box-shadow: 0 -4px 15px rgba(255, 105, 180, 0.2);
}

footer a {
  color: #880e4f;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
  color: #f50057;
}
