:root {
  --primary: #7734f5;
  --primary-dark: #5e26c4;
  --primary-light: #f2ebff;
  --text-dark: #111827;
  --text-gray: #4b5563;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --border: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; overflow-x: hidden; }

body {
  width: 100%;
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

h1, h2, h3, h4 { color: var(--text-dark); font-weight: 700; line-height: 1.2; }
p { color: var(--text-gray); }

a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }

img, svg, video, canvas { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; width: 100%; }
.center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.mt-4 { margin-top: 1.5rem; }

.section-header { margin-bottom: 18px; }
.section-header.center { margin-bottom: 22px; }
.steps-grid,
.categories-grid,
.pricing-grid,
.accordion { margin-top: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: none;
}

.btn-lg { padding: 16px 32px; font-size: 1.125rem; }

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(119, 52, 245, 0.39);
}

.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

.btn-secondary {
  background-color: white;
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--text-dark); background-color: var(--bg-light); }

.btn-white { background-color: white; color: var(--primary); }
.btn-white:hover { background-color: #f0f0f0; transform: translateY(-2px); }

.btn-text { color: var(--text-dark); background: none; padding: 0; }
.btn-text:hover { color: var(--primary); gap: 12px; }

.full-width { width: 100%; justify-content: center; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { display: flex; align-items: center; }
.logo img { height: 36px; width: auto; object-fit: contain; }

.nav-links { display: none; }
.nav-actions { display: none; }

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2205;
  pointer-events: auto;
}

.mobile-menu-btn:active { transform: translateY(1px); }

.mobile-menu-btn .icon-hamburger {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 999px;
  box-shadow: 0 7px 0 var(--text-dark), 0 14px 0 var(--text-dark);
  display: inline-block;
}

body.menu-open .mobile-menu-btn,
.mobile-menu-btn[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

.hero {
  width: 100%;
  padding-top: 140px;
  padding-bottom: 64px;
  background: radial-gradient(circle at 10% 10%, rgba(119, 52, 245, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  overflow: hidden;
}

.hero-container { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.hero-content { max-width: 620px; text-align: center; }

.badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 18px; letter-spacing: -0.02em; }

.highlight { color: var(--primary); position: relative; white-space: nowrap; }
.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(119, 52, 245, 0.15);
  z-index: -1;
}

.hero-sub { font-size: 1.125rem; margin-bottom: 26px; color: var(--text-gray); }

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
}

.hero-visual { position: relative; width: 100%; max-width: 360px; margin: 0 auto; z-index: 2; }

.hero-img-template {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  box-shadow: none;
}

.hero-img-template:hover { transform: translateY(-5px); }

@media (max-width: 767px) {
  .hero { padding-bottom: 46px; }
  .hero-visual { margin-top: 8px; }
}

.steps-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.step-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.step-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(119, 52, 245, 0.2);
  margin-bottom: 16px;
}

.step-card h3 { margin-bottom: 12px; }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.cat-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.cat-card:hover { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }

.cat-card i { font-size: 3rem; color: var(--primary); margin-bottom: 16px; }

.features-container { display: flex; flex-direction: column; gap: 48px; }

.feature-list { margin-top: 25px; display: flex; flex-direction: column; gap: 24px; }

.feature-list li { display: flex; align-items: flex-start; gap: 16px; }

.feat-icon {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-content { display: flex; flex-direction: column; }

.feat-content strong {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 2px;
  display: block;
}

.feat-content span { color: var(--text-gray); font-size: 1rem; line-height: 1.5; }

@media (max-width: 480px) {
  .feat-content { gap: 2px; }
  .feat-content strong { font-size: 1rem; }
}

.dashboard-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 450px;
  margin: 0 auto;
}

.dash-header { display: flex; justify-content: space-between; margin-bottom: 24px; color: var(--text-gray); }

.dash-stat { font-size: 0.9rem; color: var(--text-gray); }

.dash-stat strong {
  display: block;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-top: 4px;
}

.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-top: 24px; }
.bar { flex: 1; background: #e5e7eb; border-radius: 4px; }
.bar.active { background: var(--primary); }

.concierge-section {
  width: 100%;
  background-color: var(--primary);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.concierge-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.concierge-content { max-width: 700px; position: relative; z-index: 2; }
.concierge-content h2, .concierge-content p { color: white; }
.concierge-content p { font-size: 1.2rem; opacity: 0.92; margin-bottom: 32px; }

.concierge-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: none;
  display: inline-block;
  margin-bottom: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}

.pricing-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--text-dark); }
.plan-price span { font-size: 1rem; color: var(--text-gray); font-weight: 500; }
.plan-features { margin: 32px 0; }
.plan-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.plan-features i { color: var(--primary); }

.quote-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.quote-box h3 { color: var(--text-dark); font-weight: 700; letter-spacing: -0.01em; }
.quote-box .author span { color: var(--text-gray); }

.faq-container { max-width: 800px; }
.accordion-item { border-bottom: 1px solid var(--border); }

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
}

.accordion-body { padding-bottom: 24px; color: var(--text-gray); display: none; animation: fadeIn 0.3s; }
.accordion-item.active .accordion-body { display: block; }
.accordion-item.active i { transform: rotate(180deg); transition: transform 0.3s; }

footer { width: 100%; background: #111; color: white; padding: 64px 0 24px; overflow: hidden; }

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p { color: #888; max-width: 340px; margin-top: 16px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col h4 { margin-bottom: 24px; color: white; }
.footer-col a { display: block; color: #888; margin-bottom: 12px; }
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  color: #666;
}

.socials { display: flex; gap: 16px; }
.socials a { color: #888; font-size: 1.5rem; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 2200;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.mobile-nav-overlay.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  position: sticky;
  top: 0;
  background: white;
  padding: 10px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  z-index: 2210;
}

.mobile-logo img { height: 32px; width: auto; }

.close-menu-btn {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2220;
  pointer-events: auto;
}

.close-menu-btn:active { transform: translateY(1px); }

.close-menu-btn .icon-close {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.close-menu-btn .icon-close::before,
.close-menu-btn .icon-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 999px;
  transform-origin: center;
}

.close-menu-btn .icon-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-menu-btn .icon-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid transparent;
}

.mobile-nav-links a:hover { color: var(--primary); }

.mobile-nav-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 18px;
}

[data-aos] { will-change: transform, opacity; }
.aos-init { opacity: 1; transform: none; }
.aos-animate { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .nav-links, .nav-actions { display: flex; align-items: center; gap: 24px; }
  .nav-links a { color: var(--text-gray); font-weight: 500; font-size: 0.95rem; }
  .nav-links a:hover, .nav-concierge { color: var(--primary); }
  .mobile-menu-btn { display: none; }

  .hero-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 64px;
    align-items: center;
  }

  .hero-content { text-align: left; align-items: flex-start; max-width: 50%; }
  .hero-buttons { flex-direction: row; align-items: center; }
  .hero h1 { font-size: 3.5rem; }

  .steps-grid { grid-template-columns: repeat(3, 1fr); }

  .features-container { flex-direction: row; align-items: center; gap: 80px; }
  .features-text, .features-visual { flex: 1; }

  .pricing-grid { grid-template-columns: 1fr 1fr; }

  .footer-content { grid-template-columns: 1.5fr 2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
