html{scroll-behavior:smooth}
:root{
  --bg:#0f1115;
  --bg-alt:#161a28;
  --card:#161a26;
  --card-alt:#1b2234;
  --muted:#8b93a7;
  --text:#e7ecf3;
  --accent:#0D9488;
  --accent-strong:#0F766E;
  --accent-light:#14B8A6;
  --accent-emerald:#059669;
  --accent-green:#10B981;
  --accent-red:#ff5f6d;
  --accent-orange:#ffb563;
  --border:#23283a;
  --shadow:0 22px 48px rgba(9,13,25,.45);
  --header-h:72px;
}
*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:rgba(13,148,136,.2);
}
/* Allow interaction on clickable elements */
a, button, input, select, textarea, [role="button"], [onclick], .btn, .hero-badge, .section-card, .nav-links a {
  -webkit-user-select:none;
  -moz-user-select:none;
  user-select:none;
  cursor:pointer;
  touch-action:manipulation;
}
/* Prevent text selection on non-interactive content */
p, h1, h2, h3, h4, h5, h6, li, span:not(.btn *):not(.hero-badge *) {
  -webkit-user-select:none;
  -moz-user-select:none;
  user-select:none;
}
/* Allow text selection in code blocks and inputs */
code, pre, input, textarea {
  -webkit-user-select:text !important;
  -moz-user-select:text !important;
  user-select:text !important;
}
/* Prevent dragging images and links */
img, a {
  -webkit-user-drag:none;
  -khtml-user-drag:none;
  -moz-user-drag:none;
  -o-user-drag:none;
  user-drag:none;
  draggable:false;
}
body{
  margin:0;
  font-family:'Rubik',system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial;
  background:radial-gradient(circle at 20% 20%,rgba(13,148,136,.08),transparent 55%),radial-gradient(circle at 80% 0,rgba(5,150,105,.06),transparent 60%),var(--bg);
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
  animation:fadeIn 0.3s ease-in;
}
@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}
a{color:var(--accent); text-decoration:none; transition:color .2s ease,opacity .2s ease}
a:hover{color:var(--accent-strong)}
code,pre{background:#0b0d12; color:#c7d4ff; border:1px solid var(--border)}
pre{
  padding:16px 18px;
  border-radius:12px;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
  line-height:1.65;
  font-size:14px;
  margin:0 0 18px;
}
pre code{
  background:transparent;
  border:none;
  padding:0;
  color:inherit;
  display:block;
  line-height:inherit;
  font-family:inherit;
}
code{padding:2px 6px;border-radius:6px; word-break:break-word; line-height:1.4}
img, table{max-width:100%; height:auto}
table{
  border-collapse:collapse; 
  width:100%; 
  margin:16px 0;
}
th, td{border:1px solid var(--border); padding:10px 14px; text-align:left}
th{background:rgba(13,148,136,.12); font-weight:600}

/* Table scroll on mobile */
@media (max-width: 768px) {
  .doc-content,
  .payment-card {
    overflow-x: auto;
  }
  table {
    min-width: 600px;
    margin: 16px 0;
  }
  th, td {
    padding: 8px 10px;
    font-size: 14px;
  }
}

/* Header */
header{
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  z-index:20;
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px clamp(28px,5vw,48px);
  border:1px solid rgba(255,255,255,.06);
  background:rgba(15,17,21,.75);
  backdrop-filter:saturate(120%) blur(12px);
  box-shadow:0 4px 16px rgba(0,0,0,.3);
  min-height:var(--header-h);
  width:calc(100% - 40px);
  max-width:1400px;
  border-radius:16px;
  transition:all .4s cubic-bezier(0.4, 0, 0.2, 1);
}
header.scrolled{
  top:12px;
  padding:12px clamp(24px,4vw,40px);
  background:rgba(15,17,21,.9);
  backdrop-filter:saturate(150%) blur(16px);
  border-color:rgba(60,68,86,.4);
  box-shadow:0 8px 32px rgba(0,0,0,.35);
}
.site-title-wrapper{
  margin-right:auto;
  display:flex;
  align-items:center;
  gap:12px;
  line-height:1.2
}
.site-logo{
  width:38px;
  height:38px;
  flex-shrink:0;
  animation: logoGlow 3s ease-in-out infinite, logoFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.4));
  transition: all 0.3s ease;
}
.site-logo:hover{
  filter: drop-shadow(0 0 16px rgba(13, 148, 136, 0.8));
  transform: scale(1.1) rotate(5deg);
}
@keyframes logoGlow{
  0%, 100%{
    filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.4));
  }
  50%{
    filter: drop-shadow(0 0 16px rgba(13, 148, 136, 0.7));
  }
}
@keyframes logoFloat{
  0%, 100%{
    transform: translateY(0px);
  }
  50%{
    transform: translateY(-4px);
  }
}
.site-title-text{
  display:flex;
  flex-direction:column;
  gap:2px
}
.site-title{
  margin:0;
  font-size:22px;
  letter-spacing:.02em;
  font-weight:700;
  background:linear-gradient(120deg,#0D9488 0%,#14B8A6 25%,#059669 50%,#0D9488 75%,#10B981 100%);
  background-size:200% auto;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  animation:shine 3s linear infinite
}
@keyframes shine{
  0%{background-position:0% center}
  100%{background-position:200% center}
}
.site-tagline{
  font-size:11px;
  color:var(--text-secondary);
  font-weight:400;
  letter-spacing:1px;
  background:none;
  -webkit-text-fill-color:var(--text-secondary);
  opacity:0.6;
  text-transform:uppercase
}
.nav-links{
  display:flex;
  gap:0;
  align-items:center;
  margin-left:auto;
  background:rgba(22,26,38,.6);
  border:1px solid var(--border);
  border-radius:12px;
  padding:4px;
  box-shadow:inset 0 2px 8px rgba(0,0,0,.2);
}
.nav-links a{
  font-size:15px;
  font-weight:600;
  padding:10px 24px;
  border-radius:9px;
  transition:all .3s ease;
  position:relative;
  color:var(--muted);
}
.nav-links a:hover{
  background:rgba(13,148,136,.1);
  color:var(--text);
}
.nav-links a.active{
  background:linear-gradient(135deg,rgba(13,148,136,.25),rgba(15,118,110,.15));
  color:#fff;
  box-shadow:0 4px 12px rgba(13,148,136,.3), inset 0 1px 0 rgba(255,255,255,.1);
  border:1px solid rgba(13,148,136,.4);
}

/* Container */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:160px clamp(20px,4vw,40px) 80px;
}

/* Demo Bot Showcase - Enhanced with premium effects */
.demo-bot-showcase {
  margin: 60px 0;
  display: flex;
  justify-content: center;
  opacity:0;
  transform:translateY(30px);
  animation:fadeInUp .8s ease forwards;
  animation-delay:.8s;
}

.demo-bot-card-huge {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding: 50px 40px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(5, 150, 105, 0.10));
  border: 2px solid rgba(13, 148, 136, 0.5);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.3), 
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: demoCardPulse 3s ease-in-out infinite;
  transition:all .3s ease;
}
.demo-bot-card-huge:hover{
  transform:scale(1.01);
  box-shadow: 0 20px 60px rgba(13, 148, 136, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

@keyframes demoCardPulse {
  0%, 100% {
    box-shadow: 0 16px 48px rgba(13, 148, 136, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
  50% {
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
}

.demo-bot-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(13, 148, 136, 0.35) 0%, rgba(16, 185, 129, 0.2) 30%, transparent 70%);
  animation: demoGlowRotate 12s linear infinite;
  pointer-events: none;
}

@keyframes demoGlowRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.demo-bot-icon-huge {
  font-size: 100px;
  line-height: 1;
  margin-bottom: 24px;
  animation: demoBotBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 6px 20px rgba(13, 148, 136, 0.4));
}

@keyframes demoBotBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

.demo-bot-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 16px;
  background: linear-gradient(120deg, #0D9488 0%, #14B8A6 50%, #10B981 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: demoTitleShine 3s linear infinite;
}

@keyframes demoTitleShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.demo-bot-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 32px;
  opacity: 0.9;
}

.demo-bot-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  position:relative;
  z-index:1;
}

.demo-bot-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 19px;
  font-weight: 700;
  background: linear-gradient(135deg, #0D9488, #14B8A6);
  color: #fff;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.4),
              0 0 0 2px rgba(13, 148, 136, 0.2);
  position: relative;
  overflow: hidden;
}
.demo-bot-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.demo-bot-button:hover::before {
  left: 100%;
}

.demo-bot-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.5),
              0 0 0 3px rgba(13, 148, 136, 0.3);
  background: linear-gradient(135deg, #14B8A6, #10B981);
}

.demo-bot-button-icon {
  font-size: 22px;
  animation: playIconPulse 1.5s ease-in-out infinite;
}

@keyframes playIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.demo-bot-button-text {
  letter-spacing: 1px;
}

.demo-bot-button-arrow {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.demo-bot-button:hover .demo-bot-button-arrow {
  transform: translateX(6px);
}

.demo-examples-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border: 2px solid rgba(13, 148, 136, 0.5);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg,rgba(13, 148, 136, 0.12),rgba(13, 148, 136, 0.08));
  backdrop-filter:blur(10px);
  letter-spacing:.5px;
}

.demo-examples-link:hover {
  background: linear-gradient(135deg,rgba(13, 148, 136, 0.2),rgba(13, 148, 136, 0.15));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 32px rgba(13, 148, 136, 0.4),
              0 0 0 2px rgba(13, 148, 136, 0.3) inset;
  border-color:rgba(13, 148, 136, 0.7);
  color: var(--text);
}

@media (max-width: 768px) {
  .demo-bot-card-huge {
    padding: 40px 24px;
  }
  
  .demo-bot-icon-huge {
    font-size: 80px;
  }
  
  .demo-bot-title {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .demo-bot-subtitle {
    font-size: 15px;
  }
  
  .demo-bot-button {
    padding: 18px 32px;
    font-size: 18px;
    width: 100%;
    max-width: 100%;
  }
  
  .demo-examples-link {
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* Examples Page Styles */
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(5, 150, 105, 0.08));
  border: 2px solid rgba(13, 148, 136, 0.4);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.2);
}

.demo-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.demo-banner-icon {
  font-size: 64px;
  line-height: 1;
  animation: demoBotBounce 2s ease-in-out infinite;
}

.demo-banner-text h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.demo-banner-text p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
  opacity: 0.8;
}

.demo-banner-button {
  padding: 18px 36px;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #0D9488, #14B8A6);
  color: #fff;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
  white-space: nowrap;
}

.demo-banner-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(13, 148, 136, 0.6);
  background: linear-gradient(135deg, #14B8A6, #10B981);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.example-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.example-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.3);
  border-color: rgba(13, 148, 136, 0.5);
}

.example-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.example-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.example-card:hover .example-image img {
  transform: scale(1.1);
}

.example-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 16px;
  background: rgba(13, 148, 136, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.example-content {
  padding: 24px;
}

.example-content h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.example-content p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.example-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.example-tag {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(13, 148, 136, 0.15);
  color: var(--accent);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 6px;
}

.stats-section {
  margin: 80px 0;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(5, 150, 105, 0.05));
  border: 1px solid var(--border);
  border-radius: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(120deg, #0D9488 0%, #14B8A6 50%, #10B981 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 3s linear infinite;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .demo-banner {
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }
  
  .demo-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .demo-banner-icon {
    font-size: 48px;
  }
  
  .demo-banner-text h3 {
    font-size: 20px;
  }
  
  .demo-banner-text p {
    font-size: 14px;
  }
  
  .demo-banner-button {
    padding: 16px 28px;
    font-size: 18px;
    width: 100%;
  }
  
  .examples-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .stat-label {
    font-size: 14px;
  }
}

@media (max-width: 960px) {
  .container {
    padding-top: 180px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  /* Extra padding for doc pages with mobile-toc */
  .doc-layout,
  .wrap {
    padding-top: 240px !important;
  }
}

/* Landscape mode on mobile */
@media (max-width: 926px) and (max-height: 428px) and (orientation: landscape) {
  header {
    padding: 6px 12px;
    top: 0;
    min-height: auto;
  }
  .site-title-wrapper {
    margin-bottom: 0;
    gap: 8px;
  }
  .site-logo {
    width: 24px;
    height: 24px;
  }
  .site-title {
    font-size: 16px;
  }
  .site-tagline {
    display: none;
  }
  .nav-links {
    gap: 4px;
    padding: 3px;
  }
  .nav-links a {
    padding: 5px 10px;
    font-size: 11px;
  }
  .container {
    padding-top: 70px;
    padding-bottom: 30px;
  }
  .hero {
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .hero p {
    font-size: 13px;
  }
  .hero-badges {
    gap: 8px;
    margin: 16px 0;
  }
  .hero-badge {
    padding: 6px 12px;
    font-size: 11px;
  }
  .hero-cta {
    gap: 10px;
    margin: 20px 0;
  }
  .btn-large {
    padding: 10px 20px;
    font-size: 13px;
  }
  .mobile-toc {
    top: 70px;
    padding: 6px 10px;
  }
  .mobile-toc label {
    font-size: 10px;
    margin-bottom: 3px;
  }
  .mobile-toc select {
    font-size: 11px;
    padding: 5px 8px;
  }
  .doc-layout,
  .wrap {
    padding-top: 140px !important;
  }
}
.fade-in-section{
  opacity:0;
  transform:translateY(40px);
  transition:opacity .6s ease, transform .6s ease;
}
.fade-in-section.visible{
  opacity:1;
  transform:translateY(0);
}

/* Hero */
.hero{
  text-align:center;
  margin-bottom:80px;
  opacity:0;
  transform:translateY(30px);
  animation:fadeInUp .8s ease forwards;
  animation-delay:.2s;
}
@keyframes fadeInUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.hero h1{
  font-size:clamp(32px,5vw,56px);
  margin:0 0 20px;
  font-weight:800;
  letter-spacing:-.02em;
  background:linear-gradient(120deg,#0D9488 0%,#14B8A6 25%,#059669 50%,#0D9488 75%,#10B981 100%);
  background-size:200% auto;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  position:relative;
  animation:shine 3s linear infinite, glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse{
  0%,100%{filter:drop-shadow(0 0 20px rgba(13,148,136,.4)) drop-shadow(0 0 40px rgba(20,184,166,.2))}
  50%{filter:drop-shadow(0 0 40px rgba(13,148,136,.7)) drop-shadow(0 0 80px rgba(20,184,166,.5)) drop-shadow(0 0 120px rgba(13,148,136,.3))}
}
.hero p{
  font-size:18px;
  color:var(--muted);
  line-height:1.6;
  margin:0 0 32px 0;
  max-width:700px;
  margin-left:auto;
  margin-right:auto;
}

/* Hero Badges - Enhanced with modern glassmorphism and micro-interactions */
.hero-badges{
  display:flex;
  justify-content:center;
  gap:16px;
  margin:32px 0;
  flex-wrap:wrap;
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .8s ease forwards;
  animation-delay:.4s;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 22px;
  border-radius:14px;
  font-size:15px;
  font-weight:600;
  border:2px solid;
  backdrop-filter:saturate(180%) blur(20px);
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition:all .3s ease;
}
.hero-badge::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,.2);
  transform:translate(-50%, -50%);
  transition:width .6s ease, height .6s ease;
}
.hero-badge:hover::before{
  width:300px;
  height:300px;
}
.hero-badge:hover{
  transform:translateY(-3px) scale(1.03);
  filter:brightness(1.1);
}
.hero-badge:active{
  transform:translateY(-2px) scale(1.02);
}
@keyframes badgeShimmer{
  0%{background-position:200% center}
  100%{background-position:-200% center}
}
.hero-badge-primary{
  background:linear-gradient(135deg,rgba(13,148,136,.25),rgba(20,184,166,.15),rgba(13,148,136,.2));
  background-size:200% 100%;
  border-color:rgba(13,148,136,.6);
  color:#14B8A6;
  box-shadow:0 10px 30px rgba(13,148,136,.3), 
             0 0 0 1px rgba(13,148,136,.1) inset,
             0 2px 8px rgba(255,255,255,.1) inset;
  animation:badgeShimmer 3s linear infinite;
}
.hero-badge-primary:hover{
  box-shadow:0 15px 45px rgba(13,148,136,.5), 
             0 0 0 2px rgba(13,148,136,.4) inset,
             0 2px 12px rgba(255,255,255,.2) inset,
             0 0 40px rgba(13,148,136,.3);
  border-color:rgba(13,148,136,.8);
}
.hero-badge-success{
  background:linear-gradient(135deg,rgba(93,212,99,.25),rgba(16,185,129,.15),rgba(93,212,99,.2));
  background-size:200% 100%;
  border-color:rgba(93,212,99,.6);
  color:#5dd463;
  box-shadow:0 10px 30px rgba(93,212,99,.3),
             0 0 0 1px rgba(93,212,99,.1) inset,
             0 2px 8px rgba(255,255,255,.1) inset;
  animation:badgeShimmer 3s linear infinite;
  animation-delay:.5s;
}
.hero-badge-success:hover{
  box-shadow:0 15px 45px rgba(93,212,99,.5),
             0 0 0 2px rgba(93,212,99,.4) inset,
             0 2px 12px rgba(255,255,255,.2) inset,
             0 0 40px rgba(93,212,99,.3);
  border-color:rgba(93,212,99,.8);
}
.hero-badge-accent{
  background:linear-gradient(135deg,rgba(255,181,99,.25),rgba(251,146,60,.15),rgba(255,181,99,.2));
  background-size:200% 100%;
  border-color:rgba(255,181,99,.6);
  color:#ffb563;
  box-shadow:0 10px 30px rgba(255,181,99,.3),
             0 0 0 1px rgba(255,181,99,.1) inset,
             0 2px 8px rgba(255,255,255,.1) inset;
  animation:badgeShimmer 3s linear infinite;
  animation-delay:1s;
}
.hero-badge-accent:hover{
  box-shadow:0 15px 45px rgba(255,181,99,.5),
             0 0 0 2px rgba(255,181,99,.4) inset,
             0 2px 12px rgba(255,255,255,.2) inset,
             0 0 40px rgba(255,181,99,.3);
  border-color:rgba(255,181,99,.8);
}
.badge-icon{
  font-size:20px;
  line-height:1;
  position:relative;
  z-index:1;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));
}
.hero-badge:hover .badge-icon{
  animation:iconFloat .5s ease;
}
@keyframes iconFloat{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-2px) rotate(3deg)}
}
.badge-text{
  line-height:1;
  position:relative;
  z-index:1;
  letter-spacing:.3px;
}

/* Hero CTA - Enhanced with modern animations and magnetic effect */
.hero-cta{
  display:flex;
  justify-content:center;
  gap:16px;
  margin:40px 0;
  flex-wrap:wrap;
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .8s ease forwards;
  animation-delay:.6s;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 28px;
  border-radius:14px;
  font-size:16px;
  font-weight:600;
  border:2px solid;
  cursor:pointer;
  transition:all .3s ease;
  text-decoration:none;
  backdrop-filter:blur(12px);
  position:relative;
  overflow:hidden;
}
.btn::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,.2);
  transform:translate(-50%, -50%);
  transition:width .5s ease, height .5s ease;
}
.btn:hover::before{
  width:400px;
  height:400px;
}
.btn-large{
  padding:16px 32px;
  font-size:17px;
  border-radius:14px;
}
.btn-primary{
  background:linear-gradient(135deg,#0D9488 0%,#14B8A6 50%,#10B981 100%);
  background-size:200% 100%;
  border-color:rgba(13,148,136,.6);
  color:#fff;
  box-shadow:0 10px 30px rgba(13,148,136,.45), 
             0 0 0 1px rgba(255,255,255,.2) inset,
             0 4px 12px rgba(255,255,255,.15) inset;
  animation:gradientShift 3s ease infinite;
}
@keyframes gradientShift{
  0%,100%{background-position:0% center}
  50%{background-position:100% center}
}
.btn-primary:hover{
  background:linear-gradient(135deg,#14B8A6 0%,#10B981 50%,#059669 100%);
  background-size:200% 100%;
  box-shadow:0 12px 36px rgba(13,148,136,.6), 
             0 0 0 2px rgba(255,255,255,.3) inset,
             0 4px 12px rgba(255,255,255,.15) inset,
             0 0 40px rgba(13,148,136,.4);
  transform:translateY(-3px) scale(1.02);
  color:#fff;
}
.btn-primary:active{
  transform:translateY(-2px) scale(1.02);
}
.btn-secondary{
  background:linear-gradient(135deg,rgba(22,26,38,.9),rgba(27,32,48,.85));
  border-color:rgba(13,148,136,.4);
  color:var(--text);
  box-shadow:0 6px 20px rgba(0,0,0,.4), 
             0 0 0 1px rgba(13,148,136,.2) inset,
             0 2px 8px rgba(255,255,255,.08) inset;
}
.btn-secondary:hover{
  background:linear-gradient(135deg,rgba(27,32,48,.95),rgba(22,26,38,.9));
  border-color:rgba(13,148,136,.6);
  box-shadow:0 8px 24px rgba(0,0,0,.4), 
             0 0 0 2px rgba(13,148,136,.3) inset,
             0 2px 8px rgba(255,255,255,.08) inset,
             0 0 30px rgba(13,148,136,.2);
  transform:translateY(-3px) scale(1.02);
  color:var(--accent);
}
.btn-secondary:active{
  transform:translateY(-2px) scale(1.02);
}
.btn-icon{
  font-size:19px;
  line-height:1;
  position:relative;
  z-index:1;
  transition:transform .3s ease;
}
.btn:hover .btn-icon{
  transform:scale(1.05);
}

/* Hero Features */
.hero-features{
  display:flex;
  justify-content:center;
  gap:24px;
  margin-top:32px;
  flex-wrap:wrap;
  opacity:0;
  transform:translateY(20px);
  animation:fadeInUp .8s ease forwards;
  animation-delay:.8s;
}
.hero-feature{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:15px;
  color:var(--text-secondary);
  padding:8px 16px;
  border-radius:10px;
  background:rgba(22,26,38,.4);
  border:1px solid var(--border);
  transition:all .3s ease;
}
.hero-feature:hover{
  background:rgba(22,26,38,.6);
  border-color:rgba(13,148,136,.3);
  transform:translateY(-2px);
}
.feature-check{
  color:#5dd463;
  font-size:18px;
  font-weight:700;
}

/* Section Grid */
.section-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin:0 auto 60px;
  align-items:stretch;
  justify-content:center;
  max-width:100%;
}
@media (max-width:1400px){
  .section-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
@media (max-width:900px){
  .section-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:600px){
  .section-grid{
    grid-template-columns:1fr;
  }
}

/* Section Card */
.section-card{
  background:rgba(20,25,38,.6);
  backdrop-filter:blur(8px);
  border:1px solid rgba(66,88,130,.3);
  border-radius:16px;
  padding:24px;
  transition:all .3s cubic-bezier(.4,0,.2,1);
  position:relative;
  overflow:hidden;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:14px;
  color:inherit;
  text-decoration:none;
  min-height:220px;
  height:100%;
  text-align:center;
}


.section-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:linear-gradient(135deg,rgba(13,148,136,.05) 0%,transparent 50%);
  pointer-events:none;
  opacity:0;
  transition:opacity .3s ease;
}
.section-card > *{position:relative; z-index:1}

.section-card:hover{
  transform:translateY(-3px);
  border-color:rgba(13,148,136,.5);
  background:rgba(25,30,45,.7);
  box-shadow:0 12px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(13,148,136,.2);
  color:inherit;
}
.section-card:hover::before{
  opacity:1;
}

.section-icon{
  font-size:28px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  background:linear-gradient(135deg,rgba(13,148,136,.12),rgba(5,150,105,.08));
  border-radius:12px;
  border:1px solid rgba(13,148,136,.2);
  flex-shrink:0;
}

.section-card h3{
  margin:0;
  font-size:18px;
  color:var(--text);
  font-weight:600;
  line-height:1.3;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.section-card p{
  margin:0;
  color:var(--text-secondary);
  line-height:1.5;
  font-size:14px;
  flex:1;
  min-height:42px;
  text-align:center;
}

.section-card .arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--primary);
  font-weight:500;
  font-size:14px;
  transition:gap .2s ease;
  margin-top:auto;
  padding-top:4px;
  width:100%;
}

.section-card:hover .arrow{
  gap:10px;
}

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 12px;
  border:1px solid rgba(110,130,180,.35);
  border-radius:999px;
  font-size:12px;
  color:#d4e0ff;
  background:linear-gradient(135deg,rgba(13,148,136,.16),rgba(15,118,110,.08));
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:600;
}
.badge.success{
  border-color:rgba(93,212,99,.4);
  background:linear-gradient(135deg,rgba(93,212,99,.16),rgba(65,186,71,.08));
  color:#b8f5bd;
}

/* Info boxes */
.info-box{
  padding:18px 20px;
  border-radius:16px;
  border:1px solid rgba(13,148,136,.45);
  background:rgba(13,148,136,.1);
  color:#d0e0ff;
  font-size:14px;
  line-height:1.6;
  margin:16px 0;
}
.success-box{
  padding:18px 20px;
  border-radius:16px;
  border:1px solid rgba(93,212,99,.45);
  background:rgba(93,212,99,.1);
  color:#d0ffd5;
  font-size:14px;
  line-height:1.6;
  margin:16px 0;
}
.warning-box{
  padding:18px 20px;
  border-radius:16px;
  border:1px solid rgba(255,181,99,.45);
  background:rgba(255,181,99,.1);
  color:#ffecd0;
  font-size:14px;
  line-height:1.6;
  margin:16px 0;
}
.danger-box{
  padding:18px 20px;
  border-radius:16px;
  border:1px solid rgba(255,95,109,.45);
  background:rgba(255,95,109,.1);
  color:#ffb8c0;
  font-size:14px;
  line-height:1.6;
  margin:16px 0;
}

/* Typography */
h1, h2, h3, h4{
  margin:0 0 16px;
  letter-spacing:.02em;
}
h2{font-size:32px}
h3{font-size:24px; margin:20px 0 12px}
h4{font-size:20px; margin:16px 0 10px}
p{
  line-height:1.7;
  margin:0 0 16px;
  color:var(--muted);
}
ul{padding-left:20px; margin:0 0 16px}
li{margin:6px 0; line-height:1.6}
.muted{color:var(--muted)}

/* Grid helpers */
.grid{display:grid; gap:14px}
.cols-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.cols-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

/* Protection levels */
.protection-level{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  border-radius:12px;
  font-weight:600;
  font-size:13px;
  letter-spacing:.05em;
}
.protection-level.high{
  background:linear-gradient(135deg,rgba(93,212,99,.2),rgba(65,186,71,.12));
  border:1px solid rgba(93,212,99,.5);
  color:#b8f5bd;
}
.protection-level.medium{
  background:linear-gradient(135deg,rgba(255,181,99,.2),rgba(255,150,60,.12));
  border:1px solid rgba(255,181,99,.5);
  color:#ffd9ac;
}
.protection-level.low{
  background:linear-gradient(135deg,rgba(255,95,109,.2),rgba(255,70,85,.12));
  border:1px solid rgba(255,95,109,.5);
  color:#ffb8c0;
}

/* Mobile TOC */
.mobile-toc{
  display:none;
}

/* Sidebar navigation */
.wrap{
  display:flex;
  gap:40px;
  max-width:1400px;
  margin:0 auto;
  padding:160px clamp(20px,4vw,40px) 80px;
}
.wrap nav{
  width:240px;
  position:sticky;
  top:140px;
  height:fit-content;
  max-height:calc(100vh - 160px);
  overflow-y:auto;
  padding:20px;
  background:rgba(15,17,21,.4);
  backdrop-filter:saturate(120%) blur(8px);
  border:1px solid rgba(255,255,255,.05);
  border-radius:16px;
  flex-shrink:0;
}
.wrap main{
  flex:1;
  min-width:0;
}
.doc-layout{
  display:flex;
  gap:40px;
  max-width:1400px;
  margin:0 auto;
  padding:160px clamp(20px,4vw,40px) 80px;
}
.doc-sidebar{
  width:240px;
  position:sticky;
  top:140px;
  height:fit-content;
  max-height:calc(100vh - 160px);
  overflow-y:auto;
  padding:20px;
  background:rgba(15,17,21,.1);
  backdrop-filter:saturate(120%) blur(8px);
  border:1px solid rgba(255,255,255,.05);
  border-radius:16px;
  flex-shrink:0;
  scrollbar-width:none;
}
.doc-sidebar::-webkit-scrollbar{
  display:none;
}
.wrap nav h3, .doc-sidebar h4{
  margin:0 0 12px;
  font-size:14px;
  font-weight:700;
  color:var(--text);
}
.wrap nav ul, .doc-sidebar ul{
  list-style:none;
  padding:0;
  margin:0 0 24px;
}
.wrap nav li, .doc-sidebar li{
  margin:0;
}
.wrap nav a, .doc-sidebar a{
  display:block;
  padding:8px 12px;
  border-radius:8px;
  font-size:14px;
  color:var(--muted);
  transition:all .2s ease;
  border-left:2px solid transparent;
}
.wrap nav a:hover, .doc-sidebar a:hover{
  background:rgba(13,148,136,.1);
  color:var(--text);
  border-left-color:var(--accent);
}
.wrap nav a.active, .doc-sidebar a.active{
  background:rgba(13,148,136,.15);
  color:var(--accent);
  border-left-color:var(--accent);
}
.doc-content{
  flex:1;
  min-width:0;
  max-width:900px;
}
.doc-content section{
  margin-bottom:80px;
  padding:32px;
  background:rgba(27,32,48,.4);
  border:1px solid rgba(66,88,130,.25);
  border-radius:16px;
  backdrop-filter:blur(8px);
}
.doc-content section h2{
  margin-top:0;
  padding-bottom:16px;
  border-bottom:2px solid rgba(13,148,136,.3);
  margin-bottom:24px;
}
.doc-content section h3{
  color:var(--primary);
  margin-top:32px;
  margin-bottom:16px;
  font-size:20px;
}
.doc-content section ul,
.doc-content section ol{
  margin-left:20px;
  margin-bottom:20px;
}
.doc-content section li{
  margin-bottom:12px;
  line-height:1.7;
}
.doc-content section p{
  margin-bottom:16px;
  line-height:1.7;
}
.doc-content section code{
  background:rgba(13,148,136,.15);
  padding:2px 8px;
  border-radius:4px;
  font-size:13px;
  border:1px solid rgba(13,148,136,.25);
}
.doc-content section pre{
  background:rgba(10,15,25,.8);
  padding:20px;
  border-radius:12px;
  border:1px solid rgba(66,88,130,.4);
  margin:20px 0;
  overflow-x:auto;
}
.doc-content section pre code{
  background:none;
  padding:0;
  border:none;
}

/* Protection level cards */
.grid.cols-3 > div{
  background:linear-gradient(175deg,rgba(27,32,48,.96) 0%,rgba(19,24,38,.95) 50%,rgba(14,18,30,.95) 100%);
  border:1px solid rgba(66,88,130,.42);
  border-radius:16px;
  padding:24px;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}
.grid.cols-3 > div::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:16px;
  padding:1px;
  background:linear-gradient(135deg,rgba(13,148,136,.3),rgba(5,150,105,.2));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .3s ease;
}
.grid.cols-3 > div:hover{
  transform:translateY(-4px);
  border-color:rgba(13,148,136,.6);
  box-shadow:0 12px 32px rgba(13,148,136,.25);
}
.grid.cols-3 > div:hover::before{
  opacity:1;
}
.grid.cols-3 > div h4{
  margin:0 0 12px;
  font-size:18px;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:8px;
}
.grid.cols-3 > div p{
  margin:0 0 16px;
  font-size:14px;
  line-height:1.6;
}
.grid.cols-3 > div .protection-level.high{
  background:linear-gradient(135deg,rgba(93,212,99,.2),rgba(65,186,71,.12));
  border-color:rgba(93,212,99,.5);
  box-shadow:0 0 20px rgba(93,212,99,.2);
}
.grid.cols-3 > div:hover .protection-level.high{
  box-shadow:0 0 30px rgba(93,212,99,.4);
}

/* Info boxes improvements */
.info-box{
  background:linear-gradient(135deg,rgba(99,102,241,.12),rgba(168,85,247,.08));
  padding:20px 24px;
  border-radius:12px;
  border-left:4px solid var(--primary);
  margin:24px 0;
  line-height:1.7;
}
.info-box.warning{
  background:linear-gradient(135deg,rgba(251,191,36,.12),rgba(245,158,11,.08));
  border-left-color:#f59e0b;
}
.info-box.success{
  background:linear-gradient(135deg,rgba(34,197,94,.12),rgba(22,163,74,.08));
  border-left-color:#22c55e;
}
.info-box.error{
  background:linear-gradient(135deg,rgba(239,68,68,.12),rgba(220,38,38,.08));
  border-left-color:#ef4444;
}
.warning-box{
  background:linear-gradient(135deg,rgba(239,68,68,.12),rgba(220,38,38,.08));
  padding:20px 24px;
  border-radius:12px;
  border-left:4px solid #ef4444;
  margin:24px 0;
  line-height:1.7;
}
.env-var{
  background:rgba(10,15,25,.6);
  padding:16px 20px;
  margin:12px 0;
  border-radius:8px;
  border:1px solid rgba(66,88,130,.3);
}
.env-var-name{
  font-family:monospace;
  color:#0D9488;
  font-size:14px;
  font-weight:600;
  margin-bottom:6px;
}
.env-var-desc{
  color:var(--text-secondary);
  font-size:13px;
  line-height:1.6;
}

/* Mobile */
@media (max-width: 960px){
  header{
    flex-wrap:wrap;
    row-gap:8px;
    padding:12px 16px;
    top:0;
    width:100%;
    border-radius:0;
    left:0;
    transform:none;
  }
  header.scrolled{
    padding:8px 16px;
    top:0;
  }
  header.scrolled .site-title-wrapper {
    display: none;
  }
  header.scrolled .nav-links {
    width: 100%;
    justify-content: center;
  }
  header.scrolled .nav-links a {
    padding: 6px 12px;
    font-size: 12px;
  }
  .site-title-wrapper{
    flex:1 1 100%;
    margin-bottom:8px;
    gap:6px;
  }
  .site-logo{
    width:32px;
    height:32px;
  }
  .site-title{
    font-size:20px;
  }
  .site-tagline{
    font-size:10px;
    margin-top:2px;
  }
  .nav-links{
    width:100%;
    flex-wrap:wrap;
    gap:8px;
  }
  .nav-links a{
    font-size:13px;
    padding:10px 18px;
    flex:1 1 auto;
    text-align:center;
  }
  .mobile-toc{
    display:block;
    position:fixed;
    top:140px;
    left:10px;
    right:10px;
    z-index:15;
    background:rgba(15,17,21,.95);
    backdrop-filter:saturate(120%) blur(12px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    padding:12px 16px;
    transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  body.scrolled .mobile-toc {
    top: 70px;
    padding: 8px 12px;
    border-radius: 8px;
  }
  body.scrolled .mobile-toc label {
    font-size: 10px;
    margin-bottom: 4px;
  }
  body.scrolled .mobile-toc select {
    font-size: 12px;
    padding: 6px 10px;
  }
  .mobile-toc label{
    display:block;
    font-size:12px;
    color:var(--muted);
    margin-bottom:6px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.05em;
    pointer-events:none;
  }
  .mobile-toc select{
    width:100%;
    background:var(--card);
    color:var(--text);
    border:1px solid var(--border);
    border-radius:8px;
    padding:10px 12px;
    font-size:14px;
    font-family:inherit;
    cursor:pointer;
    touch-action:manipulation;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    pointer-events:auto;
    -webkit-user-select:none;
    user-select:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236aa1ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 12px center;
    padding-right:36px;
    transition:all .3s ease;
  }
  .mobile-toc select:hover{
    border-color:rgba(13,148,136,.5);
    background-color:rgba(22,26,38,.8);
  }
  .mobile-toc select:focus{
    outline:none;
    border-color:var(--accent);
    box-shadow:0 0 0 2px rgba(13,148,136,.2);
  }
  .container{
    padding:240px clamp(16px,4vw,20px) 60px;
  }
  .cols-2, .cols-3{
    grid-template-columns:1fr;
  }
  .wrap{
    flex-direction:column;
    padding:240px clamp(16px,4vw,20px) 60px;
  }
  .wrap nav{
    display:none;
  }
  .doc-layout{
    flex-direction:column;
    padding:240px 20px 60px;
  }
  .doc-sidebar{
    display:none;
  }
  .doc-content{
    max-width:100%;
  }
  .doc-content section{
    padding:20px;
    margin-bottom:40px;
  }
  .doc-content h1{
    font-size:28px;
  }
  .doc-content h2{
    font-size:22px;
  }
  .doc-content h3{
    font-size:18px;
  }
  .doc-content code{
    font-size:12px;
    word-break:break-word;
  }
  .doc-content pre{
    padding:16px;
    font-size:12px;
  }
  .hero{
    padding:0 20px 60px;
    min-height:auto;
  }
  .hero h1{
    font-size:32px;
    line-height:1.2;
  }
  .hero p{
    font-size:16px;
  }
  .cta-buttons{
    flex-direction:column;
    gap:12px;
  }
  .cta-buttons a{
    width:100%;
    padding:14px 24px;
  }
  .pricing-grid{
    grid-template-columns:1fr;
    gap:20px;
  }
  .legal-content{
    padding:140px 20px 60px;
    max-width:100%;
  }
  .legal-content h1{
    font-size:28px;
  }
  .legal-content h2{
    font-size:22px;
  }
  .cta-section{
    padding:48px 24px;
  }
  .cta-section h2{
    font-size:28px;
  }
  .cta-section p{
    font-size:16px;
  }
  .cta-btn{
    font-size:16px;
    padding:14px 32px;
  }
}

/* Pricing cards (for index.html) - Enhanced with modern 3D effects */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  margin-bottom:60px;
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
  padding:0;
}
#reseller .pricing-grid,
#benefits .pricing-grid,
#features .pricing-grid{
  grid-template-columns:repeat(3,1fr);
  max-width:1100px;
}
@media (max-width: 960px){
  #reseller .pricing-grid,
  #benefits .pricing-grid,
  #features .pricing-grid{
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  }
}
.price-card{
  background:linear-gradient(165deg,rgba(22,26,38,.95) 0%,rgba(27,32,48,.9) 100%);
  border:1px solid var(--border);
  border-radius:14px;
  padding:20px 18px;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
  text-align:center;
  cursor:pointer;
  backdrop-filter:blur(10px);
}
.price-card::before{
  content:'';
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:radial-gradient(circle,rgba(13,148,136,.08) 0%,transparent 70%);
  opacity:0;
  transition:opacity .5s ease, transform .5s ease;
  pointer-events:none;
}
.price-card::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:24px;
  padding:2px;
  background:linear-gradient(135deg,transparent,rgba(13,148,136,.3),transparent);
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .5s ease;
  pointer-events:none;
}
.price-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 36px rgba(13,148,136,.3),
             0 0 0 1px rgba(13,148,136,.2) inset;
  border-color:rgba(13,148,136,.5);
}
.price-card:hover::before{
  opacity:1;
  transform:rotate(180deg);
}
.price-card:hover::after{
  opacity:1;
}
.price-card.featured{
  border-color:rgba(16,185,129,.5);
  background:linear-gradient(165deg,rgba(16,185,129,.12) 0%,rgba(13,148,136,.08) 100%);
  box-shadow:0 8px 32px rgba(16,185,129,.2);
}
.price-card.featured::before{
  background:radial-gradient(circle,rgba(16,185,129,.12) 0%,transparent 70%);
}
.price-card.featured::after{
  background:linear-gradient(135deg,transparent,rgba(16,185,129,.4),transparent);
}
.price-card.featured:hover{
  box-shadow:0 24px 80px rgba(16,185,129,.45),
             0 0 0 1px rgba(16,185,129,.3) inset;
  border-color:rgba(16,185,129,.7);
}
.price-card h3{
  font-size:18px;
  margin:0 0 8px;
  color:var(--text);
  font-weight:700;
  position:relative;
  z-index:1;
}
.price-card .price{
  font-size:32px;
  font-weight:800;
  background:linear-gradient(135deg,#0D9488,#14B8A6,#10B981);
  background-size:200% 100%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin:10px 0;
  position:relative;
  z-index:1;
  animation:priceShimmer 3s ease infinite;
}
@keyframes priceShimmer{
  0%,100%{background-position:0% center}
  50%{background-position:200% center}
}
.price-card .description{
  color:var(--text-secondary);
  font-size:14px;
  line-height:1.5;
  margin-bottom:16px;
  min-height:40px;
  position:relative;
  z-index:1;
  opacity:.9;
}
.price-card .features{
  list-style:none;
  padding:0;
  margin:0 0 20px;
  position:relative;
  z-index:1;
}
.price-card .features li{
  padding:8px 0;
  font-size:13px;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:transform .3s ease;
}
.price-card:hover .features li{
  transform:translateX(3px);
}
.price-card .features li::before{
  content:"✓";
  color:var(--accent-green);
  font-weight:700;
  font-size:16px;
  filter:drop-shadow(0 0 6px rgba(16,185,129,.4));
}
.price-card .tag{
  display:inline-block;
  background:linear-gradient(135deg,rgba(13,148,136,.2),rgba(13,148,136,.15));
  color:var(--accent);
  font-size:11px;
  font-weight:600;
  padding:6px 12px;
  border-radius:8px;
  margin-top:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  border:1px solid rgba(13,148,136,.3);
  position:relative;
  z-index:1;
  box-shadow:0 2px 8px rgba(13,148,136,.15);
}
.price-card .tag.limited{
  background:linear-gradient(135deg,rgba(255,95,109,.2),rgba(255,95,109,.15));
  color:var(--accent-red);
  border-color:rgba(255,95,109,.3);
  box-shadow:0 4px 12px rgba(255,95,109,.2);
}
.price-card .tag.subscription{
  background:linear-gradient(135deg,rgba(255,181,99,.2),rgba(255,181,99,.15));
  color:var(--accent-orange);
  border-color:rgba(255,181,99,.3);
  box-shadow:0 4px 12px rgba(255,181,99,.2);
}
.price-card .tag.popular{
  background:linear-gradient(135deg,rgba(16,185,129,.25),rgba(13,148,136,.2));
  color:#b8f5bd;
  border:1px solid rgba(16,185,129,.4);
  box-shadow:0 0 30px rgba(16,185,129,.25),
             0 4px 12px rgba(16,185,129,.3);
  animation:popularPulse 2s ease-in-out infinite;
}
@keyframes popularPulse{
  0%,100%{
    box-shadow:0 0 30px rgba(16,185,129,.25),
               0 4px 12px rgba(16,185,129,.3);
    transform:scale(1);
  }
  50%{
    box-shadow:0 0 50px rgba(16,185,129,.4),
               0 6px 16px rgba(16,185,129,.5);
    transform:scale(1.05);
  }
}

/* Step cards - Enhanced with modern card design */
.steps-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  max-width:1100px;
  margin:0 auto;
  padding:10px 0;
}
.step-card{
  background:linear-gradient(165deg,rgba(22,26,38,.85) 0%,rgba(20,25,38,.8) 100%);
  backdrop-filter:saturate(150%) blur(12px);
  border:2px solid rgba(13,148,136,.25);
  border-radius:16px;
  padding:24px 20px;
  position:relative;
  text-align:center;
  transition:all .5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow:hidden;
  cursor:pointer;
}
.step-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,#0D9488,#14B8A6,#10B981);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:0 0 20px rgba(13,148,136,.6);
}
.step-card::after{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:radial-gradient(circle,rgba(13,148,136,.15) 0%,transparent 70%);
  transform:translate(-50%, -50%);
  transition:width .6s ease, height .6s ease;
  pointer-events:none;
}
.step-card:hover::before{
  transform:scaleX(1);
}
.step-card:hover::after{
  width:400px;
  height:400px;
}
.step-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(13,148,136,.25),
             0 0 0 1px rgba(13,148,136,.2) inset;
  border-color:rgba(13,148,136,.4);
  background:linear-gradient(165deg,rgba(25,30,45,.9) 0%,rgba(22,26,38,.85) 100%);
}
.step-number{
  width:48px;
  height:48px;
  margin:0 auto 16px;
  background:linear-gradient(135deg,rgba(13,148,136,.15),rgba(5,150,105,.1));
  border:2px solid rgba(13,148,136,.4);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
  color:var(--accent);
  box-shadow:0 4px 12px rgba(13,148,136,.15);
  position:relative;
  z-index:1;
  transition:all .3s ease;
}
.step-card:hover .step-number{
  animation:stepPulse .5s ease;
  border-color:rgba(13,148,136,.6);
  box-shadow:0 6px 18px rgba(13,148,136,.3);
}
@keyframes stepPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.05)}
}
.step-card h3{
  font-size:17px;
  margin:0 0 10px;
  color:var(--text);
  font-weight:700;
  position:relative;
  z-index:1;
  letter-spacing:.2px;
  transition:color .3s ease;
}
.step-card:hover h3{
  color:#14B8A6;
}
.step-card p{
  font-size:14px;
  color:var(--text-secondary);
  line-height:1.7;
  margin:0;
  position:relative;
  z-index:1;
  opacity:.9;
}
.step-icon{
  width:36px;
  height:36px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  position:relative;
  z-index:1;
  transition:transform .3s ease;
}
.step-card:hover .step-icon{
  transform:scale(1.05);
}

/* Section styling */
.section-title{
  font-size:28px;
  margin:0 0 20px;
  text-align:center;
  font-weight:700;
}
.how-it-works{
  margin:60px 0 40px;
}
.benefits-section{
  background:linear-gradient(135deg,rgba(13,148,136,.08) 0%,rgba(5,150,105,.05) 50%,rgba(16,185,129,.08) 100%);
  border-radius:18px;
  padding:35px 18px;
  margin:45px 0;
}
.benefits-section .section-title{
  margin-top:0;
  font-size:26px;
}
.features-section{
  background:linear-gradient(160deg,rgba(5,150,105,.06),rgba(13,148,136,.04));
  border-radius:18px;
  padding:35px 18px;
  margin:45px 0;
}
.features-section .section-title{
  margin-top:0;
  font-size:26px;
}

/* CTA section */
.cta-section{
  padding:64px 40px;
  background:linear-gradient(135deg,rgba(13,148,136,.15) 0%,rgba(5,150,105,.12) 50%,rgba(16,185,129,.1) 100%);
  border-radius:20px;
  margin:60px 0;
  border:1px solid rgba(13,148,136,.2);
  position:relative;
  overflow:hidden;
  text-align:center;
}
.cta-section::before{
  content:'';
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:radial-gradient(circle,rgba(13,148,136,.08) 0%,transparent 60%);
  animation:ctaGlow 10s ease-in-out infinite;
  pointer-events:none;
}
@keyframes ctaGlow{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(10%,10%) scale(1.1)}
}
.cta-section > *{
  position:relative;
  z-index:1;
}
.cta-section h2{
  font-size:36px;
  margin:0 0 16px;
  background:linear-gradient(135deg,#fff,rgba(255,255,255,.85));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:700;
  line-height:1.2;
  text-align:center;
}
.cta-section p{
  font-size:18px;
  color:rgba(255,255,255,.7);
  margin:0 auto 32px;
  max-width:700px;
  text-align:center;
}
.cta-text-block{
  max-width:900px;
  margin:0 auto 32px;
  text-align:center;
  padding:0 20px;
}
.cta-text-block p{
  font-size:18px;
  line-height:1.6;
  color:var(--text-secondary);
  margin:0 0 20px;
  text-align:center !important;
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,#0D9488,#14B8A6);
  color:#fff;
  font-size:17px;
  font-weight:600;
  padding:16px 40px;
  border-radius:12px;
  transition:all .3s cubic-bezier(.4,0,.2,1);
  box-shadow:0 8px 32px rgba(13,148,136,.35), 0 0 0 1px rgba(255,255,255,.1) inset;
  border:1px solid rgba(255,255,255,.15);
  text-decoration:none;
}
.cta-btn:hover{
  color:#fff;
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 16px 48px rgba(13,148,136,.5), 0 0 0 1px rgba(255,255,255,.2) inset;
  background:linear-gradient(135deg,#14B8A6,#0D9488);
}
.cta-button{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,#0D9488,#14B8A6);
  color:#fff;
  font-size:16px;
  font-weight:600;
  padding:14px 32px;
  border-radius:12px;
  transition:all .3s cubic-bezier(.4,0,.2,1);
  box-shadow:0 6px 24px rgba(13,148,136,.3), 0 0 0 1px rgba(255,255,255,.1) inset;
  border:1px solid rgba(255,255,255,.15);
  text-decoration:none;
}
.cta-button:hover{
  color:#fff;
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 12px 36px rgba(13,148,136,.45), 0 0 0 1px rgba(255,255,255,.2) inset;
  background:linear-gradient(135deg,#14B8A6,#0D9488);
}

/* Footer */
footer{
  text-align:center;
  padding:40px 20px;
  color:var(--muted);
  font-size:14px;
  border-top:1px solid var(--border);
}

/* Emblem decoration - Gradient Blob */
.emblem{
  position:fixed;
  top:120px;
  right:60px;
  width:400px;
  height:400px;
  z-index:0;
  pointer-events:none;
  opacity:.15;
  filter:blur(80px);
}
.emblem::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:radial-gradient(circle at 30% 40%, rgba(13,148,136,.8) 0%, transparent 70%);
  border-radius:40% 60% 70% 30% / 40% 50% 60% 50%;
  animation:blobMove 20s ease-in-out infinite, blobRotate 30s linear infinite;
}
.emblem::after{
  content:'';
  position:absolute;
  top:20%;
  left:20%;
  width:80%;
  height:80%;
  background:radial-gradient(circle at 70% 60%, rgba(157,127,255,.6) 0%, transparent 70%);
  border-radius:60% 40% 30% 70% / 50% 60% 40% 50%;
  animation:blobMove 25s ease-in-out infinite reverse, blobRotate 35s linear infinite reverse;
  animation-delay:-5s;
}
@keyframes blobMove{
  0%,100%{transform:translate(0,0) scale(1)}
  25%{transform:translate(30px,-20px) scale(1.1)}
  50%{transform:translate(-20px,30px) scale(0.9)}
  75%{transform:translate(20px,20px) scale(1.05)}
}
@keyframes blobRotate{
  0%{border-radius:40% 60% 70% 30% / 40% 50% 60% 50%}
  25%{border-radius:60% 40% 50% 50% / 50% 60% 40% 60%}
  50%{border-radius:50% 50% 40% 60% / 60% 40% 50% 50%}
  75%{border-radius:40% 60% 60% 40% / 50% 50% 60% 40%}
  100%{border-radius:40% 60% 70% 30% / 40% 50% 60% 50%}
}

/* Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0D9488 0%, #14B8A6 50%, #059669 100%);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
  transition: transform 0.1s ease-out;
}

/* Side Navigation */
.side-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.side-nav.visible {
  opacity: 1;
  visibility: visible;
}

.side-nav-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.side-nav-dot .dot {
  width: 10px;
  height: 10px;
  background: rgba(139, 147, 167, 0.4);
  border: 2px solid rgba(139, 147, 167, 0.6);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
}

.side-nav-dot:hover .dot {
  background: rgba(13, 148, 136, 0.3);
  border-color: rgba(13, 148, 136, 0.8);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.side-nav-dot.active .dot {
  background: linear-gradient(135deg, #0D9488, #14B8A6);
  border-color: #0D9488;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2), 0 0 12px rgba(13, 148, 136, 0.4);
}

.side-nav-dot::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%;
  margin-right: 12px;
  padding: 6px 12px;
  background: rgba(22, 26, 38, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.side-nav-dot:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Section Blocks with Subtle Color Differentiation */
.section-block {
  position: relative;
  padding: 60px 0;
  margin: 0 -40px;
  padding-left: 40px;
  padding-right: 40px;
  transition: background 1.2s ease;
}

.section-decorator {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--section-accent), transparent);
  border-radius: 2px;
  opacity: 0.3;
  transition: opacity 0.6s ease, width 0.6s ease;
}

.section-block.in-view .section-decorator {
  opacity: 0.5;
  width: 120px;
}

.section-block[data-section-color="blue"] {
  --section-accent: #0D9488;
  background: linear-gradient(180deg, 
    rgba(13, 148, 136, 0) 0%,
    rgba(13, 148, 136, 0.015) 30%,
    rgba(13, 148, 136, 0.025) 50%,
    rgba(13, 148, 136, 0.015) 70%,
    rgba(13, 148, 136, 0) 100%);
}

.section-block[data-section-color="purple"] {
  --section-accent: #9d7fff;
  background: linear-gradient(180deg, 
    rgba(157, 127, 255, 0) 0%,
    rgba(157, 127, 255, 0.015) 30%,
    rgba(157, 127, 255, 0.025) 50%,
    rgba(157, 127, 255, 0.015) 70%,
    rgba(157, 127, 255, 0) 100%);
}

.section-block[data-section-color="green"] {
  --section-accent: #5dd463;
  background: linear-gradient(180deg, 
    rgba(93, 212, 99, 0) 0%,
    rgba(93, 212, 99, 0.015) 30%,
    rgba(93, 212, 99, 0.025) 50%,
    rgba(93, 212, 99, 0.015) 70%,
    rgba(93, 212, 99, 0) 100%);
}

.section-block[data-section-color="orange"] {
  --section-accent: #ffb563;
  background: linear-gradient(180deg, 
    rgba(255, 181, 99, 0) 0%,
    rgba(255, 181, 99, 0.015) 30%,
    rgba(255, 181, 99, 0.025) 50%,
    rgba(255, 181, 99, 0.015) 70%,
    rgba(255, 181, 99, 0) 100%);
}

.section-block[data-section-color="cyan"] {
  --section-accent: #5dd4e8;
  background: linear-gradient(180deg, 
    rgba(93, 212, 232, 0) 0%,
    rgba(93, 212, 232, 0.015) 30%,
    rgba(93, 212, 232, 0.025) 50%,
    rgba(93, 212, 232, 0.015) 70%,
    rgba(93, 212, 232, 0) 100%);
}

.section-block.in-view {
  --intensity: 0.04;
}

.section-block[data-section-color="blue"].in-view {
  background: linear-gradient(180deg, 
    rgba(13, 148, 136, 0) 0%,
    rgba(13, 148, 136, 0.025) 20%,
    rgba(13, 148, 136, 0.04) 50%,
    rgba(13, 148, 136, 0.025) 80%,
    rgba(13, 148, 136, 0) 100%);
}

.section-block[data-section-color="purple"].in-view {
  background: linear-gradient(180deg, 
    rgba(157, 127, 255, 0) 0%,
    rgba(157, 127, 255, 0.025) 20%,
    rgba(157, 127, 255, 0.04) 50%,
    rgba(157, 127, 255, 0.025) 80%,
    rgba(157, 127, 255, 0) 100%);
}

.section-block[data-section-color="green"].in-view {
  background: linear-gradient(180deg, 
    rgba(93, 212, 99, 0) 0%,
    rgba(93, 212, 99, 0.025) 20%,
    rgba(93, 212, 99, 0.04) 50%,
    rgba(93, 212, 99, 0.025) 80%,
    rgba(93, 212, 99, 0) 100%);
}

.section-block[data-section-color="orange"].in-view {
  background: linear-gradient(180deg, 
    rgba(255, 181, 99, 0) 0%,
    rgba(255, 181, 99, 0.025) 20%,
    rgba(255, 181, 99, 0.04) 50%,
    rgba(255, 181, 99, 0.025) 80%,
    rgba(255, 181, 99, 0) 100%);
}

.section-block[data-section-color="cyan"].in-view {
  background: linear-gradient(180deg, 
    rgba(93, 212, 232, 0) 0%,
    rgba(93, 212, 232, 0.025) 20%,
    rgba(93, 212, 232, 0.04) 50%,
    rgba(93, 212, 232, 0.025) 80%,
    rgba(93, 212, 232, 0) 100%);
}

/* Scroll offset for anchor links */
#hero,
#how-it-works,
#pricing,
#reseller,
#benefits,
#features {
  scroll-margin-top: 150px;
}

@media (max-width: 960px) {
  #hero,
  #how-it-works,
  #pricing,
  #reseller,
  #benefits,
  #features {
    scroll-margin-top: 120px;
  }
  
  .side-nav {
    display: none;
  }
  
  .section-block {
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 45px;
    padding-bottom: 45px;
  }
}

@media (max-width: 768px) {
  #hero,
  #how-it-works,
  #pricing,
  #reseller,
  #benefits,
  #features {
    scroll-margin-top: 100px;
  }
  
  .section-block {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 35px;
    padding-bottom: 35px;
  }
  
  .section-decorator {
    width: 60px;
    height: 3px;
  }
}

/* Scroll offset for documentation sections and elements with anchors */
.doc-content section,
.doc-content [id] {
  scroll-margin-top: 180px;
}

@media (max-width: 960px) {
  .doc-content section,
  .doc-content [id] {
    scroll-margin-top: 260px;
  }
}

@media (max-width: 768px) {
  .doc-content section,
  .doc-content [id] {
    scroll-margin-top: 280px;
  }
}

/* Sponsor Section */
.sponsor-section {
  margin: 80px auto 60px;
  max-width: 1200px;
  text-align: center;
}

.sponsor-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(5, 150, 105, 0.06));
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.1), transparent);
  transition: left 0.5s ease;
}

.sponsor-card:hover::before {
  left: 100%;
}

.sponsor-card:hover {
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.2);
}

.sponsor-content {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.sponsor-icon {
  font-size: 48px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(13, 148, 136, 0.3));
}

.sponsor-info h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.sponsor-info p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.sponsor-arrow {
  color: rgba(13, 148, 136, 0.6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sponsor-card:hover .sponsor-arrow {
  color: rgba(13, 148, 136, 1);
  transform: translate(4px, -4px);
}

/* Mobile emblem */
@media (max-width:1240px){
  .emblem{
    right:20px;
    top:100px;
    width:300px;
    height:300px;
    opacity:.12;
  }
}
@media (max-width:768px){
  .emblem{display:none}
  .steps-container{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr}
  
  /* Compact header for small screens */
  header{
    padding:10px 12px;
    min-height:auto;
  }
  .site-logo{
    width:32px;
    height:32px;
  }
  .site-title{
    font-size:18px;
  }
  .site-tagline{
    font-size:9px;
  }
  .nav-links a{
    font-size:13px;
    padding:8px 12px;
  }
  
  /* Hero mobile adjustments */
  .hero h1{
    font-size:clamp(28px,8vw,40px);
  }
  .hero p{
    font-size:16px;
    margin-bottom:24px;
  }
  .hero-badges{
    gap:10px;
    margin:24px 0;
  }
  .hero-badge{
    padding:10px 16px;
    font-size:14px;
    gap:8px;
  }
  .badge-icon{
    font-size:20px;
  }
  .hero-cta{
    flex-direction:column;
    gap:12px;
    margin:32px 0;
  }
  .btn-large{
    width:100%;
    padding:16px 28px;
    font-size:16px;
    justify-content:center;
  }
  .hero-features{
    flex-direction:column;
    gap:12px;
    margin-top:24px;
  }
  .hero-feature{
    justify-content:center;
    font-size:14px;
  }

  .sponsor-section {
    margin: 60px auto 40px;
    padding: 0 20px;
  }

  .sponsor-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sponsor-card {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }

  .sponsor-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .sponsor-icon {
    font-size: 40px;
  }

  .sponsor-info h3 {
    font-size: 20px;
  }

  .sponsor-info p {
    font-size: 14px;
  }

  .sponsor-arrow {
    display: none;
  }
}

@media (max-width: 1024px) {
  .sponsor-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(5, 150, 105, 0.12));
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1px solid rgba(13, 148, 136, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.3);
  border-color: rgba(13, 148, 136, 0.5);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  color: rgba(13, 148, 136, 0.9);
  transition: color 0.3s ease;
}

.scroll-to-top:hover svg {
  color: #0D9488;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 90px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Additional Animations */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-slide-in {
  animation: slideInFromBottom 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Language Switcher Dropdown */
.lang-switcher {
  position: relative;
  margin-left: 12px;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 26, 38, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
}

.lang-switcher-btn:hover {
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.4);
}

.lang-switcher-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.lang-switcher.open .lang-switcher-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(22, 26, 38, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.lang-dropdown button:hover {
  background: rgba(13, 148, 136, 0.1);
  color: var(--text);
}

.lang-dropdown button.active {
  background: rgba(13, 148, 136, 0.2);
  color: var(--accent);
}

.lang-dropdown button .lang-flag {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

@media (max-width: 960px) {
  .lang-switcher {
    margin-left: 0;
    margin-top: 8px;
  }
  
  .lang-switcher-btn {
    width: 100%;
    justify-content: center;
  }
  
  .lang-dropdown {
    left: 0;
    right: 0;
  }
}

/* ===========================
   PAYMENT PAGE STYLES
   =========================== */

.payment-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 40px 20px;
}

.payment-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.payment-step:hover {
  border-color: rgba(106, 161, 255, 0.4);
  box-shadow: 0 4px 16px rgba(106, 161, 255, 0.1);
}

.payment-step h2 {
  font-size: 20px;
  margin: 0 0 6px 0;
  color: var(--text);
  font-weight: 600;
}

.payment-step p {
  color: var(--text-secondary);
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.5;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.pricing-option {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-option:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 161, 255, 0.2);
}

.pricing-option.selected {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(106, 161, 255, 0.08), rgba(157, 127, 255, 0.04));
  box-shadow: 0 0 0 2px rgba(106, 161, 255, 0.2);
}

.pricing-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pricing-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pricing-option h3 {
  font-size: 15px;
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.pricing-badge {
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 6px 0;
  line-height: 1;
}

.pricing-description {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.payment-method {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.payment-method:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 161, 255, 0.2);
}

.payment-method.selected {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(106, 161, 255, 0.08), rgba(157, 127, 255, 0.04));
  box-shadow: 0 0 0 2px rgba(106, 161, 255, 0.2);
}

.payment-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.payment-method-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
}

.payment-method-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.3;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106, 161, 255, 0.1);
}

.form-input::placeholder {
  color: var(--muted);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(106, 161, 255, 0.3);
  font-family: 'Rubik', sans-serif;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 161, 255, 0.4);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.price-summary {
  background: linear-gradient(135deg, rgba(106, 161, 255, 0.08), rgba(157, 127, 255, 0.06));
  border: 1px solid rgba(106, 161, 255, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}

.price-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.price-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(106, 161, 255, 0.3);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.price-summary-total .amount {
  color: var(--accent);
}

.info-note {
  background: rgba(106, 161, 255, 0.08);
  border-left: 3px solid var(--accent);
  padding: 14px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-note strong {
  color: var(--text);
}

.info-note a {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.info-note a:hover {
  opacity: 0.8;
}

/* Payment page hero */
.payment-page .hero {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.payment-page .hero h1 {
  color: var(--text);
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.payment-page .hero p {
  font-size: 16px;
  color: var(--text);
  max-width: 700px;
  margin: 10px auto 0;
  line-height: 1.6;
}

/* Reseller info block */
#reseller-info {
  display: none;
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.12), rgba(106, 161, 255, 0.08));
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 14px;
  padding: 20px;
}

#reseller-info h3 {
  color: var(--text);
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 700;
}

#reseller-info > div > p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}

#reseller-info > div > div {
  display: grid;
  gap: 14px;
}

#reseller-info > div > div > div {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  border-radius: 10px;
}

#reseller-info strong {
  color: var(--accent);
  font-size: 16px;
  display: block;
  margin-bottom: 8px;
}

#reseller-info ul {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

#reseller-info ul li {
  margin-bottom: 4px;
}

/* Payment page responsive */
@media (max-width: 768px) {
  .payment-page {
    padding: 60px 16px 30px 16px;
  }

  .payment-step {
    padding: 16px;
    margin-bottom: 16px;
  }

  .pricing-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .payment-page .hero h1 {
    font-size: 26px;
  }

  .payment-page .hero p {
    font-size: 14px;
  }
}
