/* AromaPulse Landing Page Styles */

:root {
  --sage-green: #7AA992;
  --lavender: #BCA6E0;
  --cream: #F3EDEA;
  --dark-slate: #263238;
  --medium-gray: #55606A;
  --light-gray: #E6ECEB;
  --soft-pink: #FFE5EC;
  --mint: #B8E6D5;
}

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, var(--cream) 0%, var(--soft-pink) 50%, var(--mint) 100%);
  min-height: 100vh;
  color: var(--dark-slate);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(188, 166, 224, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
}

/* Card Styles */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sage-green), var(--lavender));
  color: white;
  box-shadow: 0 10px 30px rgba(122, 169, 146, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(122, 169, 146, 0.4);
}

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

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

/* Input Styles */
.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--light-gray);
  border-radius: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--sage-green);
  box-shadow: 0 0 0 3px rgba(122, 169, 146, 0.1);
}

/* Selection Cards */
.selection-card {
  background: white;
  border: 3px solid transparent;
  border-radius: 1.5rem;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.selection-card:hover {
  border-color: var(--sage-green);
  transform: scale(1.02);
}

.selection-card.active {
  border-color: var(--lavender);
  background: linear-gradient(135deg, rgba(188, 166, 224, 0.1), rgba(122, 169, 146, 0.1));
  box-shadow: 0 10px 30px rgba(188, 166, 224, 0.2);
}

.selection-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Interest Tags */
.interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.interest-tag:hover {
  border-color: var(--sage-green);
  background: rgba(122, 169, 146, 0.05);
}

.interest-tag.selected {
  background: linear-gradient(135deg, var(--sage-green), var(--lavender));
  color: white;
  border-color: transparent;
}

/* Success Animation */
.success-icon {
  font-size: 5rem;
  animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Workshop Cards */
.workshop-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--light-gray);
  transition: all 0.3s ease;
  cursor: pointer;
}

.workshop-card:hover {
  border-color: var(--lavender);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Responsive Design - Mobile First Approach
   ============================================ */

/* Mobile Devices (< 640px) */
@media (max-width: 640px) {
  /* Hero Section */
  .hero {
    padding: 1rem;
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .hero-content {
    padding: 0;
    max-width: 100%;
  }
  
  /* Card */
  .card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    margin: 0;
  }
  
  /* Typography */
  .card h1 {
    font-size: 1.75rem !important;
    line-height: 1.3;
    margin-bottom: 1rem !important;
  }
  
  .card p {
    font-size: 1rem !important;
  }
  
  /* Form Inputs */
  .form-input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    padding: 0.75rem 1rem !important;
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  /* Selection Cards - Stack vertically on mobile */
  .selection-card {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .selection-card .icon {
    font-size: 2rem !important;
    margin-bottom: 0.5rem;
  }
  
  /* Buttons */
  button[type="submit"],
  .btn {
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  /* Interest Tags */
  .interest-tag {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
  }
  
  /* Grid Layouts - Single column on mobile */
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  
  /* Spacing */
  .space-y-4 > * + * {
    margin-top: 1rem !important;
  }
  
  .mb-12 {
    margin-bottom: 2rem !important;
  }
  
  /* Success Icon */
  .success-icon {
    font-size: 3rem !important;
  }
  
  /* Workshop Cards */
  .workshop-card {
    padding: 1rem;
  }
}

/* Tablet Devices (640px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero {
    padding: 1.5rem;
  }
  
  .card {
    padding: 2.5rem 2rem;
  }
  
  .selection-card {
    padding: 1.75rem;
  }
  
  .card h1 {
    font-size: 2.25rem !important;
  }
}

/* Desktop (> 1024px) - Default styles apply */
@media (min-width: 1025px) {
  .hero {
    padding: 2rem;
  }
  
  .card {
    padding: 3rem;
  }
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

/* Hidden utility */
.hidden {
  display: none !important;
}
