/* Android SEO hub & sub-pages — AI services color theme */
:root {
  --aseo-bg: #ffffff;
  --aseo-bg-subtle: #fafbfc;
  --aseo-title: #0b1f33;
  --aseo-text: #5c6578;
  --aseo-text-muted: #6b7280;
  --aseo-green: #0d9f6e;
  --aseo-green-soft: #e8f6f0;
  --aseo-green-icon: #12a366;
  --aseo-border: #dce8e4;
  --aseo-border-hover: #b8dcc8;
  --aseo-link: #2563eb;
  --aseo-link-hover: #1d4ed8;
  --aseo-shadow: 0 2px 12px rgba(11, 31, 51, 0.06);
  --aseo-shadow-hover: 0 8px 28px rgba(11, 31, 51, 0.08);
}

#preloader { position: fixed; inset: 0; z-index: 9999; background: #fff; }
#preloader.loaded,
#preloader .loaded { pointer-events: none; }
.container-preloader { align-items: center; display: flex; height: 100%; justify-content: center; }
.container-preloader .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e0e8f4;
  border-top-color: var(--aseo-link);
  border-radius: 50%;
  animation: ios-seo-spin 0.8s linear infinite;
}
@keyframes ios-seo-spin { to { transform: rotate(360deg); } }
.loaded .animation-preloader { opacity: 0; transition: 0.3s; }

.ios-seo-page {
  background: var(--aseo-bg);
  min-height: 60vh;
}

.ios-seo-page-head {
  padding: 36px 0 28px;
  background: var(--aseo-bg);
}
.ios-seo-page-head .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.ios-seo-breadcrumb {
  font-size: 13px;
  color: var(--aseo-text-muted);
  margin-bottom: 14px;
}
.ios-seo-breadcrumb a {
  color: var(--aseo-link);
  text-decoration: none;
}
.ios-seo-breadcrumb a:hover { text-decoration: underline; }
.ios-seo-page-head h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--aseo-title);
  line-height: 1.2;
  margin: 0 0 14px;
  max-width: 820px;
}
.ios-seo-page-head h1 em {
  font-style: normal;
  color: var(--aseo-title);
}
.ios-seo-page-head .lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--aseo-text-muted);
  max-width: 720px;
  margin: 0;
}

.ios-seo-detail {
  padding: 0 0 40px;
}
.ios-seo-detail .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.ios-seo-detail-panel {
  background: var(--aseo-bg);
  border: 1px solid var(--aseo-border);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: var(--aseo-shadow);
}
.ios-seo-detail-panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--aseo-title);
  margin: 0 0 16px;
}
.ios-seo-detail-panel .answer {
  font-size: 15px;
  line-height: 1.75;
  color: var(--aseo-text);
  margin-bottom: 20px;
}
.ios-seo-detail-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.ios-seo-detail-panel ul li {
  font-size: 14.5px;
  color: var(--aseo-text);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.ios-seo-detail-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aseo-green);
}
.ios-seo-faq-mini {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--aseo-border);
}
.ios-seo-faq-mini h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--aseo-title);
  margin: 0 0 12px;
}
.ios-seo-faq-mini p {
  font-size: 14px;
  color: var(--aseo-text-muted);
  line-height: 1.65;
  margin: 0 0 12px;
}
.ios-seo-faq-mini strong { color: var(--aseo-title); }

.ios-seo-services {
  padding: 48px 0 64px;
  margin-bottom: 30px;
  background: var(--aseo-bg);
}
.ios-seo-services .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section header — matches AI services hub */
.ios-seo-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.ios-seo-overline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aseo-green);
  margin: 0 0 18px;
}
.ios-seo-overline .line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--aseo-green);
  border-radius: 2px;
  flex-shrink: 0;
}
.ios-seo-section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 700;
  color: var(--aseo-title);
  line-height: 1.15;
  margin: 0 0 16px;
}
.ios-seo-section-desc {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--aseo-text-muted);
  margin: 0;
}

#ios-seo-grid-mount {
  margin: 16px 0 40px;
}
#ios-seo-grid-mount .ios-seo-services {
  background: var(--aseo-bg);
  border-radius: 0;
  padding: 40px 0 48px;
  margin-bottom: 0;
  border: none;
  box-shadow: none;
}
.ios-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ios-seo-card {
  display: flex;
  flex-direction: column;
  background: var(--aseo-bg);
  border: 1px solid var(--aseo-border);
  border-radius: 16px;
  padding: 28px 28px 24px;
  min-height: 200px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--aseo-shadow);
}
.ios-seo-card:hover {
  transform: translateY(-3px);
  border-color: var(--aseo-border-hover);
  box-shadow: var(--aseo-shadow-hover);
  color: inherit;
  text-decoration: none;
}
.ios-seo-card.is-current {
  border-color: var(--aseo-green);
  box-shadow: 0 4px 20px rgba(13, 159, 110, 0.12);
}
.ios-seo-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--aseo-green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--aseo-green-icon);
  font-size: 22px;
  flex-shrink: 0;
}
.ios-seo-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--aseo-title);
  line-height: 1.3;
  margin: 0 0 12px;
}
.ios-seo-card .desc {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--aseo-text-muted);
  margin: 0 0 auto;
  flex: 1;
}
.ios-seo-card .view-link {
  display: inline-block;
  margin-top: 20px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--aseo-link);
  transition: color 0.2s;
}
.ios-seo-card:hover .view-link { color: var(--aseo-link-hover); }

.ios-seo-cta-bar {
  max-width: 1240px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.ios-seo-cta-inner {
  background: linear-gradient(135deg, #2040b0 0%, #3358d4 50%, #4568e8 100%);
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ios-seo-cta-inner h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.ios-seo-cta-inner p {
  color: rgba(210, 225, 255, 0.9);
  margin: 0;
  font-size: 15px;
}
.ios-seo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: #fff;
  color: #1a3070;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
.ios-seo-cta-btn:hover {
  color: #1a3070;
  transform: translateY(-2px);
}

@media (max-width: 1023px) {
  .ios-seo-grid { grid-template-columns: repeat(2, 1fr); }
  .ios-seo-detail-panel ul { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ios-seo-grid { grid-template-columns: 1fr; }
  .ios-seo-cta-inner { flex-direction: column; align-items: flex-start; }
}
