/* ==========================================================================
   ERPFlow — Components & Interactive Visuals
   ========================================================================== */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--grad-dark-overlay), url('../images/hero-factory.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.38;
  filter: saturate(1.2) contrast(1.1);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  line-height: 1.7;
  color: var(--text-champagne, #FFF1BF);
  margin-bottom: 2.5rem;
  max-width: 580px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-proof-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.proof-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* Hero 3D Interactive Gear & HUD */
.hero-visual-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-gear-wrapper {
  width: 100%;
  max-width: 520px;
  position: relative;
  transition: transform 0.2s ease-out;
}

.hero-gear-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}

.rotating-gear-outer {
  transform-origin: 300px 300px;
  animation: rotateClockwise 35s linear infinite;
}

.rotating-gear-inner {
  transform-origin: 300px 300px;
  animation: rotateCounter 25s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Floating HUD Tag Badges */
.hud-tag {
  position: absolute;
  background: rgba(17, 32, 57, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: hudFloat 6s ease-in-out infinite;
}

.hud-tag.tag-top {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hud-tag.tag-bottom {
  bottom: 12%;
  right: -5%;
  animation-delay: 2.5s;
}

@keyframes hudFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-proof-row {
    justify-content: center;
  }
  .hero-visual-container {
    max-width: 440px;
    margin: 2rem auto 0 auto;
  }
  .hud-tag.tag-top { left: 0; }
  .hud-tag.tag-bottom { right: 0; }
}

/* Pain Points Section (Interactive Problem -> Solution Transformation) */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  perspective: 1000px;
  min-height: 280px;
  cursor: pointer;
}

.pain-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
}

.pain-card:hover .pain-card-inner,
.pain-card.active .pain-card-inner {
  transform: rotateY(180deg);
}

.pain-card-front,
.pain-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pain-card-front {
  background: rgba(21, 38, 67, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.pain-card-front .pain-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EF4444;
  font-size: 1.5rem;
}

.pain-card-front h3 {
  font-size: 1.3rem;
  margin: 1.25rem 0 0.5rem 0;
  color: var(--text-main);
}

.pain-card-front p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pain-card-front .hover-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.pain-card-back {
  background: linear-gradient(135deg, rgba(26, 45, 77, 0.95) 0%, rgba(17, 32, 57, 0.95) 100%);
  border: 1px solid var(--border-gold-glow);
  box-shadow: var(--glow-gold-sm);
  transform: rotateY(180deg);
}

.pain-card-back .solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 212, 59, 0.15);
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  width: fit-content;
}

.pain-card-back h4 {
  font-size: 1.22rem;
  color: var(--gold-champagne);
  margin: 0.8rem 0 0.5rem 0;
}

.pain-card-back p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
}

/* Feature Bento Grid (All 13 Modules) */
.bento-module-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.bento-module-card:hover {
  border-color: var(--border-gold-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), var(--glow-gold-sm);
  transform: translateY(-5px);
}

.bento-module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-gold-soft);
  border: 1px solid rgba(255, 212, 59, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  box-shadow: var(--glow-gold-sm);
}

.bento-module-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.bento-module-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bento-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--gold-champagne);
}

/* "How Job Work Flows in ERPFlow" Interactive Flow Path */
.flow-diagram-container {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.flow-steps-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.flow-connecting-line {
  position: absolute;
  top: 50px;
  left: 8%;
  width: 84%;
  height: 3px;
  background: linear-gradient(90deg, #FFE066, #FFD43B, #F2B705);
  z-index: 1;
  box-shadow: var(--glow-gold-sm);
}

.flow-connecting-line::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 12px;
  height: 12px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 0 14px #FFE066;
  animation: flowPulse 7s linear infinite;
}

@keyframes flowPulse {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.flow-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.flow-step-node:hover {
  transform: translateY(-4px);
}

.flow-node-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #112039;
  border: 2px solid var(--border-gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  z-index: 3;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  transition: all var(--transition-smooth);
}

.flow-step-node.active .flow-node-circle,
.flow-step-node:hover .flow-node-circle {
  background: var(--grad-gold);
  color: #0B1426;
  box-shadow: var(--glow-gold-md);
  border-color: #FFF;
}

.flow-node-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.flow-node-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 992px) {
  .flow-steps-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .flow-connecting-line {
    display: none;
  }
  .flow-step-node {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
  }
  .flow-node-circle {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* Interactive Dashboard & Device Showcase */
.dashboard-showcase-box {
  background: #0E1A30;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.dashboard-tabs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.dashboard-tab-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dashboard-tab-btn.active,
.dashboard-tab-btn:hover {
  background: var(--grad-gold);
  color: #0B1426;
  border-color: var(--gold-light);
  box-shadow: var(--glow-gold-sm);
}

.mockup-laptop-frame {
  background: #152643;
  border: 2px solid #243C62;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2F4A74;
}

.mockup-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mockup-stat-card {
  background: #0F1C33;
  border: 1px solid rgba(255, 212, 59, 0.2);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.mockup-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.mockup-stat-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mockup-table th {
  text-align: left;
  padding: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-table td {
  padding: 0.85rem;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.status-badge-ok {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.status-badge-warn {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

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

/* "Your Data, Your Server" Section */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.privacy-shield-container {
  display: flex;
  justify-content: center;
}

.privacy-shield-svg {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 15px 35px rgba(255, 212, 59, 0.2));
}

.privacy-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-feature-item {
  display: flex;
  gap: 1.25rem;
}

.privacy-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 212, 59, 0.12);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .privacy-feature-item {
    text-align: left;
  }
}

/* "Who It's For" Industry Cards */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.who-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.who-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-glow);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), var(--glow-gold-sm);
}

.who-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.who-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.who-card:hover .who-card-img-wrap img {
  transform: scale(1.08);
}

.who-card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, #112039 100%);
}

.who-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.who-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--gold-champagne);
}

.who-card-body p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.who-problems-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.who-problems-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.who-problems-list li span.dot {
  color: var(--gold-light);
  font-weight: 700;
}

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

/* Vision Roadmap Page Elements */
.roadmap-timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0 auto;
}

.roadmap-beam {
  position: absolute;
  top: 0;
  left: 36px;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #FFE066 0%, #FFD43B 50%, #F2B705 100%);
  box-shadow: var(--glow-gold-sm);
}

.roadmap-step {
  position: relative;
  padding-left: 90px;
  margin-bottom: 4rem;
}

.roadmap-marker {
  position: absolute;
  top: 0;
  left: 14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #112039;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-light);
  box-shadow: var(--glow-gold-sm);
  z-index: 2;
}

.roadmap-step.active .roadmap-marker {
  background: var(--grad-gold);
  color: #0B1426;
  box-shadow: var(--glow-gold-md);
}

.roadmap-content-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
}

.roadmap-time-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.roadmap-content-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

/* Vision 6 Core Cards */
.vision-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.vision-card {
  background: linear-gradient(135deg, rgba(21, 38, 67, 0.8) 0%, rgba(14, 26, 48, 0.9) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition-smooth);
}

.vision-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--glow-gold-md);
  transform: translateY(-6px);
}

.vision-card-icon {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.vision-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--gold-champagne);
}

.vision-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .vision-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold-glow);
  box-shadow: var(--glow-gold-sm);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.8rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.6rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Demo Form / Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-highlight-box {
  background: var(--grad-gold-soft);
  border: 1px solid var(--border-gold-glow);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--glow-gold-sm);
}

.contact-form-card {
  background: rgba(17, 32, 57, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold-glow);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--glow-gold-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(255, 212, 59, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Modules Checkbox Bento Grid */
.module-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-main);
  cursor: pointer;
  background: #13233F;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.checkbox-label:hover {
  background: #1B2F50;
  border-color: rgba(255, 212, 59, 0.4);
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--gold-primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Form Success Golden Overlay */
.form-success-state {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success-state.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-gold-orb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #0B1426;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--glow-gold-lg);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .module-checkbox-grid {
    grid-template-columns: 1fr;
  }
}
