/* ───────────────────────────────────────
   FreeBusy — Pink Liquid Glass Theme
   ─────────────────────────────────────── */

:root {
  --pink-50:  #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --pink-900: #831843;

  --glass-bg:       rgba(255, 255, 255, 0.08);
  --glass-border:   rgba(255, 255, 255, 0.18);
  --glass-blur:     20px;
  --glass-shadow:   0 8px 32px rgba(131, 24, 67, 0.18);

  --text-primary:   #fff;
  --text-secondary: rgba(255, 255, 255, 0.78);

  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a0011 0%, #3b0a2a 25%, #2d1b4e 50%, #1a0a2e 75%, #0d0015 100%);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ── Animated background blobs ────────── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}

.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--pink-500), transparent 70%);
  top: -10%; left: -10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--pink-300), transparent 70%);
  bottom: -15%; right: -10%;
  animation-delay: -6s;
}

.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(60px, -40px) scale(1.1); }
  50%      { transform: translate(-30px, 50px) scale(0.95); }
  75%      { transform: translate(40px, 20px) scale(1.05); }
}

/* ── Glass utility ────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              box-shadow 0.35s cubic-bezier(.4,0,.2,1),
              border-color 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(236, 72, 153, 0.25);
  border-color: rgba(244, 114, 182, 0.35);
}

/* ── Navbar ───────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--pink-300), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--pink-300);
}

/* ── Container ────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 2rem 0 4rem;
  display: grid;
  gap: 5rem;
}

/* ── Hero ─────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  background: linear-gradient(135deg, #fff 20%, var(--pink-300) 60%, var(--pink-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
}

.cta-btn {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(236, 72, 153, 0.4);
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.55);
}

.hero-image {
  overflow: hidden;
  padding: 0;
}

.hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 19px;
  display: block;
}

/* ── Section Titles ───────────────────── */
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #fff, var(--pink-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Features ─────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--pink-200);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── Showcase ─────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.showcase-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 19px;
  display: block;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.showcase-card:hover img {
  transform: scale(1.06);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26, 0, 17, 0.85));
  border-radius: 0 0 19px 19px;
}

.showcase-overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pink-200);
}

.showcase-overlay p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ── Contact ──────────────────────────── */
.contact-section {
  text-align: center;
}

.contact-subtitle {
  color: var(--text-secondary);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-subtitle a {
  color: var(--pink-300);
  text-decoration: none;
  font-weight: 600;
}

.contact-subtitle a:hover {
  text-decoration: underline;
}

.card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem;
}

.form {
  display: grid;
  gap: 1.1rem;
  text-align: left;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pink-200);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.2);
}

button[type="submit"] {
  font: inherit;
}

#status {
  min-height: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--pink-300);
}

/* ── Footer ───────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: 0;
  border-bottom: none;
  border-left: none;
  border-right: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ── Fade-in animation ────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1),
              transform 0.7s cubic-bezier(.4,0,.2,1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-image img {
    height: 240px;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-card img {
    height: 220px;
  }

  .navbar {
    padding: 0.8rem 1.2rem;
  }

  .container {
    gap: 3.5rem;
  }
}
