/*
Theme Name: LuckyAgain365 Main
Theme URI: https://www.luckyagain365.com/
Author: Hermes Agent
Description: Premium multilingual launch platform theme for LuckyAgain365.
Version: 0.4.0
Text Domain: luckyagain365-main
*/

:root {
  --lag-bg: #f6f9fc;
  --lag-surface: #ffffff;
  --lag-surface-soft: #eef4ff;
  --lag-panel: #f2f6ff;
  --lag-text: #0a2540;
  --lag-muted: #425466;
  --lag-line: #d8e3f0;
  --lag-primary: #635bff;
  --lag-primary-dark: #4b44d8;
  --lag-secondary: #0a7cff;
  --lag-accent: #00d4ff;
  --lag-success: #16b364;
  --lag-shadow: 0 30px 60px -30px rgba(50,50,93,.25), 0 18px 36px -18px rgba(0,0,0,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', Inter, Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(99,91,255,.10), transparent 32%), linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
  color: var(--lag-text);
  line-height: 1.68;
  font-size: 18px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lag-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-shell { max-width: 1180px; margin: 0 auto; padding: 28px 20px 72px; }

.site-header-wrap,
.site-footer-wrap,
.section-card {
  background: var(--lag-surface);
  border: 1px solid var(--lag-line);
  border-radius: 24px;
  box-shadow: var(--lag-shadow);
}
.site-header-wrap,
.site-footer-wrap { padding: 18px 24px; }
.section-card { padding: 34px; margin-bottom: 24px; }

.site-shell header.site-shell,
.site-shell footer.site-shell,
body > header.site-shell,
body > footer.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 0;
}

.eyebrow {
  color: #635bff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
}
.site-branding {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.site-branding strong {
  color: var(--lag-text);
  font-size: 1.2rem;
  letter-spacing: -.01em;
}
.quick-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.quick-nav a {
  color: var(--lag-text);
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.quick-nav a:hover { border-color: #a8b8d3; text-decoration: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}
.hero-copy p,
.section-lead,
.market-card p,
.insight-card p,
.faq-item p,
.article-content p,
.highlight-card p,
.site-footer-wrap p {
  color: var(--lag-muted);
}
.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.9rem);
  line-height: 1.02;
  margin: 10px 0 16px;
  letter-spacing: -0.04em;
  color: var(--lag-text);
  font-weight: 400;
}
.hero-points {
  margin: 20px 0 0;
  padding: 16px 18px;
  list-style: none;
  border: 1px solid var(--lag-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, var(--lag-surface-soft));
}
.hero-points li { margin: 8px 0; color: #1f3b61; }
.hero-media {
  border: 1px solid var(--lag-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  padding: 18px;
  box-shadow: 0 22px 48px -30px rgba(32, 57, 92, .22);
}
.hero-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 38px -28px rgba(32, 57, 92, .25);
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-pill:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--lag-primary), #7a74ff);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(99,91,255,.65);
}
.btn-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--lag-primary);
  font-weight: 700;
  padding: 10px 2px;
}
.btn-text-link:hover { color: var(--lag-primary-dark); }

.metrics-grid,
.cards-grid,
.proof-list,
.post-grid,
.article-highlights,
.solution-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}
.metrics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-item {
  border: 1px solid var(--lag-line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.metric-item strong {
  display: block;
  font-size: 1.7rem;
  color: var(--lag-text);
  margin-bottom: 4px;
}
.metric-item span { color: var(--lag-muted); }

.section-title { margin: 0 0 12px; font-size: 1.85rem; letter-spacing: -0.03em; color: var(--lag-text); }
.cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.market-card,
.insight-card,
.faq-item,
.highlight-card,
.contact-card,
.solution-card,
.proof-card {
  border: 1px solid var(--lag-line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 44px -32px rgba(35, 53, 84, .18);
}
.market-card img,
.insight-card img,
.solution-card img,
.contact-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid #d9e6f4;
  background: linear-gradient(180deg, #ffffff, #edf4ff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.market-card h3,
.insight-card h3,
.faq-item h3,
.highlight-card h2,
.contact-card h2,
.solution-card h2 { margin: 0 0 10px; color: var(--lag-text); }
.market-card h3,
.insight-card h3 {
  font-size: 1.18rem;
  line-height: 1.28;
}
.market-card p,
.insight-card p {
  font-size: 1rem;
}

.proof-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.proof-list li,
.proof-card {
  border: 1px solid var(--lag-line);
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: var(--lag-text);
}

.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card {
  border: 1px solid var(--lag-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 42px -28px rgba(50,50,93,.18);
}
.post-card-body { padding: 16px; }
.post-badge {
  display: inline-block;
  font-size: .78rem;
  color: var(--lag-primary);
  border: 1px solid #d5d8ff;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
  background: #f4f4ff;
}
.post-card h2 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.35; }
.post-card p { margin: 0; color: var(--lag-muted); }
.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-shell { max-width: 1040px; margin: 0 auto 20px; }
.article-title { font-size: clamp(2rem, 3.2vw, 3rem); }
.article-hero img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--lag-line);
  margin: 6px 0 16px;
}
.article-highlights { grid-template-columns: 1fr 1fr; margin: 8px 0 18px; }
.article-content { color: var(--lag-text); font-size: 1.04rem; }
.article-content p { margin: 0 0 15px; }
.article-content img { width: 100%; border-radius: 16px; margin: 10px 0 15px; }

.contact-grid { grid-template-columns: 1fr .95fr; align-items: start; }
.contact-points,
.solution-points { margin: 0; padding-left: 20px; color: #203d63; }
.contact-points li,
.solution-points li { margin-bottom: 8px; }
.contact-chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.contact-chip {
  display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px;
  background: #eef4ff; color: var(--lag-primary); font-weight: 700; border: 1px solid #d5dfff;
}
.solution-grid { grid-template-columns: 1fr 1fr; }
.split-note {
  border-left: 4px solid var(--lag-primary);
  padding-left: 14px;
  color: #244266;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero-grid,
  .metrics-grid,
  .cards-grid,
  .proof-list,
  .post-grid,
  .article-highlights,
  .solution-grid,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .site-shell { padding: 18px 14px 42px; }
  .section-card,
  .site-header-wrap,
  .site-footer-wrap { padding: 22px; border-radius: 18px; }
  .btn-pill { width: 100%; }
  .quick-nav { gap: 12px; }
}
