:root {
  --bg: #FFF7ED;
  --primary: #1F2933;
  --accent: #FF6B5A;
  --secondary: #F3E8D8;
  --mint: #B8F2D8;
  --yellow: #FFD166;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(31, 41, 51, 0.08);
  --shadow-hover: 0 20px 40px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--bg);
  color: var(--primary);
  margin: 0;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 247, 237, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(243, 232, 216, 0.8);
  z-index: 100;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.1);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #FF5244;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 107, 90, 0.2);
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--primary);
  animation: slideInLeft 0.8s ease-out;
}

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

.hero-subtitle {
  font-size: 18px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
  animation: slideInLeft 0.8s ease-out 0.1s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

/* Buttons */
.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.btn-primary:hover {
  background: #FF5244;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 90, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
  width: 100%;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 380px;
  animation: slideInRight 0.8s ease-out;
}

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

.space-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.space-icon {
  font-size: 32px;
}

.space-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.space-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

.space-price {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.space-card-1 {
  top: 0;
  left: 0;
  animation: float 3s ease-in-out infinite;
}

.space-card-2 {
  top: 100px;
  right: 40px;
  animation: float 3s ease-in-out 0.5s infinite;
}

.space-card-3 {
  bottom: 20px;
  left: 60px;
  animation: float 3s ease-in-out 1s infinite;
}

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

/* Hero Stats */
/* REMOVED - hero stats section removed */

/* Search Section */
/* REMOVED - search section removed from landing page */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeIn 0.8s ease-out;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--primary);
}

.section-header p {
  font-size: 18px;
  color: #64748B;
  margin: 0;
}

/* How It Works */
/* REMOVED - how it works section removed from landing page */

/* For Brands & Owners */
/* REMOVED - for brands and for owners sections removed from landing page */

/* Featured Types */
/* REMOVED - featured space types section removed, icons moved to hero section */

/* Waitlist Section */
.waitlist {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8A7A 100%);
  padding: 120px 24px;
  margin-top: 120px;
}

.waitlist-container {
  max-width: 600px;
  margin: 0 auto;
}

.waitlist-header {
  text-align: center;
  margin-bottom: 48px;
  color: white;
  animation: slideUp 0.8s ease-out;
}

.waitlist-header h2 {
  font-size: 42px;
  margin: 0 0 16px;
  color: white;
  line-height: 1.2;
}

.waitlist-header p {
  font-size: 18px;
  margin: 0;
  opacity: 0.95;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUp 0.8s ease-out 0.1s both;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row:last-of-type {
  grid-template-columns: 1fr 1fr;
}

.form-row-single {
  grid-template-columns: 1fr;
  max-width: 300px;
  margin: 0 auto;
}

.waitlist-form input,
.waitlist-form select {
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Success Message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(31, 41, 51, 0.2);
  text-align: center;
  z-index: 1000;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 400px;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.success-message.hidden {
  display: none;
}

.success-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-icon {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
}

.success-message h3 {
  font-size: 24px;
  margin: 0;
  color: var(--primary);
}

.success-message p {
  font-size: 16px;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 80px 24px 24px;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
}

.footer-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 24px 40px;
    gap: 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-visual {
    height: 200px;
    animation: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: static;
  }

  .space-card {
    width: 80%;
    position: static;
    animation: none !important;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Ensure any last-of-type two-column override stacks on small screens */
  .form-row:last-of-type {
    grid-template-columns: 1fr;
  }

  /* Make inputs take full width when stacked */
  .form-row input,
  .form-row select {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-link {
    font-size: 12px;
  }

  .nav-link:first-child {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
  }
}
