/* styles.css - American Systems */

/* Reset / base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
  color: #1F2937;
  background-color: #F3F4F6;
}

body {
  line-height: 1.6;
}

/* Layout */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
  padding: 3rem 0;
}

/* Header */

header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-image: url('flaglogo.jpg');
  background-size: cover;
  background-position: center;
}

.brand-text {
  font-weight: 600;
  color: #111827;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: #4B5563;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #2563EB;
}

/* Hamburger button */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 24px;
  height: 3px;
  background-color: #111827;
  display: block;
  border-radius: 2px;
  transition: 0.3s ease;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle.open .hamburger {
  background-color: transparent;
}

.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile nav */

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 1rem 1.5rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0;
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #E5E7EB;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background-color: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

.btn-primary:hover {
  background-color: #1D4ED8;
  border-color: #1D4ED8;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #2563EB;
  border-color: #D1D5DB;
}

.btn-secondary:hover {
  background-color: #EFF6FF;
  border-color: #93C5FD;
}

.btn-ghost {
  background-color: transparent;
  color: #4B5563;
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: #E5E7EB;
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #dc2626 50%, #1e40af 100%);
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  z-index: 1;
  animation: bgShift 20s ease infinite;
}

@keyframes bgShift {
  0%, 100% { 
    transform: translate(0, 0); 
  }
  50% { 
    transform: translate(20px, 20px); 
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Subtle Hero for product pages */

.hero-subtle {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3b82f6 0%, #ef4444 50%, #6366f1 100%);
  background-attachment: fixed;
}

.hero-subtle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.2) 0%, transparent 50%);
  z-index: 1;
  animation: bgShift 30s ease infinite;
}

.hero-subtle .container {
  position: relative;
  z-index: 2;
}

.hero-store {
  padding: 1.6rem 0 1.15rem;
}

.hero-store .section-kicker {
  margin-bottom: 0.2rem;
}

.hero-store .section-title {
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.hero-store .section-subtitle {
  font-size: 0.92rem;
}

/* White text for hero-subtle sections */

.hero-subtle .section-kicker {
  color: #FEF2F2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtle .section-title {
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtle .section-subtitle {
  color: #F3F4F6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-subtle .text-muted {
  color: #E5E7EB;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.9rem;
  font-weight: 500;
  color: #FEF2F2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #F3F4F6;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: #E5E7EB;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero-card {
  background-color: #FFFFFF;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.enterprise-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.2), transparent 30%),
    linear-gradient(135deg, #0F172A 0%, #12356B 48%, #173A6B 100%);
}

.enterprise-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 120px);
  opacity: 0.55;
}

.enterprise-hero .container {
  position: relative;
  z-index: 1;
}

.enterprise-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: stretch;
}

.enterprise-hero-kicker {
  color: #BFDBFE;
}

.enterprise-hero-title {
  margin: 0 0 1rem;
  color: #FFFFFF;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.enterprise-hero-subtitle {
  margin: 0 0 1.4rem;
  max-width: 58ch;
  color: #DBEAFE;
  font-size: 1.05rem;
}

.enterprise-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.enterprise-highlight {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F8FAFC;
  font-size: 0.87rem;
  font-weight: 500;
}

.enterprise-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.enterprise-proof-item {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.18);
}

.enterprise-proof-value {
  margin-bottom: 0.3rem;
  color: #FFFFFF;
  font-size: 1.12rem;
  font-weight: 700;
}

.enterprise-proof-label {
  color: #CBD5E1;
  font-size: 0.88rem;
  line-height: 1.5;
}

.enterprise-hero-panel {
  padding: 1.6rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
}

.enterprise-panel-badge,
.enterprise-card-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.enterprise-panel-title {
  margin: 0.85rem 0 0.45rem;
  color: #0F172A;
  font-size: 1.5rem;
  line-height: 1.2;
}

.enterprise-panel-copy {
  margin: 0 0 1rem;
  color: #475569;
}

.enterprise-form {
  margin-top: 0.95rem;
}

.enterprise-required-note {
  margin: 0 0 0.75rem;
  color: #64748B;
  font-size: 0.82rem;
}

.enterprise-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.enterprise-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.enterprise-field-full {
  grid-column: 1 / -1;
}

.enterprise-field > span {
  color: #334155;
  font-size: 0.83rem;
  font-weight: 700;
}

.enterprise-field-invalid > span {
  color: #991B1B;
}

.enterprise-field-invalid::before {
  content: '';
  position: absolute;
  left: -0.55rem;
  top: 0.15rem;
  bottom: 0.1rem;
  width: 3px;
  border-radius: 999px;
  background: #DC2626;
}

.enterprise-field-error {
  min-height: 1rem;
  color: #B91C1C;
  font-size: 0.78rem;
  line-height: 1.3;
}

.enterprise-required-mark {
  color: #DC2626;
}

.enterprise-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.enterprise-field input,
.enterprise-field select,
.enterprise-field textarea {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  background: #FFFFFF;
  color: #0F172A;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.enterprise-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.enterprise-field input[aria-invalid='true'],
.enterprise-field select[aria-invalid='true'],
.enterprise-field textarea[aria-invalid='true'] {
  border-color: #DC2626;
  background: #FEF2F2;
}

.enterprise-field input:focus,
.enterprise-field select:focus,
.enterprise-field textarea:focus {
  outline: 2px solid #BFDBFE;
  border-color: #2563EB;
}

.enterprise-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.enterprise-checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #DBEAFE;
  background: #F8FAFC;
  color: #1E293B;
  font-size: 0.9rem;
}

.enterprise-checkbox input {
  width: auto;
  margin: 0;
}

.enterprise-checkbox-grid.enterprise-checkbox-grid-error .enterprise-checkbox {
  border-color: #FCA5A5;
  background: #FEF2F2;
}

.enterprise-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.enterprise-form-meta {
  margin: 0.85rem 0 0;
  color: #64748B;
  font-size: 0.82rem;
}

.enterprise-form-status {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.enterprise-form-status-success {
  color: #166534;
}

.enterprise-form-status-error {
  color: #B91C1C;
}

.enterprise-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.enterprise-panel-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.enterprise-panel-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #334155;
  font-size: 0.94rem;
}

.enterprise-panel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #2563EB;
}

.enterprise-contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.enterprise-contact-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.enterprise-contact-label {
  display: block;
  margin-bottom: 0.15rem;
  color: #64748B;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.enterprise-contact-value {
  color: #0F172A;
  text-decoration: none;
  font-weight: 600;
}

.enterprise-contact-value:hover {
  color: #1D4ED8;
}

.enterprise-panel-note {
  margin: 1rem 0 0;
  color: #64748B;
  font-size: 0.84rem;
}

.enterprise-card-grid {
  align-items: stretch;
}

.enterprise-card {
  border: 1px solid #E5E7EB;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.enterprise-card .card-header {
  margin-top: 0.7rem;
  margin-bottom: 0.55rem;
}

.enterprise-surface {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.enterprise-detail-grid {
  align-items: start;
}

.enterprise-detail-stack {
  display: grid;
  gap: 1rem;
}

.enterprise-detail-item {
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.enterprise-detail-item h3 {
  margin: 0 0 0.4rem;
  color: #0F172A;
  font-size: 1.05rem;
}

.enterprise-detail-item p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.enterprise-tier-card {
  border: 1px solid #DBEAFE;
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.enterprise-tier-table th {
  color: #1E3A8A;
}

.enterprise-tier-caption {
  margin: 1rem 0 0;
  color: #475569;
  font-size: 0.9rem;
}

.enterprise-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.enterprise-step {
  padding: 1.35rem;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.enterprise-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: #1D4ED8;
  color: #FFFFFF;
  font-weight: 700;
}

.enterprise-step h3 {
  margin: 0 0 0.45rem;
  color: #111827;
  font-size: 1.04rem;
}

.enterprise-step p {
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
}

.enterprise-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 1.9rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #0F172A 0%, #1E40AF 55%, #0F766E 100%);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
}

.enterprise-cta .section-kicker {
  color: #BFDBFE;
}

.enterprise-cta .section-title {
  color: #FFFFFF;
}

.enterprise-cta .section-subtitle {
  max-width: 56ch;
  color: #DBEAFE;
}

.enterprise-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
}

.enterprise-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.34);
}

.enterprise-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.enterprise-main {
  padding-top: 0;
}

@media (max-width: 980px) {
  .enterprise-hero-grid,
  .enterprise-proof-grid,
  .enterprise-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .enterprise-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-header {
  max-width: 650px;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #4B5563;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #FFFFFF;
  border-radius: 0.9rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.card-header {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #111827;
}

.card-body {
  font-size: 0.95rem;
  color: #4B5563;
}

/* Badges */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-green {
  background-color: #DCFCE7;
  color: #15803D;
}

.badge-blue {
  background-color: #DBEAFE;
  color: #1D4ED8;
}

.badge-new {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #FFFFFF;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Lists */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #4B5563;
  margin-bottom: 0.4rem;
}

.feature-list li::before {
  content: "•";
  color: #2563EB;
  font-weight: 700;
  margin-top: 0.06rem;
}

/* Two-column layout */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Tables */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #E5E7EB;
}

.table th {
  font-weight: 600;
  color: #374151;
}

/* Testimonials */

.testimonial {
  background-color: #FFFFFF;
  border-radius: 0.9rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
  color: #4B5563;
}

.testimonial-footer {
  margin-top: 0.75rem;
  font-weight: 500;
  color: #111827;
}

/* Footer */

footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #6B7280;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  text-decoration: none;
  color: #6B7280;
}

.footer-links a:hover {
  color: #2563EB;
}

/* Utility */

.text-muted {
  color: #6B7280;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

/* Responsive */

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  header {
    position: static;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

/* ==============================
   LEGAL PAGES
   ============================== */
.legal-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1F2937;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: #2563EB;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #1D4ED8;
}

.narrow {
  max-width: 800px;
}

.notice {
  border-radius: 8px;
  padding: 1.5rem;
}

.notice-warning {
  background: #FFFBEB;
  border-left: 4px solid #D97706;
  margin-bottom: 1.5rem;
  color: #92400E;
}

.notice-success {
  background: #ECFDF5;
  border-left: 4px solid #10B981;
  margin-bottom: 1.5rem;
  color: #065F46;
}

.store-grid {
  align-items: stretch;
}

.store-product-table {
  margin-top: 0.2rem;
}

.store-product-table .store-qty-col {
  width: 120px;
}

.store-product-table .store-subtotal-col {
  width: 150px;
}

.store-product-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.store-product-row.selected {
  background: #EFF6FF;
}

.store-product-row.selected td {
  border-bottom-color: #BFDBFE;
}

.store-product-name {
  font-weight: 600;
  color: #111827;
}

.store-product-note {
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: #4B5563;
}

.store-qty-input {
  width: 68px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.95rem;
  color: #111827;
  background: #FFFFFF;
  text-align: center;
}

.store-line-subtotal {
  font-weight: 600;
  color: #111827;
}

.store-subtotal-row td {
  border-top: 2px solid #D1D5DB;
  border-bottom: 0;
}

.store-card {
  border: 2px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-card.selected {
  border-color: #2563EB;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
}

.store-meta {
  font-size: 0.85rem;
  color: #374151;
  font-weight: 600;
}

.store-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.store-price-note {
  margin-top: 0.1rem;
  margin-bottom: 0.65rem;
  color: #4B5563;
  font-size: 0.84rem;
}

.store-checkout-bar {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.store-checkout-copy {
  min-width: 0;
}

.store-checkout-title {
  color: #111827;
  font-weight: 600;
  font-size: 0.97rem;
}

.store-checkout-trust {
  color: #4B5563;
  font-size: 0.84rem;
}

.store-post-purchase {
  border: 1px solid #A7F3D0;
  background: #F0FDF4;
}

.store-post-purchase .card-header {
  color: #065F46;
}

.store-post-purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

#store-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.store-license-panel {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.store-license-label {
  margin-bottom: 0.35rem;
  color: #065F46;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-license-value {
  margin-bottom: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #D1FAE5;
  color: #111827;
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
}

.store-license-item + .store-license-item {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid #E5E7EB;
}

.store-license-item-name {
  margin-bottom: 0.35rem;
  color: #065F46;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.store-license-item-key {
  overflow-wrap: anywhere;
}

.store-rid-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.store-rid-feedback {
  color: #065F46;
  font-size: 0.85rem;
  min-height: 1.2rem;
}

.store-help code {
  display: inline-block;
  background: #F3F4F6;
  color: #1F2937;
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.85rem;
}

.store-help-collapsible {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.store-help-summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #1F2937;
}

.store-help-summary::-webkit-details-marker {
  display: none;
}

.store-help-summary::before {
  content: '+ ';
  color: #2563EB;
  font-weight: 700;
}

.store-help-collapsible[open] .store-help-summary::before {
  content: '- ';
}

.store-help-collapsible .card-body {
  margin-top: 0.6rem;
}

.store-billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.store-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.store-field-full {
  grid-column: 1 / -1;
}

.store-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1F2937;
}

.store-field input {
  width: 100%;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  font-size: 0.95rem;
  color: #111827;
  background: #FFFFFF;
}

.store-field input:focus {
  outline: 2px solid #BFDBFE;
  border-color: #2563EB;
}

.store-field input[aria-invalid='true'] {
  border-color: #DC2626;
}

.store-field-error {
  color: #B91C1C;
  font-size: 0.8rem;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .enterprise-hero {
    padding: 3.25rem 0 3rem;
  }

  .enterprise-hero-panel,
  .enterprise-cta {
    padding: 1.35rem;
  }

  .enterprise-contact-item,
  .enterprise-cta-actions,
  .enterprise-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .enterprise-cta-actions .btn,
  .enterprise-hero-panel .btn {
    width: 100%;
  }

  .enterprise-form-grid,
  .enterprise-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .hero-store {
    padding: 1.2rem 0 0.95rem;
  }

  .hero-store .section-title {
    font-size: 1.25rem;
  }

  .store-checkout-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .store-checkout-bar .btn {
    width: 100%;
  }

  .store-post-purchase-actions .btn {
    width: 100%;
  }

  .store-rid-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-rid-actions .btn {
    width: 100%;
  }

  .store-billing-grid {
    grid-template-columns: 1fr;
  }

  .store-field-full {
    grid-column: auto;
  }
}

/* ==============================
   FAQ PAGES
   ============================== */
.faq-item {
  margin-bottom: 3rem;
}

.faq-item h2 {
  font-size: 1.75rem;
  color: #2563EB;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E5E7EB;
}

.faq-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.faq-item p,
.faq-item ol,
.faq-item ul {
  margin-bottom: 1rem;
}

.faq-item ol,
.faq-item ul {
  padding-left: 1.5rem;
}

.faq-item li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-item strong {
  color: #111827;
  font-weight: 600;
}
