:root {
  --primary: #12C47A;
  --primary-hover: #0e9c61;
  --bg-dark: #0A0F1C;
  --bg-card: rgba(18, 196, 122, 0.05);
  --bg-card-hover: rgba(18, 196, 122, 0.1);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.text-center {
  text-align: center;
}

/* Glassmorphism utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(18, 196, 122, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 196, 122, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo i {
  color: var(--primary);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(18, 196, 122, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-indicators {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  display: flex;
  gap: 4px;
}

.stars i {
  color: #FBBF24;
  fill: #FBBF24;
  width: 18px;
  height: 18px;
}

.trust-indicators span {
  font-size: 14px;
  color: var(--text-muted);
}

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

.blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(18,196,122,0.4) 0%, rgba(18,196,122,0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
}

.app-mockup {
  max-width: 320px;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 4px solid #1E293B;
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.app-mockup:hover {
  transform: rotate(0deg) scale(1.05);
}

/* Sections Common */
section {
  padding: 0;
  margin-bottom: 15px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* Demo Section */
.demo-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1627 100%);
}

.demo-card {
  display: flex;
  padding: 40px;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.demo-input-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-input-area label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
}

.input-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
}

.input-hint {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.demo-qr-area {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas-wrapper canvas {
  width: 200px !important;
  height: 200px !important;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: rgba(18, 196, 122, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box i {
  color: var(--primary);
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Screenshots */
.screenshots-section {
  background: #0d1627;
}

.screenshots-carousel {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.screenshot-img {
  width: 280px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 4px solid #1E293B;
  transition: transform 0.4s;
}

.screenshot-img:hover {
  transform: translateY(-10px);
}

/* How it works */
.steps-container {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glass-border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 0 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 24px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(0deg, var(--bg-dark) 0%, #0d1627 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 32px;
}

.testimonial-card .stars {
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 24px;
  color: #E2E8F0;
}

.author {
  font-weight: 600;
  color: var(--primary);
}

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

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
  padding: 0 24px 24px;
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: transform 0.3s;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 32px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.link-group h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

.link-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .demo-card {
    flex-direction: column;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .steps-container::before {
    display: none;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links {
    display: none; /* simple mobile nav for now */
  }
}
