:root {
  color-scheme: light;
  --primary: #4f6ef4;
  --primary-dark: #3f53c9;
  --accent: #6f4bd2;
  --surface: #ffffff;
  --surface-alt: #f4f8ff;
  --text: #1f2a44;
  --muted: #5a688e;
  --border: #dbe3f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(55, 81, 170, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: white;
  transition: opacity 0.25s ease;
}

.nav a:hover {
  opacity: 0.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(79, 110, 244, 0.2);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.82;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  max-width: 650px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 20px 55px rgba(13, 35, 99, 0.18);
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-highlights li {
  padding-left: 1.1rem;
  position: relative;
}

.hero-highlights li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #fff;
}

.section {
  background: var(--surface);
  border-radius: 28px;
  padding: 3rem 2rem;
  margin: 2rem 0;
  box-shadow: 0 18px 60px rgba(57, 80, 122, 0.08);
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  font-size: 2rem;
  color: #2b3c78;
  margin-bottom: 0.6rem;
}

.section-heading p {
  color: var(--muted);
}

.dashboard-grid,
.meeting-toolbar,
.upload-box,
.wardrobe-items,
.meeting-results,
.outfit-result,
.saved-outfits {
  width: 100%;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.5rem;
}

.dashboard-card,
.meeting-card,
.wardrobe-item,
.outfit-card,
.saved-outfit-card,
.weather-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 14px 40px rgba(104, 123, 173, 0.08);
}

.dashboard-card h3,
.meeting-card h3,
.saved-outfit-card h3 {
  margin-bottom: 0.75rem;
  color: #25305b;
}

.meeting-countdown {
  margin-top: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}

.weather-card button {
  margin-top: 1rem;
}

.meeting-form,
.outfit-form,
.outfit-controls {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.meeting-form input,
.meeting-form select,
.outfit-controls select,
.meeting-toolbar input,
.meeting-toolbar select {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fafbff;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.meeting-form input:focus,
.meeting-form select:focus,
.outfit-controls select:focus,
.meeting-toolbar input:focus,
.meeting-toolbar select:focus {
  outline: none;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.meeting-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.toolbar-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  flex: 1;
}

.meeting-results {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.meeting-card {
  position: relative;
}

.meeting-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.meeting-badge {
  background: var(--primary);
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.meeting-card p,
.meeting-card li,
.wardrobe-item p,
.outfit-piece p,
.saved-outfit-card p {
  color: #4a5578;
}

.meeting-card ul {
  list-style: disc inside;
  margin: 0.8rem 0 0;
  color: #4a5578;
}

.meeting-map {
  margin-top: 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid #e6ecff;
}

.meeting-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

.meeting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.wardrobe-items,
.saved-outfits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.upload-box {
  border: 3px dashed rgba(79, 110, 244, 0.35);
  border-radius: 24px;
  padding: 2.8rem;
  background: var(--surface-alt);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.upload-box:hover,
.upload-box.drag-over {
  background: #e8eeff;
  border-color: rgba(79, 110, 244, 0.75);
  transform: translateY(-2px);
}

.upload-box p {
  color: #3b4a7d;
  font-weight: 700;
}

.wardrobe-item,
.outfit-piece,
.saved-outfit-card {
  background: #fbfcff;
  border-radius: 22px;
  overflow: hidden;
}

.wardrobe-item img,
.outfit-piece img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.wardrobe-item-content,
.saved-outfit-content {
  padding: 1rem;
}

.item-category,
.outfit-tag,
.saved-outfit-type {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: #eef2ff;
  color: #3b4a7d;
}

.outfit-result {
  margin-top: 1.8rem;
}

.outfit-card {
  padding: 1.7rem;
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.outfit-piece {
  display: grid;
  gap: 0.85rem;
}

.outfit-advice {
  margin-top: 0.75rem;
  color: #2e3c72;
}

.empty-state {
  color: #5a6a8e;
  padding: 1rem;
  text-align: center;
  background: #eef3ff;
  border-radius: 16px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.feature-list li {
  padding: 1rem 1.2rem;
  background: #f4f8ff;
  border-radius: 16px;
  color: #42506a;
}

.footer {
  background: #1f294b;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 3rem 0 4rem;
  }

  .section {
    padding: 2rem 1.2rem;
  }

  .meeting-form input,
  .meeting-form select,
  .outfit-controls select,
  .meeting-toolbar input,
  .meeting-toolbar select {
    font-size: 0.95rem;
  }

  .meeting-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
