/* Casa Vezzo - Parisian Boutique Theme */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-ivory: #FAF7F2;
  --text-charcoal: #1E1B16;
  --text-muted: #5C5850;
  --gold-accent: #B08D57;
  --gold-hover: #987848;
  --sage-secondary: #7D8C6F;
  --sage-light: #EBF0E6;
  --white: #FFFFFF;
  --border-light: #E8E2D7;
  --card-shadow: 0 8px 24px rgba(30, 27, 22, 0.06);
  --radius-card: 16px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-font {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

.app-container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 40px;
}

.desktop-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--border-light);
}

.brand-logo {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-charcoal);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 16px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-accent);
}

.french-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-accent);
}

.btn-primary {
  background-color: var(--gold-accent);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(176, 141, 87, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-charcoal);
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn-secondary:hover {
  border-color: var(--gold-accent);
}

.sub-caption {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  opacity: 0.9;
  margin-top: 2px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.tab-group {
  display: flex;
  background: #EFE9E0;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 4px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--white);
  color: var(--text-charcoal);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.credit-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--sage-light);
  color: var(--sage-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.loading-box {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.shimmer {
  height: 280px;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(90deg, #F0EAE1 0%, #FAF7F2 50%, #F0EAE1 100%);
  background-size: 200% 100%;
  animation: shimmerAnim 1.8s infinite;
  margin-bottom: 16px;
}

@keyframes shimmerAnim {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.result-display {
  display: none;
}

.result-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-bottom: 16px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-card);
  max-width: 420px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
}