/**
 * Component-specific styles for exaBase recruitment assistant
 * Contains styles for all reusable components
 */

/* ===== BUTTON COMPONENTS ===== */

/* Primary Button */
.primary-button {
  width: var(--button-primary-width);
  height: var(--button-primary-height);
  border-radius: var(--button-radius-primary);
  background: var(--color-primary-gradient);
  color: var(--color-text-white);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal);
  border: none;
  cursor: pointer;
}

.primary-button:hover:not(:disabled) {
  opacity: 0.9;
}

.primary-button .button-content {
  width: 192px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Secondary Button */
.secondary-button {
  width: var(--button-secondary-width);
  height: var(--button-secondary-height);
  border-radius: var(--button-radius-secondary);
  background-color: var(--color-bg-white);
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color var(--transition-normal);
  border: 1px solid var(--color-border-gray-light);
  cursor: pointer;
}

.secondary-button:hover:not(:disabled) {
  background-color: #f9fafb;
}

.secondary-button .button-icon {
  width: 24px;
  height: 24px;
}

/* Action Buttons Container */
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-buttons-vertical {
  flex-direction: column;
  gap: 7px;
}

.action-buttons-horizontal {
  flex-direction: row;
  gap: 1.25rem;
}

/* Quote Mobile Buttons */
.quote-mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

/* Navbar Button Overrides */
.navbar-primary-button {
  width: 205px;
  min-height: 45px;
  height: auto;
  border-radius: 7px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: var(--font-weight-normal);
  color: var(--color-text-white);
}

.navbar-secondary-button {
  width: 140px;
  min-height: 45px;
  height: auto;
  border-radius: 9px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  border: none !important; /* Remove border for navbar download button */
}

/* ===== NAVBAR COMPONENT ===== */

.navbar {
  width: 100%;
  background-color: var(--color-bg-gray-light);
  padding: 1rem 0;
  min-height: var(--navbar-height);
  display: flex;
  align-items: center;
}

.navbar-main-container {
  width: 100%;
  max-width: var(--max-width-container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.navbar-logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.navbar-logo-icon {
  width: 35px;
  height: 35px;
  background-image: url('/svg/logo.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.navbar-logo-text {
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  color: var(--color-brand-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-buttons-container {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

/* ===== HERO SECTION COMPONENT ===== */

.hero-section {
  width: 100%;
  background-color: var(--color-bg-white);
}

/* Mobile Hero Layout */
.hero-mobile {
  display: block;
}

.hero-video-section {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

.hero-content-section {
  width: 100%;
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-bg-white);
}

.hero-buttons-container {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* Desktop Hero Layout */
.hero-desktop {
  display: none;
  max-width: var(--max-width-container);
  height: var(--hero-height-desktop);
  margin: 0 auto;
  position: relative;
}

.hero-content-overlay {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-left-content {
  width: 50%;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
}

/* Hero Content */
.hero-content {
  margin-bottom: 1rem;
}

.hero-heading-mobile {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--color-text-black);
  margin-bottom: 1rem;
}

.hero-heading-desktop {
  font-size: 38px;
  line-height: 55px;
  letter-spacing: -2px;
  color: var(--color-text-black);
  margin-bottom: 1rem;
}

.hero-heading-quote-mobile {
  font-weight: var(--font-weight-normal);
  color: var(--color-text-white);
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  line-height: 39px;
}

.hero-heading-quote-desktop {
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.4;
  text-align: center;
  color: var(--color-text-white);
  font-weight: var(--font-weight-medium);
}

.hero-description-mobile {
  font-size: 14px;
  font-weight: var(--font-weight-normal);
  line-height: 24px;
  color: var(--color-text-black);
  margin-bottom: 1.5rem;
}

.hero-description-desktop {
  font-size: 14px;
  font-weight: var(--font-weight-normal);
  line-height: 24px;
  color: var(--color-text-black);
  max-width: 485px;
  margin-bottom: 2.5rem;
}

/* ===== VIDEO BACKGROUND COMPONENT ===== */

.video-background {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-background-mobile {
  height: auto;
}

.video-background-desktop,
.video-background-hero-desktop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mobile-video-container {
  width: 100%;
  height: auto;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

/* Remove video control animations and grey background */
.video-element::-webkit-media-controls {
  transition: none !important;
  animation: none !important;
}

.video-element::-webkit-media-controls-panel {
  transition: none !important;
  animation: none !important;
  background: transparent !important;
}

.video-element::-webkit-media-controls-overlay-enclosure {
  transition: none !important;
  animation: none !important;
  background: transparent !important;
}

.video-element::-webkit-media-controls-play-button,
.video-element::-webkit-media-controls-mute-button,
.video-element::-webkit-media-controls-fullscreen-button {
  transition: none !important;
}

/* For Firefox */
.video-element::-moz-media-controls {
  transition: none !important;
  animation: none !important;
}

/* Hide video controls on hover */
.video-element:hover::-webkit-media-controls {
  display: none !important;
}

.video-element:hover::-webkit-media-controls-panel {
  display: none !important;
}

.video-element:hover::-webkit-media-controls-overlay-enclosure {
  display: none !important;
}

.video-element:hover::-webkit-media-controls-play-button,
.video-element:hover::-webkit-media-controls-mute-button,
.video-element:hover::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

/* For Firefox */
.video-element:hover::-moz-media-controls {
  display: none !important;
}

/* Hide video controls on mobile devices (no hover needed) */
@media (max-width: 767px) {
  .video-element::-webkit-media-controls {
    display: none !important;
  }
  
  .video-element::-webkit-media-controls-panel {
    display: none !important;
  }
  
  .video-element::-webkit-media-controls-overlay-enclosure {
    display: none !important;
  }
  
  .video-element::-webkit-media-controls-play-button,
  .video-element::-webkit-media-controls-mute-button,
  .video-element::-webkit-media-controls-fullscreen-button {
    display: none !important;
  }
  
  /* For Firefox on mobile */
  .video-element::-moz-media-controls {
    display: none !important;
  }
}

/* ===== FEATURE CARD COMPONENT ===== */

.feature-card {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width-container);
  margin: 0 auto 40px;
  flex-direction: column;
}



.feature-text-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  order: 2;
}

.feature-number-container {
  position: relative;
}

.feature-dots {
  display: flex;
  gap: 23px;
  position: absolute;
  top: 0;
  margin-left: 5px;
}

.feature-dot {
  width: 9px;
  height: 9px;
  background-color: var(--color-blue-accent);
  border-radius: 50%;
}

.feature-number {
  font-family: var(--font-family-prompt);
  font-size: 42px;
  font-weight: var(--font-weight-light);
  color: var(--color-text-gray-dark);
  margin-top: 25px;
}

.feature-title {
  font-family: var(--font-family-primary);
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-black);
  line-height: 1.4;
}

.feature-description {
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-gray);
  line-height: 1.5;
}

.feature-image-container {
  width: 100%;
  order: 1;
}

.feature-image-background {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 300px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--color-bg-blue-light) 0%, var(--color-bg-blue-lighter) 50%, var(--color-bg-blue-lighter) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image-wrapper {
  position: relative;
  width: 300px;
  height: 180px;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== SECTION HEADING COMPONENT ===== */

.section-heading {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  font-size: 2rem;
  color: var(--color-text-black);
  text-align: center;
  margin-bottom: 2rem;
}

/* ===== FEATURES SECTION COMPONENT ===== */

.features-section {
  width: 100%;
  margin-top: 2.5rem;
}

.features-heading-container {
  margin-bottom: 1.5rem;
}

.features-heading {
  font-size: 1.75rem;
  margin-bottom: 0;
}

.feature-container-spaced {
  margin-top: 2.5rem;
}

/* ===== SERVICE FLOW SECTION COMPONENT ===== */

.service-flow-section {
  width: 100%;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.service-flow-heading {
  margin-bottom: 1.75rem;
}

.service-flow-content {
  margin-top: 1.75rem;
  width: 100%;
  max-width: 1196px;
  margin-left: auto;
  margin-right: auto;
}

.service-flow-grid-container {
  position: relative;
}

.service-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
}

.service-flow-box {
  background-color: var(--color-bg-white);
  border-radius: 20px;
  border: 1px solid var(--color-border-gray);
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem 1rem;
}

.service-flow-text-container {
  text-align: left;
}

.service-flow-text {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-black);
  font-size: 0.75rem;
  line-height: 1.2;
}

.service-flow-text-desktop {
  display: none;
}

.service-flow-text-mobile {
  display: block;
}

.service-flow-loop-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 20;
  margin-top: 0.5rem;
}

.service-flow-loop {
  width: 10rem;
  height: 10rem;
}

.service-flow-loop-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Button variants for quote section */
.primary-button-white-bg {
  background: var(--color-bg-white);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-gray-light);
}

.secondary-button-white-bg {
  background: var(--color-bg-white);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-gray-light);
}



.quote-mobile .quote-mobile-buttons .quote-mobile-primary-btn {
  width: 213px !important;
  height: 58px !important;
  background: white !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  font-weight: bold !important;
  font-size: 16px !important;
  color: black !important;
  flex: none !important;
}

.quote-mobile .quote-mobile-buttons .quote-mobile-secondary-btn {
  width: 239px !important;
  height: 58px !important;
  background: white !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  font-weight: bold !important;
  font-size: 16px !important;
  color: black !important;
  flex: none !important;
}



.quote-desktop-primary-btn {
  width: 213px !important;
  height: 58px !important;
  background: white !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  font-weight: bold !important;
  color: #1f242c !important;
}

.quote-desktop-secondary-btn {
  width: 239px !important;
  height: 58px !important;
  background: white !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  font-weight: bold !important;
  color: black !important;
}

/* ===== QUOTE SECTION COMPONENT ===== */

.quote-section {
  position: relative;
  width: 100%;
  height: var(--quote-height-mobile);
}

.quote-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e40c8 0%, #3b82f6 100%);
  z-index: 1;
}

.quote-content-overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
}

/* Override the column direction specifically for buttons */
.quote-mobile .quote-mobile-buttons {
  flex-direction: column !important;
  gap: 12px !important;
}

/* Override the column direction for desktop buttons too */
.quote-desktop .quote-desktop-buttons {
  flex-direction: row !important;
}

.quote-desktop {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  height: 100%;
}

.quote-mobile-content,
.quote-desktop-content {
  margin-bottom: 2rem;
}

.quote-desktop-buttons {
  margin-top: 1rem;
}

/* ===== EXA FOOTER COMPONENT ===== */

.exa-footer {
  width: 100%;
  margin-top: 2rem;
}

/* Footer fallback styles */
.exa-footer .footer-fallback {
  padding: 2rem;
  text-align: center;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.exa-footer .footer-fallback p {
  margin: 0;
  color: #6c757d;
  font-size: 0.875rem;
}

/* ===== LP NAVBAR AND HERO (TAILWIND-LESS) ===== */

/* Utils */
.is-hidden { display: none !important; }

/* Header / Navbar */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.lp-header.is-scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.14);
}

.lp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
}

.lp-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  display: inline-flex;
  height: 100%;
  padding: 1rem;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.lp-header.is-scrolled .lp-logo { box-shadow: none; }

.lp-logo img { width: 48px; height: 48px; }

.lp-logo-text { display: flex; flex-direction: column; }
.lp-logo-text .lp-logo-brand {
  color: #1400C7;
  font-size: 14px;
  font-weight: 700;
}

.lp-cta-links { display: none; align-items: center; gap: 1rem; }

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  height: 33px;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 200ms ease, color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.lp-btn-outline { border: 1px solid #ffffff; color: #ffffff; background-color: transparent; }

.lp-header.is-scrolled .lp-btn-outline { border-color: #1400C7; color: #1400C7; }

.lp-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: #ffffff;
  border-radius: 6px;
}

.lp-mobile-toggle:focus { outline: 2px solid #1400C7; outline-offset: 2px; }
.lp-header.is-scrolled .lp-mobile-toggle { color: #1400C7; }

.lp-mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
}

.lp-mobile-panel-inner {
  padding: 0.5rem 1.5rem 1rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lp-mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 0.75rem 1.25rem;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #1400C7;
  text-decoration: none;
}

/* Hero */
.lp-hero {
  position: relative;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 64px; /* header height */
  padding-bottom: 3rem;
}

.lp-hero-bg { position: absolute; inset: 0; z-index: -1; display: block; }
.lp-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.lp-hero-content {
  position: relative;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 72px;
}

.lp-hero-devices { display: flex; justify-content: center; }
.lp-hero-devices img { max-width: 420px; width: 100%; height: auto; }

.lp-hero-copy { color: #ffffff; }

.lp-hero-title { font-size: 38px; line-height: 1.2; font-weight: 700; }
.lp-hero-title .break { display: inline; }
.lp-hero-subtitle { font-size: 38px; line-height: 1.2; font-weight: 700; margin-top: 0.25rem; }

.lp-hero-desc {
  margin-top: 1rem;
  font-size: 14px;
  line-height: 1.48;
  text-align: justify;
  max-width: 516px;
}

.lp-hero-ctas { display: flex; align-items: center; gap: 0.75rem; max-width: 516px; position: relative; z-index: 10; }
.lp-hero-ctas .lp-btn { flex: 1; height: 52px; position: relative; z-index: 11; }
.lp-hero-ctas .lp-btn-outline { color: #ffffff; border-color: #ffffff; }
.lp-hero-ctas .lp-btn-solid { background-color: #ffffff; color: #1400C7; border-radius: 9999px; font-weight: 700; }

/* Breakpoints */
@media (min-width: 1280px) {
  .lp-container { padding-left: 120px; padding-right: 120px; }
  .lp-header-inner { height: 85px; }
  .lp-cta-links { display: flex; gap: 1rem; }
  .lp-mobile-toggle { display: none; }

  .lp-hero { height: 650px; padding-top: 85px; padding-bottom: 0; }
  .lp-hero-content { height: 100%; }
  .lp-hero-devices {
    position: absolute;
    right: -55px;
    bottom: 75px;
    width: 830px;
    height: 363px;
    justify-content: flex-start;
    z-index: 1;
  }
  .lp-hero-devices img { width: 100%; max-width: none; }

  .lp-hero-title { font-size: 54px; }
  .lp-hero-subtitle { font-size: 54px; }
  .lp-hero-desc { font-size: 16px; text-align: left; }
  .lp-hero-ctas { gap: 1.5rem; }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .lp-mobile-toggle { display: inline-flex; }
  .lp-hero-title .break { display: block; }
}

/* ===== LP PROBLEMS SECTION ===== */
.lp-problems {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

.lp-problems-inner {
  max-width: 56rem; /* match max-w-4xl on mobile */
  margin-left: auto;
  margin-right: auto;
}

.lp-problems-header { text-align: center; margin-bottom: 3rem; }

.lp-section-tag {
  display: inline-block;
  position: relative;
  background-color: #1E40AF;
  color: #ffffff;
  padding: 0 0.75rem;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 2em;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-section-tag::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 6px solid #1E40AF;
}

.lp-section-title {
  color: #000000;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 0.5rem 0;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-underline { width: 32px; height: 3px; background-color: #1400C7; margin: 0.75rem auto 0; }

.lp-problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.lp-problem { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.lp-problem-icon { width: 90px; height: 90px; }
.lp-problem-icon img { width: 100%; height: 100%; }

.lp-problem-content { display: flex; flex-direction: column; gap: 16px; max-width: 32rem; }
.lp-problem-header { display: flex; align-items: center; justify-content: flex-start; gap: 6px; width: 100%; }
.lp-problem-number {
  width: 54px; height: 54px; border-radius: 9999px; background-color: #7CAED6; display: flex; align-items: center; justify-content: center;
}
.lp-problem-number span { color: #ffffff; font-weight: 700; font-size: 22px; line-height: 1.5; }
.lp-problem-title { color: #000000; font-weight: 700; font-size: 20px; line-height: 1.5; text-align: left; font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif; }
.lp-problem-text { color: #000000; font-weight: 400; font-size: 18px; line-height: 1.6; text-align: left; font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif; }

@media (min-width: 1280px) {
  .lp-problems { padding: 5rem 1.5rem; }
  .lp-problems-inner { max-width: 1040px; }
  .lp-problems-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .lp-problem-content { max-width: none; }
  .lp-problem-header { justify-content: center; }
  .lp-problem-title { text-align: center; }
}

/* ===== LP BENEFITS SECTION ===== */
.lp-benefits {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

.lp-benefits-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.lp-benefits-header {
  text-align: center;
  margin-bottom: 3rem;
}

.lp-benefits-description {
  color: #000000;
  font-size: 18px;
  line-height: 1.6;
  margin: 1.5rem 0;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
  text-align: justify;
}

.lp-benefits-description-center {
  text-align: center;
}

.lp-benefits-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }

.lp-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.lp-benefit-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.lp-benefit-image img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-benefit-content { display: flex; flex-direction: column; gap: 1rem; width: 100%; }

.lp-benefit-highlight { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; }

.lp-benefit-highlight-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
}

.lp-benefit-highlight-icon img {
  width: 100%;
  height: 100%;
}

.lp-benefit-highlight-text { font-size: 16px; font-weight: 700; color: #000000; font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif; }

@media (min-width: 1280px) {
  .lp-benefits { padding: 7.5rem 7.5rem; }
  .lp-benefits-inner { max-width: 1040px; }
  .lp-benefits-description { text-align: center; }
  .lp-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .lp-benefit-card { align-items: center; }
}

/* ===== LP FEATURES SECTION ===== */
.lp-features {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

.lp-features-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.lp-features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.lp-features-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.lp-feature-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
}

.lp-feature-card-media {
  width: 100%;
  order: 2;
}

.lp-feature-card-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.lp-feature-card-content {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp-feature-heading {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.lp-feature-number {
  position: absolute;
  top: -2.5rem;
  left: 0;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.04em;
  background: linear-gradient(to bottom right, #bfdbfe, #f9a8d4);
  background-clip: text; /* standard property for compatibility */
  -webkit-background-clip: text;
  color: transparent;
}

.lp-feature-title {
  font-size: 32px;
  z-index: 1;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-feature-description {
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

@media (min-width: 768px) {
  .lp-features-inner { max-width: 1040px; }
  .lp-features-grid { gap: 6rem; }
  .lp-feature-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
  }
  .lp-feature-card-media { order: 2; }
  .lp-feature-card-content { order: 1; }
  .lp-feature-number { font-size: 64px; top: -3rem; }
  .lp-feature-title { font-size: 32px; }
  .lp-feature-description { font-size: 18px; }
}

/* ===== LP COMING SOON SECTION ===== */
.lp-coming {
  background-color: #F2F2F2;
  padding: 5rem 1.5rem;
}

.lp-coming-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.lp-coming-header {
  text-align: center;
  margin-bottom: 3rem;
}

.lp-coming-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.lp-coming-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lp-coming-card-image {
  width: 100%;
  height: 14rem;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.lp-coming-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  text-align: center;
}

.lp-coming-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-coming-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
  text-align: left;
}

@media (min-width: 1280px) {
  .lp-coming { padding: 7.5rem 7.5rem; }
  .lp-coming-inner { max-width: 1040px; }
  .lp-coming-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .lp-coming-card-text { text-align: center; }
}

/* ===== LP CTA SECTION ===== */
.lp-cta {
  background-color: #1400C7;
  padding: 4rem 1.5rem;
}

.lp-cta-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.lp-cta-header {
  text-align: center;
  color: #ffffff;
}

.lp-cta-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-cta-subtitle {
  margin-top: 0.75rem;
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lp-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.lp-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(20, 0, 199, 0.15);
}

.lp-cta-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.lp-cta-card-title {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 20px;
  font-weight: 700;
  color: #1400C8;
  line-height: 1.5;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-cta-card-text {
  font-size: 14px;
  color: #222222;
  line-height: 1.5;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-cta-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .lp-cta { padding: 5rem 7.5rem; }
  .lp-cta-inner { max-width: 1040px; gap: 3rem; }
  .lp-cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .lp-cta-card { padding: 2rem; }
}

/* ===== LP USE CASES SECTION ===== */
.lp-usecases { background-color: #ffffff; padding: 5rem 1.5rem; }
.lp-usecases-inner { width: 100%; max-width: 56rem; margin-left: auto; margin-right: auto; }
.lp-usecases-header { text-align: center; margin-bottom: 3rem; }
.lp-usecases-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.lp-usecase-card { display: flex; flex-direction: column; gap: 1.5rem; }
.lp-usecase-card-media img { width: 100%; height: auto; display: block; }
.lp-usecase-label { display: inline-flex; align-items: center; border: 1px solid #E5E7EB; padding: 0.375rem 0.75rem; font-size: 20px; font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif; gap: 0.75rem; width: fit-content; }
.lp-usecase-label-bar { width: 3px; height: 17px; background-color: #10B981; }
.lp-usecase-title { font-size: 20px; font-weight: 700; line-height: 1.5; color: #000000; font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif; }
.lp-usecase-list { display: flex; flex-direction: column; gap: 0.75rem; }
.lp-usecase-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 16px; line-height: 1.6; color: #000000; font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif; }
.lp-usecase-item img { width: 24px; height: 24px; }
@media (min-width: 1280px) {
  .lp-usecases { padding: 7.5rem 7.5rem; }
  .lp-usecases-inner { max-width: 1040px; }
  .lp-usecases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

/* ===== Tablet image size alignment (match Use Cases image height on iPad) ===== */
@media (min-width: 768px) and (max-width: 1279px) {
  /* Target ~820px wide viewports (iPad Air) */
  .lp-how .lp-how-step-media { height: 443px; }
  .lp-how .lp-how-step-media img { object-fit: cover; }

  .lp-coming .lp-coming-card-image { height: 443px; }

  .lp-seminar .seminar-card-image { height: 443px; }
  .lp-seminar .seminar-card-image img { object-fit: cover; }
}

/* ===== LP SAFETY & ACCURACY SECTION ===== */
.lp-safety {
  background-color: #F2F2F2;
  padding: 5rem 1.5rem;
}

.lp-safety-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.lp-safety-header {
  text-align: center;
  margin-bottom: 3rem;
  color: #000000;
}

.lp-safety-subtitle {
  margin-top: 1rem;
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-safety-underline {
  margin-top: 1.5rem;
  width: 32px;
  height: 3px;
  background-color: #1400C7;
  margin-left: auto;
  margin-right: auto;
}

.lp-safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.lp-safety-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp-safety-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-safety-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-safety-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-safety-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-safety-card-item img {
  width: 24px;
  height: 24px;
}

@media (min-width: 1280px) {
  .lp-safety { padding: 7.5rem 7.5rem; }
  .lp-safety-inner { max-width: 1040px; }
  .lp-safety-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

/* ===== LP HOW TO START SECTION ===== */
.lp-how {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

.lp-how-inner {
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.lp-how-header {
  text-align: center;
  margin-bottom: 3rem;
}

.lp-how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.lp-how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lp-how-step-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
}

.lp-how-step-number {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(44deg, #A4EBEF 5%, #627EE0 95%);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.lp-how-step-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
}

.lp-how-step-media {
  width: 100%;
  height: 14rem;
  border-radius: 8px;
  overflow: hidden;
}

.lp-how-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-how-step-text {
  width: 100%;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
  text-align: left;
}

/* Match HOW TO START tag color to Tailwind blue-700 */
.lp-how .lp-section-tag { background-color: #1E40AF; }
.lp-how .lp-section-tag::after { border-top-color: #1E40AF; }

/* Match underline thickness/color to Tailwind in indexlp: 4px on mobile, 3px on xl, blue-600 */
.lp-how .lp-underline { height: 3px; background-color: #1400C7; }

@media (min-width: 1280px) {
  .lp-how { padding: 7.5rem 7.5rem; }
  .lp-how-inner { max-width: 1040px; }
  .lp-how-header { margin-bottom: 4rem; }
  .lp-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .lp-how-step-header { flex-direction: row; gap: 1rem; align-items: center; justify-content: center; }
  .lp-how-step-title { text-align: center; }
  .lp-how-step-text { text-align: left; }
  .lp-how-step-media { height: 330px; }
  .lp-how .lp-underline { height: 3px; }
}

/* ===== LP SEMINAR SECTION ===== */
.lp-seminar {
  background-color: #F2F2F2;
  padding: 5rem 1.5rem;
}

.lp-seminar-inner { width: 100%; max-width: 56rem; margin-left: auto; margin-right: auto; }

.lp-seminar-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lp-seminar-tabs {
  display: flex;
  gap: 0.5rem;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  position: relative;
  z-index: 1; /* below header (z:50) */
}

.lp-seminar-tab {
  flex: 1;
  padding: 1.5rem 0.75rem;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  border: none;
  background-color: #E7E3FD;
  color: #1400C7;
  cursor: pointer;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.lp-seminar-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1400C8, #D489F2);
}

.lp-seminar-content-wrapper {
  padding: 4px; /* 4px gradient border per Figma */
  background: linear-gradient(90deg, #1400C8, #D489F2);
  position: relative;
  z-index: 1; /* below header (z:50) */
}

.lp-seminar-content-inner {
  background-color: #ffffff;
  padding: 3rem 1.5rem; /* 48px 24px per Figma */
}

.lp-seminar-loading,
.lp-seminar-error,
.lp-seminar-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp-seminar-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #2563EB;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.lp-seminar-error button {
  padding: 0.75rem 1.5rem;
  background-color: #1400C7;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.lp-seminar-cards { min-height: 12rem; }

/* Seminar card styles (match Figma) */
.seminar-card { width: 100%; }
.seminar-card-link { display: flex; flex-direction: column; gap: 1rem; height: 100%; text-decoration: none; }
.seminar-card-image {
  width: 100%;
  height: 156px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  background-color: #f5f5f5;
}
.seminar-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seminar-card-title { font-size: 20px; font-weight: 700; line-height: 1.5; color: #000000; }
.seminar-card-date { font-size: 16px; line-height: 1.6; color: #000000; }

/* Seminar skeleton loading */
.seminar-card.skeleton .skeleton-box { position: relative; overflow: hidden; background-color: #f3f4f6; border-radius: 8px; }
.seminar-card.skeleton .skeleton-image { height: 156px; border: 1px solid rgba(0,0,0,0.06); }
.seminar-card.skeleton .skeleton-title { height: 20px; border-radius: 4px; margin-top: 12px; }
.seminar-card.skeleton .skeleton-date { height: 16px; border-radius: 4px; margin-top: 10px; width: 60%; }
.seminar-card.skeleton .skeleton-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

@media (min-width: 1280px) {
  .lp-seminar-inner { max-width: 880px; }
  .lp-seminar-content-inner { padding: 3rem 1.5rem; }
  .lp-seminar-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .seminar-card-image { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
  .seminar-card-title { color: #222222; }
  .seminar-card-date { color: #222222; }
}

@media (min-width: 1280px) {
  .lp-seminar { padding: 7.5rem 7.5rem; }
  .lp-seminar-inner { max-width: 880px; }
  .lp-seminar-content-inner { padding: 2rem; }
  .lp-seminar-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

/* Re-assert tablet image size alignment at end of file to win cascade */
@media (min-width: 768px) and (max-width: 1279px) {
  .lp-how .lp-how-step-media { height: 443px; }
  .lp-how .lp-how-step-media img { object-fit: cover; }
  .lp-coming .lp-coming-card-image { height: 443px; }
  .lp-seminar .seminar-card-image { height: 443px; }
  .lp-seminar .seminar-card-image img { object-fit: cover; }
}
