:root {
  color-scheme: dark;
  --bg-gradient: radial-gradient(circle at 20% 20%, rgba(255, 114, 178, 0.45), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(143, 87, 236, 0.5), transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(255, 84, 172, 0.5), transparent 60%),
    #150018;
  --glass: rgba(33, 8, 44, 0.7);
  --glass-strong: rgba(33, 8, 44, 0.92);
  --accent: #ff4ea3;
  --accent-strong: #ff74c8;
  --accent-soft: #ff99d6;
  --purple: #9a4dff;
  --text: #f8e9ff;
  --text-muted: #d4c5e8;
  --border: rgba(255, 255, 255, 0.08);
  --success: #48e7b1;
  --error: #ff6b8a;
  --info: #7c9dff;
  font-size: 62.5%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-gradient);
  min-height: 100vh;
  overflow-x: hidden;
}

body.preload * {
  transition: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  background: var(--bg-gradient);
  z-index: -3;
  filter: blur(4px);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mix-blend-mode: soft-light;
  opacity: 0;
  animation: fadeIn 2s ease forwards 1s;
  z-index: -2;
}

.site-header {
  padding: 2.4rem 6vw;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  padding: 1.2rem 2.4rem;
  box-shadow: 0 24px 70px rgba(17, 0, 32, 0.35);
}

.logo {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-greeting {
  color: var(--text-muted);
  font-size: 1.4rem;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.3rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 44px rgba(255, 113, 188, 0.35);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn.filled {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #100010;
  box-shadow: 0 18px 40px rgba(255, 113, 188, 0.35);
}

.btn.outline {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn.ghost {
  color: var(--accent-soft);
  background: transparent;
  border-color: rgba(255, 78, 163, 0.35);
}

.btn.full {
  width: 100%;
}

.content {
  padding: 0 6vw 6rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 6rem;
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(4rem, 6vw, 6rem);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--text-muted);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 3rem;
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 240px;
  height: 240px;
  background: rgba(255, 118, 189, 0.55);
  top: 10%;
  left: 10%;
}

.orb-2 {
  width: 180px;
  height: 180px;
  background: rgba(151, 89, 255, 0.6);
  top: 40%;
  right: 12%;
  animation-delay: -2s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 74, 205, 0.4);
  bottom: 5%;
  left: 35%;
  animation-delay: -4s;
}

.card-preview {
  position: absolute;
  inset: 12% 10% 10% 18%;
  background: linear-gradient(160deg, rgba(34, 0, 37, 0.85), rgba(14, 0, 23, 0.85));
  border-radius: 32px;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(8, 0, 18, 0.55);
  animation: popIn 1.1s ease forwards;
}

.card-preview .eyebrow {
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  color: var(--accent-soft);
}

.card-preview h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin: 0;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.pill {
  padding: 0.4rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 2.8rem;
  border-radius: 28px;
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 18px 42px rgba(12, 1, 22, 0.4);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
}

.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.flash-container {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.flash {
  padding: 1.4rem 2rem;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.5s ease forwards;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.flash-success {
  background: rgba(72, 231, 177, 0.18);
  color: var(--success);
}

.flash-error {
  background: rgba(255, 107, 138, 0.18);
  color: var(--error);
}

.flash-info {
  background: rgba(124, 157, 255, 0.18);
  color: var(--info);
}

.flash.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--glass-strong);
  border-radius: 32px;
  padding: 3.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(12, 0, 24, 0.55);
  animation: fadeIn 0.8s ease forwards;
}

.auth-card h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.auth-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.8rem;
}

.form {
  display: grid;
  gap: 2rem;
}

.form-field {
  display: grid;
  gap: 0.6rem;
}

.form label {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.form input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 0, 24, 0.65);
  color: var(--text);
  font-size: 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form input:focus {
  border-color: rgba(255, 115, 200, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 115, 200, 0.15);
  outline: none;
}

.form input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 107, 138, 0.6);
}

.hint {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
}

.auth-switch {
  text-align: center;
  margin-top: 2.4rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent-soft);
  font-weight: 600;
}

.dashboard {
  display: grid;
  gap: 3.4rem;
}

.dashboard-hero {
  background: linear-gradient(120deg, rgba(50, 0, 61, 0.92), rgba(16, 0, 35, 0.92));
  border-radius: 32px;
  padding: 3.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(12, 0, 24, 0.55);
}

.dashboard-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.2rem, 4vw, 4.4rem);
  margin-bottom: 1.2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
}

.dashboard-card {
  background: var(--glass);
  border-radius: 28px;
  padding: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(12, 0, 24, 0.45);
  transition: transform 0.35s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
}

.dashboard-card ul {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
  display: grid;
  gap: 0.9rem;
  color: var(--text-muted);
}

.dashboard-card.highlight {
  border-color: rgba(255, 113, 188, 0.45);
  box-shadow: 0 28px 80px rgba(255, 113, 188, 0.25);
}

.site-footer {
  padding: 3rem 6vw 4rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.3rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.05);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 1.8rem 1.8rem 0;
  }

  .nav {
    flex-direction: column;
    gap: 1.4rem;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .content {
    padding: 0 1.8rem 5rem;
  }

  .auth-card {
    padding: 2.4rem;
  }
}

/* Profile Styles */
.profiles-section {
  margin-top: 4rem;
}

.profiles-section h2 {
  font-size: 2.4rem;
  margin-bottom: 2.4rem;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.4rem;
  margin-bottom: 3rem;
}

.profile-card {
  background: var(--glass);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(255, 113, 188, 0.25);
}

.profile-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: rgba(255, 113, 188, 0.1);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-card:hover .profile-image img {
  transform: scale(1.05);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 113, 188, 0.1);
  color: var(--text-muted);
  font-size: 1.4rem;
}

.profile-info {
  padding: 2rem;
}

.profile-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--accent-strong);
}

.profile-city {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.profile-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.profile-stats span {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 113, 188, 0.1);
  border-radius: 8px;
}

.profile-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.profile-services {
  margin-bottom: 1.2rem;
}

.service-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(154, 77, 255, 0.2);
  border-radius: 12px;
  font-size: 1.2rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--purple);
}

.profile-pricing {
  margin-bottom: 1.5rem;
}

.price {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 113, 188, 0.2), rgba(154, 77, 255, 0.2));
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--accent-strong);
  margin-right: 0.5rem;
}

@media (max-width: 720px) {
  .profiles-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .profile-info {
    padding: 1.6rem;
  }
}

