@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
:root {
  --landing-bg-top: #f8fafc;
  --landing-bg-bottom: #eef2ff;
  --landing-ink: #111827;
  --landing-muted: #4b5563;
  --landing-accent: #4f46e5;
  --landing-accent-strong: #4338ca;
  --landing-accent-soft: #e0e7ff;
  --landing-border: #d1d5db;
  --landing-surface: rgba(255, 255, 255, 0.88);
  --landing-shadow: 0 22px 40px rgba(22, 34, 52, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.landing-body {
  font-family: "Inter var", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--landing-ink);
  background: linear-gradient(170deg, var(--landing-bg-top) 0%, var(--landing-bg-bottom) 100%);
  min-height: 100vh;
}

.landing-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.landing-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(3px);
  opacity: 0.32;
  pointer-events: none;
}

.landing-glow-one {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at center, #a5b4fc 0%, transparent 70%);
  top: -180px;
  right: -120px;
}

.landing-glow-two {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at center, #c7d2fe 0%, transparent 68%);
  left: -120px;
  bottom: 14rem;
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 1.2rem;
  background: var(--landing-surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(19, 29, 44, 0.08);
  position: relative;
  z-index: 2;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--landing-ink);
  font-family: "Inter var", "Inter", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-brand-mark {
  width: 34px;
  height: 34px;
}

.landing-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.landing-nav a {
  text-decoration: none;
  color: var(--landing-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.landing-nav a:hover {
  color: var(--landing-ink);
}

.landing-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-link-action {
  text-decoration: none;
  color: var(--landing-muted);
  font-weight: 600;
}

.landing-link-action:hover {
  color: var(--landing-ink);
}

.landing-button {
  border-radius: 12px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.landing-button:hover {
  transform: translateY(-1px);
}

.landing-button-primary {
  background: linear-gradient(130deg, var(--landing-accent) 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.26);
}

.landing-button-primary:hover {
  background: linear-gradient(130deg, var(--landing-accent-strong) 0%, #4f46e5 100%);
  box-shadow: 0 16px 28px rgba(67, 56, 202, 0.32);
}

.landing-button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--landing-border);
  color: var(--landing-ink);
}

.landing-button-secondary:hover {
  border-color: #9ca3af;
}

.landing-hero {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border-radius: 26px;
  border: 1px solid #dbe2ef;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(238, 242, 255, 0.78) 100%);
  box-shadow: 0 18px 34px rgba(37, 51, 80, 0.1);
  align-items: start;
  position: relative;
  z-index: 1;
}

.landing-hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.landing-hero-copy p {
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-copy .landing-hero-actions {
  justify-content: center;
}

.landing-kicker {
  display: inline-flex;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--landing-accent-strong);
  background: var(--landing-accent-soft);
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.landing-hero-copy h1 {
  font-family: "Inter var", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 6vw, 3.55rem);
  line-height: 1.08;
  margin: 0 auto 1rem;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.landing-hero-copy p {
  color: var(--landing-muted);
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  max-width: 58ch;
  line-height: 1.6;
  margin: 0;
}

.landing-hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-giftboard-showcase {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.landing-giftboard-card {
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.landing-board-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e5e7eb;
}

.landing-board-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.landing-board-header p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4b5563;
}

.landing-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-board-column {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.7rem;
  background: #ffffff;
}

.landing-board-column h3 {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 800;
}

.landing-board-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.landing-board-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.55rem;
  display: grid;
  gap: 0.4rem;
  background: #f8fafc;
}

.landing-board-item-main {
  min-width: 0;
}

.landing-board-item-title {
  margin: 0;
  color: #111827;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

.landing-board-item-meta {
  margin: 0.2rem 0 0;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 600;
}

.landing-status-pill {
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.landing-status-pill.status-available {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.landing-status-pill.status-claimed {
  color: #6d28d9;
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.landing-status-pill.status-bought {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.landing-giftboard-note {
  margin: 0;
  text-align: center;
  color: #4b5563;
  font-size: 0.93rem;
  font-weight: 600;
}

.landing-section {
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.landing-section-title-wrap h2 {
  margin: 0.3rem 0 0;
  font-family: "Inter var", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
}

.landing-feature-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.landing-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  padding: 1rem;
}

.landing-card h3 {
  margin: 0;
  font-size: 1rem;
  font-family: "Inter var", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

.landing-card p {
  margin: 0.6rem 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--landing-muted);
}

.landing-shot-grid {
  margin-top: 1.45rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-shot {
  border: 1px dashed #9ca3af;
  border-radius: 18px;
  min-height: 248px;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.1rem;
  text-align: center;
}

.landing-shot h3 {
  margin: 0;
  font-family: "Inter var", "Inter", "Segoe UI", sans-serif;
}

.landing-shot p {
  margin: 0.7rem 0 0;
  color: var(--landing-muted);
  font-size: 0.94rem;
}

.landing-steps {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
}

.landing-steps li {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  padding: 1rem;
}

.landing-steps span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  background: #e0e7ff;
  color: #4338ca;
  font-weight: 800;
}

.landing-steps h3 {
  margin: 0;
  font-size: 1rem;
  font-family: "Inter var", "Inter", "Segoe UI", sans-serif;
}

.landing-steps p {
  margin: 0.45rem 0 0;
  color: var(--landing-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.landing-footer {
  margin-top: 3.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d1d5db;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4b5563;
}

.landing-footer p {
  margin: 0;
  font-weight: 700;
}

.landing-footer a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 700;
}

.landing-footer a:hover {
  text-decoration: underline;
}

.landing-animate {
  opacity: 0;
  transform: translateY(12px);
  animation: landing-fade-up 0.65s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

.delay-4 {
  animation-delay: 0.32s;
}

@keyframes landing-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .landing-nav {
    display: none;
  }

  .landing-feature-grid,
  .landing-shot-grid,
  .landing-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .landing-shell {
    padding: 1rem 1rem 2.5rem;
  }

  .landing-topbar {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
  }

  .landing-brand {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .landing-brand span {
    font-size: 0.9rem;
  }

  .landing-topbar-actions {
    width: auto;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .landing-link-action,
  .landing-topbar-actions .landing-button {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .landing-topbar-actions .landing-button {
    padding: 0.6rem 0.75rem;
  }

  .landing-hero {
    padding: 1.1rem;
  }

  .landing-hero-copy h1 {
    max-width: 16ch;
  }

  .landing-board-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .landing-board-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-feature-grid,
  .landing-shot-grid,
  .landing-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-footer {
    gap: 0.8rem;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .landing-brand span {
    display: none;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Tooltip container */
.tooltip {
    position: relative;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}
