/* Concept page — layout migrated to Tailwind utility classes */
/* Only pseudo-elements, counters, animations, and complex selectors remain */

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.05); }
}
@keyframes floatCenter {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, -10px); }
  100% { transform: translate(-50%, 0); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

html { scroll-behavior: smooth; }

/* ── Scroll offset for fixed header ───────────────────────── */
#reason, #pillars, #flow, #faq, #cta {
  scroll-margin-top: 100px;
}

/* ── Hero background (Ken Burns) ──────────────────────────── */
.concept-hero-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-image: url("../flying_strawberry/img/top.7be625e3c1d6.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: kenburns 20s ease-out infinite alternate;
}

/* ── Scroll indicator ─────────────────────────────────────── */
.concept-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatCenter 3s ease-in-out infinite;
}
.concept-scroll-indicator::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #fff, transparent);
  margin-top: 10px;
}

/* ── TOC scrollbar ────────────────────────────────────────── */
.concept-toc {
  scrollbar-width: thin;
  scrollbar-color: rgba(29,107,242,0.3) rgba(0,0,0,0.05);
}
.concept-toc::-webkit-scrollbar { height: 4px; }
.concept-toc::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 4px; margin: 0 24px; }
.concept-toc::-webkit-scrollbar-thumb { background: rgba(29,107,242,0.4); border-radius: 4px; }
.concept-toc::-webkit-scrollbar-thumb:hover { background: rgba(29,107,242,0.6); }

/* ── Section title underline ──────────────────────────────── */
.concept-section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.concept-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 60px;
  height: 4px;
  background: #1d6bf2;
  border-radius: 2px;
}

/* ── Buttons (shimmer effect) ─────────────────────────────── */
.concept-btn-primary,
.concept-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.concept-btn-primary::after,
.concept-btn-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}
.concept-btn-primary:hover::after,
.concept-btn-outline:hover::after {
  left: 100%;
}
.concept-btn-primary {
  background: #1d6bf2;
  color: #fff;
  box-shadow: 0 0 20px rgba(29,107,242,0.3);
}
.concept-btn-primary:hover {
  background: #1557c0;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(29,107,242,0.4);
}
.concept-btn-outline {
  background: transparent;
  color: #1d6bf2;
  border: 2px solid #1d6bf2;
}
.concept-btn-outline:hover {
  background: rgba(29,107,242,0.05);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

/* ── Concept cards (top-line + hover + mobile is-active) ──── */
.concept-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.02);
}
.concept-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #1d6bf2, #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.concept-card:hover,
.concept-card.is-active {
  transform: translateY(-15px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.05);
  border-color: rgba(29,107,242,0.1);
}
.concept-card:hover::before,
.concept-card.is-active::before {
  transform: scaleX(1);
}
.concept-card:hover h3,
.concept-card.is-active h3 {
  color: #1d6bf2;
}
@media (min-width: 1024px) {
  .concept-card-2 { margin-top: 60px; }
  .concept-card-3 { margin-top: 120px; }
}

/* ── Glass panel (recommend section) ──────────────────────── */
.concept-glass-panel {
  background: linear-gradient(135deg, #1d6bf2 0%, #0d47a1 100%);
  border-radius: 32px;
  padding: 60px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
}
.concept-glass-panel::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

/* ── Link cards (arrow) ───────────────────────────────────── */
.concept-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  background: #fff;
  border-radius: 16px;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.concept-link-card::after {
  content: "→";
  color: #1d6bf2;
  font-size: 20px;
  transition: transform 0.3s ease;
  margin-left: 15px;
}
.concept-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  border-color: rgba(29,107,242,0.2);
  color: #1d6bf2;
}
.concept-link-card:hover::after {
  transform: translateX(5px);
}

/* ── Check items (checkmark) ──────────────────────────────── */
.concept-check-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
}
.concept-check-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  border: 1px solid rgba(29,107,242,0.2);
}
.concept-check-item::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: #1d6bf2;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  margin-right: 20px;
  box-shadow: 0 0 20px rgba(29,107,242,0.3);
  flex-shrink: 0;
}
.concept-check-item span {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}

/* ── Flow timeline (counter, line, dots) ──────────────────── */
.concept-flow {
  list-style: none;
  padding: 0; margin: 0;
  position: relative;
  counter-reset: flow-count;
}
.concept-flow::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(29,107,242,0.2);
}
@media (min-width: 768px) {
  .concept-flow::before { left: 50%; }
}
.concept-flow li {
  position: relative;
  margin-bottom: 40px;
  padding-left: 70px;
  width: 100%;
  counter-increment: flow-count;
}
@media (min-width: 768px) {
  .concept-flow li {
    width: 50%;
    padding-left: 0;
    padding-right: 60px;
    text-align: right;
  }
  .concept-flow li:nth-child(even) {
    margin-left: auto;
    text-align: left;
    padding-right: 0;
    padding-left: 60px;
  }
  .concept-flow li:nth-child(even)::before { left: 0; }
  .concept-flow li:nth-child(even)::after  { left: -9px; }
}
.concept-flow li::before {
  content: "0" counter(flow-count);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translate(-50%, -45px);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: rgba(29,107,242,0.2);
  z-index: 1;
  line-height: 1;
}
@media (min-width: 768px) {
  .concept-flow li::before { left: 100%; }
}
.concept-flow li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #1d6bf2;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(29,107,242,0.2);
}
@media (min-width: 768px) {
  .concept-flow li::after {
    left: auto;
    right: -9px;
  }
}

/* ── Flow items ───────────────────────────────────────────── */
.concept-flow-item {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
  position: relative;
  transition: all 0.3s ease;
}
.concept-flow-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

/* ── FAQ details ──────────────────────────────────────────── */
.concept-faq-detail {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}
.concept-faq-detail[open] {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}
.concept-faq-detail summary {
  padding: 24px 60px 24px 24px;
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.3s ease;
}
.concept-faq-detail summary::-webkit-details-marker { display: none; }
.concept-faq-detail[open] summary { color: #1d6bf2; }

/* Plus/minus icon */
.concept-faq-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
}
.concept-faq-icon::before,
.concept-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transition: all 0.3s ease;
}
.concept-faq-icon::before {
  width: 2px; height: 16px;
  transform: translate(-50%, -50%);
}
.concept-faq-icon::after {
  width: 16px; height: 2px;
  transform: translate(-50%, -50%);
}
.concept-faq-detail[open] .concept-faq-icon::before {
  transform: translate(-50%, -50%) rotate(180deg);
  opacity: 0;
}
.concept-faq-detail[open] .concept-faq-icon::after {
  transform: translate(-50%, -50%) rotate(180deg);
}
.concept-faq-detail p {
  padding: 0 24px 24px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 20px;
}

/* ── TOC link ─────────────────────────────────────────────── */
.concept-toc-link {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: #fff;
  color: #64748b;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.concept-toc-link:hover {
  background: #1d6bf2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(29,107,242,0.3);
}

/* ── Bottom CTA gradient panel ────────────────────────────── */
.concept-bottom-cta-panel {
  background: linear-gradient(135deg, #1d6bf2 0%, #0d47a1 50%, #1a237e 100%);
  border-radius: 32px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -15px rgba(29,107,242,0.4);
}
.concept-bottom-cta-panel::before {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 50%);
  animation: rotate 30s linear infinite;
}
.concept-bottom-cta-panel::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -20%;
  width: 140%; height: 140%;
  background: radial-gradient(circle at 20% 80%, rgba(96,165,250,0.15) 0%, transparent 50%);
}
