/* Variables & Reset */
:root {
  --primary-color: #fc671a; /* Bank of Georgia Orange */
  --primary-hover: #e05510;
  --secondary-color: #4b4b4b; /* Tundora Gray */
  --text-color: #333333;
  --bg-light: #fcfcfc; /* Alabaster */
  --bg-gray: #f5f7fa;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --font-heading: "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html {
    scroll-padding-top: 80px; /* Offset for sticky header */
}

/* Progress Bar */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1001;
    background: transparent;
}

#progress-bar {
    height: 4px;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s ease;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-hover);
}

/* CSS Background Shapes */
.geometric-shape {
    position: fixed;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

.shape-1 {
    top: 10%;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary-color);
}

.shape-2 {
    top: 40%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: var(--secondary-color);
    transform: rotate(45deg);
}

.shape-3 {
    bottom: 10%;
    left: -50px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.08;
}

/* Scroll Snapping effects - applied lightly */
.long-form-section {
    scroll-margin-top: 100px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-orange {
  color: var(--primary-color);
}
.section-gray {
  background-color: var(--bg-gray);
}
.section-orange {
  background-color: var(--primary-color);
  color: var(--white);
}
.section-orange-gradient {
  background: linear-gradient(135deg, #fff 0%, #fffaf5 100%);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(252, 103, 26, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(252, 103, 26, 0.4);
}

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.btn.lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}
.btn.sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

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

/* Updated Footer Logo Layout */
.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-img {
    height: 56px;
    width: auto;
}

.footer-text {
    display: flex;
    flex-direction: column;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .bog {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
}

.logo-text .support {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

header nav a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  color: var(--secondary-color);
}

header nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

header nav a:not(.btn):hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
#hero {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(252, 103, 26, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
  from {
    transform: scale(1);
    opacity: 0.5;
  }
  to {
    transform: scale(1.1);
    opacity: 1;
  }
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(252, 103, 26, 0.1);
  border-radius: 20px;
}

#hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

#hero h1 .highlight {
  background: linear-gradient(
    120deg,
    transparent 60%,
    rgba(252, 103, 26, 0.2) 60%
  );
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.hero-cta .note {
  font-size: 0.8rem;
  color: #999;
  margin-top: 15px;
}

/* Sections General */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  margin-top: -50px;
  margin-bottom: 60px;
  color: #777;
  font-size: 1.1rem;
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.problem-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(252, 103, 26, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.problem-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.problem-card p {
  color: #666;
  font-size: 0.95rem;
}

.problem-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Methods Section */
.methods-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.method-item {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border: 1px solid #efefef;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.method-item.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
  z-index: 2;
}

.method-item:hover {
  border-color: #ddd;
  box-shadow: var(--shadow-md);
}

.method-item.active:hover {
  border-color: var(--primary-color);
}

.method-item .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.method-header {
  background: #f9f9f9;
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.method-item.active .method-header {
  background: linear-gradient(to bottom, #fff8f5, #fff);
}

.method-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #eee;
  margin-bottom: -10px;
}

.method-item.active .method-num {
  color: rgba(252, 103, 26, 0.1);
}

.method-item h3 {
  position: relative;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.method-body {
  padding: 30px;
}

.method-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}

.pros-cons li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pros-cons .pro i {
  color: #2ecc71;
}
.pros-cons .con i {
  color: #e74c3c;
}

/* Solution Section */
.solution-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.solution-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.solution-content .lead {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 40px;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.support-item {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  font-size: 1.1rem;
}

.support-item i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

/* Pricing Section */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: stretch;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
}

.card-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.card-header .target {
  color: #888;
  font-size: 0.9rem;
  margin-top: 10px;
}

.card-body ul {
  margin-bottom: 30px;
  flex-grow: 1;
}

.card-body li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-body li i {
  color: var(--primary-color);
}

.card-body li.disabled {
  color: #ccc;
  text-decoration: line-through;
}

.card-body li.disabled i {
  color: #ccc;
}

.card-body .note {
  font-size: 0.85rem;
  color: var(--primary-color);
  background: #fff8f5;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* Flow Section */
.flow-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 25px;
  right: -10px;
  color: #ddd;
  font-size: 1.2rem;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
  font-size: 1.2rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: #666;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-color);
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fdfdfd;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #555;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Arbitrary large number */
  transition: max-height 0.5s ease-in;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  transition: transform 0.3s;
}

/* Contact/Footer */
.contact-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--white);
}

.contact-box h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-box form {
  margin: 30px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-box input {
  padding: 16px 20px;
  border-radius: 50px;
  border: none;
  width: 300px;
  font-size: 1rem;
  outline: none;
}

footer {
  background: #2a2a2a;
  color: #aaa;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #444;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo .bog {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}
.footer-logo .support {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.footer-links a {
  margin-left: 20px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.disclaimer {
  font-size: 0.75rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }

  header nav ul {
    display: none; /* Hide for now, specific mobile menu implementation needed if robust */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }

  header nav.active ul {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .support-list {
    grid-template-columns: 1fr;
  }
}

/* Utility for responsive line breaks */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* Testimonials */
/* Testimonials Carousel */
.testimonials-section {
    padding: 80px 0 60px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff 0%, #fcfcfc 100%);
    position: relative;
}

/* Subtle background pattern for interest */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: radial-gradient(#fc671a 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.03;
    pointer-events: none;
}

.testimonials-subtitle {
    margin-bottom: 40px;
    color: #666;
    font-size: 1.05rem;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    /* Improved edge fading */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 32px; /* Increased gap */
    width: max-content;
    cursor: grab;
    will-change: transform; /* Optimize for smooth JS animation */
}

.testimonials-track:active {
    cursor: grabbing;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px; /* More internal spacing */
    min-width: 420px; /* Wider cards */
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: #ffeadb; /* Light orange default */
    opacity: 1;
    margin-bottom: 12px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    color: var(--primary-color); /* Bright orange on hover */
    transform: scale(1.1); /* Subtle pop */
}

.testimonial-stars {
    color: #f5a623;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.9; /* More breathing room for text */
    color: #444;
    margin-bottom: 24px;
    flex-grow: 1; /* Pushes author to bottom */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(252, 103, 26, 0.3);
}

.testimonial-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

.testimonial-detail {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 320px;
        max-width: 320px;
        padding: 30px 24px;
    }
    
    .testimonials-section {
        padding: 50px 0;
    }
}

/* Pencil Handstroke Animation for 'Official' */
.official-container {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
}

.official-text {
    position: relative;
    z-index: 1;
}

.official-underline-svg {
    position: absolute;
    bottom: -4px; /* Move closer to text (was -8px) */
    left: 0;
    width: 100%;
    height: 12px;
    z-index: 0;
    pointer-events: none;
}

.official-underline-svg path {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2; /* Thinner for tighter squiggle */
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    /* Simulate hand-drawn irregularity */
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 200; /* Increased for longer path length */
    stroke-dashoffset: 200;
    /* Duration 1.5s, slow start then fast (ease-in-out or custom bezier) */
    animation: draw-pencil 1.5s cubic-bezier(0.45, 0, 0.1, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes draw-pencil {
    to {
        stroke-dashoffset: 0;
    }
}
