/* SMARTLINKS LANDING CSS */
/* Font import moved to header.php for performance */

:root {
  --sl-pink: #FFB6C1;
  --sl-dark: #0f1218;
  --sl-light: #ffffff;
  --sl-gray: #f5f7fa;
  --sl-accent: #3b82f6;
  --sl-text-dark: #111827;
  --sl-text-light: #e5e7eb;
}

/* HERO SECTION (Pink) */
.sl-hero {
  background-color: var(--sl-pink);
  color: var(--sl-text-dark);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.sl-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  z-index: 2;
  position: relative;
}

.sl-hero-text {
  max-width: 600px;
}

.sl-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #000;
}

.sl-hero-desc {
  font-size: 1.125rem;
  margin-bottom: 32px;
  color: #333;
  line-height: 1.6;
}

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

.btn-sl-dark {
  background: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-sl-dark:hover {
  transform: translateY(-2px);
  color: #fff;
}

.btn-sl-outline {
  background: transparent;
  color: #000;
  border: 2px solid #000;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-sl-outline:hover {
  background: rgba(0,0,0,0.05);
  color: #000;
}

/* PHONE MOCKUP */
.sl-hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #111;
  border-radius: 40px;
  border: 8px solid #fff;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 10;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #fff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

.phone-screen {
  padding: 60px 20px 20px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.phone-item {
  background: #fff;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #000;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.phone-item:hover {
  transform: scale(1.02);
}

.phone-btn {
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

/* TYPES SECTION (Dark) */
.sl-types {
  background: var(--sl-dark);
  padding: 100px 0;
  color: #fff;
}

.sl-section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
}
.sl-section-title span {
  color: var(--sl-pink); /* Or accent color */
  text-transform: uppercase;
}

.types-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap; /* Force single row */
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.types-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.type-card {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
}

.type-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.type-card:hover .type-img {
  transform: scale(1.05);
}
.type-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-label {
  font-weight: 600;
  font-size: 1.1rem;
}

/* PLATFORMS SECTION (Light) */
.sl-platforms {
  background: var(--sl-light);
  padding: 100px 0;
  color: var(--sl-text-dark);
  text-align: center;
}

.sl-platforms h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #2563eb; /* Blue accent */
}

.sl-platforms p {
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.plat-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}
.plat-circle:hover {
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
.plat-circle svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* STATS SECTION (Dark) */
.sl-stats {
  background: var(--sl-dark);
  padding: 100px 0;
  color: #fff;
}

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

.stats-card {
  background: #1a1d26;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
}

.chart-area {
  height: 200px;
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}
.chart-line {
  width: 100%;
  height: 100%;
}

.stats-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stats-list-title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #9ca3af;
}

.stats-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}
.stats-item:last-child { border-bottom: none; }
.stats-flag { margin-right: 8px; font-size: 1.1rem; }
.stats-val { font-weight: 600; }

/* WHY US SECTION */
.sl-why {
  background: #111;
  padding: 80px 0;
  color: #fff;
  border-top: 1px solid #222;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.why-card {
  background: #1a1d26;
  padding: 30px;
  border-radius: 16px;
  transition: transform 0.3s;
}
.why-card:hover {
  transform: translateY(-5px);
  background: #20242e;
}

.why-icon {
  width: 50px;
  height: 50px;
  background: var(--sl-pink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #000; /* Ensure icon is black for contrast */
}
.why-title { font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
.why-desc { color: #9ca3af; line-height: 1.5; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .sl-hero-content, .stats-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sl-hero-text { margin: 0 auto; }
  .sl-hero-btns { justify-content: center; }
  .sl-hero-phone { margin-top: 40px; }
  .types-grid { justify-content: flex-start; padding: 0 20px 20px; }
  .stats-rows { grid-template-columns: 1fr; gap: 20px; }
}
