* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
}

body {
  background-color: #ffffff;
  color: #111;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Background Noise overlay */
.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Top Banner */
.top-notice-banner {
  background: linear-gradient(90deg, #FAD7A1 0%, #E96D71 100%);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.banner-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: rgba(245, 245, 245, 0.8);
  backdrop-filter: blur(10px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-contact {
  background-color: #222;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-menu {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.btn-menu span {
  width: 18px;
  height: 1.5px;
  background-color: #333;
}

/* Hero Section */
.hero-section {
    padding: 60px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-box-container {
    margin-bottom: 40px;
}

.hero-heading-box {
    background-color: #f8f8f8;
    border-radius: 20px;
    padding: 30px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.main-headline {
  font-size: 48px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #111;
  word-break: keep-all;
}

.headline-highlight {
  color: #FF5C00;
}

.sub-pill-container {
    margin-top: 40px;
}
.sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(248,248,248, 0.9);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  color: #FF5C00;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.dot {
  width: 6px;
  height: 6px;
  background-color: #FF5C00;
  border-radius: 50%;
}

/* Cards Stack */
.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  border-radius: 24px;
  padding: 32px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  animation: slideUpFade 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.card-num {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.8;
}

.card-white {
  background-color: rgba(255, 255, 255, 0.8);
  color: #111;
}
.card-white .card-num { color: #FF5C00; }

.card-orange {
  background-color: #FF5C00;
  color: #fff;
}
.card-orange .card-num { color: rgba(255,255,255,0.7); }

.card-black {
  background-color: #111;
  color: #fff;
}
.card-black .card-num { color: rgba(255,255,255,0.5); }

/* Animations */
@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (min-width: 768px) {
    .main-headline { font-size: 64px; }
    .cards-stack { flex-direction: row; }
    .feature-card { flex: 1; }
}

/* FAB */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #FF5C00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(255, 92, 0, 0.3);
  cursor: pointer;
  z-index: 999;
}
.fab svg { fill: white; width: 32px; height: 32px; }

/* Golf Section */
.golf-section {
  width: 100%;
  height: 100vh;
  background-image: url('/golf_ball_closeup_v2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.golf-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

.golf-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.golf-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.4;
  text-shadow: 0 8px 30px rgba(0,0,0,0.6);
  word-break: keep-all;
}

@media (min-width: 768px) {
  .golf-title { font-size: 72px; }
}

/* Problem Section */
.problem-section {
  width: 100%;
  background-image: url('/matte_green_texture.webp?v=2');
  background-size: cover;
  background-position: center;
  background-color: #2F4032; /* Fallback */
  padding: 100px 24px;
  color: #F5F5F0;
}

.problem-container {
  max-width: 1000px;
  margin: 0 auto;
}

.problem-main-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.tab-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.tab-container {
  display: inline-flex;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 50px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: #F5F5F0;
  color: #2F4032;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.tab-content.active {
  display: block;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-grid .problem-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    margin: 0 auto;
  }
}

.problem-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.problem-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.card-num-sleek {
  font-size: 16px;
  font-weight: 700;
  color: #FF5C00;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-num-sleek::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.problem-card h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.4;
  word-break: keep-all;
}

.problem-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  word-break: keep-all;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* pure CSS 3D Animated Characters */
.scene-3d {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  position: relative;
  perspective: 800px;
  transform-style: preserve-3d;
}

.floor-shadow {
  position: absolute;
  bottom: 0px; left: 10px; right: 10px;
  height: 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  filter: blur(4px);
  animation: shadowScale 0.6s infinite alternate cubic-bezier(0.5, 0.05, 1, 0.5);
}

@keyframes shadowScale {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(0.6); opacity: 0.1; }
}

.char-ball {
  width: 60px; height: 60px;
  border-radius: 50%;
  position: absolute;
  top: 0; left: 10px;
  background: radial-gradient(circle at 20px 20px, #ffffff 10%, #e0e0e0 40%, #a0a0a0 90%, #666 100%);
  box-shadow: inset -5px -10px 15px rgba(0,0,0,0.5), 0 10px 20px rgba(0,0,0,0.2);
}

.char-coin {
  width: 60px; height: 60px;
  border-radius: 50%;
  position: absolute;
  top: 0; left: 10px;
  background: radial-gradient(circle at 20px 20px, #FFDF00 10%, #D4AF37 50%, #996515 100%);
  box-shadow: inset -5px -10px 15px rgba(0,0,0,0.5), inset 3px 3px 5px rgba(255,255,255,0.8), 0 10px 20px rgba(0,0,0,0.2);
}

.char-box {
  width: 50px; height: 50px;
  position: absolute;
  top: 5px; left: 15px;
  background: linear-gradient(135deg, #FF6B6B, #C0392B);
  border-radius: 12px;
  box-shadow: inset -5px -5px 15px rgba(0,0,0,0.3), inset 2px 2px 5px rgba(255,255,255,0.5), 0 10px 20px rgba(0,0,0,0.2);
  transform: rotateZ(10deg);
}

.photo-static {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 40px;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.6));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Photo Background Card Variations */
.photo-bg-card {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 0;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border: none;
}

.photo-bg-card .card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.photo-bg-card .card-overlay.darker-gradient {
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.2) 100%);
}

.photo-bg-card:hover .card-overlay {
  opacity: 0.9; /* Slight darkening on hover */
}

.photo-bg-card .card-content-front {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.impact-black-card {
  background-color: #050505; /* Pitch black */
  border: 1px solid rgba(255, 92, 0, 0.15); /* Very faint orange border */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.impact-black-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 92, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.impact-black-card .card-content-front {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.impact-black-card h3.impact-text-orange {
  font-size: 36px;
  font-weight: 900;
  color: #FF5C00;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.impact-black-card p {
  color: rgba(255, 255, 255, 0.6);
}

/* Character Faces */

.face {
  position: absolute;
  top: 25px; left: 15px;
  width: 30px; height: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.eye {
  width: 6px; height: 6px;
  background: #222;
  border-radius: 50%;
}
.mouth.sad {
  width: 100%; height: 4px;
  border-radius: 50% 50% 0 0;
  border: 2px solid #222;
  border-bottom: 0;
  margin-top: 4px;
}
.mouth.surprised {
  width: 6px; height: 6px;
  background: #222;
  border-radius: 50%;
  margin: 4px auto 0;
}

/* Animations */
.anim-bounce {
  animation: bounce 0.6s infinite alternate cubic-bezier(0.5, 0.05, 1, 0.5);
}
@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

.anim-wobble {
  animation: wobble 1s infinite alternate ease-in-out;
}
@keyframes wobble {
  0% { transform: rotateY(-20deg) rotateZ(-5deg); }
  100% { transform: rotateY(20deg) rotateZ(5deg); }
}

.anim-float {
  animation: float 1.5s infinite alternate ease-in-out;
}
@keyframes float {
  0% { transform: translateY(0) rotateZ(0deg); }
  100% { transform: translateY(-10px) rotateZ(5deg); }
}

.anim-look {
  animation: lookAround 2s infinite alternate ease-in-out;
}
@keyframes lookAround {
  0% { transform: translateX(-4px); }
  100% { transform: translateX(4px); }
}

/* Impact Flow Steps (for Pro Tab) */
.pro-flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 0;
  text-align: center;
}

@media (min-width: 900px) {
  .pro-flow-container {
    grid-column: span 2;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 40px;

    padding: 0 40px;
    text-align: left;
  }
}

.impact-flow-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-arrow {
  font-size: 64px;
  color: #FF5C00;
  font-weight: 300;
  opacity: 0.8;
}

@media (max-width: 899px) {
  .flow-arrow::before {
    content: '↓';
  }
  .flow-arrow {
  	font-size: 48px;
  }
  .impact-flow-step h3 {
    text-align: center;
  }
}

.impact-flow-step h3 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.4;
  word-break: keep-all;
}

/* Target Audience Section */
.target-section {
  background-color: #ffffff; /* White background */
  padding: 150px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.target-container {
  max-width: 1000px;
  width: 100%;
}

.target-headline {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.6;
  text-align: left;
}

.target-line {
  overflow: hidden;
  margin-bottom: 2px;
}

.msg-outro {
  margin-top: 40px;
}

.scroll-highlight {
  display: inline-block;
  background: linear-gradient(to right, #FF5C00 50%, rgba(0, 0, 0, 0.1) 50%); /* Sweep orange, unlit is grey */
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-highlight.orange-fill {
  background: linear-gradient(to right, #FF5C00 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 200% 100%;
}

.target-line.in-view .scroll-highlight {
  background-position: 0 0;
}

@media (max-width: 768px) {
  .target-headline {
    font-size: 28px;
    line-height: 1.5;
  }
}

/* App Feature Mockups */
.mockup-features {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 160px;
  padding-bottom: 80px;
}

.mockup-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

@media (min-width: 900px) {
  .mockup-row {
    flex-direction: row;
    justify-content: space-between;
  }
  .mockup-row.reverse {
    flex-direction: row-reverse;
  }
}

.mockup-text-side {
  flex: 1;
  max-width: 480px;
  text-align: left;
}

.mockup-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 92, 0, 0.1);
  color: #FF5C00;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.mockup-text-side h3 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #111;
  word-break: keep-all;
}

.mockup-text-side p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  word-break: keep-all;
}

.mockup-device-side {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Ultra-svelte Angular Metal Frame */
.mockup-phone {
  width: 310px; /* Slightly slimmer profile */
  max-width: 100%;
  height: 600px;
  background: #111; /* Actual bezel color */
  border-radius: 20px; /* More angular shape */
  outline: 1px solid #e0e0e0; /* Extremely sharp outer metal edge */
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.12),
    0 10px 20px rgba(0,0,0,0.06),
    inset 0 0 2px 1px rgba(255,255,255,0.6); /* Metal edge gleam */
  position: relative;
  overflow: hidden;
  display: flex;
  margin: 0 auto;

  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}

/* Screen lighting glare effect overlay */
.mockup-phone::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  box-shadow: inset 1px 1px 3px rgba(255,255,255,0.15);
  pointer-events: none;
  z-index: 50;
}

.mockup-phone:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.18),
    0 15px 30px rgba(0,0,0,0.08),
    inset 0 0 2px 1px rgba(255,255,255,0.7);
}

/* Attached geometric top notch */
.phone-notch {
  position: absolute;
  top: 0; left: 50%; 
  transform: translateX(-50%);
  width: 140px;
  height: 22px;
  background-color: #111;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: inset 0 -1px 2px rgba(255,255,255,0.1);
  z-index: 100;
}

.phone-screen {
  flex: 1;
  margin: 5px; /* Extremely thin, sophisticated bezel */
  border-radius: 15px; /* Sharp inner corners matching outer 20px */
  position: relative;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

/* UI Framework Layout */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 0;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  z-index: 50;
  height: 48px;
}
.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 800;
  color: #111;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.app-bottom-bar {
  height: 34px;
  width: 100%;
  background: #fff;
  position: relative;
  margin-top: auto;
}
.app-bottom-bar::after {
  content: "";
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background-color: #d0d0d0;
  border-radius: 100px;
}

/* Screens Content */
.UI-lesson .app-nav {
  border-bottom: none;
}
.lesson-content {
  background: #f4f6f8;
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ui-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.blur-card {
  opacity: 0.5;
  filter: blur(1.5px);
}
.ui-date {
  font-size: 13px;
  color: #888;
  font-weight: 700;
  margin-bottom: 8px;
}
.ui-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #222;
  margin-bottom: 16px;
}
.ui-card ul {
  list-style: none;
  padding: 0; margin: 0;
}
.ui-card li {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.ui-card li::before {
  content: '•';
  color: #FF5C00;
  font-weight: 900;
  font-size: 16px;
}

/* AI Summary Card Styling */
.ai-summary-card {
  background: linear-gradient(150deg, #ffffff 0%, #fff6f2 100%);
  border: 1px solid rgba(255, 92, 0, 0.15);
  box-shadow: 0 12px 30px rgba(255, 92, 0, 0.08);
}
.ai-sparkle-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FF5C00;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.sparkle-icon {
  width: 16px; height: 16px;
  animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}
.ai-chip-container {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.ai-chip {
  background: #fff;
  border: 1px solid rgba(255,92,0,0.2);
  color: #FF5C00;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
}

.record-video-box {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin-bottom: 8px;
}
.rec-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rec-dot {
  width: 8px; height: 8px;
  background: #ff3b30;
  border-radius: 50%;
  animation: blinkRec 1.5s infinite;
}

.record-video-box {
  width: 100%;
  height: 180px;
  background: url('/ai_golf_analysis.webp') center/cover;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin-bottom: 8px;
}
.rec-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rec-dot {
  width: 8px; height: 8px;
  background: #ff3b30;
  border-radius: 50%;
  animation: blinkRec 1.5s infinite;
}
@keyframes blinkRec { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.ai-lesson-typing {
  color: #222;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  white-space: pre-wrap;
  min-height: 220px;
}

.ai-summary-card {
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.ai-sparkle-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FF5C00;
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 13px;
}
.sparkle-icon {
  width: 16px;
  height: 16px;
}

/* Keeper App Dashboard Widget */
.keeper-app {
  background: #fff;
  border-radius: 40px;
  padding: 30px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(0,0,0,0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111;
  width: 100%;
  max-width: 440px;
}
.keeper-app.dash-clean {
  background: #fff;
  border-radius: 36px;
  padding: 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.06), 0 10px 20px rgba(0,0,0,0.03), inset 0 0 0 1px rgba(0,0,0,0.04);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #222;
  width: 100%;
  max-width: 440px;
}
.k-dash-top {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.k-dash-box {
  flex: 1;
  background: #FAFAFB;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.k-dash-icon, .k-di-icon {
  font-size: 26px;
  filter: grayscale(100%) contrast(1.1) brightness(1.2) drop-shadow(0 4px 6px rgba(0,0,0,0.15));
  opacity: 0.9;
}
.k-dash-num {
  font-size: 32px;
  font-weight: 800;
  margin-top: auto;
  position: relative;
  display: inline-block;
  color: #111;
}
.k-dash-label {
  font-size: 14px;
  font-weight: 700;
  color: #777;
}
.k-dash-dot {
  position: absolute;
  top: 4px; right: -12px;
  width: 6px; height: 6px;
  background: #FF5C00;
  border-radius: 50%;
}
.k-dash-banner {
  background: linear-gradient(135deg, #FFFAF5 0%, #FFF0E5 100%);
  border: 1px solid rgba(255,140,0,0.1);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  box-shadow: 0 10px 20px rgba(255,92,0,0.05);
}
.k-db-text h4 {
  font-size: 18px;
  font-weight: 800;
  color: #FF5C00;
  margin-bottom: 6px;
}
.k-db-text p {
  font-size: 13px;
  color: #777;
  font-weight: 600;
}
.k-db-icon {
  width: 44px; height: 44px;
  background: #FF5C00;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 12px rgba(255,92,0,0.2);
}
.k-dash-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.k-dash-list-header h4 {
  font-size: 17px;
  font-weight: 800;
  color: #111;
}
.k-dash-list-header span {
  font-size: 13px;
  font-weight: 700;
  color: #FF5C00;
}
.k-dash-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.k-dash-item {
  background: #FAFAFB;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.k-dash-item:hover, .k-dash-item.active {
  background: #fff;
  border-color: rgba(255,92,0,0.15);
  box-shadow: 0 12px 24px rgba(255,92,0,0.05);
  transform: translateY(-2px);
}
.k-di-info {
  flex: 1;
}
.k-di-info h5 {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
}
.k-di-info p {
  font-size: 12px;
  font-weight: 600;
  color: #888;
}
.k-di-arr {
  color: #bbb;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.real-app-ai-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  margin-top: 8px;
  position: relative;
}
.ra-scores {
  display: flex;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.ra-score-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ra-label {
  font-size: 13px;
  font-weight: 700;
  color: #666;
}
.ra-value {
  display: flex;
  align-items: baseline;
}
.ra-num-o {
  font-size: 38px;
  font-weight: 900;
  color: #F89B29;
  letter-spacing: -1px;
}
.ra-num-b {
  font-size: 38px;
  font-weight: 900;
  color: #333;
  letter-spacing: -1px;
}
.ra-max {
  font-size: 16px;
  font-weight: 700;
  color: #ccc;
  margin-left: 2px;
}
.ra-issue-box {
  background: #FFF4F4;
  border: 1px solid rgba(255, 100, 100, 0.15);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.ra-issue-head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.ra-ih-title {
  font-size: 12px;
  font-weight: 700;
  color: #999;
}
.ra-issue-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ra-ib-name {
  font-size: 16px;
  font-weight: 800;
  color: #111;
}
.ra-badge-red {
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.ra-issue-more {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
}
.ra-im-hl {
  color: #FF5C00;
  font-weight: 700;
}


/* AI Camera Mockup */
.ai-video-box {
  padding: 20px;
  width: 100%;
}
.video-container {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.video-container.split-view {
  display: flex;
  background: #000;
}

.video-half {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.ref-half {
  background-position: center;
  background-size: cover;
  filter: grayscale(100%) opacity(0.8) brightness(0.6);
}
.ref-half::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
}

.today-half {
  background-position: center;
  background-size: cover;
}

.clean-text-label {
  position: absolute;
  top: 14px; left: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  z-index: 10;
}
.clean-text-label.align-right {
  left: auto; right: 14px;
  color: #FF5C00;
}

.split-divider {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.6);
  transform: translateX(-50%);
  z-index: 20;
}

.split-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #555; font-size: 14px; font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.ai-sensor {
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(to bottom, rgba(255, 92, 0, 0) 0%, rgba(255, 92, 0, 0.3) 50%, rgba(255, 92, 0, 0) 100%);
  animation: scan 3s infinite linear;
  pointer-events: none;
}
@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.ai-skeleton-line {
  position: absolute;
  top: 35%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; height: 130px;
  border: 2px dashed rgba(255, 92, 0, 0.6);
  border-radius: 8px;
  pointer-events: none;
  box-shadow: 0 0 15px rgba(255,92,0,0.3);
}



.ai-chat-container {
  padding: 0 20px;
  flex: 1;
  position: relative;
  margin-top: -30px;
  z-index: 10;
}

.ai-chat {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  gap: 12px;
  color: #222;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ai-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #FF5C00, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.ai-message {
  flex: 1;
}

.ai-cursor {
  display: inline-block;
  width: 2px;
  background-color: #FF5C00;
  margin-left: 2px;
  color: transparent;
}
.ai-cursor.blink {
  animation: bgBlink 1s infinite;
}
@keyframes bgBlink {
  0%, 100% { background-color: #FF5C00; }
  50% { background-color: transparent; }
}

/* Slide into Phone Animation Styles */
.mockup-animation-area {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex: 1;
  max-width: 400px;
}
.saas-transmission-card {
  position: absolute;
  width: calc(100% - 32px); /* Matches inner-video-box width approx */
  height: 180px;
  background-image: url('/ai_golf_analysis.webp');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  z-index: 100;
  
  /* Start far away in the background */
  top: 90px;
  left: 0;
  transform: translate(-450px, -150px) scale(0.3) rotate(-20deg);
  opacity: 0;
  box-shadow: 0 40px 60px rgba(0,0,0,0.4);
  pointer-events: none;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.saas-transmission-card.anim-fly {
  /* Fly towards the phone and fade out right as it lands */
  transform: translate(16px, 0) scale(1) rotate(0deg);
  opacity: 1;
  animation: fadeOutTransmission 0.2s 0.9s forwards; /* Fades out right before landing */
}
@keyframes fadeOutTransmission {
  to { opacity: 0; transform: translate(16px, 0) scale(0.95); }
}

#inner-video-box {
  background-image: url('/ai_golf_analysis.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  
  opacity: 0; /* Wait for transmission */
  transform: scale(0.95);
  transition: all 0.4s ease 1s; /* Show up just as transmission card fades out */
}
#inner-video-box.anim-show {
  opacity: 1;
  transform: scale(1);
}
#ai-summary-block {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.9s;
}
#ai-summary-block.anim-show {
  opacity: 1;
  transform: translateY(0);
}

/* Premium SaaS Dashboard Replica Styles */
.premium-saas-dashboard {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.psd-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #FF5C00;
  width: 320px;
  box-shadow: 0 10px 30px rgba(255, 92, 0, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.psd-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.psd-title {
  font-size: 15px;
  font-weight: 800;
  color: #111;
}
.psd-btn-outline {
  font-size: 11px;
  font-weight: 600;
  color: #FF5C00;
  border: 1px solid rgba(255, 92, 0, 0.3);
  background: transparent;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Data Table */
.psd-table {
  width: 100%;
  border-collapse: collapse;
}
.psd-table th {
  background: #F9FAFB;
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  text-align: right;
  padding: 8px 10px;
  border-bottom: 1px solid #E5E7EB;
}
.psd-table td {
  font-size: 13px;
  color: #374151;
  text-align: right;
  padding: 12px 10px;
  border-bottom: 1px solid #E5E7EB;
  border-left: 1px solid #F3F4F6;
}
.psd-table .row-label {
  text-align: left;
  font-weight: 600;
  background: #F9FAFB;
  border-left: none;
}
.bold-val {
  font-weight: 800;
  color: #111;
}
.trend-up {
  color: #4F46E5; /* Indigo blue like reference */
  font-weight: 600;
  font-size: 12px;
}

/* Connected List Section */
.psd-ai-section {
  padding: 20px;
  border-top: 1px solid #E5E7EB;
}
.psd-ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  margin-bottom: 16px;
}
.powered-by-ai {
  font-size: 10px;
  font-weight: 700;
  color: #10B981;
  background: #D1FAE5;
  padding: 3px 8px;
  border-radius: 4px;
}
.psd-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.psd-link-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: #4B5563;
}
.psd-link-item .arrow {
  color: #60A5FA;
  font-weight: bold;
}
.psd-link-item .link-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-badge, .link-date {
  font-size: 11px;
  color: #9CA3AF;
  border: 1px solid #E5E7EB;
  padding: 2px 6px;
  border-radius: 4px;
  background: #F9FAFB;
  white-space: nowrap;
}

/* Sophisticated Swing CTA Box */
.psd-swing-card {
  margin: 0 20px 8px;
  background: linear-gradient(135deg, #fffcf9 0%, #fff0e5 100%);
  border: 1px solid rgba(255, 92, 0, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(255, 92, 0, 0.05);
}
.psd-swing-card:hover {
  border-color: rgba(255, 92, 0, 0.4);
  box-shadow: 0 4px 12px rgba(255, 92, 0, 0.05);
}
.psc-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.psc-title {
  font-size: 14px;
  font-weight: 800;
  color: #111;
}
.psc-sub {
  font-size: 11px;
  font-weight: 500;
  color: #777;
}
.psc-arrow {
  color: #ccc;
  font-weight: 800;
  font-size: 16px;
  transition: color 0.2s;
}
.psd-swing-card:hover .psc-arrow {
  color: #ff5c00;
}

/* Distinct AI Coach Card - Extremely Minimal */
.ai-coach-distinct-card {
  margin-top: 12px;
  background: transparent;
  border-radius: 8px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 92, 0, 0.4);
  display: flex;
  align-items: center;
}
.aidc-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aidc-header .sparkle-icon {
  width: 16px; 
  height: 16px;
  display: block;
}
.aidc-title {
  font-size: 14px;
  font-weight: 800;
  color: #111;
  transform: translateY(1px); /* Perfect vertical optical alignment */
}

/* Dashboard Chat Showcase Layout */
.dashboard-chat-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px auto;
  max-width: 1200px;
  width: 100%;
}
.dcs-text {
  text-align: center;
  margin-bottom: 50px;
}
.dcs-text h3 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #111;
}
.dcs-text p {
  font-size: 16px;
  color: #666;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}
.dcs-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 60px;
  width: 100%;
  position: relative;
}

.dcs-connector-curve {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 80px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.anim-dash {
  animation: dash-flow 1.5s linear infinite;
}
@keyframes dash-flow {
  from { stroke-dashoffset: 12; }
  to { stroke-dashoffset: 0; }
}
@media (max-width: 800px) {
  .dcs-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
}

/* Frameless Web Chat Interface */
.web-chat-interface {
  flex: none;
  width: 100%;
  max-width: 380px;
  height: 460px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.02);
  border: 1px solid rgba(255, 92, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  z-index: 1;
}
.wc-header {
  padding: 30px 20px 20px;
  border-bottom: 1px solid rgba(255,92,0,0.05);
  text-align: center;
  background: #ffffff;
}
.wc-title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 0 0 6px 0;
}
.wc-sub {
  font-size: 13px;
  color: #666;
  margin: 0;
}
.wc-body {
  flex: 1;
  background: linear-gradient(180deg, #fffcf9 0%, #fff 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}
.prompt-chip {
  background: #fff;
  border: 1px solid rgba(255, 92, 0, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255,92,0,0.02);
}
.prompt-chip:hover {
  background: #fffaf6;
  border-color: rgba(255, 92, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,92,0,0.08);
  color: #FF5C00;
}
.wc-footer {
  padding: 20px 24px 30px;
  background: #fff;
}
.wc-input-box {
  background: #f9f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wc-input-box:focus-within, .wc-input-box:hover {
  border-color: rgba(255, 92, 0, 0.3);
  box-shadow: 0 4px 12px rgba(255, 92, 0, 0.05);
}
.wc-input-text {
  font-size: 14px;
  color: #888;
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
}
.wc-send-btn {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #FF5C00, #ff8c00);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255,92,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wc-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,92,0,0.3);
}

/* ===================================
   MOBILE CHAT BOTTOM SHEET
   =================================== */

/* Backdrop */
.mobile-chat-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999990;
  transition: background 0.4s ease;
}
.mobile-chat-backdrop.active {
  display: block;
  background: rgba(0, 0, 0, 0.65);
}

/* Drag handle bar */
.wc-drag-handle {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 14px 0 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.wc-drag-bar {
  width: 40px;
  height: 4px;
  background: #ddd;
  border-radius: 100px;
}

@media (max-width: 800px) {
  /* Phone stays centered, chat hidden off-screen */
  .dcs-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 0;
  }

  /* SVG connector hidden on mobile */
  .dcs-connector-curve {
    display: none;
  }

  /* Show drag handle on mobile */
  .wc-drag-handle {
    display: flex;
  }

  /* Mobile: centered modal popup */
  #web-chat-interface {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    max-width: 420px;
    height: 520px;
    max-height: 80vh;
    border-radius: 20px;
    z-index: 999;
    transform: translate(-50%, -45%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #ffffff !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0,0,0,0.12);
    border: none;
  }

  #web-chat-interface.mobile-open {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }
}

/* Demo cursor auto-animation */
#demo-cursor {
  position: fixed;
  font-size: 30px;
  pointer-events: none;
  opacity: 0;
  z-index: 1200;
  line-height: 1;
  transition:
    left 0.65s cubic-bezier(0.25, 0.8, 0.25, 1),
    top 0.65s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.3s ease,
    transform 0.2s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

/* Button "pressed" state during demo */
.demo-pressed {
  transform: scale(0.96) !important;
  background: linear-gradient(135deg, #fff0e0, #ffe0c0) !important;
  border-color: rgba(255, 92, 0, 0.55) !important;
  box-shadow: 0 6px 20px rgba(255, 92, 0, 0.2) !important;
  transition: all 0.15s ease !important;
}

/* Fix: mobile bottom-sheet needs explicit solid background */
@media (max-width: 800px) {
  #web-chat-interface {
    background: #ffffff;
  }

  /* Demo cursor SVG */
  #demo-cursor {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 36px;
  }
  #demo-cursor svg {
    width: 22px;
    height: 30px;
  }

  /* AI coach card inside phone - clickable style */
  #open-coach-btn {
    transition: background 0.15s ease, box-shadow 0.15s ease;
  }
  #open-coach-btn:active {
    background: rgba(255, 92, 0, 0.06);
  }
}
/* Modal close button */
.wc-close-btn {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f4f4f4;
  border-radius: 50%;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: background 0.2s;
}
.wc-close-btn:hover { background: #e0e0e0; }

@media (max-width: 800px) {
  .wc-close-btn { display: flex; align-items: center; justify-content: center; }
  .wc-drag-handle { display: none; }

  /* Ensure all children of the modal have white backgrounds */
  #web-chat-interface .wc-header {
    background: #ffffff;
  }

  /* Backdrop - lighter for modal style */
  .mobile-chat-backdrop.active {
  display: block;
  background: transparent;
}
}



/* ===================================
   ULTRA-PREMIUM SAAS (FRAMER STYLE) SECTION
   =================================== */

.premium-saas-section {
  padding: 160px 24px;
  background: #fcfcfc;
  text-align: center;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "apple sd gothic neo", "pretendard", sans-serif;
}

.premium-saas-container {
  max-width: 1040px;
  margin: 0 auto;
}

/* Header Text (Ultra Minimal) */
.psaas-header-text {
  margin-bottom: 80px;
}

.psaas-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -2px;
  color: #000;
  margin-bottom: 24px;
}

.psaas-desc {
  font-size: 19px;
  color: #666;
  line-height: 1.6;
  letter-spacing: -0.4px;
  font-weight: 500;
}

/* Canvas Area */
.psaas-canvas {
  position: relative;
  width: 100%;
  height: 680px;
  margin: 0 auto;
}

/* Base Card (Framer Style Deep Soft Shadow) */
.psaas-card {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.03);
  border-radius: 28px;
  box-shadow: 
    0 40px 80px -12px rgba(0,0,0,0.08), 
    0 10px 20px -4px rgba(0,0,0,0.04);
  text-align: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.psaas-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 60px 100px -12px rgba(0,0,0,0.1), 
    0 20px 40px -4px rgba(0,0,0,0.05);
}








/* -----------------------------------------------------------------
   Dalpha Pro Dashboard Highlight Section
   ----------------------------------------------------------------- */
.pro-dashboard-section {
  padding: 100px 20px;
  background: #fdfdfd;
  position: relative;
}
.pro-dashboard-container {
  max-width: 1060px;
  margin: 0 auto;
  position: sticky;
}

.mockup-window {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05), 0 2px 12px rgba(0,0,0,0.02);
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
  text-align: left;
}

.mw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mw-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: -0.3px;
}
.mw-close {
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}
.mw-close:hover { color: #555; }

.mw-subinfo {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
  font-weight: 400;
}
.mw-date-selector {
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.clean-table-wrapper {
  padding: 0 20px 20px;
}
.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.clean-table th {
  background: #fafafc;
  color: #777;
  font-weight: 500;
  font-size: 11px;
  padding: 10px 12px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  letter-spacing: -0.3px;
}

.clean-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  vertical-align: middle;
  font-size: 13px;
  letter-spacing: -0.2px;
  color: #333;
}

.clean-table th:last-child,
.clean-table td:last-child {
  border-right: none;
}

.t-lesson {
  text-align: left;
  font-weight: 500;
  color: #333;
}
.t-sub {
  color: #999;
  font-weight: 400;
  font-size: 12px;
}

.t-video-real {
  position: relative;
  width: 64px;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
  margin: 0 auto;
}
.t-video-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.t-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-play-icon {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.status-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
}
.status-pending {
  background: #4A56E2;
  color: #fff;
  border: 1px solid #4A56E2;
}
.status-done {
  background: transparent;
  color: #999;
  border: 1px solid #e5e5e5;
}

.dp-text-content {
  text-align: center;
  margin-bottom: 60px;
}
.dp-text-content h3 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #111;
  word-break: keep-all;
}
.dp-text-content p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  word-break: keep-all;
}

.golf-pro-bg {
  background: linear-gradient(135deg, rgba(255,92,0,0.04) 0%, rgba(255,140,80,0.01) 100%);
  border: 1px solid rgba(255,92,0,0.06);
  border-radius: 24px;
  padding: 48px 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.dp-split-layout {
  display: flex;
  gap: 60px;
  width: 100%;
}

.dp-sidebar {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}
.dp-menu-item {
  font-size: 20px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.5px;
}
.dp-menu-item:hover { color: #555; }
.dp-menu-item.active {
}

.dp-display-content {
  flex: 1;
  min-width: 0;
}

.sleek-cta {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.3px;
  transition: background 0.2s;
}
.sleek-cta:hover { background: #333; }

@media (max-width: 900px) {
  .pro-dashboard-section { min-height: auto; padding: 60px 20px; }
  .pro-dashboard-container { position: relative; top: 0; }

  .dp-split-layout { flex-direction: column; gap: 30px; }
  
  .dp-sidebar { 
    width: 100%; 
    flex-direction: row; 
    justify-content: center; 
    overflow-x: auto; 
    flex-wrap: nowrap; 
    padding-bottom: 10px; 
    -webkit-overflow-scrolling: touch;
  }
  .dp-menu-item { font-size: 16px; white-space: nowrap; padding: 0 10px; }
  
  .dp-text-content h3 { font-size: 28px; letter-spacing: -1px; margin-bottom: 16px; }
  .dp-text-content p { font-size: 15px; }

  .golf-pro-bg { padding: 30px 20px; border-radius: 20px; }
  
  .mockup-window {
    width: 580px !important;
    max-width: 580px !important;
    margin: 0 auto;
  }
  .clean-table { width: 100%; min-width: 580px; }
  
}

/* Synergy Workflow Section */
.synergy-section {
  padding: 120px 24px;
  background-color: #fcfcfc; /* subtle light bg */
  text-align: center;
}
@media (max-width: 768px) {
  .synergy-section { padding: 60px 24px; }
}

.synergy-container {
  max-width: 1000px;
  margin: 0 auto;
}

.synergy-header {
  margin-bottom: 80px;
}

.synergy-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  word-break: keep-all;
}

.synergy-header p {
  font-size: 18px;
  color: #666;
  word-break: keep-all;
  line-height: 1.5;
}

.synergy-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@media (min-width: 800px) {
  .synergy-header h2 {
    font-size: 40px;
  }
  .synergy-flow {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }
}

.syn-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.syn-ui-wrap {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* === Synergy Section: Step 1 ??Phone with Nova wave + floating popup === */

/* Group container: positions both phone AND popup together */
.syn-phone-nova-group {
  position: relative;
  /* total visual width: phone width (155px) + popup overflow (50px) */
  width: 210px;
  height: 310px;
}

/* Sizer: clips to the visual size of the scaled phone */
.syn-phone-nova-sizer {
  position: absolute;
  top: 0; left: 0;
  width: 155px;  /* 310px * 0.5 */
  height: 300px; /* 600px * 0.5 */
  overflow: visible;
}

/* Scale the actual mockup-phone from top-left, no margin override */
.syn-phone-nova-sizer .mockup-phone {
  transform: scale(0.5);
  transform-origin: top left;
  margin: 0;
  /* Override global hover so it doesnt fight transform */
  transition: none;
}

/* Phone screen: pure dark background for Nova wave */
.nova-phone-screen {
  background: #06060d !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Nova wave fills phone screen */
.nova-wave-full {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Center glowing orb */
.nova-core {
  position: absolute;
  width: 80px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(160, 100, 255, 1) 0%,
    rgba(80, 120, 255, 0.7) 45%,
    transparent 80%
  );
  filter: blur(8px);
  animation: nova-pulse 2.5s ease-in-out infinite alternate;
  z-index: 5;
}
.nova-core-2 {
  width: 60px;
  height: 28px;
  background: radial-gradient(ellipse at center,
    rgba(220, 80, 255, 0.9) 0%,
    rgba(60, 140, 255, 0.5) 50%,
    transparent 80%
  );
  filter: blur(10px);
  animation-name: nova-pulse-2;
  animation-delay: -1.3s;
}

@keyframes nova-pulse {
  0%   { transform: scale(1) translateX(-12px) scaleY(0.8); opacity: 0.85; }
  50%  { transform: scale(1.5) translateX(0) scaleY(1); opacity: 1; }
  100% { transform: scale(1) translateX(12px) scaleY(0.7); opacity: 0.75; }
}
@keyframes nova-pulse-2 {
  0%   { transform: scale(1.4) translateX(10px); opacity: 0.7; }
  50%  { transform: scale(0.8) translateX(-8px); opacity: 1; }
  100% { transform: scale(1.2) translateX(2px); opacity: 0.8; }
}

/* Ripple ellipse rings */
.nova-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: nova-ripple 3.2s ease-out infinite;
}
.nova-ring-1 {
  width: 90px; height: 44px;
  border-color: rgba(140, 100, 255, 0.55);
  animation-delay: 0s;
}
.nova-ring-2 {
  width: 180px; height: 88px;
  border-color: rgba(80, 130, 255, 0.32);
  animation-delay: 0.9s;
}
.nova-ring-3 {
  width: 290px; height: 140px;
  border-color: rgba(200, 80, 255, 0.15);
  animation-delay: 1.8s;
}

@keyframes nova-ripple {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.nova-screen-label {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 10;
}

/* Analysis popup card: floats over phone lower-right */
.syn-analysis-popup {
  position: absolute;
  bottom: 20px;
  right: 0px;
  width: 155px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.10),
    0 0 0 1px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  z-index: 20;
}

.popup-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* AI simple status card (step 2) */
.syn-ai-simple-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
  min-width: 200px;
}
.sai-icon {
  width: 40px;
  height: 40px;
  background: #fff8f5;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.sai-text {
  flex: 1;
}
.sai-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.sai-sub {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.sai-badge {
  width: 24px;
  height: 24px;
  background: #FF5C00;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.syn-camera-ui {
  background: #000;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.syn-cam-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85; 
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}

.cam-top {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  padding: 6px 0;
}

.cam-red-dot {
  width: 10px;
  height: 10px;
  background: #FF3B30;
  border-radius: 50%;
  animation: syn-blink 1s infinite alternate;
}
.cam-time {
  color: #fff;
  font-family: monospace;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

@keyframes syn-blink {
  from { opacity: 1; }
  to { opacity: 0; }
}

.cam-reticle {
  position: absolute;
  top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  z-index: 5;
}

.c-rtl {
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid rgba(255,255,255,0.7);
}
.c-rtl.t-l { top: 0; left: 0; border-right: none; border-bottom: none; }
.c-rtl.t-r { top: 0; right: 0; border-left: none; border-bottom: none; }
.c-rtl.b-l { bottom: 0; left: 0; border-right: none; border-top: none; }
.c-rtl.b-r { bottom: 0; right: 0; border-left: none; border-top: none; }

.c-ctr {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 4px; height: 4px;
  background: rgba(255,215,0,0.8);
}

.cam-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.cam-record-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cam-record-inner {
  width: 40px; height: 40px;
  background: #FF3B30;
  border-radius: 50%;
}

/* Premium SaaS Card (Step 2) */
.syn-saas-card {
  width: 200px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.syn-saas-card:hover {
  transform: translateY(-5px);
}

.saas-card-section {
  padding: 20px;
}

/* Gemini Hologram CSS */
.saas-card-hologram {
  width: 100%;
  height: 80px;
  background: #111; 
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hc-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  mix-blend-mode: screen;
  animation: hc-blob 4s infinite alternate ease-in-out;
}
.hc-1 { width: 50px; height: 30px; background: rgba(66, 133, 244, 0.9); left: 15%; animation-delay: 0s; }
.hc-2 { width: 40px; height: 40px; background: rgba(234, 67, 53, 0.9); left: 35%; top: 30%; animation-delay: -1s; }
.hc-3 { width: 60px; height: 20px; background: rgba(251, 188, 5, 0.9); right: 25%; animation-delay: -2s; }
.hc-4 { width: 40px; height: 40px; background: rgba(52, 168, 83, 0.9); right: 15%; top: 20%; animation-delay: -3s; }

@keyframes hc-blob {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.2) translate(10px, -5px); }
  66% { transform: scale(0.9) translate(-10px, 10px); }
  100% { transform: scale(1.3) translate(5px, 5px); }
}

.hc-overlay-text {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 700;
  font-family: Pretendard, sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.saas-card-divider {
  width: 100%;
  height: 1px;
  background: #f1f3f5;
}

.d-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.abstract-graph-container {
  width: 80px;
  height: 80px;
}

.anim-data-path {
  animation: pulse-path 3s infinite alternate ease-in-out;
}

@keyframes pulse-path {
  0% { transform: scale(0.95); transform-origin: 50% 50%; opacity: 0.8; }
  100% { transform: scale(1.05); transform-origin: 50% 50%; opacity: 1; }
}

.syn-student-ball {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-image: url('/matte_golf_ball.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1), inset -10px -10px 20px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.4s ease;
}

.syn-student-ball:hover {
  transform: translateY(-5px) rotate(5deg);
}

.syn-ball-content {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
  letter-spacing: 2px;
}

.syn-label {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-top: -10px;
}

/* Modern SaaS Connector */
.syn-connector-new {
  flex: 1;
  min-width: 60px;
  max-width: 120px;
  height: 50px;
  position: relative;
  display: none;
}

@media (min-width: 800px) {
  .syn-connector-new {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 115px; /* Alignment with cards */
  }
}

.conn-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f1f3f5;
  transform: translateY(-50%);
  z-index: 1;
}

.conn-badge {
  position: relative;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 0 0 1px #f1f3f5;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conn-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08), 0 0 0 1px #FF5C00;
}


/* --- Synergy Workflow Feature --- */
    .test-workflow-container {
      display: flex;
      align-items: center;
      gap: 50px; 
      position: relative;
      z-index: 1;
      margin: 0 auto;
    }

    .test-workflow-container::before {
      content: "";
      position: absolute;
      height: 1.5px; /* ??? ??*/
      background: linear-gradient(to right, transparent 0%, #ffb880 20%, #ff5c00 80%, #ffb880 100%);
    }

    .mockup-phone-small {
      background: #111;
      outline: 1px solid #e0e0e0;
      box-shadow: 
        0 12px 24px rgba(0,0,0,0.12),
        inset 0 0 1px 1px rgba(255,255,255,0.6);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      margin: 0;
    }
    
    .phone-notch {
      position: absolute;
      width: 65px;
      height: 14px;
      background: #111;
      border-radius: 0 0 8px 8px;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
    }

    .phone-screen-clean {
      flex: 1;
      background-image: url('/ai_golf_analysis.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .rec-indicator {
      position: absolute;
      top: 24px; left: 50%;
      transform: translateX(-50%);
      background: rgba(0,0,0,0.6);
      padding: 4px 12px;
      border-radius: 20px;
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .rec-dot {
      width: 6px; height: 6px;
      background: #FF3B30;
      border-radius: 50%;
    }
    .phone-bottom-bar {
      position: absolute;
      bottom: 0; width: 100%;
      height: 70px;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .rec-btn {
      width: 38px; height: 38px;
      border: 2px solid #fff;
      border-radius: 50%;
      display: flex; justify-content: center; align-items: center;
    }
    .rec-btn-inner {
      width: 24px; height: 24px;
      background: #FF3B30;
      border-radius: 50%;
    }

    .step-analysis {
      width: 260px;
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 8px 30px rgba(0,0,0,0.06);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .analysis-section {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .analysis-header {
      font-size: 13px;
      font-weight: 700;
      color: #111;
      display: flex;
      align-items: center;
    }
    
    .orange-hologram-container {
      width: 100%;
      height: 48px;
      background: transparent;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .evo-ribbon {
      position: absolute;
      height: 8px;
      border-radius: 20px;
      animation: ribbon-pulse infinite ease-in-out alternate;
    }
    
    .r1 {
      width: 35%;
      background: rgba(255, 92, 0, 0.4);
      animation-duration: 1.1s;
      z-index: 3;
    }
    
    .r2 {
      width: 55%;
      background: rgba(255, 130, 0, 0.3);
      animation-duration: 1.4s;
      animation-delay: -0.4s;
      z-index: 2;
    }
    
    .r3 {
      width: 75%;
      background: rgba(255, 170, 0, 0.2);
      animation-duration: 1.8s;
      animation-delay: -0.8s;
      z-index: 1;
    }

    @keyframes ribbon-pulse {
      0% { 
        transform: scaleY(0.8) scaleX(0.95); 
        opacity: 0.5;
      }
      100% { 
        transform: scaleY(3.0) scaleX(1.05); 
        opacity: 1;
      }
    }

    .analysis-data-block {
      background: #f9fafb;
      border: 1px solid #f3f4f6;
      border-radius: 8px;
      padding: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .mini-graph {
      width: 40px; height: 40px;
      border: 2px solid #e5e7eb;
      border-radius: 50%;
      position: relative;
    }
    .mini-graph::after {
      content: ""; position: absolute;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
      width: 20px; height: 20px;
      border-top: 2px solid #FF5C00;
      border-right: 2px solid #FF5C00;
      border-radius: 50%;
    }
    .data-text {
      flex: 1;
    }
    .data-label {
      font-size: 11px;
      color: #6b7280;
      margin-bottom: 2px;
    }
    .data-value {
      font-size: 14px;
      font-weight: 700;
      color: #111;
    }

    .student-group-box {
      border: 1.5px solid #FF5C00;
      border-radius: 8px;
      background: #fff;
      position: relative;
    }
    
    .student-group-title {
      position: absolute;
      left: 12px;
      background: #fff;
      padding: 0 6px;
      font-size: 11px;
      font-weight: 700;
      color: #FF5C00;
    }
    
    .student-pill-list {
      display: flex;
      gap: 10px;
    }

    .step-student-pill {
      background: #fdfdfd;
      border: 1px solid #e5e7eb;
      border-radius: 8px; 
      padding: 6px 14px 6px 6px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    }
    
    .student-avatar {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      background-color: #f1f3f5;
    }
    
    .student-name {
      font-size: 13px;
      font-weight: 700;
      color: #374151;
    }

    .step-analysis-card {
      width: 280px;
      background: #fff;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 8px 30px rgba(0,0,0,0.06);
      border-spacing: 0;
      overflow: hidden;
      margin: 0;
      padding: 0;
    }

    .step-analysis-card th.main-table-header {
      background: linear-gradient(135deg, #fff2e6 0%, #ffdecc 100%);
      padding: 12px 14px;
      font-size: 12px;
      font-weight: 600;
      text-align: left;
      border-bottom: 1px solid rgba(255,92,0,0.1);
    }

    .step-analysis-card th.sub-gray-header {
      background: #f8f9fa;
      padding: 10px 14px;
      font-size: 12px;
      font-weight: 600;
      color: #6b7280;
      text-align: left;
      border-top: 1px solid #e5e7eb;
      border-bottom: 1px solid #e5e7eb;
    }

    .step-analysis-card td {
      padding: 12px 14px;
      font-size: 12px;
      color: #374151;
      border-bottom: 1px solid #f3f4f6;
    }

    .step-analysis-card tr:last-child td {
      border-bottom: none;
    }

    .step-analysis-card td.split-col {
      border-right: 1px solid #f3f4f6;
      width: 50%;
    }

    .focus-val {
      font-weight: 700;
      color: #FF5C00;
    }

    .kakao-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .kakao-table th {
      color: #6b7280;
      font-size: 11px;
      font-weight: 600;
      padding: 8px 12px;
      border-top: 1px solid #e5e7eb;
      border-bottom: 1px solid #e5e7eb;
    }
    
    .kakao-table th:last-child {
      border-right: none;
    }

    .kakao-table td {
      padding: 12px 12px;
      font-size: 12px;
      color: #374151;
      border-bottom: 1px solid #f3f4f6;
    }

    .kakao-table td:last-child {
      border-right: none;
    }

    .kakao-table tr:last-child td {
      border-bottom: none;
    }

    .analysis-wrapper {
    }
    .floating-practice-card {
      position: relative;
      width: 240px;
      background: #fff;
      border-radius: 12px;
      box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(0, 0, 0, 0.04);
      z-index: 10;
    }
    
    @keyframes float-card {
      0% { transform: translateY(0); }
      100% { transform: translateY(-8px); }
    }

    .fpc-header {
      padding: 10px 14px;
      font-size: 11px;
      font-weight: 700;
      color: #111;
      display: flex;
      align-items: center;
      gap: 6px;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .compact-inner-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 10.5px;
      text-align: center;
      background: #fff;
    }
    
    .compact-inner-table th, 
    .compact-inner-table td {
      padding: 8px 10px;
      border-right: 1px solid #f3f4f6; 
      border-bottom: 1px solid #f3f4f6; 
    }
    
    .compact-inner-table th:last-child, 
    .compact-inner-table td:last-child {
      border-right: none;
    }
    
    .compact-inner-table tr:last-child td {
      border-bottom: none; 
    }

    .compact-inner-table th {
      background: #fafafa;
      color: #6b7280;
      font-weight: 500;
    }
    
    .compact-inner-table td { color: #111; }
    .inner-bold { font-weight: 600; color: #374151; }
    .inner-orange { font-weight: 700; color: #FF5C00; }

    /* =========================================
       ========================================= */
    @media (max-width: 768px) {
      .test-workflow-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
      }

      .test-workflow-container::before {
        display: none !important;
      }

      .mockup-phone-small {
        width: 110px; 
        height: 212px;
        background: #111;
        border-radius: 12px;
        outline: 1px solid #e0e0e0;
        box-shadow: 
          0 10px 24px rgba(0,0,0,0.12),
          inset 0 0 1px 1px rgba(255,255,255,0.6);
        overflow: hidden; 
      }
      .phone-notch { width: 50px; height: 10px; border-radius: 0 0 8px 8px; }
      
      .phone-screen-clean { 
      }
      
      .phone-wrapper {
        position: relative;
        display: flex;
      }

      .phone-wrapper::after {
        content: "";
        position: absolute;
        height: 1.5px;
        background: linear-gradient(to right, #ffb880 0%, #ff5c00 100%);
        z-index: 10;
        display: block !important;
      }
      
      .mockup-phone-small::after { display: none !important; }
      
      .step-analysis-card {
        width: 216px; 
      }
      .step-analysis-card th.main-table-header { padding: 10px 12px; font-size: 11px; }
      .step-analysis-card th.sub-gray-header { padding: 8px 12px; font-size: 11px; }
      .step-analysis-card td { padding: 10px 12px; font-size: 11px; }

      .floating-practice-card {
        width: 100%;
        max-width: 280px; 
        transform: scale(1);
      }

      .student-group-box {
        width: 100%;
        max-width: 346px; 
        margin-top: 0; 
      }
      .student-pill-list {
        justify-content: center; 
      }

      .floating-practice-card::before {
        content: "";
        position: absolute;
        border-bottom-right-radius: 12px;
        display: block !important;
      }
      .floating-practice-card::after {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        width: 1.5px;
        background: #ff5c00;
        display: block !important;
      }

      .student-group-box::before {
        content: "";
        position: absolute;
        bottom: 100%; 
        left: 50%; 
        width: 1.5px;
        background: #ff5c00;
        display: block !important;
        z-index: 0;
      }
      
      .student-group-box { z-index: 1; }
    }

.problem-main-title,
.dcs-text h3,
.synergy-section h3,
.synergy-workflow-section h3,
.golf-title,
.dp-text-content h3,
.mockup-text-side h3 {
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -1.5px !important;
}

@media (max-width: 768px) {
  .problem-main-title,
  .dcs-text h3,
  .synergy-section h3,
  .synergy-workflow-section h3,
  .golf-title,
  .dp-text-content h3,
  .mockup-text-side h3 {
    font-size: 26px !important;
    line-height: 1.4 !important;
    letter-spacing: -1px !important;
  }
}
.cta-banner-wrapper {
  width: 100%; display: flex; justify-content: center; margin-top: 16px; margin-bottom: 24px;
}
.cta-banner-box {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1.5px solid #111; border-radius: 12px; padding: 18px 28px;
  width: 100%; max-width: 600px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cta-banner-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.cta-banner-text { display: flex; align-items: center; gap: 12px; }
.cta-main-txt { color: #111; font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.cta-banner-box svg { color: #111; transition: transform 0.3s ease; }
.cta-banner-box:hover svg { transform: translateX(4px); }

.feature2-cta, .feature3-cta { margin-top: 20px; margin-bottom: 30px; }

@media (max-width: 768px) {
  .cta-banner-box { padding: 16px 20px; border-radius: 12px; margin: 0 16px; }
  .cta-main-txt { font-size: 16px; }
  .feature2-cta, .feature3-cta { margin-top: -100px !important; margin-bottom: 20px !important; position: relative; z-index: 50; }
}

/* PC Grid Layout (3 Columns) */
@media (min-width: 769px) {
  .pc-3-col { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Light Transparent Card Variant */
.light-transparent-card {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Base Body Protection against mobile overflow */
html, body { overflow-x: hidden; }

/* Desktop CTA Navbar */
.nav-cta-desk { display: block; }
.mob-menu-fold { display: none; }

@media (max-width: 768px) {
  .nav-cta-desk { display: none !important; }
  
  /* Foldable Mobile Menu */
  .mob-menu-fold {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 0 20px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: 900;
  }
  .mob-menu-fold.open {
    max-height: 120px; padding: 0 20px 20px 20px;
  }
  
  .header { padding: 0 20px; } /* Ensure header fits screen */

  /* Table Mobile Safe Display (No Horizontal Scroll) */
  .workflow-table, .workflow-table tbody, .workflow-table tr, .workflow-table td, .workflow-table th {
    display: block; width: 100%; box-sizing: border-box; text-align: left !important; border-right: none !important;
  }
  .workflow-table tr { margin-bottom: 20px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff; padding-bottom: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
  .workflow-table td { padding: 16px !important; border-bottom: none !important; }
  .workflow-table td:first-child { background: #fdfdfd; border-bottom: 1px solid #f0f0f0 !important; }
  .workflow-table ul { padding-left: 20px; margin-top: 10px; }
  .workflow-table thead { display: none; }
}

/* Modal Extreme Z-Index to prevent overlap */
.mobile-chat-backdrop { z-index: 99999998 !important; }
.web-chat-interface { z-index: 99999999 !important; }

/* Scroll Fade Up Global Animation */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.scroll-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Extreme Mobile Overflow Safety */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  width: 100%;
}
/* ==== RECONSTRUCTED WORKFLOW CSS ==== */
.test-workflow-container {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  position: relative;
  z-index: 5;
}

.test-workflow-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,92,0,0) 0%, rgba(255,92,0,0.4) 50%, rgba(255,92,0,0) 100%);
  z-index: -1;
}

@media (max-width: 800px) {
  .test-workflow-container {
    flex-direction: column !important;
    gap: 30px !important;
  }
  .test-workflow-container::before {
    display: none !important;
  }
}

/* ==== RECONSTRUCTED WORKFLOW SECTION CSS ==== */
.mockup-phone-small {
  width: 200px;
  height: 400px;
  background: #111;
  border-radius: 20px;
  border: 6px solid #333;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  margin: 0 auto;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 16px; background: #333; border-radius: 0 0 10px 10px; z-index: 10;
}
.phone-screen-clean {
  width: 100%; height: 100%; background: url('/matte_golf_ball.webp') center/cover; position: relative;
}

.analysis-wrapper { display: flex; flex-direction: column; gap: 20px; }
.step-analysis-card { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; width: 280px; margin: 0 auto; border-collapse: separate !important; }
.main-table-header { background: #111; color: #fff; padding: 12px; text-align: center; }
.sub-gray-header { background: #fdfdfd; padding: 10px; font-weight: 600; color: #444; border-bottom: 1px solid #eee; text-align: center; }
.split-col { border-right: 1px solid #eee; padding: 10px; color: #666; width: 60%; vertical-align: middle; }
.focus-val { padding: 10px; font-weight: 800; color: #FF5C00; text-align: center; vertical-align: middle; }

.floating-practice-card { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 20px; width: 280px; margin: 0 auto; }
.fpc-header { font-weight: 800; border-bottom: 2px solid #FF5C00; padding-bottom: 10px; margin-bottom: 15px; }
.compact-inner-table { width: 100%; border-collapse: collapse; text-align: center; }
.compact-inner-table th { padding: 8px; border-bottom: 1px solid #eee; color: #888; font-weight: 500; font-size: 13px; }
.compact-inner-table td { padding: 10px 8px; border-bottom: 1px solid #f9f9f9; font-size: 14px; }
.inner-bold { font-weight: 800; color: #111; }
.inner-orange { font-weight: 600; color: #FF5C00; }

.student-group-box { position: relative; margin: 0 auto; margin-top: 20px; }
.student-group-title { position: absolute; top: -30px; left: 0; font-weight: 700; color: #888; font-size: 12px; }
.student-pill-list { display: flex; flex-direction: column; gap: 10px; }
.step-student-pill { display: flex; align-items: center; background: #fff; border-radius: 40px; padding: 6px 16px 6px 6px; box-shadow: 0 6px 16px rgba(0,0,0,0.05); gap: 12px; border: 1px solid transparent; width: max-content; }
.student-avatar { width: 32px; height: 32px; border-radius: 50%; background-size: cover; background-position: center; }
.student-name { font-weight: 700; font-size: 14px; }

.orange-hologram-container { height: 60px; background: #111; position: relative; overflow: hidden; border-radius: 6px; }
.evo-ribbon { position: absolute; height: 2px; width: 100%; background: #FF5C00; }
.r1 { top: 30%; transform: scaleX(0.5); opacity: 0.8; }
.r2 { top: 50%; transform: scaleX(0.8); opacity: 0.5; }
.r3 { top: 70%; transform: scaleX(0.4); opacity: 0.3; }

/* FIX MOB-FADE-IN IF DELETED */
.mob-fade-in { opacity: 0; transform: translateY(40px); transition: all 0.6s ease-out; }
.mob-fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==== ORIGINAL CACHED WORKFLOW CSS ==== */
.test-workflow-container {
      display: flex;
      align-items: center;
      gap: 50px; /* 명시적인 connector div 대신 gap으로 간격 띄우기 */
      position: relative;
      z-index: 1;
    }

    /* === 배경 연결선 (화살표 없는 얇은 주황색 그라데이션 띠) === */
    .test-workflow-container::before {
      content: "";
      position: absolute;
      top: 50%; /* 컨테이너 중앙을 가로지름 */
      left: 60px; /* 첫 번째 폰 뒤에서부터 */
      right: 60px; /* 마지막 수강생 블록 뒤까지 */
      height: 1.5px; /* 얇은 선 */
      background: linear-gradient(to right, transparent 0%, #ffb880 20%, #ff5c00 80%, #ffb880 100%);
      z-index: -1; /* 각 요소들 뒤(배경)에 깔리게 */
    }

    /* === Step 1: 기본 형태를 유지하며 크기만 비례해서 줄인 폰 프레임 === */
    .mockup-phone-small {
      width: 140px;   /* 원본 310px의 절반 살짝 이하 */
      height: 270px;  /* 원본 600px의 절반 살짝 이하 (비율 그대로) */
      background: #111;
      border-radius: 12px; /* 모서리도 비례해서 둥글게 */
      outline: 1px solid #e0e0e0;
      box-shadow: 
        0 12px 24px rgba(0,0,0,0.12),
        inset 0 0 1px 1px rgba(255,255,255,0.6);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      margin: 0;
    }
    
    .phone-notch {
      position: absolute;
      width: 65px;
      height: 14px;
      background: #111;
      border-radius: 0 0 8px 8px;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
    }

    .phone-screen-clean {
      flex: 1;
      background-image: url('/ai_golf_analysis.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }

    /* 심플한 녹화 UI */
    .rec-indicator {
      position: absolute;
      top: 24px; left: 50%;
      transform: translateX(-50%);
      background: rgba(0,0,0,0.6);
      padding: 4px 12px;
      border-radius: 20px;
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .rec-dot {
      width: 6px; height: 6px;
      background: #FF3B30;
      border-radius: 50%;
    }
    .phone-bottom-bar {
      position: absolute;
      bottom: 0; width: 100%;
      height: 70px;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .rec-btn {
      width: 38px; height: 38px;
      border: 2px solid #fff;
      border-radius: 50%;
      display: flex; justify-content: center; align-items: center;
    }
    .rec-btn-inner {
      width: 24px; height: 24px;
      background: #FF3B30;
      border-radius: 50%;
    }

    /* === Step 2: 클린 SaaS 분석 카드 === */
    .step-analysis {
      width: 260px;
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 8px 30px rgba(0,0,0,0.06);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .analysis-section {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .analysis-header {
      font-size: 13px;
      font-weight: 700;
      color: #111;
      display: flex;
      align-items: center;
      /* 아이콘을 다 뺐으므로 텍스트만 깔끔하게 */
    }
    
    /* 1. 고도화된 음성 파동 (자연스럽고 부드럽게 돌아간 스무스 리본) */
    .orange-hologram-container {
      width: 100%;
      height: 48px;
      background: transparent;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .evo-ribbon {
      position: absolute;
      height: 8px;
      border-radius: 20px;
      mix-blend-mode: multiply; /* 하얀 바탕 위에서 잉크처럼 부드럽게 섞임 */
      filter: blur(2px); /* 다시 은은하고 자연스럽게 */
      animation: ribbon-pulse infinite ease-in-out alternate;
    }
    
    .r1 {
      width: 35%;
      background: rgba(255, 92, 0, 0.4);
      animation-duration: 1.1s;
      z-index: 3;
    }
    
    .r2 {
      width: 55%;
      background: rgba(255, 130, 0, 0.3);
      animation-duration: 1.4s;
      animation-delay: -0.4s;
      z-index: 2;
    }
    
    .r3 {
      width: 75%;
      background: rgba(255, 170, 0, 0.2);
      animation-duration: 1.8s;
      animation-delay: -0.8s;
      z-index: 1;
    }

    /* 너무 딱딱한 스케일 대신 유기적인 호흡 애니메이션 */
    @keyframes ribbon-pulse {
      0% { 
        transform: scaleY(0.8) scaleX(0.95); 
        opacity: 0.5;
      }
      100% { 
        transform: scaleY(3.0) scaleX(1.05); 
        opacity: 1;
      }
    }

    /* 2. 영상 스윙 데이터 */
    .analysis-data-block {
      background: #f9fafb;
      border: 1px solid #f3f4f6;
      border-radius: 8px;
      padding: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .mini-graph {
      width: 40px; height: 40px;
      border: 2px solid #e5e7eb;
      border-radius: 50%;
      position: relative;
    }
    .mini-graph::after {
      content: ""; position: absolute;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
      width: 20px; height: 20px;
      border-top: 2px solid #FF5C00;
      border-right: 2px solid #FF5C00;
      border-radius: 50%;
    }
    .data-text {
      flex: 1;
    }
    .data-label {
      font-size: 11px;
      color: #6b7280;
      margin-bottom: 2px;
    }
    .data-value {
      font-size: 14px;
      font-weight: 700;
      color: #111;
    }

    /* === Step 3: 수강생 그룹 (주황색 라인 + 태그) === */
    .student-group-box {
      border: 1.5px solid #FF5C00;
      border-radius: 8px;
      padding: 22px 14px 14px 14px; /* 타이틀 라벨을 피하기 위해 윗 여백 확보 */
      background: #fff;
      position: relative;
    }
    
    .student-group-title {
      position: absolute;
      top: -10px; /* 테두리선 위에 겹치도록 띄움 */
      left: 12px;
      background: #fff;
      padding: 0 6px;
      font-size: 11px;
      font-weight: 700;
      color: #FF5C00;
    }
    
    .student-pill-list {
      display: flex;
      flex-wrap: wrap; /* 가로로 배치하다 넘치면 다음 줄로 */
      gap: 10px;
    }

    /* 개별 수강생 태그 */
    .step-student-pill {
      background: #fdfdfd;
      border: 1px solid #e5e7eb;
      border-radius: 8px; 
      padding: 6px 14px 6px 6px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    }
    
    .student-avatar {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      background-color: #f1f3f5;
    }
    
    .student-name {
      font-size: 13px;
      font-weight: 700;
      color: #374151;
    }

    /* === 카드 자체가 하나의 거대한 "카톡 스타일 표(Table)" === */
    .step-analysis-card {
      width: 280px;
      background: #fff;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 8px 30px rgba(0,0,0,0.06);
      border-collapse: separate; /* 테이블 테두리 둥글게 깎기 위해 필수 */
      border-spacing: 0;
      overflow: hidden;
      margin: 0;
      padding: 0;
    }

    /* 표 자체의 최상단 머리표 (Table Header) */
    .step-analysis-card th.main-table-header {
      background: #fff2e6; /* 연한 주황색 */
      padding: 12px 14px;
      font-size: 13px;
      font-weight: 700;
      color: #FF5C00;
      text-align: left;
      border-bottom: 1px solid #ffe6d1;
    }

    /* 표 하위 섹션(회색 머리말) */
    .step-analysis-card th.sub-gray-header {
      background: #f8f9fa;
      padding: 10px 14px;
      font-size: 12px;
      font-weight: 600;
      color: #6b7280;
      text-align: left;
      border-top: 1px solid #e5e7eb;
      border-bottom: 1px solid #e5e7eb;
    }

    /* 커스텀 데이터 셀 영역 */
    .step-analysis-card td {
      padding: 12px 14px;
      font-size: 12px;
      color: #374151;
      border-bottom: 1px solid #f3f4f6;
    }

    /* 마지막 줄의 밑줄 제거 */
    .step-analysis-card tr:last-child td {
      border-bottom: none;
    }

    /* 2개로 갈라지는 표 세로선 */
    .step-analysis-card td.split-col {
      border-right: 1px solid #f3f4f6;
      width: 50%;
    }

    /* 표 내부 하이라이트 문자열 */
    .focus-val {
      font-weight: 700;
      color: #FF5C00;
    }

    /* 카톡 모달과 완전히 동일한 표 스타일 */
    .kakao-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    /* 회색 머리말 표 선 */
    .kakao-table th {
      background-color: #f8f9fa; /* 카톡처럼 연하고 세련된 회색 */
      color: #6b7280;
      font-size: 11px;
      font-weight: 600;
      padding: 8px 12px;
      border-top: 1px solid #e5e7eb;
      border-bottom: 1px solid #e5e7eb;
      border-right: 1px solid #e5e7eb; /* 세로선 */
    }
    
    .kakao-table th:last-child {
      border-right: none;
    }

    /* 표 본문 데이터 */
    .kakao-table td {
      padding: 12px 12px;
      font-size: 12px;
      color: #374151;
      border-bottom: 1px solid #f3f4f6;
      border-right: 1px solid #f3f4f6; /* 세로선 */
    }

    .kakao-table td:last-child {
      border-right: none;
    }

    .kakao-table tr:last-child td {
      border-bottom: none;
    }

    /* === 프리미엄 플렉스 카드 (기존에 떠다니는 팝업이었으나 플로우로 변경) === */
    .analysis-wrapper {
      position: relative; /* 팝업 앵커용 해제, 그냥 래퍼용 */
      z-index: 20; 
    }
    .floating-practice-card {
      /* 플로팅 요소 해제: 옆에 나란히 배치 */
      position: relative;
      width: max-content; /* 텍스트 넘침 방지 */
      min-width: 260px;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* 과한 그림자 줄임 */
      border: 1px solid #eee;
      z-index: 100;
      /* 카드 자체가 표가 되도록 내부 여백 제거 */
      padding: 0;
      margin: 0 auto;
      /* overflow: hidden; 해제하여 가상선(연결선) 잘림 방지 */
    }
    
    @keyframes float-card {
      0% { transform: translateY(0); }
      100% { transform: translateY(-8px); }
    }

    .fpc-header {
      background: #f8f9fa; /* Clean gray */
      padding: 10px 14px;
      font-size: 13px; /* 제목은 가장 크게 (정상화) */
      font-weight: 800;
      color: #374151; /* Dark gray text */
      display: flex;
      align-items: center;
      gap: 6px;
      border-bottom: 1px solid #e5e7eb;
      border-radius: 12px 12px 0 0; /* 카드 상단 모서리 깎기 */
    }
    
    /* 기존 컴팩트 테이블 CSS 재사용 */
    .compact-inner-table {
      width: 100%;
      border-collapse: collapse;
      text-align: center;
      background: #fff;
      border-radius: 0 0 12px 12px; /* 카드 하단 모서리 깎기 */
      overflow: hidden;
    }
    
    .compact-inner-table th {
      padding: 8px 10px; 
      border-right: 1px solid #f3f4f6; 
      border-bottom: 1px solid #f3f4f6; 
      white-space: nowrap; 
      font-size: 11px; /* th(목표/방법)는 조금 작게 */
      color: #6b7280;
    }

    .compact-inner-table td {
      padding: 10px 12px; 
      border-right: 1px solid #f3f4f6; 
      border-bottom: 1px solid #f3f4f6; 
      white-space: nowrap; 
      font-size: 13px; /* 내용물(내용)은 훨씬 크게 (교체 완료) */
      color: #111;
      font-weight: 600;
    }
    
    .compact-inner-table th:last-child, 
    .compact-inner-table td:last-child {
      border-right: none;
    }
    
    .compact-inner-table tr:last-child td {
      border-bottom: none; 
    }

    .compact-inner-table th {
      background: #fafafa;
      color: #6b7280;
      font-weight: 500;
    }
    
    .compact-inner-table td { color: #111; }
    .inner-bold { font-weight: 600; color: #374151; }
    .inner-orange { font-weight: 700; color: #FF5C00; }

    /* =========================================
       📱 모바일 최적화 (수직 원형 트리 레이아웃: 폰 -> 리포트 -> 연습표 -> 수강생)
       ========================================= */
    @media (max-width: 768px) {
      /* body 패딩 삭제는 유지 (좌우여백 방지) */
      
      .test-workflow-container {
        /* 자동 완전 수직 줄바꿈 */
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center; 
        gap: 40px; /* 카드가 겹치지 않고 선명히 선행을 보여주도록 갭 증가 */
        padding-bottom: 30px;
      }

      /* 스크롤바/스냅 관련 속성 전부 삭제 (원복) 및 가상선 앵커 보장 */
      .phone-wrapper, .analysis-wrapper {
        position: relative; /* 연결선이 모니터 끝으로 날아가지 않도록 강제 앵커!! */
        scroll-snap-align: none;
        flex-shrink: initial;
      }
      .floating-practice-card {
        scroll-snap-align: none;
        flex-shrink: initial;
      }

      /* PC의 미니멀 프레임리스 동일 */
      .mockup-phone-small {
        width: 120px; 
        height: 236px;
        background: #111;
        border-radius: 12px;
        outline: 1px solid #e0e0e0;
        box-shadow: 
          0 10px 24px rgba(0,0,0,0.12),
          inset 0 0 1px 1px rgba(255,255,255,0.6);
        overflow: hidden; 
      }
      .phone-notch { width: 50px; height: 10px; border-radius: 0 0 8px 8px; }
      
      .phone-screen-clean { 
        border-radius: 0; /* overflow: hidden 이 처리해주므로 강제 깎기 해제 */
      }
      
      /* 선 연결용 래퍼 */
      .phone-wrapper {
        position: relative;
        display: flex;
        z-index: 10;
        background: #fafafa;
      }

      /* 1. 폰 -> 리포트 */
      .phone-wrapper::after {
        content: "";
        position: absolute;
        top: calc(100% - 20px); /* 폰 아랫단 깊숙히 숨겨 출발 */
        left: 50%;
        transform: translateX(-50%);
        width: 1.5px;
        height: 80px; /* 원래 갭(40) + 위아래 파고드는 깊이 */
        background: linear-gradient(to bottom, #ffb880 0%, #ff5c00 100%);
        z-index: -1;
        display: block !important;
      }
      
      .mockup-phone-small::after { display: none !important; }
      
      .analysis-wrapper {
        position: relative;
        z-index: 10;
        background: #fff;
        border-radius: 12px;
      }
      .step-analysis-card {
        width: 260px; 
      }
      .step-analysis-card th.main-table-header { padding: 10px 12px; font-size: 13px; }
      .step-analysis-card th.sub-gray-header { padding: 8px 12px; font-size: 12px; }
      
      /* 줄바꿈 레이아웃용 플로팅 카드 리셋 */
      .floating-practice-card {
        width: 100%;
        max-width: 290px;
        margin: 0 auto; 
        transform: none; 
        position: relative;
        z-index: 10;
        background: #fff;
      }

      .student-group-box {
        width: 100%;
        max-width: 310px; /* 수강생 2명이 여유롭게 무조건 1줄에 들어가도록 너비 대폭 틔움 */
        padding: 16px 14px 14px 14px; 
        margin: 0 auto; 
        position: relative;
        z-index: 10;
        background: #fff;
      }
      .student-pill-list {
        display: flex;
        flex-direction: row !important; /* 속성 덮어씌워서 무조건 가로(Row) 강제 */
        justify-content: center; 
        flex-wrap: nowrap !important; /* 모바일에서 무조건 강제로 가로 1줄 배열 */
        gap: 12px; 
      }

      /* === 선 연결 논리 (얇고 유연하게, 카드 뒤로 완전히 은폐!) === */
      .test-workflow-container::before,
      .test-workflow-container::after {
        display: none !important; 
      }

      /* 2. 리포트 -> 연습표 */
      .analysis-wrapper::after {
        content: "";
        position: absolute;
        top: calc(100% - 20px); /* 카드 뒷쪽 깊이 숨김 */
        left: 50%;
        transform: translateX(-50%);
        width: 1.5px;
        height: 80px;
        background: linear-gradient(to bottom, rgba(255,92,0,0.8) 0%, rgba(255,184,128,0.5) 100%);
        z-index: -1; 
        display: block !important;
        pointer-events: none;
      }
      
      .floating-practice-card::before { display: none !important; }

      /* 3. 연습표 -> 수강생 */
      .floating-practice-card::after {
        content: "";
        position: absolute;
        top: calc(100% - 20px); /* 연습표 뒷면 깊숙이 숨겨서 출발 */
        left: 50%;
        transform: translateX(-50%);
        width: 1.5px; /* 선 두께 일치화 */
        height: 80px; /* 갭 + 여유분 */
        background: linear-gradient(to bottom, rgba(255,92,0,1) 0%, rgba(255,92,0,0.6) 100%);
        z-index: -1;
        display: block !important;
        pointer-events: none;
      }

      .student-group-box::before,
      .student-group-box::after { display: none !important; }



    }
  
/* ==== USER REQUESTED HOTFIXES ==== */
/* 1. Problem Cards Transparent & White Text */
.problem-card.light-transparent-card {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}
.problem-card.light-transparent-card h3 {
  color: #fff !important;
}

/* 2. Z-index Fix for Chat Popup overlapping the CTA */
.dashboard-chat-showcase {
  position: relative;
}
.web-chat-interface {
  z-index: 999999 !important; /* Force chat popup to the front above backdrop */
}
/* 3. PC 3-column Grid Utility */
@media (min-width: 1024px) {
  .problem-grid.pc-3-col {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .problem-grid.pc-3-col .problem-card:last-child {
    grid-column: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

.cta-banner-wrapper {
  position: relative;
  z-index: 9999 !important;
  cursor: pointer;
  pointer-events: auto;
}
.cta-banner-box {
  cursor: pointer;
  pointer-events: auto;
}

/* Pull CTA Banners closer to the device frames on Mobile */
@media (max-width: 768px) {
  .mockup-features .cta-banner-wrapper {
    margin-top: -100px !important;
  }
}

