/* ねこのて LP Redesign - Dark & Warm theme */

/* ============================================
   Variables
   ============================================ */
:root {
  --bg-primary: #1e282f;
  --bg-secondary: #2a3640;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.10);
  --accent: #f2a154;
  --accent-light: #f7c78e;
  --accent-coral: #e8856c;
  --cta-gradient: linear-gradient(135deg, #f2a154, #e8856c);
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-accent: #f2a154;
  --border-subtle: rgba(255, 255, 255, 0.10);
  --radius-card: 16px;
  --radius-button: 50px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
  --section-padding: 5em 0;
  --max-width: 1100px;
}

/* ============================================
   Reset overrides for Hyperspace template
   ============================================ */
#sidebar {
  display: none !important;
}

#wrapper {
  padding-left: 0 !important;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Prevent Hyperspace template from forcing widths/padding on mobile */
@media screen and (max-width: 980px) {
  body, #wrapper {
    overflow-x: hidden;
  }
}

/* Override Hyperspace's base link styling */
a {
  border-bottom: none;
}

/* Override Hyperspace's heading line-height for tighter mobile display */
h1, h2, h3, h4 {
  line-height: 1.4;
}

/* ============================================
   Header / Navbar
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(30, 40, 47, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2em;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.site-header .logo img {
  height: 36px;
  width: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2em;
}

.site-header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: none;
}

.site-header nav a:hover {
  color: var(--accent);
}

.site-header .nav-cta {
  background: var(--cta-gradient);
  color: #fff !important;
  padding: 0.5em 1.5em;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 0.8em;
  transition: opacity 0.2s, transform 0.2s;
}

.site-header .nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(30, 40, 47, 0.98);
  padding: 1.5em 2em;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 99;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75em 0;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95em;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--accent);
}

@media screen and (max-width: 768px) {
  .site-header {
    padding: 0 1em;
    height: 56px;
  }

  .site-header .logo {
    font-size: 1em;
  }

  .site-header nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    top: 56px;
    padding: 1em 1.5em;
  }
}

/* ============================================
   Section base
   ============================================ */
.lp-section {
  padding: var(--section-padding);
  position: relative;
}

.lp-section .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2em;
}

.lp-section.bg-primary {
  background: var(--bg-primary);
}

.lp-section.bg-secondary {
  background: var(--bg-secondary);
}

/* Wave divider */
.wave-divider {
  position: relative;
  overflow: hidden;
  height: 60px;
  margin-top: -1px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

.wave-divider.to-secondary svg path {
  fill: var(--bg-secondary);
}

.wave-divider.to-primary svg path {
  fill: var(--bg-primary);
}

@media screen and (max-width: 768px) {
  .wave-divider {
    height: 36px;
  }

  .wave-divider svg {
    height: 36px;
  }
}

/* Section headings */
.section-heading {
  text-align: center;
  margin-bottom: 3em;
}

.section-heading h2 {
  font-size: 1.8em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.section-heading .heading-accent {
  color: var(--accent);
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1em;
  max-width: 600px;
  margin: 0 auto;
}

@media screen and (max-width: 480px) {
  .lp-section {
    padding: 3em 0;
  }

  .lp-section .section-inner {
    padding: 0 1.2em;
  }

  .section-heading {
    margin-bottom: 2em;
  }

  .section-heading h2 {
    font-size: 1.4em;
  }

  .section-heading p {
    font-size: 0.9em;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  align-items: center;
  gap: 3em;
  width: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(242, 161, 84, 0.15);
  color: var(--accent);
  font-size: 0.8em;
  font-weight: 700;
  padding: 0.4em 1.2em;
  border-radius: var(--radius-button);
  margin-bottom: 1.5em;
  border: 1px solid rgba(242, 161, 84, 0.3);
}

.hero-content h1 {
  font-size: 2.4em;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.6em;
}

.hero-content h1 .text-accent {
  color: var(--accent);
}

.hero-content .hero-sub {
  font-size: 1.05em;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2em;
}

.hero-cta-group {
  display: flex;
  gap: 1em;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5em;
  margin-top: 2.5em;
  padding-top: 2em;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat .stat-number {
  font-size: 1.8em;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.hero-stat .stat-label {
  font-size: 0.8em;
  color: var(--text-secondary);
}

.hero-image {
  flex: 0 0 320px;
  text-align: center;
}

.hero-image img {
  max-width: 300px;
  width: 100%;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 3em;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2em;
    padding-top: 2em;
  }

  .hero-image {
    flex: none;
  }

  .hero-image img {
    max-width: 200px;
  }

  .hero-content h1 {
    font-size: 1.7em;
  }

  .hero-content .hero-sub {
    font-size: 0.95em;
  }

  .hero-content .hero-sub br {
    display: none;
  }

  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5em;
  }

  .hero-stat .stat-number {
    font-size: 1.4em;
  }

  .hero-badge {
    font-size: 0.75em;
  }
}

@media screen and (max-width: 480px) {
  .hero-section {
    padding-top: 70px;
  }

  .hero-inner {
    padding: 1.5em 1.2em 0;
  }

  .hero-image img {
    max-width: 160px;
  }

  .hero-content h1 {
    font-size: 1.4em;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.8em;
    align-items: center;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5em;
  }

  .hero-stat .stat-number {
    font-size: 1.2em;
  }

  .hero-stat .stat-label {
    font-size: 0.75em;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.9em 2.5em;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 0.95em;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  line-height: 1.5;
  text-align: center;
}

.btn-primary {
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(242, 161, 84, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(242, 161, 84, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 1.1em 3em;
  font-size: 1.05em;
}

@media screen and (max-width: 480px) {
  .btn {
    padding: 0.8em 1.8em;
    font-size: 0.85em;
  }

  .btn-large {
    padding: 0.9em 2em;
    font-size: 0.95em;
  }
}

/* ============================================
   Pain Points Section
   ============================================ */
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2em 1.5em;
  text-align: center;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pain-card .pain-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(242, 161, 84, 0.15);
  color: var(--accent);
  font-size: 1.2em;
  font-weight: 800;
  margin-bottom: 1em;
}

.pain-card h3 {
  font-size: 1.05em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7em;
  line-height: 1.5;
}

.pain-card p {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media screen and (max-width: 768px) {
  .pain-cards {
    grid-template-columns: 1fr;
    gap: 1em;
  }

  .pain-card {
    padding: 1.5em 1.2em;
  }
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}

.feature-item {
  width: calc((100% - 3em) / 3);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2em 1.5em;
  text-align: center;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(242, 161, 84, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2em;
  font-size: 1.5em;
  color: var(--accent);
}

.feature-item h3 {
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.feature-item p {
  font-size: 0.85em;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media screen and (max-width: 768px) {
  .feature-item {
    width: calc((100% - 1em) / 2);
    padding: 1.5em 1em;
  }

  .features-grid {
    gap: 1em;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2em;
    margin-bottom: 1em;
  }
}

@media screen and (max-width: 480px) {
  .feature-item {
    width: 100%;
  }
}

/* ============================================
   Strengths Section
   ============================================ */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
}

.strength-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.5em 2em;
  text-align: center;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.strength-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.strength-card .strength-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(242, 161, 84, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5em;
  font-size: 2em;
  color: var(--accent);
}

.strength-card h3 {
  font-size: 1.15em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7em;
  line-height: 1.5;
}

.strength-card p {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }

  .strength-card {
    padding: 2em 1.5em;
  }

  .strength-card .strength-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5em;
    margin-bottom: 1em;
  }
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}

.testimonial-card-new {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2em;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.testimonial-card-new:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-card-new .testimonial-header {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1.2em;
}

.testimonial-card-new .testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card-new .testimonial-profile-info h4 {
  font-size: 0.9em;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.testimonial-card-new .testimonial-profile-info span {
  font-size: 0.75em;
  color: var(--text-secondary);
}

.testimonial-card-new .testimonial-result {
  display: inline-block;
  background: rgba(242, 161, 84, 0.12);
  color: var(--accent);
  font-size: 0.85em;
  font-weight: 700;
  padding: 0.3em 0.8em;
  border-radius: 6px;
  margin-bottom: 1em;
}

.testimonial-card-new .testimonial-body {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }

  .testimonial-card-new {
    padding: 1.5em;
  }
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 3em;
  text-align: center;
}

.pricing-card .pricing-label {
  font-size: 0.85em;
  color: var(--text-secondary);
  margin-bottom: 0.5em;
}

.pricing-card .pricing-amount {
  font-size: 3em;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.pricing-card .pricing-amount span {
  font-size: 0.4em;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card .pricing-trial {
  display: inline-block;
  background: rgba(242, 161, 84, 0.15);
  color: var(--accent);
  font-size: 0.9em;
  font-weight: 700;
  padding: 0.5em 1.5em;
  border-radius: var(--radius-button);
  margin: 1.5em 0;
}

.pricing-features {
  text-align: left;
  margin: 1.5em 0 2em;
}

.pricing-features li {
  padding: 0.5em 0;
  color: var(--text-secondary);
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(242, 161, 84, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f2a154'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (max-width: 480px) {
  .pricing-card {
    padding: 2em 1.5em;
  }

  .pricing-card .pricing-amount {
    font-size: 2.2em;
  }

  .pricing-features li {
    font-size: 0.85em;
  }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  text-align: left;
  padding: 1.3em 2em 1.3em 0;
  cursor: pointer;
  position: relative;
  line-height: 1.6;
  transition: color 0.2s;
}


.faq-question:hover {
  color: var(--accent);
}

.faq-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  color: var(--accent);
  pointer-events: none;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.3em;
}

.faq-answer p {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media screen and (max-width: 480px) {
  .faq-question {
    font-size: 0.9em;
    padding: 1em 1.8em 1em 0;
  }

  .faq-answer p {
    font-size: 0.85em;
  }
}

/* ============================================
   CTA Bottom Section
   ============================================ */
.cta-section {
  text-align: center;
  padding: 5em 0;
  background: var(--bg-secondary);
}

.cta-section .mascot-small {
  width: 100px;
  margin-bottom: 1.5em;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cta-section h2 {
  font-size: 1.8em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5em;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 2em;
  font-size: 1em;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
}

.cta-note {
  font-size: 0.8em;
  color: var(--text-secondary);
}

@media screen and (max-width: 768px) {
  .cta-section {
    padding: 3em 0;
  }

  .cta-section h2 {
    font-size: 1.4em;
    padding: 0 1em;
  }

  .cta-section p {
    font-size: 0.9em;
    padding: 0 1em;
  }

  .cta-section .mascot-small {
    width: 80px;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #151c22;
  padding: 3em 2em 2em;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  margin-bottom: 2em;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
  margin-bottom: 1em;
  line-height: 1.4;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8em;
  text-decoration: none;
  padding: 0.3em 0;
  border-bottom: none;
  transition: color 0.2s;
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2em;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75em;
}

@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Utilities
   ============================================ */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5em; }
.mb-2 { margin-bottom: 1em; }
.mb-3 { margin-bottom: 1.5em; }
.mb-4 { margin-bottom: 2em; }
.mt-2 { margin-top: 1em; }
.mt-3 { margin-top: 1.5em; }

/* ============================================
   Animations
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   Touch device optimizations
   ============================================ */
@media (hover: none) {
  .pain-card:hover,
  .feature-item:hover,
  .strength-card:hover,
  .testimonial-card-new:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ============================================
   Safe area (notch) support
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: calc(2em + env(safe-area-inset-bottom));
  }

  .site-header {
    padding-left: calc(1em + env(safe-area-inset-left));
    padding-right: calc(1em + env(safe-area-inset-right));
  }
}
