:root {
  --terracotta: #C4704A;
  --peach: #E8A87C;
  --cream: #FFF5E4;
  --espresso: #3C2415;
  --sage: #8FA98D;
  --white: #FFFFFF;
  --bg-gradient: linear-gradient(135deg, var(--white) 0%, var(--cream) 60%, rgba(232, 168, 124, 0.3) 100%);
  --shadow: 0 4px 6px rgba(60, 36, 21, 0.1);
  --shadow-hover: 0 10px 15px rgba(60, 36, 21, 0.15);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--espresso);
  background: var(--bg-gradient);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

header {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(60, 36, 21, 0.05);
}

.logo img {
  height: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--espresso);
  font-weight: 500;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.btn {
  display: inline-block;
  background-color: var(--terracotta);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  background-color: #b0623e;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--sage);
}

.btn-secondary:hover {
  background-color: #7d967b;
}

main {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 112, 74, 0.2);
}

/* Landing Page */
main.landing-main-centered {
  padding: 0;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.centered-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  width: 100%;
  max-width: 800px;
}

.logo-wrapper {
  margin-bottom: 2rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(60, 36, 21, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-large {
  width: 200px;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .hero-logo-large {
    width: 280px;
  }
  .logo-wrapper {
    padding: 3.5rem;
  }
}

.hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 700px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 3.5rem;
  }
}

.hero-coming-soon {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--espresso);
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  display: block;
}

.waitlist-form-centered {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

@media (min-width: 480px) {
  .waitlist-form-centered {
    flex-direction: row;
    gap: 0;
  }
}

.waitlist-form-centered .waitlist-input {
  flex: 1;
  padding: 1.25rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  text-align: center;
  font-size: 1.1rem;
}

@media (min-width: 480px) {
  .waitlist-form-centered .waitlist-input {
    text-align: left;
    border-radius: 50px 0 0 50px;
    border-right: none;
  }
}

.waitlist-form-centered .btn {
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(196, 112, 74, 0.3);
}

@media (min-width: 480px) {
  .waitlist-form-centered .btn {
    border-radius: 0 50px 50px 0;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Collection Tabs */
.collection-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(196, 112, 74, 0.1);
  overflow-x: auto;
}

.collection-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--espresso);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}

.tab-emoji {
  font-size: 1.4em;
}

.collection-tab:hover {
  background: rgba(196, 112, 74, 0.08);
}

.collection-tab.active {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(196, 112, 74, 0.3);
}



.tab-label {
  font-weight: 600;
}

/* Collection Section Headers */
.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 245, 228, 0.8), rgba(232, 168, 124, 0.15));
  border-radius: 16px;
  border: 1px solid rgba(196, 112, 74, 0.12);
}

.collection-title {
  font-size: 1.6rem;
  color: var(--terracotta);
  margin-bottom: 0.25rem;
}

.collection-desc {
  font-size: 0.95rem;
  color: #777;
  margin: 0;
  max-width: 500px;
}

.collection-progress {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sage);
  background: rgba(143, 169, 141, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.collection-section {
  animation: fadeIn 0.3s ease-out;
}

/* Survey Grid */
.survey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 2.5rem;
}

.design-card {
  display: flex;
  flex-direction: column;
}

.design-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.design-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.badge {
  background-color: var(--sage);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.badge.new {
  background-color: var(--terracotta);
}

/* Star Rating */
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin: 1rem 0;
}

.rating input {
  display: none;
}

.rating label {
  cursor: pointer;
  font-size: 2rem;
  color: #ddd;
  transition: color 0.2s;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
  color: #ffc107;
}

/* Admin */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f9f9f9;
  font-weight: 600;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.hidden { display: none !important; }
