/* 
   START Landing Page Styles
   Brand Colors: 
   - Blue: #002F5F
   - Green: #2ECC71
   - Gray: #7F8C8D
   - White: #F9F9F9
   - Black: #1C1C1C
*/

:root {
  --primary: #002f5f;
  --secondary: #2ecc71;
  --text-main: #1c1c1c;
  --text-muted: #7f8c8d;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 96px;

  --border-radius: 8px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-heading);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: #001a36;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #27ae60;
}

.btn-cta {
  background-color: var(--secondary);
  color: #fff;
  font-size: 1.1rem;
  padding: 16px 32px;
  box-shadow: var(--shadow-md);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-whatsapp-header {
  background-color: #25d366;
  color: #fff;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-whatsapp-large {
  background-color: #25d366;
  color: #fff;
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-top: 16px;
}

/* Header */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 48px;
  /* width: auto; Intentionally auto to keep aspect ratio */
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.institutional-brief {
  background: rgba(0, 47, 95, 0.05);
  padding: 24px;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-md);
  border-left: 4px solid var(--primary);
}

.institutional-brief h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.values-list {
  margin-top: 16px;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.values-list li i {
  color: var(--secondary);
  width: 20px;
  height: 20px;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* Simulator Section */
.simulator-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--primary); /* Blue background for contrast */
  color: #fff;
  text-align: center;
}

.section-header h2 {
  color: #fff;
  margin-bottom: 8px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-md);
}

.simulator-card {
  background-color: #fff;
  color: var(--text-main);
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.sim-step {
  display: none; /* Hidden by default */
  animation: fadeIn 0.4s ease;
}

.sim-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sim-step h3 {
  margin-bottom: 24px;
  text-align: center;
}

/* Simulator Inputs */
.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border: 2px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.option-card:hover {
  border-color: var(--primary);
  background-color: #f8faff;
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-card input:checked + .icon {
  color: var(--secondary);
}

.option-card:has(input:checked) {
  border-color: var(--primary);
  background-color: #f0f7ff;
}

.option-card .icon {
  color: var(--text-muted);
  transition: 0.2s;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.radio-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.radio-card {
  padding: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.radio-card:has(input:checked) {
  border-color: var(--secondary);
  background-color: #f0fff4;
}

.radio-card input {
  display: none;
}

.step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.btn-prev {
  background: #eee;
  color: var(--text-muted);
}

.btn-next {
  background-color: var(--primary);
  color: #fff;
  width: 100%;
}

.step-nav .btn-next {
  width: auto;
  flex: 1;
  margin-left: 16px;
}

/* Result Box */
.result-box {
  text-align: center;
}

.result-box p {
  margin-bottom: 16px;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* B2C Section */
.section-b2c {
  padding: var(--spacing-xl) 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pain-point {
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 12px;
  border-left: 4px solid #e74c3c;
  padding-left: 12px;
}

.solution {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.feature-item i {
  color: var(--secondary);
  width: 32px;
  height: 32px;
}

.image-content img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* B2B Section */
.section-b2b {
  padding: var(--spacing-xl) 0;
  background-color: #f4f6f9;
  text-align: center;
}

.section-b2b h2 {
  margin-bottom: 16px;
}

.b2b-models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px auto;
  max-width: 1000px;
}

.model-card {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.model-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.benefits-b2b {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  font-weight: 600;
}

.benefits-b2b i {
  color: var(--secondary);
  vertical-align: middle;
}

/* Partners Section */
.section-partners {
  padding: var(--spacing-xl) 0;
}

.partner-box {
  background-color: var(--primary);
  color: #fff;
  padding: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.partner-text h2 {
  color: #fff;
  margin-bottom: 16px;
}

.steps-list {
  margin: 24px 0;
}

.steps-list li {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.note {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Closing Section */
.closing-section {
  padding: 120px 0;
  background: url("hero-3.png") center/cover no-repeat; /* Reuse a hero image or texture */
  position: relative;
  text-align: center;
  color: #fff;
}

.closing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 47, 95, 0.85); /* Overlay */
}

.closing-section .container {
  position: relative;
  z-index: 1;
}

.closing-section h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 48px;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-cta-large {
  background-color: var(--secondary);
  color: #fff;
  font-size: 1.2rem;
  padding: 18px 48px;
  font-weight: 700;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: #0c1219;
  color: #fff;
  padding: 64px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  height: 40px;
}

.footer-info {
  text-align: right;
  font-size: 0.9rem;
  color: #8b9bb4;
}

.copyright {
  text-align: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .institutional-brief {
    text-align: left;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .image-content {
    order: -1;
  }

  .radio-options,
  .b2b-models,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .partner-box {
    flex-direction: column;
    padding: 32px;
    text-align: center;
  }

  .closing-section h2 {
    font-size: 2rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }
}
