/* ==========================================================================
   obayedCRM Page Specific Stylesheet
   ========================================================================== */


/* --- Section Tags & Badges --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(157, 10, 18, 0.08);
  color: var(--primary-color);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(157, 10, 18, 0.2);
  margin-bottom: 15px;
}

.section-tag i {
  font-size: 12px;
}

/* --- Hero Section --- */
.crm-hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
  padding: 70px 0 80px 0;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  overflow: hidden;
}

.crm-hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(157, 10, 18, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.crm-hero-content {
  max-width: 580px;
}

.crm-hero-headline {
  font-family: "Oswald", sans-serif;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #1c1c1c;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.crm-hero-subheadline {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}

.crm-hero-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 35px;
}

.crm-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-crm-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #9d0a12 0%, #1c1c1c 100%);
  color: #ffffff !important;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(157, 10, 18, 0.3);
  text-decoration: none;
}

.btn-crm-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(157, 10, 18, 0.45);
  color: #ffffff;
}

.btn-crm-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #1c1c1c !important;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 6px;
  border: 2px solid #1c1c1c;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-crm-secondary:hover {
  background: #1c1c1c;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.crm-hero-preview {
  position: relative;
}

.crm-browser-mockup {
  background: #1e1e24;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.crm-browser-mockup:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.browser-header {
  background: #141419;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address {
  margin-left: 12px;
  background: #2a2a32;
  color: #a0a0a0;
  font-family: monospace;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  flex: 1;
}

.browser-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating feature badges */
.hero-floating-badge {
  position: absolute;
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -15px;
  right: -15px;
}

.badge-bottom-left {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

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

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(157, 10, 18, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.badge-text strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  color: #1c1c1c;
}

.badge-text span {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: #666;
}

/* --- Value Proposition Section --- */
.value-prop-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

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

.value-prop-header {
  margin-bottom: 20px;
}

.value-prop-headline {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #1c1c1c;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value-prop-subheadline {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}

.value-prop-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #555555;
  margin-bottom: 30px;
}

.value-prop-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #eeeeee;
}

.stat-item {
  text-align: center;
  padding: 15px 10px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eaeaea;
}

.stat-number {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
}

.value-prop-img-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid #e0e0e0;
}

.value-prop-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Core Pillars Section --- */
.core-pillars-section {
  padding: 90px 0;
  background: #f7f7f9;
  border-bottom: 1px solid #e5e5e5;
}

.section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-family: "Oswald", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #1c1c1c;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
}

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

.feature-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 24px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e8e8e8;
  border-top: 4px solid var(--primary-color);
  position: relative;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(157, 10, 18, 0.12);
  border-color: #d0d0d0;
  border-top-color: var(--primary-color);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(157, 10, 18, 0.1) 0%, rgba(157, 10, 18, 0.02) 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-id {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #d0d0d0;
  letter-spacing: 1px;
}

.feature-card-title {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1c1c1c;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #666666;
  flex-grow: 1;
}

/* --- Technical Capabilities Section --- */
.tech-cap-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.tech-cap-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.tech-cap-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.tech-cap-item {
  display: flex;
  gap: 16px;
  background: #fdfdfd;
  padding: 20px 22px;
  border-radius: 8px;
  border: 1px solid #ededed;
  border-left: 4px solid #1c1c1c;
  transition: all 0.3s ease;
}

.tech-cap-item:hover {
  background: #ffffff;
  border-left-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

.tech-cap-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(157, 10, 18, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px;
}

.tech-cap-text {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333333;
}

.tech-cap-text strong {
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  color: #1c1c1c;
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.tech-cap-img-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #dcdcdc;
  position: relative;
}

.tech-cap-img-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Bottom CTA Section --- */
.bottom-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #141419 0%, #1c1c1c 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.bottom-cta-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(157, 10, 18, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.bottom-cta-box {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bottom-cta-headline {
  font-family: "Oswald", sans-serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.bottom-cta-subheadline {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: #d0d0d0;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-light {
  background: #ffffff;
  color: #1c1c1c !important;
  border: 2px solid #ffffff;
}

.btn-cta-light:hover {
  background: transparent;
  color: #ffffff !important;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
  .crm-hero-headline {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
  }

  .section-title {
    font-size: clamp(28px, 3.5vw, 38px);
  }

  .crm-hero-grid,
  .value-prop-grid,
  .tech-cap-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .crm-hero-grid,
  .value-prop-grid,
  .tech-cap-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .crm-hero-headline {
    font-size: clamp(26px, 5vw, 36px);
    line-height: 1.25;
  }
  
  .crm-hero-subheadline {
    font-size: 18px;
  }
  
  .section-title {
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.25;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-floating-badge {
    display: none;
  }
  
  .value-prop-stats {
    grid-template-columns: 1fr;
  }

  .bottom-cta-headline {
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.25;
  }

  .crm-cta-group, .bottom-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-crm-primary, .btn-crm-secondary {
    width: 100%;
  }
}
