/* =======================================================
   digital-guardian.css — 数字安全金管家页独有样式
   依赖：global.css（Design Tokens / 导航 / 页脚 / 通用工具）
   ======================================================= */

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: var(--brand-dark);
  padding: 80px 0 40px;
  color: white;
  min-height: 385px;
  display: flex;
  align-items: center;
}

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

.hero-tag {
  display: inline-block;
  background: rgba(10,158,206,.2);
  color: var(--brand-accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

/* Dashboard Graphic */
.security-dashboard {
  width: 100%;
  background: rgba(255,255,255,.95);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  overflow: hidden;
  color: #333;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0a9ece 0%, #0d7ea6 100%);
  color: white;
}

.dashboard-title {
  font-weight: 600;
  font-size: 15px;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
}

.dashboard-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.9); }
}

.dashboard-body {
  padding: 20px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e8ecf0;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.green { background: #e8f5e9; color: #2e7d32; }
.stat-icon.blue { background: #e3f2fd; color: #1565c0; }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}

.stat-unit {
  font-size: 12px;
  font-weight: 500;
  color: #666;
}

.stat-label {
  font-size: 12px;
  color: #888;
}

.threat-panel {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #e8ecf0;
  margin-bottom: 16px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
}

.panel-badge {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.threat-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 50px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 12px;
}

.chart-bar {
  width: 12%;
  height: var(--h, 30%);
  background: linear-gradient(180deg, #90caf9, #bbdefb);
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: all .3s;
}

.chart-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: #999;
}

.chart-bar.active {
  background: linear-gradient(180deg, #4CAF50, #81c784);
}

.protection-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.protect-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #555;
}

.protect-item span:first-child {
  font-size: 14px;
}

.protect-item span:nth-child(2) {
  flex: 1;
}

.status-ok {
  color: #2e7d32;
  font-weight: 500;
}

.terminal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f0f4f8;
  border-radius: 10px;
}

.terminal-icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  color: #0a9ece;
}

.terminal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #888;
}

.terminal-count {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
}

.terminal-badge {
  background: linear-gradient(135deg, #0a9ece, #0d7ea6);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* ===========================
   Section Commons
   =========================== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   Core Features
   =========================== */
.core-features {
  background: var(--brand-light);
}

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.feature-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.feature-icon-wrap.blue {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1565c0;
}

.feature-icon-wrap.green {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
}

.feature-icon-wrap.orange {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #e65100;
}

.feature-icon-wrap.purple {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  color: #6a1b9a;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.feature-card p {
  color: #666;
  font-size: 15px;
}

/* ===========================
   Product Screenshots (Tabs)
   =========================== */
.tabs-container {
  text-align: center;
}

.screenshot-tab-input {
  display: none;
}

.screenshot-tab-label {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid #ddd;
  margin: 0 8px 16px;
}

.screenshot-tab-label:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.screenshot-tab-input:checked + .screenshot-tab-label {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

.screenshot-content {
  display: none;
  background: #f5f5f5;
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

#tab-overview:checked ~ .screenshot-content.overview,
#tab-asset:checked ~ .screenshot-content.asset,
#tab-threat:checked ~ .screenshot-content.threat,
#tab-compliance:checked ~ .screenshot-content.compliance {
  display: flex;
}

.screenshot-placeholder {
  color: #999;
  font-size: 18px;
}

/* ===========================
   Tech Advantages
   =========================== */
.tech-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.tech-advantage-item {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.tech-advantage-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.tech-advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.tech-advantage-icon.icon-blue {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1565c0;
}

.tech-advantage-icon.icon-green {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
}

.tech-advantage-icon.icon-orange {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #e65100;
}

.tech-advantage-icon.icon-purple {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  color: #6a1b9a;
}

.tech-advantage-icon.icon-red {
  background: linear-gradient(135deg, #ffebee, #ffcdd2);
  color: #c62828;
}

.tech-advantage-icon.icon-teal {
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  color: #00695c;
}

.tech-advantage-item h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.tech-advantage-item p {
  color: #666;
  font-size: 14px;
}

/* ===========================
   Customer Cases
   =========================== */
.cases-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card-new {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-left: 4px solid transparent;
}

.case-card-new:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--brand-primary);
}

.case-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.case-icon.icon-blue { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.case-icon.icon-red { background: linear-gradient(135deg, #ffebee, #ffcdd2); color: #c62828; }
.case-icon.icon-orange { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.case-icon.icon-teal { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); color: #00695c; }
.case-icon.icon-purple { background: linear-gradient(135deg, #f3e5f5, #e1bee7); color: #6a1b9a; }
.case-icon.icon-green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }

.case-card-new h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.case-card-new p {
  color: #666;
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.case-tags span {
  background: #f0f4f8;
  color: #555;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.cases-footer {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: var(--brand-light);
  border-radius: var(--radius-md);
  color: #555;
  font-size: 16px;
}

.cases-footer strong {
  color: var(--brand-primary);
  font-size: 24px;
}

/* ===========================
   Customer Cases
   =========================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.case-card {
  background: var(--brand-light);
  padding: 32px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-primary);
}

.case-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 16px;
}

.case-card .author {
  font-weight: 500;
  color: var(--brand-dark);
}

/* ===========================
   Service Comparison Table
   =========================== */
.compare-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}

.compare-table thead th {
  background: var(--brand-dark);
  color: white;
  padding: 14px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
}

.compare-table thead th.col-highlight {
  background: var(--brand-primary);
  position: relative;
}

.compare-table thead th.col-highlight::after {
  content: '推荐';
  position: absolute;
  top: 8px;
  right: 12px;
  background: #fff;
  color: var(--brand-primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.compare-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  color: #555;
}

.compare-table tbody td.dim {
  background: #fafbfc;
  color: var(--brand-dark);
  font-weight: 500;
  text-align: left;
}

.compare-table tbody td.col-highlight {
  background: rgba(10,158,206,.06);
  color: var(--brand-dark);
}

.compare-table tbody tr.cat-row td {
  padding: 8px 16px;
  background: #f0f4f8;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  border-bottom: 1px solid #e0e6ed;
}

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

.compare-table tbody tr:hover td {
  background: #f8fafc;
}

.compare-table tbody tr:hover td.col-highlight {
  background: rgba(10,158,206,.1);
}

.compare-table tbody tr.cat-row:hover td {
  background: #f0f4f8;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.check.yes {
  background: #e8f5e9;
  color: #2e7d32;
}

.check.no {
  background: #ffebee;
  color: #c62828;
}

.compare-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}

.faq-question {
  padding: 20px 0;
  font-weight: 500;
  font-size: 17px;
  color: var(--brand-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--brand-primary);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #666;
  font-size: 15px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ===========================
   CTA Section
   =========================== */
.cta {
  background: var(--brand-primary);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 24px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ===========================
   Buttons (page-specific variants)
   =========================== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 15px;
}

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

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.8);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: white;
  transform: translateY(-2px);
}

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

.btn-light:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===========================
   Scroll Reveal (page-specific)
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Supported Systems Row
   =========================== */
.os-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.os-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.os-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.os-icon img {
  width: 32px;
  height: 32px;
}

.os-item:hover .os-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.os-name {
  font-size: 15px;
  color: var(--brand-dark);
  font-weight: 500;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 140px 0 60px;
    min-height: auto;
  }
  .dashboard-graphic {
    height: 300px;
  }
  .tech-advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .deployment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-table {
    font-size: 14px;
  }
  .compare-table thead th,
  .compare-table tbody td {
    padding: 12px 14px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid-3col {
    grid-template-columns: 1fr;
  }
  .deployment-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: 60px 0;
  }
  .compare-table {
    font-size: 13px;
  }
  .compare-table thead th,
  .compare-table tbody td {
    padding: 10px 8px;
  }
  .compare-table thead th.col-highlight::after {
    display: none;
  }
  .compare-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-btns {
    flex-direction: column;
  }
  .cta-btns {
    flex-direction: column;
  }
  .tech-advantages-grid {
    grid-template-columns: 1fr;
  }
  .screenshot-tab-label {
    padding: 8px 16px;
    font-size: 14px;
    margin: 0 4px 8px;
  }
}


/* ===========================
   弹窗通用样式（与首页共享）
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2,45,84,.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(10,158,206,.12) 0%, transparent 60%);
  pointer-events: none;
}
.modal-panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(2,45,84,.25), 0 8px 32px rgba(2,45,84,.15);
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(32px) scale(.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: #cdd5e0 transparent;
}
.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
  z-index: 2;
}
.modal-close:hover { background: #e2e8f0; color: #1e293b; }
.modal-close svg { width: 18px; height: 18px; }
.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding-right: 32px;
}
.modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-primary, #045297);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(4,82,151,.3);
}
.modal-icon svg { width: 26px; height: 26px; color: #fff; }
.modal-titles { flex: 1; }
.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #022d54;
  margin-bottom: 4px;
}
.modal-subtitle { font-size: 13px; color: #64748b; line-height: 1.6; }
.modal-field { margin-bottom: 20px; }
.modal-field label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 8px; }
.required { color: #e53e3e; margin-left: 2px; }
.modal-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #f9fafb;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.modal-field input::placeholder { color: #9ca3af; }
.modal-field input:focus {
  border-color: var(--brand-primary, #045297);
  box-shadow: 0 0 0 3px rgba(4,82,151,.1);
  background: #fff;
}


.modal-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--neutral-900);
  background: var(--neutral-100);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.modal-field textarea::placeholder { color: var(--neutral-500); }
.modal-field textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(4,82,151,.1);
  background: #fff;
}
.modal-field.error textarea {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,.1);
  background: #fff;
}


.modal-field.error input { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,.1); background: #fff; }
.field-error { display: block; font-size: 12px; color: #e53e3e; margin-top: 6px; min-height: 16px; }
.modal-submit-row { margin-top: 28px; }
.modal-submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--brand-primary, #045297);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(4,82,151,.3);
  transition: all 0.2s ease;
}
.modal-submit-btn:hover:not(:disabled) {
  background: #022d54;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,82,151,.4);
}
.modal-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
@keyframes geo-spin { to { transform: rotate(360deg); } }
.modal-submit-btn .spin-icon { animation: geo-spin .8s linear infinite; }
.modal-privacy { font-size: 11px; color: #9ca3af; text-align: center; margin-top: 12px; line-height: 1.6; }
.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 8px;
  gap: 16px;
}
.modal-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-success-icon svg { width: 40px; height: 40px; color: #10b981; }
.modal-success h3 { font-size: 22px; font-weight: 700; color: #022d54; }
.modal-success p { font-size: 14px; color: #4b5563; line-height: 1.8; max-width: 360px; }
.modal-success strong { color: var(--brand-primary, #045297); }
.modal-success-close {
  padding: 12px 32px;
  background: var(--brand-primary, #045297);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}
.modal-success-close:hover { background: #022d54; }
@media (max-width: 480px) {
  .modal-panel { padding: 28px 24px; }
  .modal-title { font-size: 20px; }
}

