/* ========================================
   BASSMA.ID - Commercial Website Styles
   ======================================== */

/* ----------------------------------------
   CSS Variables & Theme
   ---------------------------------------- */
:root {
  /* Primary Colors */
  --midnight-blue: #0A1628;
  --electric-blue: #00D4FF;
  --frost-blue: #7DD3FC;
  --sky-cyan: #22D3EE;
  --deep-sapphire: #1E3A5F;
  --deep-space: #0F172A;
  --pearl-white: #F0F9FF;
  --steel-gray: #64748B;
  
  /* Status Colors */
  --success-green: #10B981;
  --alert-amber: #F59E0B;
  --error-red: #EF4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #22D3EE 50%, #7DD3FC 100%);
  --gradient-bg: linear-gradient(180deg, #0F172A 0%, #0A1628 50%, #1E3A5F 100%);
  --gradient-radial: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
  
  /* Typography */
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 120px;
  --grid-gap: 32px;
  
  /* Animation */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Shadows */
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-button: 0 8px 32px rgba(0, 212, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pearl-white);
  background: var(--midnight-blue);
  overflow-x: hidden;
}

::selection {
  background: var(--electric-blue);
  color: var(--midnight-blue);
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 16px;
  padding: 6px 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 4px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-description {
  font-size: 18px;
  color: var(--steel-gray);
  max-width: 600px;
  line-height: 1.7;
}

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

.section-header .section-description {
  margin: 0 auto;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--midnight-blue);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--electric-blue);
  border: 2px solid rgba(0, 212, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--electric-blue);
}

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--pearl-white);
}

.nav-logo-text .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--steel-gray);
  padding: 10px 16px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--pearl-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-cta {
  background: var(--gradient-primary);
  color: var(--midnight-blue) !important;
  font-weight: 600;
}

.nav-link-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pearl-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 24px 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: var(--gradient-bg);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--electric-blue);
  top: -200px;
  right: -100px;
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--frost-blue);
  bottom: -100px;
  left: -100px;
  animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--steel-gray);
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--steel-gray);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--electric-blue);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--steel-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual - Fingerprint Scanner */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.fingerprint-scanner {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fingerprint-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.fingerprint-ring-1 {
  width: 100%;
  height: 100%;
  animation: ring-pulse 3s ease-in-out infinite;
}

.fingerprint-ring-2 {
  width: 80%;
  height: 80%;
  animation: ring-pulse 3s ease-in-out infinite 0.5s;
}

.fingerprint-ring-3 {
  width: 60%;
  height: 60%;
  animation: ring-pulse 3s ease-in-out infinite 1s;
}

@keyframes ring-pulse {
  0%, 100% { 
    opacity: 0.3; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.6; 
    transform: scale(1.02);
  }
}

.fingerprint-core {
  position: relative;
  width: 160px;
  height: 160px;
  background: rgba(30, 58, 95, 0.6);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 
    0 0 40px rgba(0, 212, 255, 0.2),
    inset 0 0 40px rgba(0, 212, 255, 0.1);
}

.fingerprint-svg {
  width: 100px;
  height: 100px;
  animation: fingerprint-glow 4s ease-in-out infinite;
}

@keyframes fingerprint-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5)); }
  50% { filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.8)); }
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
  animation: scan 2.5s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: calc(100% - 4px); opacity: 0; }
}

.fingerprint-status {
  position: absolute;
  bottom: -60px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--success-green);
  padding: 12px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  animation: status-fade 4s ease-in-out infinite;
}

@keyframes status-fade {
  0%, 70%, 100% { opacity: 1; }
  75%, 95% { opacity: 0.5; }
}

.status-icon {
  width: 10px;
  height: 10px;
  background: var(--success-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success-green);
}

/* ----------------------------------------
   Trust Section
   ---------------------------------------- */
.trust-section {
  padding: 60px 0;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.trust-label {
  text-align: center;
  font-size: 13px;
  color: var(--steel-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.trust-logo:hover {
  opacity: 1;
}

.trust-logo-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--steel-gray);
  letter-spacing: 1px;
}

.trust-logo-text sup {
  font-size: 9px;
}

/* ----------------------------------------
   Features Section
   ---------------------------------------- */
.features {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.feature-card {
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-base);
}

.feature-card:hover {
  background: rgba(30, 58, 95, 0.5);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--electric-blue);
}

.feature-title {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 15px;
  color: var(--steel-gray);
  line-height: 1.7;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.sso-flow {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.sso-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sso-step-icon {
  font-size: 32px;
  line-height: 1;
}

.sso-step-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sso-arrow {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--electric-blue);
  animation: arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* ----------------------------------------
   How It Works Section
   ---------------------------------------- */
.how-it-works {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.workflow {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.workflow-line {
  position: absolute;
  left: 40px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg, var(--electric-blue), var(--frost-blue), var(--success-green));
  opacity: 0.3;
}

.workflow-step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  position: relative;
}

.workflow-step-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--electric-blue);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.workflow-step-content {
  padding-top: 24px;
}

.workflow-step-title {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.workflow-step-description {
  font-size: 15px;
  color: var(--steel-gray);
  line-height: 1.7;
  max-width: 400px;
}

.workflow-step-visual {
  padding-top: 16px;
}

.workflow-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 95, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
}

.workflow-icon svg {
  width: 40px;
  height: 40px;
  color: var(--electric-blue);
}

.workflow-icon-success svg {
  color: var(--success-green);
}

/* ----------------------------------------
   Security Section
   ---------------------------------------- */
.security {
  padding: var(--section-padding) 0;
}

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

.security-content .section-description {
  margin-bottom: 48px;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.security-feature {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.security-feature:hover {
  background: rgba(30, 58, 95, 0.5);
  border-color: rgba(0, 212, 255, 0.3);
}

.security-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 10px;
}

.security-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--electric-blue);
}

.security-feature-content h4 {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.security-feature-content p {
  font-size: 14px;
  color: var(--steel-gray);
  line-height: 1.6;
}

/* Security Visual */
.security-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.security-shield {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.shield-ring-1 {
  width: 100%;
  height: 100%;
  animation: shield-pulse 4s ease-in-out infinite;
}

.shield-ring-2 {
  width: 85%;
  height: 85%;
  animation: shield-pulse 4s ease-in-out infinite 0.5s;
}

.shield-ring-3 {
  width: 70%;
  height: 70%;
  animation: shield-pulse 4s ease-in-out infinite 1s;
}

@keyframes shield-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.02); }
}

.shield-core {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(30, 58, 95, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.2);
}

.shield-core svg {
  width: 64px;
  height: 64px;
}

.security-stats {
  display: flex;
  gap: 40px;
}

.security-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 24px;
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
}

.security-stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--electric-blue);
}

.security-stat-label {
  font-size: 12px;
  color: var(--steel-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----------------------------------------
   Use Cases Section
   ---------------------------------------- */
.use-cases {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.use-case-card {
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-base);
}

.use-case-card:hover {
  background: rgba(30, 58, 95, 0.5);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
}

.use-case-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.use-case-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
}

.use-case-icon svg {
  width: 28px;
  height: 28px;
  color: var(--electric-blue);
}

.use-case-title {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
}

.use-case-description {
  font-size: 15px;
  color: var(--steel-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.use-case-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.use-case-benefits li {
  font-size: 14px;
  color: var(--frost-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.use-case-benefits li::before {
  content: '✓';
  font-size: 12px;
  color: var(--success-green);
  font-weight: bold;
}

/* ----------------------------------------
   Architecture Section
   ---------------------------------------- */
.architecture {
  padding: var(--section-padding) 0;
}

.architecture-content {
  text-align: center;
}

.architecture-content .section-description {
  max-width: 700px;
  margin: 0 auto 48px;
}

.architecture-diagram {
  margin: 48px 0;
  padding: 40px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  overflow-x: auto;
}

.ascii-diagram {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--frost-blue);
  text-align: left;
  white-space: pre;
  overflow-x: auto;
}

.architecture-cta {
  margin-top: 32px;
}

/* ----------------------------------------
   Comparison Section
   ---------------------------------------- */
.comparison {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-table th {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--steel-gray);
  background: rgba(15, 23, 42, 0.5);
}

.comparison-table th.highlight {
  color: var(--electric-blue);
  background: rgba(0, 212, 255, 0.1);
}

.comparison-table td {
  color: var(--steel-gray);
}

.comparison-table td.highlight {
  color: var(--pearl-white);
  background: rgba(0, 212, 255, 0.05);
  font-weight: 500;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: rgba(0, 212, 255, 0.03);
}

/* ----------------------------------------
   CTA / Contact Section
   ---------------------------------------- */
.cta-section {
  padding: var(--section-padding) 0;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 18px;
  color: var(--steel-gray);
  margin-bottom: 48px;
}

.contact-form {
  text-align: left;
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--pearl-white);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid var(--deep-sapphire);
  border-radius: 8px;
  color: var(--pearl-white);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--steel-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: 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' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--midnight-blue);
  color: var(--pearl-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.contact-alt {
  color: var(--steel-gray);
  font-size: 14px;
}

.contact-alt p {
  margin-bottom: 8px;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--electric-blue);
  transition: color var(--transition-fast);
}

.contact-email:hover {
  color: var(--frost-blue);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  padding: 80px 0 40px;
  background: var(--deep-space);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  color: var(--electric-blue);
}

.footer-logo span {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--steel-gray);
  font-style: italic;
}

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

.footer-column h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--pearl-white);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  font-size: 14px;
  color: var(--steel-gray);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--electric-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--steel-gray);
}

.footer-arabic {
  font-family: var(--font-sans);
  font-style: italic;
}

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card-large {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  
  .security-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .security-visual {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--deep-space);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 8px;
    transition: right var(--transition-base);
    border-left: 1px solid rgba(0, 212, 255, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .nav-link {
    width: 100%;
    padding: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card-large {
    grid-column: span 1;
  }
  
  .workflow-step {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }
  
  .workflow-step-visual {
    display: none;
  }
  
  .workflow-line {
    left: 35px;
  }
  
  .workflow-step-number {
    width: 70px;
    height: 70px;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .ascii-diagram {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 60px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .fingerprint-scanner {
    width: 260px;
    height: 260px;
  }
  
  .fingerprint-core {
    width: 120px;
    height: 120px;
  }
  
  .fingerprint-svg {
    width: 70px;
    height: 70px;
  }
  
  .trust-logos {
    gap: 24px;
  }
  
  .sso-flow {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .security-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 14px 16px;
    font-size: 13px;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ----------------------------------------
   Animations on Scroll (to be triggered by JS)
   ---------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
