:root {
  --primary: #9333ea;
  --primary-dark: #7e22ce;
  --primary-light: #f3e8ff;
  --primary-gradient: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-yellow: #f59e0b;
  --accent-blue: #0284c7;
  --bg: #fdf4ff;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #fce7f3;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(147, 51, 234, 0.12), 0 8px 10px -6px rgba(147, 51, 234, 0.08);
  --shadow-lg: 0 20px 35px -5px rgba(147, 51, 234, 0.18), 0 10px 15px -5px rgba(147, 51, 234, 0.1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(243, 232, 255, 0.8);
  transition: all 0.3s ease;
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
  object-fit: cover;
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.logo-badge {
  font-size: 11px;
  background: #fdf2f8;
  color: #db2777;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid #fbcfe8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-main);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.1);
  border: 1.5px solid var(--border);
  margin-bottom: 24px;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  color: #1e1b4b;
}

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

.hero-desc {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.app-store-icon {
  font-size: 32px;
}

.app-store-text {
  text-align: left;
}

.app-store-sub {
  font-size: 11px;
  letter-spacing: 0.5px;
  opacity: 0.8;
  text-transform: uppercase;
}

.app-store-main {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

/* Feature Highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 70px;
}

.highlight-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.icon-green { background: #dcfce7; }
.icon-purple { background: #f3e8ff; }
.icon-blue { background: #e0f2fe; }

.highlight-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.highlight-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Activities Grid Section */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  color: #1e1b4b;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.activity-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #d8b4fe;
}

.activity-emoji {
  font-size: 40px;
  margin-bottom: 16px;
}

.activity-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.activity-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Screenshots Showcase Carousel */
.screenshots-section {
  background: linear-gradient(180deg, rgba(243, 232, 255, 0.5) 0%, rgba(253, 244, 255, 0.8) 100%);
  padding: 80px 0;
  overflow: hidden;
}

.screenshot-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 24px 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.screenshot-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  transition: transform 0.3s ease;
  background: #ffffff;
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

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

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Legal Page Content Styles */
.legal-page {
  max-width: 840px;
  margin: 40px auto 80px;
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--primary-light);
}

.legal-header h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.legal-header .updated {
  color: var(--text-muted);
  font-size: 14px;
}

.legal-page h2 {
  font-size: 20px;
  color: #6b21a8;
  margin: 32px 0 12px;
}

.legal-page h3 {
  font-size: 17px;
  color: #1e293b;
  margin: 20px 0 8px;
}

.legal-page p, .legal-page li {
  font-size: 15px;
  color: #334155;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.highlight-box-green {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
}

.highlight-box-green h3 {
  color: #15803d;
  margin-top: 0;
}

/* Support Form */
.support-form {
  margin-top: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.submit-btn {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3);
  transition: transform 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .highlights, .activities-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .legal-page {
    padding: 24px;
    margin: 20px auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
