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

:root {
  --blue-primary: #1A4FFF;
  --blue-dark: #0A3AD4;
  --blue-darker: #0B2266;
  --text-dark: #0B0D12;
  --text-gray: #6B7280;
  --text-light-gray: #9CA3AF;
  --text-medium: #4A5568;
  --bg-light: #F9FAFB;
  --bg-section: #FAFBFC;
  --bg-blue-light: #F0F4FF;
  --border-light: #E5E7EB;
  --border-gray: #D1D5DB;
  --green-accent: #10B981;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--blue-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.logo-text {
  font-weight: 600;
  font-size: 16px;
  color: var(--blue-primary);
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-size: 14px;
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 79, 255, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}

.btn-outline:hover {
  background: var(--blue-primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--blue-primary);
}

.btn-white:hover {
  background: #f3f4f6;
}

.btn-login {
  display: none;
}

@media (min-width: 640px) {
  .btn-login {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-dark);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-light);
  background: #fff;
  padding: 16px 24px;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-blue-light) 0%, #fff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(26, 79, 255, 0.1), transparent);
  pointer-events: none;
}

/* Utility classes for full height layout */
.full-height {
  min-height: calc(100vh - 64px); /* Subtract header height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.centered-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  position: relative;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.trust-label {
  font-size: 12px;
  color: var(--blue-primary);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-logos span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light-gray);
  letter-spacing: 0.02em;
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: start;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 56px;
  }
}

.hero-text h1 .highlight {
  color: var(--blue-primary);
}

.hero-text p {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 480px;
  line-height: 1.7;
}

.hero-text p .highlight {
  color: var(--blue-primary);
  font-weight: 500;
}

/* Stats Card */
.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.stat {
  text-align: center;
}

.stat:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(26, 79, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue-primary);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 4px;
}

/* Features Grid */
.features-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}

.feature-mini:hover {
  border-color: rgba(26, 79, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-mini svg {
  width: 20px;
  height: 20px;
  color: var(--blue-primary);
}

.feature-mini span {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-primary);
}

.badge-encrypted {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-encrypted::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  animation: pulse 2s infinite;
}

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

.product-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-family: inherit;
  transition: all 0.2s;
}

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: rgba(26, 79, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(26, 79, 255, 0.1);
}

.textarea {
  height: 112px;
  resize: none;
}

.select {
  cursor: pointer;
  color: var(--text-gray);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(26, 79, 255, 0.4);
}

.btn-submit:active {
  transform: scale(0.99);
}

.product-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-light-gray);
  margin-top: 16px;
}

/* Result Card */
.result-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-top: 16px;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  font-family: monospace;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-dark);
}

.btn-copy {
  padding: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: rgba(26, 79, 255, 0.1);
}

.btn-copy:active {
  transform: scale(0.95);
}

.btn-copy svg {
  width: 20px;
  height: 20px;
  color: var(--blue-primary);
}

.result-note {
  font-size: 12px;
  color: var(--text-light-gray);
  margin-top: 12px;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--blue-dark), var(--blue-darker));
  color: #fff;
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #fff;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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