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

:root {
  --bg-dark: #07090e;
  --bg-panel: #0f131c;
  --bg-panel-hover: #161c2b;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-glow: rgba(59, 130, 246, 0.12);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #1e293b;
  --border-color-hover: #334155;
  --max-width: 1100px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, .brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Header & Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  background: var(--bg-panel);
}

.nav-links a.active {
  box-shadow: inset 0 0 0 1px var(--border-color);
}

/* Container & Sections */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  padding: 60px 0 100px;
}

.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: var(--primary);
  opacity: 0.15;
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35);
}

section {
  padding: 70px 0;
  border-top: 1px solid var(--border-color);
}

h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h2 span {
  color: var(--primary);
}

.block {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 800px;
  margin-bottom: 24px;
}

/* Grids and Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  background: var(--bg-panel-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 1px 1px var(--primary-glow);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Steps Section */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.step {
  display: flex;
  gap: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.step:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-panel-hover);
}

.step .num {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.step h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text-main);
}

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

/* FAQ / Details Summary */
.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
}

details[open] {
  border-color: var(--border-color-hover);
}

summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

details p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Contact box and lists */
.contact-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  max-width: 580px;
  margin-top: 32px;
}

.contact-box .row {
  margin-bottom: 20px;
}

.contact-box .row:last-child {
  margin-bottom: 0;
}

.contact-box .label {
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-box .val {
  font-size: 18px;
  font-weight: 500;
}

.contact-box a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px dashed var(--primary);
  transition: var(--transition);
}

.contact-box a:hover {
  color: var(--primary);
  border-bottom-style: solid;
}

/* Lists */
ul.values-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

ul.values-list li {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
}

ul.values-list li strong {
  display: block;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

ul.values-list li span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Compliance layout (Terms & Privacy) */
.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
}

.legal-content p, .legal-content ul {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.updated {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 40px;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0 80px;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

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

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

.copyright {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

/* Platform support banner */
.platforms-banner {
  margin-top: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-muted);
  display: inline-block;
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 100px 0 80px;
  text-align: left;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-color);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--primary-hover), 0 0 20px var(--primary-glow);
}

/* Metrics row */
.metrics-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-card {
  padding: 16px;
}

.metric-num {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Alternate Feature Section */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.feature-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.feature-row-img {
  position: relative;
}

.feature-row-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-row-img img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--primary-hover);
}

.feature-row-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.feature-row-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-bullets {
  list-style: none;
}

.feature-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-muted);
  text-align: left;
}

.feature-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Pricing Grid */
.pricing-section {
  text-align: center;
}

.pricing-header {
  margin-bottom: 48px;
}

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

.price-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--bg-panel), #111827);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.badge-popular {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.price-card.popular:hover {
  border-color: var(--primary-hover);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.price-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.price-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 40px;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
}

.price-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

.price-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.price-btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.price-btn.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.price-btn:not(.primary):hover {
  background: var(--bg-panel-hover);
  border-color: var(--border-color-hover);
}

/* Testimonials */
.testimonials-section {
  text-align: center;
}

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

.testimonial-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border-color-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  border: 2px solid var(--border-color);
}

.testimonial-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.testimonial-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Call to Action Banner */
.cta-section {
  padding: 80px 0;
}

.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 17px;
}

/* Responsive Navigation for Mobile */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 16px;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .nav-links a {
    padding: 6px 12px;
    font-size: 13px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  ul.values-list {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0 40px;
  }
  /* Mobile responsiveness for new sections */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0 40px;
    gap: 32px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-image img {
    max-width: 100%;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .feature-row.reverse .feature-row-img {
    order: 2;
  }
  .feature-bullets li {
    padding-left: 0;
    list-style-type: none;
  }
  .feature-bullets li::before {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
