@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
}

.landing-page {
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-cta {
  background: #ffffff;
  color: #3b82f6;
  font-size: 1.25rem;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #ede9fe 100%);
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dbeafe;
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #1e293b;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-bottom: 4rem;
}

.hero-subtext {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.875rem;
}

.arrow-icon {
  font-size: 1.25rem;
}

/* Code Preview */
.code-preview {
  max-width: 32rem;
  margin: 0 auto;
  background: #1e293b;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #334155;
  border-bottom: 1px solid #475569;
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.terminal-title {
  color: #94a3b8;
  font-size: 0.875rem;
}

.code-content {
  padding: 1.5rem;
  font-family: 'Fira Code', 'Monaco', 'Courier New', monospace;
  font-size: 0.875rem;
  text-align: left;
}

.code-comment {
  color: #94a3b8;
}

.code-line {
  color: #22d3ee;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 32rem;
  margin: 0 auto;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
}

.benefit-card {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 1;
}

.benefit-card:hover {
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
  z-index: 10;
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  position: relative;
  z-index: 1;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.step-content {
  text-align: center;
  flex: 1;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.step p {
  color: #64748b;
  font-size: 1.125rem;
}

.step-code {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 0.75rem;
  width: 100%;
  max-width: 24rem;
}

.step-code code {
  color: #22d3ee;
  font-family: 'Fira Code', 'Monaco', 'Courier New', monospace;
  font-size: 0.875rem;
}

.step-arrow {
  display: none;
  font-size: 2rem;
  color: #cbd5e1;
}

/* Target Audience Section */
.target-audience-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.audience-card {
  text-align: center;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 1;
}

.audience-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.audience-emoji {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.audience-card h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.audience-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Why TRC-20 Section */
.why-trc20-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
  position: relative;
  z-index: 1;
}

.trc20-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.trc20-feature {
  text-align: center;
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.trc20-feature:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  z-index: 10;
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.trc20-feature h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.trc20-feature p {
  color: #64748b;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.testimonial-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 1.25rem;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 600;
  color: #1e293b;
}

.author-company {
  color: #64748b;
  font-size: 0.875rem;
}

/* Call to Action Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #6366f1);
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 64rem;
  margin: 0 auto;
}

.cta-emoji {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  margin-bottom: 1.5rem;
  color: white;
}

.cta-section p {
  font-size: 1.25rem;
  color: #bfdbfe;
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-subtext {
  color: #bfdbfe;
  font-size: 0.875rem;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}

/* Footer Section */
.footer-section {
  padding: 3rem 0;
  background: #1e293b;
  color: white;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #94a3b8;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #334155;
  border-radius: 50%;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #475569;
  transform: translateY(-2px) scale(1.1);
}

.social-icon {
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 3rem;
  }
  
  .step-content {
    text-align: left;
    flex: 1;
  }
  
  .step-code {
    flex: 1;
    max-width: none;
  }
  
  .step-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
  }
  
  .benefits-grid,
  .audience-grid,
  .trc20-features {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .cta-section {
    padding: 4rem 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .benefit-card,
  .audience-card,
  .trc20-feature,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* ================================================
   ADVANCED CONSENT BANNER V2 STYLES
   ================================================ */

/* Main banner container */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  border-top: 2px solid rgba(59, 130, 246, 0.5);
  max-height: 80vh;
  overflow-y: auto;
}

.consent-banner.show {
  transform: translateY(0);
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Content container */
.consent-content {
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

/* Header section */
.consent-header {
  margin-bottom: 2rem;
}

.consent-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
  line-height: 1.3;
}

.consent-header p {
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.consent-notice {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.5rem;
  padding: 0.875rem;
  margin-top: 1rem;
}

.consent-notice small {
  color: #cbd5e1;
  line-height: 1.5;
}

.consent-notice .consent-link {
  color: #93c5fd;
  text-decoration: underline;
  font-weight: 500;
}

.consent-notice .consent-link:hover {
  color: #dbeafe;
}

/* Categories grid */
.consent-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.consent-category {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.consent-category:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.consent-category.essential {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.consent-category.essential:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.5);
}

.category-examples {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-examples small {
  color: #94a3b8;
  font-style: italic;
  line-height: 1.4;
}

/* Custom checkbox styling */
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #64748b;
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  position: relative;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.consent-checkbox input[type="checkbox"]:disabled + .checkmark {
  background: #10b981;
  border-color: #10b981;
  opacity: 1;
}

.essential-checkmark {
  background: #10b981 !important;
  border-color: #10b981 !important;
}

.essential-checkmark::after {
  content: '🔒' !important;
  font-size: 10px !important;
}

.category-info {
  flex: 1;
}

.category-info strong {
  font-weight: 600;
  color: #ffffff;
  display: block;
  margin-bottom: 0.25rem;
}

.category-info small {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Action buttons */
.consent-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.consent-actions .btn {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-icon {
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.btn-outline {
  background: transparent;
  color: #e2e8f0;
  border: 2px solid #64748b;
}

.btn-outline:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: #f87171;
  color: #fecaca;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(248, 113, 113, 0.2);
}

.btn-secondary {
  background: #64748b;
  color: white;
  border: 2px solid #64748b;
}

.btn-secondary:hover {
  background: #475569;
  border-color: #475569;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Action descriptions */
.consent-action-descriptions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.consent-action-descriptions small {
  color: #94a3b8;
  text-align: center;
  font-size: 0.8rem;
}

/* Footer section */
.consent-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.consent-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.consent-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.consent-link:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.consent-metadata {
  text-align: center;
  opacity: 0.7;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .consent-banner {
    padding: 1.5rem 1rem 1rem;
    max-height: 90vh;
  }

  .consent-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .consent-category {
    padding: 1rem;
  }

  .consent-actions {
    flex-direction: column;
    gap: 0.875rem;
  }

  .consent-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
  }

  .consent-action-descriptions {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .consent-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .consent-header h3 {
    font-size: 1.4rem;
  }

  .consent-header p {
    font-size: 0.95rem;
  }

  .consent-notice {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .consent-banner {
    padding: 1rem 0.75rem 0.75rem;
    max-height: 95vh;
  }

  .consent-header h3 {
    font-size: 1.2rem;
  }

  .consent-header p {
    font-size: 0.9rem;
  }

  .consent-category {
    padding: 0.875rem;
  }

  .consent-checkbox {
    gap: 0.5rem;
  }

  .checkmark {
    width: 18px;
    height: 18px;
  }

  .category-examples {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }

  .consent-actions .btn {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .btn-icon {
    margin-right: 0.375rem;
  }

  .consent-links {
    gap: 0.75rem;
  }

  .consent-link {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .consent-metadata {
    font-size: 0.7rem;
    padding: 0 0.5rem;
  }
}

/* Animation for banner entrance */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-banner.animate-in {
  animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
} 