/* Import Google Font: Gantari */
@import url('https://fonts.googleapis.com/css2?family=Gantari:wght@400;700&display=swap');

/* --- Custom Brand Styles --- */

/* 1. Typography */
body {
    font-family: 'Gantari', sans-serif;
}

/* 2. Colors */
.text-brand-dark-grey {
    color: #2C3E50; /* Professional Dark Grey */
}

.bg-brand-dark-grey {
    background-color: #2C3E50; /* Professional Dark Grey */
}

.bg-brand-orange {
    background-color: #FF6600; /* Vibrant Orange */
}

.focus\:ring-brand-orange:focus {
    --tw-ring-color: #FF6600; /* Vibrant Orange */
}


/* 3. Branded Button */
.btn-brand {
    padding: 0.75rem 1.5rem;
    background-color: #FF6600; /* Vibrant Orange */
    color: white;
    font-weight: 700;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-in-out;
}

.btn-brand:hover {
    background-color: #e65c00; /* A slightly darker orange for hover */
}

/* ---------- Brand Extensions ---------- */

/* 0) Base font already set to Gantari in your file */

/* 1) Helper tokens */
:root{
  --brand-orange:#FF6600;
  --brand-yellow:#FFC300;
  --brand-red:#E4002B;
  --brand-dark:#2C3E50;
  --brand-mid:#8A8A8A;
  --brand-light:#F5F5F5;
  --brand-white:#FFFFFF;
}

/* 2) Link-styled CTA in the nav */
.btn-link{
  font-weight:600;
  padding:0.5rem 0.75rem;
  border-radius:0.375rem;
  transition:transform .15s ease, background-color .15s ease;
}
.btn-link:hover{ background-color: rgba(255,102,0,.08); transform: translateY(-1px); }

/* 3) Primary CTA — you already have this; keep it, add a tiny lift on hover */
.btn-brand{
  padding:0.75rem 1.25rem;
  background-color:var(--brand-orange);
  color:#fff;
  font-weight:700;
  border-radius:0.5rem;
  transition:transform .15s ease, background-color .2s ease;
  box-shadow:0 6px 18px rgba(255,102,0,.25);
}
.btn-brand:hover{ background-color:#e65c00; transform: translateY(-1px); }
.btn-brand:active{ transform:none; }

/* 4) Outline button for secondary CTAs */
.btn-outline{
  padding:0.75rem 1.25rem;
  border:2px solid var(--brand-dark);
  color:var(--brand-dark);
  font-weight:700;
  border-radius:0.5rem;
  transition:background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-outline:hover{ background-color:var(--brand-dark); color:#fff; transform: translateY(-1px); }

/* 5) Subtle diagonal background pattern (brand guideline) */
.pattern-diagonal{
  background-image: linear-gradient(135deg, rgba(44,62,80,.05) 10%, rgba(255,255,255,0) 10%),
                    radial-gradient(600px 300px at 85% -10%, rgba(255,102,0,.12), transparent 60%),
                    radial-gradient(600px 300px at -10% 100%, rgba(255,195,0,.12), transparent 60%);
  background-size: 16px 16px, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat;
  background-position: 0 0, center, center;
  filter: saturate(105%);
}

/* 6) Hero card with orbit + butterfly slot */
.hero-card{
  position:relative;
  aspect-ratio: 1.1 / 1;
  border-radius: 1rem;
  background: linear-gradient(160deg, #fff 0%, #fff 40%, rgba(255,102,0,.06) 100%);
  box-shadow: 0 20px 40px rgba(44,62,80,.12);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero-orbit{
  position:absolute;
  inset:-40%;
  border-radius:50%;
  background: radial-gradient(closest-side, rgba(255,102,0,.10), transparent 60%),
              radial-gradient(closest-side, rgba(255,195,0,.10), transparent 70%);
  animation: slow-rotate 22s linear infinite;
}
.hero-butterfly{
  width: 54%;
  max-width: 340px;
  opacity:.95;
  transform: translateZ(0);
  animation: floaty 6s ease-in-out infinite;
  /* Provide your motif asset at /butterfly-motif.png */
}
.hero-tag{
  position:absolute;
  bottom:1rem;
  left:1rem;
  background: #fff;
  color: var(--brand-dark);
  font-weight:600;
  padding:.5rem .75rem;
  border-radius:.5rem;
  box-shadow: 0 8px 18px rgba(44,62,80,.12);
}

@keyframes slow-rotate{ to { transform: rotate(360deg); } }
@keyframes floaty{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px);} }

/* 7) Feature cards */
.feature-card{
  background:#fff;
  border-radius:0.75rem;
  padding:1.25rem 1.25rem 1.1rem;
  box-shadow:0 10px 28px rgba(44,62,80,.08);
  transition: transform .15s ease, box-shadow .2s ease;
}
.feature-card:hover{ transform: translateY(-3px); box-shadow:0 18px 38px rgba(44,62,80,.12); }
.feature-icon{
  width:2.25rem; height:2.25rem; display:grid; place-items:center;
  border-radius:.6rem;
  background: rgba(255,102,0,.1);
  margin-bottom:.75rem;
  font-size:1.1rem;
}

/* 8) Audience chips */
.chip{
  background: #F5F5F5;
  color: var(--brand-dark);
  padding:.55rem .9rem;
  border-radius:9999px;
  font-weight:600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.chip:hover{ transform: translateY(-2px); box-shadow:0 8px 18px rgba(44,62,80,.10); }

/* 9) Tier cards + badge with optimistic yellow accent */
.tier-card{
  background:#fff;
  border-radius:1rem;
  padding:1.25rem;
  box-shadow:0 14px 34px rgba(44,62,80,.10);
  display:flex;
  flex-direction:column;
  gap:.9rem;
  border:1px solid #eee;
}
.tier-title{ font-weight:800; font-size:1.25rem; color:var(--brand-dark); }
.tier-sub{ color:var(--brand-mid); }
.tier-list{ list-style:none; padding:0; margin:.25rem 0 0; }
.tier-list li{ padding:.4rem 0; position:relative; padding-left:1.15rem; }
.tier-list li::before{
  content:'';
  position:absolute; left:0; top:0.9rem;
  width:.5rem; height:.5rem; border-radius:50%;
  background: var(--brand-orange);
}
.tier-recommended{
  border:2px solid rgba(255,195,0,.6);
  box-shadow: 0 16px 40px rgba(255,195,0,.20);
  transform: translateY(-4px);
}
.badge-recommended{
  position:absolute; top:-10px; right:14px;
  background: var(--brand-yellow);
  color: #1e1e1e;
  font-weight:800; font-size:.78rem;
  padding:.35rem .55rem;
  border-radius:.4rem;
  box-shadow:0 8px 20px rgba(255,195,0,.35);
}

/* 10) Accessibility niceties */
:focus-visible{ outline: 3px solid rgba(255,102,0,.6); outline-offset:2px; }


/* --- Hero Visual Animation Styles --- */

/* Container: Clips everything to a nice shape */
.hero-visual-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3; /* Standard rectangle shape */
  border-radius: 1.5rem; /* Rounded corners */
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); /* Deep shadow */
  background: #f8fafc; /* Fallback color */
  border: 1px solid rgba(255,255,255,0.5);
}

/* Background Video: Covers the whole area */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9; /* Slight transparency to blend */
  z-index: 0;
}

/* UI Layer: Holds the images */
.hero-ui-layer {
  position: relative;
  z-index: 10;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* Adds 3D depth for the float effect */
}

/* Main Chat Image Animation */
.ui-main {
  width: 85%; /* Takes up most of the container */
  position: relative;
  left: -5%; /* Shift slightly left to make room for the card */
  transform: translateY(40px) scale(0.95);
  opacity: 0;
  animation: slideUpMain 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s; /* Smooth entry */
}

/* Floating Feedback Card Animation */
.ui-float-card {
  position: absolute;
  bottom: 15%;
  right: 5%; /* Positions it on the bottom right */
  width: 38%; /* Smaller than the main chat */
  transform: translateY(60px);
  opacity: 0;
  animation: slideUpFloat 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.8s; /* "Pop" effect with delay */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Keyframes */
@keyframes slideUpMain {
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes slideUpFloat {
  to { transform: translateY(0); opacity: 1; }
}