/* PayBee — Static Landing Site */
:root {
  --primary: #5BC46A;
  --primary-dark: #2E8B3C;
  --primary-light: #A7E38F;
  --gradient: linear-gradient(135deg, #2E8B3C 0%, #5BC46A 50%, #A7E38F 100%);
  --gradient-soft: linear-gradient(135deg, rgba(46, 139, 60, 0.08) 0%, rgba(167, 227, 143, 0.15) 100%);
  --text: #1a1a2e;
  --text-muted: #5a6278;
  --bg: #ffffff;
  --bg-alt: #f8faf9;
  --border: #e8ece9;
  --shadow-sm: 0 2px 8px rgba(46, 139, 60, 0.08);
  --shadow-md: 0 8px 32px rgba(46, 139, 60, 0.12);
  --shadow-lg: 0 16px 48px rgba(46, 139, 60, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-height: 72px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  background: rgba(91, 196, 106, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(91, 196, 106, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 196, 106, 0.45);
  color: #fff;
}

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

.btn-outline:hover {
  background: rgba(91, 196, 106, 0.08);
  color: var(--primary-dark);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
}

.logo:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 96px;
  background: var(--gradient-soft);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 196, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-content h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 580px;
  width: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.hero-glow {
  position: absolute;
  inset: 10%;
  background: var(--gradient);
  filter: blur(60px);
  opacity: 0.25;
  border-radius: 50%;
  z-index: -1;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(91, 196, 106, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Screenshots Carousel */
.screenshots-section {
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  touch-action: pan-y pinch-zoom;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 8px;
  display: flex;
  justify-content: center;
}

.carousel-slide img {
  max-height: 520px;
  width: auto;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-dark);
  transition: all var(--transition);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.carousel-btn.prev {
  left: -24px;
}

.carousel-btn.next {
  right: -24px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

.screenshot-thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.screenshot-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition);
  padding: 0;
  background: none;
}

.screenshot-thumb.active,
.screenshot-thumb:hover {
  opacity: 1;
  border-color: var(--primary);
}

.screenshot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Why PayBee */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 196, 106, 0.3);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.why-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Pro Section */
.pro-section {
  background: var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pro-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.pro-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.pro-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pro-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.pro-price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.pro-price .period {
  font-size: 1rem;
  opacity: 0.85;
  margin-left: 4px;
}

.pro-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.pro-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pro-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.pro-feature svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.pro-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pro-image img {
  max-height: 480px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.pro-section .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pro-section .btn-primary:hover {
  background: #f0fdf4;
  color: var(--primary-dark);
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--primary-dark);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Contact */
.contact-section {
  text-align: center;
}

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 14px 28px;
  background: var(--gradient-soft);
  border-radius: 100px;
  transition: all var(--transition);
}

.contact-email:hover {
  background: rgba(91, 196, 106, 0.2);
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
  font-size: 0.875rem;
}

/* Legal Pages */
.legal-page {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 24px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--primary-dark);
  font-weight: 500;
}

/* Account deletion guide */
.info-box {
  background: var(--gradient-soft);
  border: 1px solid rgba(91, 196, 106, 0.35);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text);
}

.warning-box {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
}

.steps-guide {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.step-body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-height: 420px;
  }

  .features-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pro-features {
    align-items: center;
  }

  .pro-image {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-cta {
    margin: 16px 0 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .screenshot-thumbs {
    gap: 8px;
  }

  .screenshot-thumb {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero-buttons .btn {
    width: 100%;
  }

  .contact-card {
    padding: 32px 24px;
  }
}
