/* Base Styles */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --text-main: #ffffff;
  --text-muted: #a3a3a3;
  --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --primary-glow: rgba(139, 92, 246, 0.4);
  --border-color: #262626;
  --card-hover-border: #8b5cf6;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle noise texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

/* Typography Enhancements */
h1, h2, h3 {
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .btn {
    min-height: 44px; /* Touch target size */
    padding: 14px 20px;
  }
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-xl {
  padding: 20px 48px;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .btn-lg,
  .btn-xl {
    padding: 16px 24px;
    font-size: 1rem;
  }
}

/* Navigation */
.navbar {
  padding: 16px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.2rem;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

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

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

.nav-links a:hover {
  color: white;
}

.nav-btn {
  white-space: nowrap;
  font-size: 0.85rem !important;
  padding: 10px 16px !important;
}

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

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }
}

/* Enhanced Background glow */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(10, 10, 10, 0) 60%);
  z-index: -1;
  pointer-events: none;
}

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

.hero-title {
  font-size: 5rem;
  line-height: 1.05;
  margin-bottom: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
  }
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 540px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.6;
  }
}

.hero-subtitle strong {
  color: white;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
  }
}

.hero-trust {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-trust {
    flex-direction: column;
    gap: 12px;
    font-size: 0.85rem;
    text-align: center;
  }
}

/* Hero Image / Mockup */
.hero-image {
  display: block;
}

@media (max-width: 768px) {
  .hero-image {
    display: none;
  }
}

.mockup-container {
  position: relative;
  perspective: 2000px;
}

.mockup-screen {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
  transform: rotateY(-12deg) rotateX(6deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 4px solid #1a1a1a;
  position: relative;
  z-index: 2;
}

.mockup-container:hover .mockup-screen {
  transform: rotateY(0) rotateX(0);
}

.mockup-header {
  background: #f1f5f9;
  padding: 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.mockup-content {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mockup-blocked {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.mockup-photo {
  width: 100%;
  height: 180px;
  background: #f1f5f9;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
  border-radius: 8px;
  font-weight: 500;
}

.mockup-blocked h3 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 8px;
  font-weight: 700;
}

.mockup-blocked p {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 24px;
}

.mockup-input {
  height: 42px;
  background: #f1f5f9;
  border-radius: 8px;
  margin-bottom: 12px;
}

.mockup-btn {
  height: 48px;
  min-height: 48px;
  background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  border-radius: 10px;
  color: white !important;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  margin-top: 8px;
  border: none;
  line-height: 1;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: var(--primary-glow);
  filter: blur(80px);
  z-index: 1;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.mockup-container:hover .glow-effect {
  opacity: 0.6;
}

/* Features */
.features {
  padding: 140px 0;
  background: #0d0d0d;
}

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

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

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

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

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 48px;
  }
  
  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .section-header p {
    font-size: 1rem;
  }
}

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

.feature-card {
  background: var(--bg-card);
  padding: 48px 32px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .feature-card {
    padding: 32px 24px;
  }
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-hover-border);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: inline-block;
}

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

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

@media (max-width: 768px) {
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
}

/* How It Works */
.how-it-works {
  padding: 140px 0;
  background: var(--bg-dark);
  position: relative;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 80px 0;
  }
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .timeline-container {
    margin: 48px auto 0;
    padding: 0 20px;
  }
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: var(--primary-gradient);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
  transition: height 0.1s ease-out;
  z-index: 2;
}

.steps-vertical {
  position: relative;
  z-index: 3;
}

.step-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 120px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .step-item {
    margin-bottom: 60px;
    min-height: auto;
  }
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-circle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.step-item.active .step-circle {
  background: var(--primary-gradient);
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8), 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%) scale(1.1);
}

.step-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  transition: color 0.3s;
}

.step-item.active .step-number {
  color: white;
}

.step-content {
  flex: 1;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 420px;
}

@media (max-width: 768px) {
  .step-content {
    padding: 24px 20px;
    max-width: 100%;
  }
}

.step-left {
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

.step-right {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.step-item.active .step-content {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
  transform: translateY(-4px);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.step-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  
  .step-content p {
    font-size: 0.95rem;
  }
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }
  
  .step-circle {
    left: 30px;
    width: 50px;
    height: 50px;
  }
  
  .step-number {
    font-size: 1.25rem;
  }
  
  .step-item {
    flex-direction: row;
    align-items: flex-start;
    padding-left: 80px;
  }
  
  .step-content {
    max-width: 100%;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .step-left,
  .step-right {
    text-align: left;
  }
}

/* FAQ Section */
.faq-section {
  padding: 140px 0;
  background: #0d0d0d;
}

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

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #404040;
}

.faq-question {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.faq-question h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 20px;
  }
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  font-weight: 300;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 32px 32px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-answer p:first-child {
  padding-top: 0;
}

.faq-answer p:last-child {
  padding-bottom: 32px;
}

.faq-list {
  margin: 16px 32px 0;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-list li {
  margin-bottom: 8px;
}

.faq-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .faq-answer p:last-child {
    padding-bottom: 20px;
  }
  
  .faq-list {
    margin: 12px 20px 0;
    padding-left: 20px;
    font-size: 0.9rem;
  }
  
  .faq-list li {
    margin-bottom: 6px;
  }
}

/* Active State */
.faq-item.active {
  border-color: #8b5cf6;
  background: #1a1a1a;
}

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

.faq-item.active .faq-answer {
  max-height: 2000px;
}

/* CTA Section */
.cta-section {
  padding: 140px 0;
}

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

.cta-box {
  background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .cta-box {
    padding: 48px 24px;
    border-radius: 24px;
  }
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-gradient);
}

.cta-box h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 800;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.35rem;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cta-box h2 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  
  .cta-box p {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  
  .cta-box .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
  }
}

.cta-sub {
  margin-top: 24px;
  font-size: 0.95rem !important;
  opacity: 0.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 80px 0;
  margin-top: 0;
  background: #0a0a0a;
}

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

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

.footer-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  color: #555;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }
  
  .nav-container {
    flex-wrap: nowrap;
    gap: 8px;
  }
  
  .logo {
    font-size: 0.95rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .logo-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-container > div:last-child {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
  }
  
  .nav-btn {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
    min-height: 36px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-logo {
    font-size: 1.1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .footer-copy {
    font-size: 0.85rem;
  }
}
