:root {
  --primary-color: #FFC107;
  --primary-hover: #FFD54F;
  --bg-color: #F4F9FF; /* Soft sky blue/anime background */
  --surface-color: #FFFFFF;
  --surface-hover: #F0F7FF;
  --text-primary: #2C3E50;
  --text-secondary: #546E7A;
  --border-color: #E2E8F0;
  --shadow-color: rgba(0, 0, 0, 0.05);
  --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

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

/* Header & Nav */
header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFA000;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

.logo svg {
  fill: #FFA000;
  width: 36px;
  height: 36px;
}

.nav-links a {
  margin-left: 20px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

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

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #000 !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E0F7FA 0%, #FFF9C4 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6) 20%, transparent 20%),
                    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.6) 20%, transparent 20%);
  background-size: 150px 150px;
  opacity: 0.5;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0 0 40px;
}

.hero .cta-group {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scene-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Animations */
@keyframes hoverBee {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes flapLeft {
  0%, 100% { transform: rotate(0deg) skewX(0deg); transform-origin: 190px 160px; }
  50% { transform: rotate(-30deg) skewX(-20deg); transform-origin: 190px 160px; }
}

@keyframes flapRight {
  0%, 100% { transform: rotate(0deg) skewX(0deg); transform-origin: 210px 160px; }
  50% { transform: rotate(30deg) skewX(20deg); transform-origin: 210px 160px; }
}

@keyframes dashTrail {
  to {
    stroke-dashoffset: -20;
  }
}

.animated-bee {
  animation: hoverBee 3s ease-in-out infinite;
}

.wing-left {
  animation: flapLeft 0.1s linear infinite;
}

.wing-right {
  animation: flapRight 0.1s linear infinite;
}

.flight-trail {
  animation: dashTrail 1s linear infinite;
}

/* Features Section */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--surface-color);
  padding: 40px 30px;
  border-radius: 24px; /* More rounded, anime style */
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: #FFF3E0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: #FFA000;
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: var(--surface-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 24px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  border-color: var(--primary-color);
  background-color: #FFFDE7;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 193, 7, 0.2);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FF5252;
  color: #FFF;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(255, 82, 82, 0.4);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: normal;
}

.pricing-features {
  text-align: left;
  margin-bottom: 30px;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--bg-color); /* Light blue anime background */
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--surface-color);
  border-radius: 16px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
}

/* Open state for FAQ */
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* Footer */
footer {
  background-color: #FFFFFF;
  padding: 60px 0 30px;
  border-top: 2px solid var(--border-color);
  text-align: center;
  position: relative;
}

/* Optional: Add a cute little anime cloud separator at the top of the footer */
footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: radial-gradient(circle at 20px 20px, #FFFFFF 20px, transparent 21px);
  background-size: 40px 40px;
  background-repeat: repeat-x;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-weight: 700;
}

.footer-nav a:hover {
  color: #FFA000;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Support Pages Styles */
.support-page {
  padding: 80px 0;
}

.support-content {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
}

.support-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
}

.support-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

.support-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.support-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.support-content li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero .cta-group {
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin: 0 auto 40px;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
  
  .nav-links {
    display: none;
  }
  
  .support-content {
    padding: 20px;
  }
}

/* FAQ (details/summary) */
/* Custom styles for native details/summary */
details {
    background-color: var(--surface-color);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}
summary {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
details[open] summary::after {
    transform: rotate(45deg);
}
.faq-content {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: -5px;
    padding-top: 20px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: #FFA000;
  text-decoration: none;
}
.breadcrumb span {
  margin: 0 6px;
}

/* Home: guides & reviews */
.resources {
  padding: 80px 0 40px;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.resource-card {
  display: block;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow-color);
}
.resource-card h3 {
  margin-bottom: 10px;
  color: #FFA000;
}
.resource-card p {
  color: var(--text-secondary);
}

/* Guide page tables & steps */
.support-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.support-content th,
.support-content td {
  border: 1px solid var(--border-color);
  padding: 10px;
  text-align: left;
}
.support-content th {
  background-color: var(--surface-hover);
}
.support-content ol {
  padding-left: 22px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}
.support-content ol li {
  margin-bottom: 8px;
}
.support-content h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
}
.table-wrap {
  overflow-x: auto;
}

/* Mobile nav: keep links visible (good for users and crawlers) */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 16px;
  }
  .nav-links a {
    margin-left: 0;
    font-size: 0.95rem;
  }
}
