:root {
  --primary: #0256ff;
  --primary-dark: #0047f3;
  --primary-light: #e9f0ff;
  --text-main: #111827;
  --text-muted: #4b5563;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #0f172a;
  --border: rgba(229, 231, 235, 0.8);
  --glass-border: rgba(255, 255, 255, 0.6);
  --radius: 8px;
  --container-width: 1100px;
  --font-sans: "Inter", "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.6;
  background-color: #f8fafc;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  font-size: 16px;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 32px 32px;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.btn,
button,
input,
select,
textarea { font-family: var(--font-sans); }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { font-size: 1rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: var(--radius);
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(2, 86, 255, 0.2);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--text-main);
  background-color: white;
}

.btn-white {
  background-color: white;
  color: var(--primary);
}
.btn-white:hover {
  background-color: var(--primary-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

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

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

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

.nav-item.dropdown { position: relative; }
.dropdown-toggle { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); display: inline-block; padding: 4px 0; }
.dropdown-toggle:hover { color: var(--primary); }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 24px rgba(0,0,0,0.08); padding: 8px; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); z-index: 1002; }
.dropdown-menu a { display: block; padding: 8px 10px; font-size: 0.9rem; color: var(--text-main); border-radius: 6px; }
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  transition: all 0.3s ease;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  margin: 0 auto;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  width: 100%;
  max-width: 300px;
  transform: translateY(20px);
  transition: transform 0.4s ease-out;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

.mobile-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.01em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.mobile-menu-content .btn {
  margin-top: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(2, 86, 255, 0.2);
  width: auto;
  min-width: 140px;
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at 50% 0%, #f0f4ff, transparent 60%);
  overflow: hidden;
}

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

.hero-buttons {
  display: flex;
  gap: 12px;
}

.hero-visual {
  position: relative;
}

.dashboard-preview {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
  width: 100%;
  border: 4px solid white;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dashboard-preview::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: white;
  z-index: 10;
  pointer-events: none;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.dashboard-img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-card-wrapper {
  position: absolute;
  z-index: 20;
  opacity: 0;
  pointer-events: auto;
  cursor: default;
}

.floating-card-wrapper:hover {
  animation-play-state: paused;
  z-index: 30;
}


.floating-card {
  background: white;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.floating-card-wrapper:hover .floating-card {
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

.floating-card i {
  color: var(--primary);
  font-size: 16px;
}

.card-1 {
  top: 15%;
  right: -12px;
  animation: float-cycle-1 9s ease-in-out infinite;
  animation-delay: 0s;
}

.card-2 {
  top: 45%;
  left: -12px;
  animation: float-cycle-2 11s ease-in-out infinite;
  animation-delay: 1s;
}

.card-3 {
  bottom: 20%;
  right: -8px;
  animation: float-cycle-3 10s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes float-cycle-1 {
  0% { opacity: 0; transform: translate(0, 20px) scale(0.95); }
  10% { opacity: 1; transform: translate(0, 0) scale(1); }
  45% { opacity: 1; transform: translate(-5px, -10px) scale(1); }
  55% { opacity: 1; transform: translate(0, 0) scale(1); }
  90% { opacity: 0; transform: translate(0, -20px) scale(0.95); }
  100% { opacity: 0; transform: translate(0, -20px) scale(0.95); }
}

@keyframes float-cycle-2 {
  0% { opacity: 0; transform: translate(0, 15px) scale(0.95); }
  15% { opacity: 1; transform: translate(0, 0) scale(1); }
  50% { opacity: 1; transform: translate(5px, -12px) scale(1); }
  60% { opacity: 1; transform: translate(0, 0) scale(1); }
  85% { opacity: 0; transform: translate(0, -15px) scale(0.95); }
  100% { opacity: 0; transform: translate(0, -15px) scale(0.95); }
}

@keyframes float-cycle-3 {
  0% { opacity: 0; transform: translate(0, 18px) scale(0.95); }
  12% { opacity: 1; transform: translate(0, 0) scale(1); }
  48% { opacity: 1; transform: translate(-3px, -8px) scale(1); }
  58% { opacity: 1; transform: translate(0, 0) scale(1); }
  92% { opacity: 0; transform: translate(0, -18px) scale(0.95); }
  100% { opacity: 0; transform: translate(0, -18px) scale(0.95); }
}

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

.educational-section {
  position: relative;
  overflow: hidden;
}

.section {
  padding: 80px 0;
  position: relative;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.info-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  padding: 0px;
  border-radius: 12px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  position: relative;
  z-index: 1;
}

.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.5;
  animation: blob-bounce 10s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.shape-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #dbeafe 0%, rgba(219, 234, 254, 0) 70%);
  top: -150px;
  right: -100px;
}

.shape-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ede9fe 0%, rgba(237, 233, 254, 0) 70%);
  bottom: -50px;
  left: -100px;
  animation-delay: -5s;
}

.shape-blob-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #e0f2fe 0%, rgba(224, 242, 254, 0) 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
}

@keyframes blob-bounce {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 30px) scale(1.05); }
}

.feature-card, .info-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover, .info-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.bg-light { background-color: transparent; }
.bg-dark { background-color: var(--bg-dark); color: white; }
.bg-dark p { color: #9ca3af; }

.section-header {
  text-align: left;
  max-width: 700px;
  margin: 0 0 48px 0;
}

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

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.about-page .features-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.about-page .features-grid > *:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .about-page .features-grid {
    grid-template-columns: 1fr;
  }
}

.icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-light), #e0e7ff);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-card h3, .info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card p, .info-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.sec-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 100%;
  margin: 0;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: var(--border);
}

.step {
  display: flex;
  gap: 24px;
  position: relative;
  width: 100%;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border: none;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px white, 0 4px 12px rgba(0,0,0,0.1);
}

.step-content {
  padding-top: 8px;
  max-width: 600px;
}

.step-content h3 { font-size: 1.15rem; }
.step-content p { font-size: 0.95rem; }

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

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.security-item h4 {
  color: white;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
  font-size: 1rem;
}

.security-item ul li {
  color: #9ca3af;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
}

.security-item ul li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), #0256ff);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.cta-section p { 
  color: rgba(255,255,255,0.9); 
  max-width: 600px; 
  margin: 0 0 24px 0; 
}
.cta-section h2 {
  margin-bottom: 16px;
}

.footer {
  background: var(--bg-white);
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 250px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.copyright p { font-size: 0.8rem; margin: 0; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.2s ease;
}
.footer-social a:hover {
  color: var(--primary);
}

.fade-in, .fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }

.visible {
  opacity: 1;
  transform: translate(0);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible { transform: none; }

.hero-visual, .dashboard-preview, .dashboard-img {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.dashboard-img { image-rendering: auto; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 900px) {
  .nav-links, .nav-cta {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .hero-visual {
    order: -1;
    margin-top: 40px;
  }
  
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .hero {
    padding: 60px 0 60px;
  }

  .features-grid, .security-grid, .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .steps-timeline::before {
    left: 15px;
  }
  
  .step {
    gap: 16px;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}

.policy-page .navbar { position: fixed; }
.policy-header { max-width: 720px; margin: 0 auto 24px auto; text-align: left; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.policy-meta { color: var(--text-muted); font-size: 0.9rem; }
.policy-card { background: transparent; border: none; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0 0 24px 0; margin-bottom: 24px; }
.policy-card:last-child { border-bottom: none; }
.policy-card h2 { margin-top: 0; }
.policy-card h3 { margin-top: 8px; font-size: 1rem; font-weight: 700; color: var(--text-main); }
.policy-card h2 { font-size: 1rem; font-weight: 700; color: var(--text-main); }
.policy-list { list-style: disc; padding-left: 20px; }
.policy-list li { color: var(--text-muted); margin: 6px 0; }
.policy-section { max-width: 820px; margin: 0 auto; }
.policy-page .section { padding-top: 104px; }
.policy-page .footer { margin-top: 24px; }

.policy-paper { background: #ffffff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,0.06); padding: 32px; position: relative; }
.policy-paper::before, .policy-paper::after { content: none; display: none; }

.policy-page .nav-cta .btn {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  font-size: 0.9rem;
}
.policy-page .nav-cta .btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}
.policy-page .mobile-menu-content .btn {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.policy-page .mobile-menu-content .btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

@media (max-width: 640px) {
  .policy-paper { padding: 20px; border-radius: 12px; }
  .policy-paper::before, .policy-paper::after { display: none; }
  .policy-header { margin-bottom: 24px; }
}

@media (max-width: 768px) {
  .policy-page .section { padding-top: 84px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-input {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.form-input.with-icon {
  padding-left: 44px;
}

.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.h-100 {
  height: 100%;
}

textarea.form-input {
  resize: none;
  min-height: 150px;
}

.form-col-right {
  display: flex;
  flex-direction: column;
}

.form-col-right .form-group.h-100 {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 0;
}

.form-col-right .input-wrapper.h-100 {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-col-right textarea.form-input.h-100 {
  height: 100%;
  box-sizing: border-box;
}

.form-col-right .form-group.h-100 label {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .form-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .h-100 {
    height: auto;
  }
}

.model-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, #f0f9ff, transparent 70%);
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.model-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.model-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.step-text h4 {
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  color: var(--text-main);
  font-weight: 600;
}

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

.model-visual-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  .model-node-wrapper {
    position: absolute;
    z-index: 2;
    transition: all 0.5s ease;
  }
  
  .model-node-wrapper:hover {
    z-index: 10;
  }
  
  .model-node {
    background: white;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
    white-space: nowrap;
  }
  
  .model-node i {
    font-size: 16px;
  }
  
  .model-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: var(--primary);
  }

  .model-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--text-main);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .model-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-main) transparent transparent transparent;
  }

  .model-node:hover .model-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .app-wrapper {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .app-wrapper .model-node i { color: var(--primary); }
  
  .action-wrapper {
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
  }
  .action-wrapper .model-node i { color: #f59e0b; }
  
  .user-wrapper {
    top: 150px;
    left: 10%;
  }
  .user-wrapper .model-node i { color: #10b981; }
  
  .device-wrapper {
    top: 150px;
    right: 10%;
    left: auto;
  }
  .device-wrapper .model-node i { color: #64748b; }
  
  .policy-wrapper {
    top: 300px;
    left: 20%;
  }
  .policy-wrapper .model-node i { color: #8b5cf6; }
  
  .ledger-wrapper {
    top: 300px;
    right: 20%;
    left: auto;
  }
  .ledger-wrapper .model-node i { color: #ef4444; }
  
  .connector-line {
    position: absolute;
    background: var(--border);
    z-index: 1;
    opacity: 0.6;
  }
  
  .c-vertical-main {
    width: 2px;
    height: 170px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .c-horizontal-top {
    width: 80%;
    height: 2px;
    top: 170px;
    left: 10%;
  }
  
  .c-branch-left {
    width: 2px;
    height: 150px;
    top: 170px;
    left: 25%;
  }
  
  .c-branch-right {
    width: 2px;
    height: 150px;
    top: 170px;
    right: 25%;
    left: auto;
  }
  
  .float-anim-center { animation: float-center 6s ease-in-out infinite; }
  .app-wrapper.float-anim-center, .action-wrapper.float-anim-center {
    animation: float-center-x 6s ease-in-out infinite;
  }
  
  @keyframes float-center-x {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -6px); }
  }
.float-anim-left { animation: float-left 7s ease-in-out infinite; }
.float-anim-right { animation: float-right 8s ease-in-out infinite; }

.delay-1 { animation-delay: 1s; }
.delay-2 { animation-delay: 2s; }

@keyframes float-center {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}

@keyframes float-left {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -5px); }
}

@keyframes float-right {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -7px); }
}

@media (max-width: 900px) {
  .model-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .model-text-content {
    text-align: center;
  }
  
  .model-grid .section-header {
    text-align: center !important;
  }
  
  .model-steps {
    max-width: 600px;
    margin: 0 auto;
  }

  .model-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .model-step .step-text h4 {
    justify-content: center;
  }

  .model-visual-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 30px 16px;
    height: auto;
    padding: 20px 0 40px;
    margin-top: 30px;
    position: relative;
  }
  
  .model-visual-container::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 60px;
    left: 50%;
    width: 2px;
    background: var(--border);
    z-index: 0;
    transform: translateX(-50%);
  }

  .model-node-wrapper {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none !important;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  .model-node {
    width: 100%;
    max-width: 180px;
    font-size: 0.85rem;
    padding: 10px 12px;
    justify-content: center;
    transform: none;
  }
  
  .app-wrapper {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .user-wrapper {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
  }

  .device-wrapper {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
  }

  .action-wrapper {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .policy-wrapper {
    grid-column: 1;
    grid-row: 4;
    justify-content: flex-end;
  }

  .ledger-wrapper {
    grid-column: 2;
    grid-row: 4;
    justify-content: flex-start;
  }

  .user-wrapper::after,
  .policy-wrapper::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--border);
    z-index: -1;
  }

  .device-wrapper::before,
  .ledger-wrapper::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--border);
    z-index: -1;
  }

  .connector-line {
    display: none;
  }
  
  .float-anim-center, .float-anim-left, .float-anim-right {
    animation: none;
    transform: none !important;
  }
}

@media (max-width: 700px) {
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0 0 8px 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.policy-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.policy-table th,
.policy-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.policy-table th {
  background: #f9fafb;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.policy-table td {
  color: var(--text-muted);
}

.policy-table code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.policy-table a {
  color: var(--primary);
}

.policy-table a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .policy-card h2 {
    font-size: 0.95rem;
  }

  .policy-card p,
  .policy-card li {
    font-size: 0.9rem;
  }

  .policy-list {
    padding-left: 16px;
  }

  .policy-header h1 {
    font-size: 1.5rem;
  }
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #047857;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 4px;
}

.security-badge i {
  font-size: 14px;
}

.security-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.security-feature-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
}

.security-feature-item h4 {
  margin: 0 0 8px 0;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
}

.security-feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .security-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .security-features-grid {
    grid-template-columns: 1fr;
  }
}
