/* 
  7G App Builder Class - Modern UI Design System
  Brand Color: #10B981 (Seven Green Emerald)
*/

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #d1fae5;
  --secondary: #064e3b;
  --bg-light: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --error: #ef4444;
  --success: #10b981;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --nav-height: 80px;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.section-label.light {
  color: var(--primary-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--secondary);
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 48px;
}

.highlight {
  color: var(--primary);
}

.highlight-light {
  color: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
}

.btn-primary.full-width {
  width: 100%;
}

.btn-ghost {
  display: inline-flex;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--secondary);
  border: 2px solid #e2e8f0;
}

.btn-ghost:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-primary-light {
  display: inline-flex;
  background-color: var(--white);
  color: var(--primary-dark);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===== NAVBAR ===== */
.navbar {
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.2rem;
}

.logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--secondary);
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
}

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

.btn-nav {
  background-color: var(--primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background-color: var(--secondary);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  background-color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-headline {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 30px;
  border-top: 1px solid #f1f5f9;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: #e2e8f0;
}

/* ===== PROBLEMS ===== */
.problem-section {
  padding: 100px 0;
}

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

.problem-card {
  background-color: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.problem-card:hover {
  transform: translateY(-8px);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.problem-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--secondary);
}

.problem-card p {
  color: var(--text-muted);
}

/* ===== SOLUTION ===== */
.solution-section {
  padding: 100px 0;
  background-color: var(--secondary);
  border-radius: 60px;
  margin: 0 24px;
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-points {
  margin: 40px 0;
}

.sol-point {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.sol-check {
  width: 28px;
  height: 28px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.sol-point strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.sol-point p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* MOCKUP VISUAL */
.app-mockup {
  background-color: #1e293b;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.5);
  border: 8px solid rgba(255, 255, 255, 0.05);
}

.mockup-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.mockup-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #334155;
}

.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-stat {
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.mockup-stat.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.mockup-stat.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.mockup-stat.orange { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.mockup-num { font-weight: 800; font-size: 1.2rem; }
.mockup-lbl { font-size: 0.7rem; font-weight: 600; opacity: 0.8; }

.mockup-chart {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.chart-label { color: white; font-size: 0.8rem; margin-bottom: 16px; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 100px; }
.bar { flex: 1; background: rgba(16, 185, 129, 0.3); border-radius: 4px; }
.bar.active { background: var(--primary); }

.mockup-table { color: white; font-size: 0.8rem; }
.table-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.table-row.header { font-weight: 700; opacity: 0.5; }
.badge-green { color: #10b981; }
.badge-yellow { color: #f59e0b; }

/* ===== OUTPUT SECTION ===== */
.output-section { padding: 100px 0; background-color: white; }
.output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.output-card {
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}
.output-card:hover { border-color: var(--primary); box-shadow: var(--card-shadow); }
.output-card.featured {
  background-color: var(--primary-light);
  border-color: var(--primary);
  position: relative;
}
.featured-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}
.output-icon { font-size: 2.5rem; margin-bottom: 20px; }
.output-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.output-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== TARGET SECTION ===== */
.target-section { padding: 100px 0; text-align: center; }
.target-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.target-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.target-emoji { font-size: 2.5rem; margin-bottom: 16px; }

/* ===== PRICING ===== */
.pricing-section { padding: 100px 0; background-color: #f8fafc; }
.pricing-comparison { display: flex; align-items: center; justify-content: center; gap: 40px; margin-bottom: 60px; }
.price-compare { text-align: center; }
.compare-label { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.price-compare.bad .compare-price { color: #94a3b8; text-decoration: line-through; font-size: 1.5rem; }
.price-compare.good .compare-price { color: var(--primary); font-size: 2.5rem; font-weight: 900; }
.vs-badge { background: #e2e8f0; padding: 10px; border-radius: 50%; font-weight: 800; font-size: 0.7rem; }

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 32px;
  padding: 60px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary);
  position: relative;
}

.price-header { text-align: center; margin-bottom: 40px; }
.price-badge { background: var(--primary); color: white; padding: 6px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 800; display: inline-block; margin-bottom: 16px; }
.price-name { font-weight: 700; font-size: 1.2rem; color: var(--text-muted); margin-bottom: 8px; }
.price-amount { display: flex; align-items: flex-start; justify-content: center; gap: 4px; color: var(--secondary); }
.price-currency { font-weight: 800; font-size: 1.5rem; margin-top: 8px; }
.price-number { font-weight: 900; font-size: 4rem; letter-spacing: -2px; }

.price-includes { margin-bottom: 40px; }
.price-includes h4 { font-weight: 700; margin-bottom: 20px; }
.price-includes ul { display: flex; flex-direction: column; gap: 16px; }
.price-includes li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-icon { color: var(--primary); font-weight: 900; }

/* ===== BATCH LIST ===== */
.batch-section { padding: 100px 0; }
.batch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 40px 0; }
.batch-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.batch-status { font-weight: 800; font-size: 0.75rem; text-transform: uppercase; }
.status-open { color: var(--primary); }
.batch-name { font-size: 1.25rem; font-weight: 800; }
.batch-info { display: flex; flex-direction: column; gap: 8px; color: var(--text-muted); font-size: 0.9rem; }
.batch-quota { padding-top: 16px; border-top: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.quota-bar { flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; margin: 0 12px; overflow: hidden; }
.quota-fill { height: 100%; background: var(--primary); border-radius: 4px; }

/* ===== FORM ===== */
.form-section { padding: 100px 0; }
.form-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; background: var(--secondary); border-radius: 40px; padding: 80px; }
.form-desc { color: rgba(255,255,255,0.7); margin-bottom: 40px; }
.form-highlights { display: flex; flex-direction: column; gap: 20px; }
.fh-item { display: flex; align-items: center; gap: 16px; color: white; font-weight: 600; }
.fh-icon { background: rgba(255,255,255,0.1); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }

.reg-form { background: white; padding: 40px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; }
.required { color: var(--error); }
.form-group input, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.input-prefix { display: flex; align-items: center; position: relative; }
.prefix { position: absolute; left: 16px; font-weight: 700; color: var(--text-muted); }
.input-prefix input { padding-left: 55px; }

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 18px;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover { transform: scale(1.02); background: var(--primary-dark); }
.field-error { color: var(--error); font-size: 0.75rem; font-weight: 600; margin-top: 4px; display: block; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 78, 59, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}
.modal-box {
  background: white;
  padding: 48px;
  border-radius: 32px;
  max-width: 500px;
  text-align: center;
  animation: modalIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalIn {
  from { transform: translateY(30px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-icon { font-size: 4rem; margin-bottom: 24px; }
.modal-wa-note { background: #f0fdf4; padding: 16px; border-radius: 12px; border-left: 4px solid var(--primary); margin: 24px 0; font-size: 0.9rem; }

/* ===== CTA FINAL ===== */
.cta-final { padding: 120px 0; background: white; text-align: center; }
.cta-urgency { font-weight: 800; color: var(--error); margin-bottom: 20px; }
.cta-content h2 { font-size: 3rem; font-weight: 900; margin-bottom: 24px; }
.cta-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 48px; }

/* ===== FOOTER ===== */
.footer { padding: 80px 0 40px; background: #f8fafc; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.footer-brand p { color: var(--text-muted); margin-top: 12px; }
.footer-links { display: flex; gap: 40px; font-weight: 700; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid #e2e8f0; padding-top: 40px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-headline { font-size: 3rem; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .solution-inner { grid-template-columns: 1fr; }
  .form-wrapper { grid-template-columns: 1fr; padding: 40px; }
  .target-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-headline { font-size: 2.5rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .output-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
  .pricing-comparison { flex-direction: column; }
}

/* SPINNER */
.spinner { width: 40px; height: 40px; border: 4px solid rgba(16, 185, 129, 0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s infinite linear; }
.spinner-small { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 1s infinite linear; display: inline-block; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
