/* software.css */

/* Variables and Global */
:root {
  --primary-red: #ea333b;
  --primary-blue: #0066ff;
  --primary-green: #39C343;
  --dark-bg: #2b2b2b;
  --text-main: #111111;
  --text-muted: #666666;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: var(--text-main);
  font-family: 'Gabarito', sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================================
   HEADER
========================================= */
.sw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  margin-bottom: 20px;
}

.sw-header .logo img {
  height: 38px;
  width: auto;
}

.sw-nav {
  display: flex;
  gap: 40px;
  margin-left: auto;
  margin-right: 40px;
}

.sw-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  transition: 0.3s;
}

.sw-nav a:hover {
  color: var(--primary-red);
  opacity: 1;
}

/* =========================================
   BUTTONS
========================================= */
.sw-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  margin-top: 15px;
}

.sw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-red {
  background-color: var(--primary-red);
  color: #fff;
}
.btn-white {
  background-color: #fff;
}
.btn-dark {
  background-color: #4a5568;
  color: #fff;
}

.text-green { color: #5B9A42; }
.text-blue { color: #4A90E2; }
.text-red { color: var(--primary-red); }
.text-blue-dark { color: #1e3a8a; }

/* =========================================
   AI CARD HERO
========================================= */
.sw-hero {
  background: #2E2E2E;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 50px;
  color: #fff;
  position: relative;
  overflow: hidden; /* Changed to hidden to contain the image gracefully if needed */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  /* Remove fixed padding so content sizes it */
}

/* Add a wrapper container inside sw-hero to handle text alongside the image */
.sw-hero-content {
  flex: 1;
  z-index: 2;
  padding: 80px 40px 80px 80px; /* Padding only on the text container */
}

.sw-hero h1 {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.sw-hero h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sw-hero p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
  max-width: 90%;
  margin-bottom: 30px;
}

.sw-hero-images {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end; /* Align bottom */
  position: relative;
  z-index: 1;
  padding-right: 40px; /* Space on the right */
}

.img-hero-aicard {
  width: 100%; /* Take up the space in its flex container */
  max-width: 500px; /* Max width to prevent it getting too huge */
  height: auto;
  margin: 0; /* Remove negative margins */
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
  position: relative;
  transform: translateY(20px); /* Slightly push it down if it needs to touch the bottom visually, or remove if flush */
}

/* =========================================
   GRID SECTION
========================================= */
.sw-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

.sw-card {
  border-radius: 20px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.sw-card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sw-card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Revert the bottom padding hack since the image is absolute again */

.fill-height {
  flex: 1;
}

.justify-between {
  justify-content: space-between;
}

.sw-card h3 {
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Golf Card */
.card-golf {
  background-color: #639c4a;
}
.card-golf h3 {
  max-width: 60%;
}

/* ABP Card */
.card-abp {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}
.img-card-abp {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 110%;
  z-index: 1;
  opacity: 0.9;
  mix-blend-mode: screen; /* Enhance the abstract UI look */
}
.abp-actions {
  position: relative;
  z-index: 3;
  margin-top: auto; /* Push the button to the bottom using flex layout */
}

/* MID Card */
.card-mid {
  background: linear-gradient(135deg, #ff4757 0%, #c0392b 100%);
}
.img-card-mid {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 110%;
  z-index: 1;
  opacity: 0.9;
  mix-blend-mode: screen; /* Enhance the abstract UI look */
}
.mid-actions {
  position: relative;
  z-index: 3;
}

/* =========================================
   BENEFITS ROW
========================================= */
.benefits {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 50px 0;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.benefit-text h4 {
  font-size: 15px;
  margin: 0 0 4px 0;
  color: #111;
}

.benefit-text p {
  font-size: 13px;
  margin: 0;
  color: var(--text-muted);
}

/* =========================================
   FULL WIDTH BANNERS
========================================= */
.sw-banner-full {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 60px 80px;
  margin-bottom: 50px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.sw-banner-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center right;
  z-index: 0;
}

.sw-banner-overlay-blue {
  position: absolute;
  top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(90deg, #1e3a8a 20%, rgba(30,58,138,0) 100%);
  z-index: 1;
}

.sw-banner-overlay-red {
  position: absolute;
  top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(90deg, #e60000 20%, rgba(230,0,0,0) 100%);
  z-index: 1;
}

.sw-banner-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.text-white h2, .text-white h3, .text-white p {
  color: #fff;
}

.sw-banner-content h2 {
  font-size: 54px;
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.sw-banner-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 500;
}

.sw-banner-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* =========================================
   FEATURE ROW (ABP)
========================================= */
.sw-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  padding: 40px 0;
  gap: 60px;
}

.sw-feature-image {
  flex: 1;
  text-align: center;
}

.img-abp-system {
  width: 90%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.sw-feature-text {
  flex: 1;
}

.logo-abp {
  height: 48px;
  margin-bottom: 5px;
}

.sw-feature-text h2 {
  font-size: 46px;
  line-height: 1;
  color: #334155;
  margin-bottom: 10px;
}

.sw-feature-text p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 90%;
}

/* =========================================
   FOOTER TWEAKS
========================================= */
.aihome-footer {
  background-color: #2b2b2b;
  color: #fff;
  padding: 60px 0 40px;
  margin-top: 50px;
}

.aihome-footer__inner {
  display: flex;
  justify-content: space-between;
}

.aihome-footer__brand img {
  height: 45px;
  margin-bottom: 20px;
}

.aihome-footer__meta, .aihome-footer__contact {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #bbb;
}

.aihome-footer__copy {
  font-size: 12px;
  color: #777;
  margin-top: 30px;
}
