/* AI-REWRITTEN - Style: masonry-cards-cool */
/* File: themes/ky-sport/style.css */

/* =============================================
   CSS VARIABLES & DESIGN SYSTEM
   ============================================= */
:root {
  --primary:        #2f6df6;
  --primary-dark:   #1e4fc4;
  --primary-light:  #63a4ff;
  --accent:         #16b6a4;
  --bg-dark:        #eef4fb;
  --bg-card:        #fdfefe;
  --bg-card2:       #f3f8ff;
  --bg-header:      #f7fbff;
  --border:         #d7e3f1;
  --border-gold:    rgba(47,109,246,0.28);
  --text-primary:   #17263f;
  --text-secondary: #4a5f7d;
  --text-muted:     #7d8ea8;
  --radius:         10px;
  --radius-lg:      16px;
  --shadow:         0 14px 34px rgba(20,48,92,0.10);
  --shadow-gold:    0 18px 36px rgba(47,109,246,0.18);
  --transition:     0.35s cubic-bezier(.2,.8,.2,1);
  --font-main:      'PingFang SC','Microsoft YaHei','Hiragino Sans GB',sans-serif;
  --header-h:       78px;
  --container:      1320px;
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font-main);
  background: linear-gradient(180deg, #eef4fb 0%, #f6faff 100%);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: 0.01em; }
p  { font-size: 1.02rem; color: var(--text-secondary); }

.gold { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Section heading style */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 {
  color: var(--text-primary);
  margin-bottom: 14px;
}
.section-title h2 span { color: var(--accent); }
.section-title p { color: var(--text-secondary); max-width: 680px; margin: 0 auto; }
.section-title .divider {
  width: 84px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
  margin: 18px auto 0;
  border-radius: 999px;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-dark  { background: var(--bg-dark); }
.section-card  { background: var(--bg-card); }
.section-card2 { background: var(--bg-card2); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-main-sidebar {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 40px;
}
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 10px; }
.gap-4 { gap: 20px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(30,79,196,0.12);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5b47d6);
  color: #f8fbff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #f8fbff;
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  border: 1px solid #b7caf0;
  color: var(--primary);
  background: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--primary);
  color: #f8fbff;
  border-color: var(--primary);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #2f8fdc);
  color: #f8fbff;
}
.btn-accent:hover {
  background: linear-gradient(135deg, #33cab8, #178fc2);
  color: #f8fbff;
  transform: translateY(-3px);
}
.btn-lg { padding: 18px 42px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.78rem; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,255,0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-7px);
  border-color: var(--border-gold);
  box-shadow: 0 24px 48px rgba(34,76,145,0.16);
}
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 24px; }
.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a:hover { color: var(--primary); }
.card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(243,248,255,0.8);
}

/* Post list item */
.post-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.post-item:last-child { border-bottom: none; }
.post-item-thumb {
  width: 112px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(38,73,128,0.12);
}
.post-item-body { flex: 1; min-width: 0; }
.post-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.post-item-title a:hover { color: var(--accent); }
.post-item-meta { font-size: 0.76rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,251,255,0.9);
  border-bottom: 1px solid rgba(215,227,241,0.9);
  height: var(--header-h);
  box-shadow: 0 10px 30px rgba(28,56,104,0.08);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo img { height: 44px; width: auto; }
.site-logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main nav */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: 12px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(47,109,246,0.10);
}
.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--primary), #4c5be8);
  color: #f8fbff !important;
  padding: 10px 22px;
  font-weight: 800;
  border-radius: 14px;
  margin-left: 14px;
  box-shadow: 0 14px 24px rgba(47,109,246,0.18);
}
.main-nav .nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-light), #3a7dff);
  color: #f8fbff !important;
}

/* Search bar in header */
.header-search { position: relative; }
.header-search input {
  background: rgba(243,248,255,0.95);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 42px 10px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  width: 216px;
  transition: all var(--transition);
}
.header-search input:focus {
  outline: none;
  border-color: var(--primary);
  width: 266px;
  box-shadow: 0 0 0 4px rgba(47,109,246,0.10);
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.header-search button:hover { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: all var(--transition);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(239,246,255,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 14px 36px;
  border-radius: 14px;
}
.mobile-nav a:hover { color: var(--primary); background: rgba(47,109,246,0.08); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(99,164,255,0.18) 0%, transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(22,182,164,0.18) 0%, transparent 24%),
    linear-gradient(135deg, #edf5ff 0%, #f8fbff 48%, #eef7ff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(237,245,255,0.84) 0%, rgba(248,251,255,0.48) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(47,109,246,0.10);
  border: 1px solid rgba(47,109,246,0.20);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 { color: var(--text-primary); margin-bottom: 24px; }
.hero h1 span { color: var(--accent); }
.hero p {
  color: var(--text-secondary);
  font-size: 1.14rem;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-btns { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Floating gold particle decoration */
.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -60px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(47,109,246,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  background: rgba(253,254,255,0.9);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .sep { color: #b5c5d9; }
.breadcrumb-list .current { color: var(--text-primary); }

/* =============================================
   FEATURED POSTS (Home)
   ============================================= */
.featured-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  grid-template-rows: auto auto;
  gap: 28px;
}
.featured-main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.featured-main .card-img { aspect-ratio: 5/4; }
.featured-main .card-title { font-size: 1.38rem; }
.featured-main .card-excerpt { -webkit-line-clamp: 4; }

/* Category label */
.cat-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #5a59e6);
  color: #f8fbff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.cat-label-accent { background: linear-gradient(135deg, var(--accent), #2b8fe0); color: #f8fbff; }

/* =============================================
   TICKER / BREAKING NEWS
   ============================================= */
.ticker-bar {
  background: linear-gradient(90deg, #1f57da, #17a6b5);
  color: #f8fbff;
  padding: 12px 0;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 24px; }
.ticker-label {
  font-size: 0.74rem;
  font-weight: 900;
  background: rgba(11,28,61,0.18);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.08em;
}
.ticker-track {
  display: flex;
  gap: 56px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  font-size: 0.84rem;
}
.ticker-track a { color: #f8fbff; }
.ticker-track a:hover { text-decoration: underline; opacity: 0.88; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   APP DOWNLOAD CARDS
   ============================================= */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.app-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,248,255,0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
}
.app-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(38,81,146,0.16);
}
.app-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 18px;
  border-radius: 20px;
}
.app-card h4 { color: var(--primary); font-size: 1.06rem; margin-bottom: 12px; }
.app-card p { font-size: 0.86rem; color: var(--text-secondary); }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.about-content h2 { margin-bottom: 24px; }
.about-content p { color: var(--text-secondary); margin-bottom: 18px; }
.about-features { margin: 32px 0; display: flex; flex-direction: column; gap: 14px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(64, 154, 255, 0.12);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 10px 24px rgba(25, 65, 120, 0.14);
}
.about-feature-text h4 { color: var(--primary); font-size: 1.02rem; margin-bottom: 6px; }
.about-feature-text p { font-size: 0.92rem; margin: 0; line-height: 1.7; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(21, 48, 92, 0.16);
}
.about-img-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: linear-gradient(135deg, #4d7cff 0%, #5b5ff0 100%);
  color: #eef6ff;
  font-weight: 900;
  font-size: 1.05rem;
  width: 112px;
  height: 112px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 18px 38px rgba(58, 92, 190, 0.28);
}

/* =============================================
   FAQ
   ============================================= */
.faq-list { display: flex; flex-direction: column; gap: 18px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(24, 47, 88, 0.08);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  user-select: none;
  letter-spacing: 0.01em;
  transition: color 0.28s ease, background 0.28s ease;
}
.faq-question:hover { color: var(--primary); background: rgba(91, 143, 255, 0.06); }
.faq-question .faq-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #8eb7ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #4d7cff;
  flex-shrink: 0;
  background: rgba(77, 124, 255, 0.08);
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.95;
  border-top: 1px solid rgba(122, 148, 189, 0.22);
}
.faq-item.open .faq-answer { display: block; }

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.partner-card {
  background: linear-gradient(180deg, rgba(241, 248, 255, 0.98) 0%, rgba(231, 243, 249, 0.98) 100%);
  border: 1px solid #b8d8e8;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  box-shadow: 0 14px 30px rgba(25, 57, 108, 0.1);
}
.partner-card:hover { transform: translateY(-7px); box-shadow: 0 22px 42px rgba(30, 70, 130, 0.16); border-color: #77b7da; }
.partner-icon { font-size: 2.35rem; margin-bottom: 14px; }
.partner-name { font-weight: 800; font-size: 1.12rem; color: #3658d6; margin-bottom: 8px; letter-spacing: 0.01em; }
.partner-desc { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }

/* Trust row */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid #bdd8ec;
  padding-top: 34px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(240, 247, 252, 0.96);
  border: 1px solid #b9d4e8;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: .92rem;
  box-shadow: 0 10px 22px rgba(24, 52, 97, 0.08);
}

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

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.widget {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(237, 245, 250, 0.98) 100%);
  border: 1px solid rgba(165, 191, 223, 0.45);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(23, 49, 92, 0.08);
}
.widget-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(165, 191, 223, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(226, 239, 249, 0.52);
}
.widget-header h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0.03em;
}
.widget-header::before {
  content: '';
  display: block;
  width: 5px;
  height: 18px;
  background: linear-gradient(180deg, #46c7d8 0%, #5860f2 100%);
  border-radius: 8px;
}
.widget-body { padding: 20px 22px; }

/* Sidebar search */
.widget-search { display: flex; gap: 10px; }
.widget-search input {
  flex: 1;
  background: rgba(229, 239, 247, 0.9);
  border: 1px solid rgba(149, 177, 204, 0.5);
  color: var(--text-primary);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
}
.widget-search input:focus { outline: none; border-color: #4d7cff; box-shadow: 0 0 0 4px rgba(77, 124, 255, 0.12); }
.widget-search button {
  background: linear-gradient(135deg, #43c6db 0%, #4f74ff 100%);
  color: #eff8ff;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* Category list */
.cat-list { display: flex; flex-direction: column; }
.cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(144, 171, 199, 0.45);
  font-size: 0.92rem;
}
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item a { color: var(--text-secondary); transition: color 0.25s ease, transform 0.25s ease; }
.cat-list-item a:hover { color: var(--primary); transform: translateX(3px); }
.cat-count {
  background: rgba(90, 124, 240, 0.1);
  color: #687a96;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Popular posts widget */
.popular-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(144, 171, 199, 0.42);
}
.popular-item:last-child { border-bottom: none; }
.popular-rank {
  font-size: 1.35rem;
  font-weight: 900;
  color: #aac2d7;
  width: 28px;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 3px;
}
.popular-item:nth-child(1) .popular-rank { color: #4d7cff; }
.popular-item:nth-child(2) .popular-rank { color: #4fc3d9; }
.popular-item:nth-child(3) .popular-rank { color: #7b67e8; }
.popular-img {
  width: 72px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.popular-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.popular-title a:hover { color: var(--primary); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item {
  background: rgba(228, 239, 247, 0.95);
  border: 1px solid rgba(156, 183, 207, 0.48);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.26s ease;
}
.tag-item:hover {
  border-color: #4d7cff;
  color: #3658d6;
  background: rgba(77, 124, 255, 0.1);
  transform: translateY(-2px);
}

/* =============================================
   SINGLE POST
   ============================================= */
.post-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  border-radius: 18px;
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 24, 55, 0.82) 0%, rgba(22, 58, 96, 0.18) 62%, rgba(0, 0, 0, 0) 100%);
}
.post-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
}
.post-header { padding: 46px 0 0; }
.post-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 18px; line-height: 1.15; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(156, 183, 207, 0.38);
}
.post-meta span { display: flex; align-items: center; gap: 8px; }
.post-content {
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 2;
}
.post-content h2, .post-content h3, .post-content h4 {
  color: var(--text-primary);
  margin: 34px 0 14px;
}
.post-content p { margin-bottom: 18px; }
.post-content img {
  max-width: 100%;
  border-radius: 14px;
  margin: 24px 0;
  border: 1px solid rgba(156, 183, 207, 0.4);
  box-shadow: 0 16px 32px rgba(27, 56, 106, 0.1);
}
.post-content a { color: #3658d6; text-decoration: underline; }
.post-content blockquote {
  border-left: 4px solid #4fc3d9;
  padding: 20px 24px;
  background: rgba(227, 240, 247, 0.82);
  border-radius: 0 14px 14px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-secondary);
  box-shadow: 0 10px 24px rgba(20, 51, 98, 0.06);
}
.post-content ul, .post-content ol {
  padding-left: 28px;
  margin: 18px 0;
  list-style: disc;
}
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 10px; color: var(--text-secondary); }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.94rem;
}
.post-content th {
  background: rgba(228, 239, 247, 0.95);
  color: #3658d6;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(156, 183, 207, 0.42);
}
.post-content td {
  padding: 12px 16px;
  border: 1px solid rgba(156, 183, 207, 0.42);
  color: var(--text-secondary);
}

/* Post tags */
.post-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.post-tags-label { font-size: 0.84rem; color: var(--text-muted); font-weight: 700; }

/* Share bar */
.share-bar {
  background: linear-gradient(180deg, rgba(234, 243, 249, 0.95) 0%, rgba(226, 238, 246, 0.95) 100%);
  border: 1px solid rgba(156, 183, 207, 0.42);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0;
  flex-wrap: wrap;
  box-shadow: 0 14px 28px rgba(22, 53, 102, 0.08);
}
.share-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 700; margin-right: 6px; }
.share-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f3fbff;
  display: inline-block;
}
.share-wechat  { background: #1dbf9f; }
.share-weibo   { background: #6c63ff; }
.share-twitter { background: #38a8ff; }
.share-copy    { background: #f1f8fd; border: 1px solid #c4d9ea; color: #69829b; cursor: pointer; }

/* Related posts */
.related-posts { margin-top: 56px; }
.related-posts h3 { margin-bottom: 24px; font-size: 1.2rem; border-left: 4px solid #4fc3d9; padding-left: 14px; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}
.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(156, 183, 207, 0.48);
  color: var(--text-secondary);
  background: rgba(243, 249, 253, 0.96);
  transition: all 0.26s ease;
  box-shadow: 0 10px 20px rgba(24, 52, 98, 0.06);
}
.page-item:hover { border-color: #4d7cff; color: #3658d6; transform: translateY(-2px); }
.page-item.active {
  background: linear-gradient(135deg, #4fc3d9 0%, #5467f1 100%);
  border-color: #5467f1;
  color: #eef8ff;
}
.page-item.disabled { opacity: 0.38; pointer-events: none; }

/* =============================================
   SEARCH PAGE
   ============================================= */
.search-header { padding: 48px 0; border-bottom: 1px solid rgba(156, 183, 207, 0.36); margin-bottom: 42px; }
.search-form-large { display: flex; gap: 14px; max-width: 680px; }
.search-form-large input {
  flex: 1;
  background: rgba(244, 249, 253, 0.98);
  border: 1px solid rgba(156, 183, 207, 0.46);
  color: var(--text-primary);
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 1.04rem;
}
.search-form-large input:focus { outline: none; border-color: #4d7cff; box-shadow: 0 0 0 4px rgba(77, 124, 255, 0.12); }
.search-results-count { font-size: 0.92rem; color: var(--text-muted); margin-top: 14px; }
.search-highlight { color: #3658d6; font-weight: 800; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #eaf2f8;
  border-top: 1px solid rgba(156, 183, 207, 0.42);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(156, 183, 207, 0.4);
}
.footer-brand-text { color: var(--text-secondary); font-size: 0.92rem; margin: 18px 0 24px; line-height: 1.9; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(244, 250, 253, 0.98);
  border: 1px solid rgba(156, 183, 207, 0.46);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  color: var(--text-muted);
  transition: all 0.28s ease;
  box-shadow: 0 10px 20px rgba(22, 52, 99, 0.06);
}
.social-btn:hover { border-color: #4d7cff; color: #3658d6; transform: translateY(-3px); }
.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.04em;
  color: #3658d6;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.26s ease, padding-left 0.26s ease;
}
.footer-links a:hover { color: var(--text-primary); padding-left: 6px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal a:hover { color: #3658d6; }
.footer-beian { margin-top: 8px; font-size: 13px;}
.footer-beian a { color: #7f93a7; text-decoration: none; transition: color 0.3s;}
.footer-beian a:hover { color: #34485f; text-decoration: underline;}

/* Disclaimer bar */
.disclaimer-bar {
  background: rgba(79, 195, 217, 0.08);
  border-top: 1px solid #b7dbe5;
  padding: 14px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   404 PAGE
   ============================================= */
.page-404 {
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-code {
  font-size: 8.8rem;
  font-weight: 900;
  color: #4d7cff;
  line-height: 0.95;
  opacity: 0.18;
}
.error-title { font-size: 2rem; margin-bottom: 14px; }
.error-msg { color: var(--text-muted); margin-bottom: 32px; }

/* =============================================
   STATIC PAGES (about, contact, privacy, terms)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #eef6fb 0%, #dce9f5 55%, #cfdff0 100%);
  padding: 74px 0;
  border-bottom: 1px solid rgba(156, 183, 207, 0.42);
  text-align: center;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); font-size: 1.04rem; }

.content-box {
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98) 0%, rgba(240, 247, 252, 0.98) 100%);
  border: 1px solid rgba(156, 183, 207, 0.42);
  border-radius: 18px;
  padding: 46px;
  box-shadow: 0 18px 38px rgba(23, 50, 95, 0.08);
}
.content-box h2 {
  font-size: 1.42rem;
  color: #3658d6;
  margin: 34px 0 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(156, 183, 207, 0.36);
}
.content-box h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.content-box p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.95; }
.content-box ul { padding-left: 24px; list-style: disc; }
.content-box li { color: var(--text-secondary); margin-bottom: 10px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label { font-size: 0.92rem; font-weight: 700; color: var(--text-secondary); letter-spacing: 0.02em; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: calc(var(--radius) + 4px);
  font-size: 0.96rem;
  line-height: 1.55;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
  box-shadow: 0 10px 24px rgba(34, 58, 94, 0.08);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
  transform: translateY(-1px);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 168px; resize: vertical; }
.form-notice { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* Contact info blocks */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.contact-info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.14);
  border-color: rgba(94, 234, 212, 0.45);
}
.contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(45, 212, 191, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: #0f766e;
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.2);
}
.contact-info-item h5 { font-size: 0.92rem; color: var(--primary); margin-bottom: 6px; letter-spacing: 0.03em; text-transform: uppercase; }
.contact-info-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* =============================================
   CATEGORY PAGE
   ============================================= */
.category-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  margin-bottom: 42px;
  box-shadow: inset 0 -1px 0 rgba(125, 211, 252, 0.08);
}
.category-header h1 { font-size: 2rem; letter-spacing: -0.02em; }
.category-header p { color: var(--text-muted); font-size: 0.98rem; margin-top: 10px; line-height: 1.7; }

.sort-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.sort-bar-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.02em; }
.sort-btn {
  font-size: 0.86rem;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  background: rgba(226, 232, 240, 0.34);
  transition: all var(--transition);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sort-btn:hover, .sort-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 10px 22px rgba(56, 189, 248, 0.14);
  transform: translateY(-2px);
}

/* =============================================
   LOADING / ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.32); }
  50%       { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
}
.pulse { animation: pulse-gold 2.2s infinite; }

/* =============================================
   NOTICE / ALERT
   ============================================= */
.notice {
  padding: 18px 22px;
  border-radius: calc(var(--radius) + 4px);
  font-size: 0.94rem;
  border-left: 4px solid;
  margin-bottom: 24px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.notice-warning {
  background: rgba(20, 184, 166, 0.1);
  border-color: var(--primary);
  color: #0f4c5c;
}
.notice-info {
  background: rgba(96, 165, 250, 0.12);
  border-color: #60a5fa;
  color: #1e3a8a;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4     { grid-template-columns: repeat(2, 1fr); }
  .app-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .grid-main-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-img-wrap { max-width: 540px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-main { grid-row: auto; grid-column: auto; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-search { display: none; }
  .hero { min-height: 520px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .post-hero { height: 268px; }
  .post-hero-content { padding: 24px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero-btns { flex-direction: column; }
  .share-bar { flex-direction: column; align-items: flex-start; }
  .content-box { padding: 28px 22px; }
  .about-img-badge { width: 82px; height: 82px; font-size: 1rem; bottom: -12px; right: -12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  h1 { font-size: 1.9rem; }
  .app-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .app-card { padding: 22px 16px; }
  .error-code { font-size: 5.6rem; }
  .search-form-large { flex-direction: column; }
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =============================================
   SELECTION
   ============================================= */
::selection { background: rgba(56, 189, 248, 0.22); color: var(--text-primary); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #eef6ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 24px 42px rgba(79, 70, 229, 0.3); }

/* =============================================
   style-supplement.css
   Bổ sung cho style.css — app.php / login.php / signup.php
   ============================================= */


/* =============================================
   APP PAGE — app.php
   ============================================= */

.app-hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf4ff 0%, #f6fbff 46%, #ecf7f7 100%);
  text-align: center;
}
.app-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 68%);
  pointer-events: none;
}
.app-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: 0 10px 22px rgba(99, 102, 241, 0.08);
}
.app-hero h1 { color: var(--text-primary); margin-bottom: 20px; }
.app-hero h1 span { color: var(--primary); }
.app-hero-sub {
  color: var(--text-secondary);
  font-size: 1.12rem;
  max-width: 580px;
  margin: 0 auto 46px;
  line-height: 1.75;
}

/* Download buttons */
.dl-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 34px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.98rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}
.dl-btn-android {
  background: linear-gradient(135deg, #14b8a6, #4f46e5);
  color: #f4fbff;
  border: none;
}
.dl-btn-android:hover {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #f4fbff;
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.24);
}
.dl-btn-ios {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(56, 189, 248, 0.34);
  color: var(--primary);
}
.dl-btn-ios:hover {
  background: rgba(56, 189, 248, 0.09);
  border-color: #38bdf8;
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(56, 189, 248, 0.14);
}
.dl-btn-icon { font-size: 1.6rem; line-height: 1; }
.dl-btn-text-wrap { text-align: left; }
.dl-btn-sub { font-size: 0.74rem; font-weight: 500; opacity: 0.82; display: block; letter-spacing: 0.04em; }
.dl-btn-main { font-size: 1.02rem; font-weight: 900; display: block; }

/* Hero stats */
.app-hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  flex-wrap: wrap;
}
.app-hero-stat { text-align: center; }
.app-hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.app-hero-stat-label { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* App mockup section */
.app-mockup-section {
  padding: 72px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.app-mockup-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.app-mockup-text h2 { margin-bottom: 20px; }
.app-mockup-text h2 span { color: var(--primary); }
.app-mockup-text p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1rem; line-height: 1.8; }
.app-features-list { display: flex; flex-direction: column; gap: 18px; }
.app-feature-row { display: flex; align-items: flex-start; gap: 14px; }
.app-feature-check {
  width: 26px;
  height: 26px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  color: #0f766e;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 8px 18px rgba(45, 212, 191, 0.14);
}
.app-feature-row p { font-size: 0.92rem; color: var(--text-secondary); margin: 0; line-height: 1.7; }
.app-feature-row strong { color: var(--text-primary); }

/* Phone visual */
.phone-visual { display: flex; justify-content: center; gap: 30px; }
.phone-frame {
  width: 176px;
  background: var(--bg-card2);
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(56, 189, 248, 0.14);
  position: relative;
}
.phone-frame.large { width: 206px; }
.phone-notch {
  height: 28px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch::after {
  content: '';
  width: 68px;
  height: 12px;
  background: #93c5fd;
  border-radius: 0 0 12px 12px;
}
.phone-screen {
  background: linear-gradient(160deg, #f8fdff 0%, #e8f3fb 100%);
  padding: 14px;
  min-height: 312px;
}
.phone-screen-header {
  background: linear-gradient(135deg, #14b8a6, #6366f1);
  border-radius: 10px;
  height: 32px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.phone-screen-header span { font-size: 0.58rem; font-weight: 900; color: #eff6ff; letter-spacing: 0.08em; }
.phone-screen-card {
  background: #fdfefe;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  height: 62px;
  margin-bottom: 10px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
}
.phone-screen-img {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #bfdbfe, #d1fae5);
  border-radius: 8px;
  flex-shrink: 0;
}
.phone-screen-lines { flex: 1; }
.phone-screen-line { height: 6px; border-radius: 999px; margin-bottom: 6px; }
.phone-screen-line.gold { background: rgba(99, 102, 241, 0.55); width: 70%; }
.phone-screen-line.gray { background: #cbd5e1; width: 50%; }
.phone-bottom {
  height: 24px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-home-bar { width: 56px; height: 5px; background: #94a3b8; border-radius: 999px; }

/* QR section */
.qr-section { padding: 72px 0; background: var(--bg-dark); }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}
.qr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #2dd4bf, transparent);
}
.qr-card:hover {
  border-color: rgba(56, 189, 248, 0.42);
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(30, 41, 59, 0.14);
}
.qr-icon { font-size: 2.7rem; margin-bottom: 14px; color: #6366f1; }
.qr-card h4 { color: var(--primary); font-size: 1.08rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.qr-card p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.qr-box {
  width: 122px;
  height: 122px;
  background: #f1faff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.12);
}
.qr-btn {
  display: inline-block;
  padding: 11px 26px;
  background: linear-gradient(135deg, #14b8a6, #4f46e5);
  color: #eef6ff;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 10px;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(79, 70, 229, 0.18);
}
.qr-btn:hover {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #eef6ff;
  transform: translateY(-3px);
}

/* Install steps */
.install-section {
  padding: 72px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.install-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 46px;
}
.install-tab {
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(241, 245, 249, 0.8);
  letter-spacing: 0.02em;
}
.install-tab.active,
.install-tab:hover {
  background: linear-gradient(135deg, #14b8a6, #4f46e5);
  color: #f4fbff;
  border-color: #38bdf8;
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.18);
  transform: translateY(-2px);
}
.install-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.install-step { text-align: center; position: relative; background: rgba(248, 250, 252, 0.92); padding: 26px 18px; border-radius: 16px; box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06); }
.install-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 34px;
  color: #94a3b8;
  font-size: 1.3rem;
}
.step-num {
  width: 68px;
  height: 68px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0 auto 18px;
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.12);
}
.install-step h4 { font-size: 0.98rem; color: var(--text-primary); margin-bottom: 8px; }
.install-step p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }

/* App FAQ */
.app-faq { padding: 78px 0; background: var(--bg-dark); }


/* =============================================
   AUTH SHARED — login.php + signup.php
   ============================================= */

.auth-page { min-height: 100vh; display: flex; flex-direction: column; }

/* Left branding panel */
.auth-left {
  background: linear-gradient(155deg, #e6eef7 0%, #f4f8fc 38%, #dde7f4 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
}
.auth-left::before {
  content: '';
  position: absolute;
  left: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61, 130, 246, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.auth-left::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 110, 240, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.auth-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 81, 142, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 81, 142, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.auth-left-content { position: relative; z-index: 2; }
.auth-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 56px; }
.auth-brand-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  color: #eef7ff;
  box-shadow: 0 16px 34px rgba(41, 108, 196, 0.28);
}
.auth-brand-name { font-size: 1.55rem; font-weight: 900; color: var(--primary); letter-spacing: 0.03em; }
.auth-headline {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.auth-headline span { color: var(--primary); }
.auth-sub {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 56px;
  max-width: 500px;
}

/* Left panel feature list (login) */
.auth-features { display: flex; flex-direction: column; gap: 18px; }
.auth-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  background: rgba(245, 250, 255, 0.78);
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(35, 73, 128, 0.08);
  backdrop-filter: blur(2px);
}
.auth-feature-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 999px; flex-shrink: 0; }

/* Left panel benefits list (signup) */
.auth-benefits { display: flex; flex-direction: column; gap: 16px; }
.auth-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(246, 251, 255, 0.82);
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(33, 72, 125, 0.08);
}
.auth-benefit-icon {
  width: 38px;
  height: 38px;
  background: rgba(73, 169, 216, 0.14);
  border: 1px solid rgba(73, 169, 216, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: #2f7fa7;
}
.auth-benefit-text h5 { font-size: 0.92rem; color: var(--primary); margin-bottom: 4px; font-weight: 800; letter-spacing: 0.01em; }
.auth-benefit-text p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* Left panel deco footer */
.auth-left-deco { position: absolute; bottom: 36px; left: 72px; right: 72px; z-index: 2; }
.auth-deco-bar { height: 2px; background: linear-gradient(90deg, var(--primary), rgba(93, 154, 215, 0)); margin-bottom: 14px; border-radius: 999px; }
.auth-deco-text { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 1.8px; text-transform: uppercase; }

/* Right form panel */
.auth-right {
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 46px;
  overflow-y: auto;
}
.auth-form-wrap {
  width: 100%;
  max-width: 392px;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.94), rgba(238, 246, 252, 0.96));
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(28, 59, 104, 0.14);
  border: 1px solid rgba(166, 196, 222, 0.5);
}
.auth-form-header { margin-bottom: 36px; }
.auth-form-header h2 { font-size: 1.85rem; font-weight: 900; color: var(--text-primary); margin-bottom: 8px; letter-spacing: -0.02em; }
.auth-form-header p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.7; }

/* Form fields */
.auth-form { display: flex; flex-direction: column; gap: 22px; }
.auth-field { display: flex; flex-direction: column; gap: 8px; }
.auth-label { font-size: 0.8rem; font-weight: 800; color: var(--text-secondary); letter-spacing: 0.09em; text-transform: uppercase; }
.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%;
  background: #f4f9fd;
  border: 1px solid #c6d8e8;
  color: var(--text-primary);
  padding: 15px 48px 15px 16px;
  border-radius: 12px;
  font-size: 0.98rem;
  transition: border-color 0.28s, box-shadow 0.28s, background 0.28s, transform 0.28s;
  font-family: var(--font-main);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.auth-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #f7fcff;
  box-shadow: 0 0 0 4px rgba(71, 148, 226, 0.14), 0 12px 28px rgba(45, 95, 161, 0.08);
  transform: translateY(-1px);
}
.auth-input.valid  { border-color: #2fbf9f; }
.auth-input.invalid { border-color: #6b7cff; }
.auth-input::placeholder { color: #8ca0b8; }
.auth-input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  color: #7f95ad;
  pointer-events: none;
}
.auth-input-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #7f95ad;
  font-size: 0.9rem;
  padding: 0;
  transition: color 0.24s, transform 0.24s;
}
.auth-input-toggle:hover { color: var(--primary); transform: translateY(-50%) scale(1.08); }
.auth-field-hint  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.auth-field-error { font-size: 0.78rem; color: #5969d8; display: none; }

/* Remember / forgot row */
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.auth-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.auth-forgot { font-size: 0.84rem; color: var(--primary); text-decoration: none; transition: opacity 0.24s, color 0.24s; font-weight: 700; }
.auth-forgot:hover { opacity: 0.82; color: var(--primary-light); }

/* Submit button */
.auth-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #eef7ff;
  font-weight: 900;
  font-size: 1.02rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.26s, box-shadow 0.26s, background 0.26s;
  font-family: var(--font-main);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(49, 103, 186, 0.26);
}
.auth-submit:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(42, 95, 178, 0.3);
}
.auth-submit:active { transform: translateY(0); }

/* Divider */
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: #d1dfeb; }

/* Social login buttons */
.auth-social { display: flex; gap: 12px; }
.auth-social-btn {
  flex: 1;
  padding: 13px;
  background: #f4f9fd;
  border: 1px solid #c9d9e8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s, background 0.25s;
  font-family: var(--font-main);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(34, 72, 126, 0.06);
}
.auth-social-btn:hover {
  border-color: #6eb6de;
  color: var(--primary);
  background: #f8fcff;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(34, 82, 146, 0.12);
}

/* Switch link */
.auth-switch { text-align: center; font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.auth-switch a { color: var(--primary); font-weight: 800; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; color: var(--primary-light); }

/* Notice / alert */
.auth-notice { padding: 13px 16px; border-radius: 12px; font-size: 0.84rem; display: none; line-height: 1.6; }
.auth-notice.error  { background: rgba(107, 124, 255, 0.1);  border: 1px solid rgba(107, 124, 255, 0.28);  color: #5060cf; display: block; }
.auth-notice.success { background: rgba(47, 191, 159, 0.1); border: 1px solid rgba(47, 191, 159, 0.28); color: #1f8f78; display: block; }


/* =============================================
   SIGNUP SPECIFIC — signup.php
   ============================================= */

/* Signup layout wider right panel */
.auth-main-signup { grid-template-columns: 1fr 560px; }
.auth-form-wrap-wide { max-width: 430px; }

/* Progress steps */
.reg-steps { display: flex; align-items: center; gap: 0; margin-bottom: 34px; }
.reg-step { flex: 1; text-align: center; position: relative; }
.reg-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  right: -50%;
  width: 100%;
  height: 3px;
  background: #cfdeeb;
  z-index: 0;
  border-radius: 999px;
}
.reg-step.done:not(:last-child)::after,
.reg-step.active:not(:last-child)::after { background: var(--primary); }
.reg-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef5fb;
  border: 2px solid #c7d8e7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 900;
  color: var(--text-muted);
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  box-shadow: 0 8px 18px rgba(44, 84, 137, 0.08);
}
.reg-step.active .reg-step-circle { background: var(--primary); border-color: var(--primary); color: #f2fbff; }
.reg-step.done  .reg-step-circle { background: rgba(84, 202, 182, 0.12); border-color: #45b8a3; color: #24927d; }
.reg-step-label { font-size: 0.74rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.reg-step.active .reg-step-label { color: var(--primary); font-weight: 800; }

/* Phone prefix row */
.phone-row { display: flex; gap: 10px; }
.phone-prefix {
  width: 92px;
  flex-shrink: 0;
  background: #f4f9fd;
  border: 1px solid #c6d8e8;
  color: var(--text-secondary);
  padding: 15px 12px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-family: var(--font-main);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.phone-prefix:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(71, 148, 226, 0.12); background: #f8fcff; }
.phone-row .auth-input-wrap { flex: 1; }

/* Verify code row */
.verify-row { display: flex; gap: 12px; }
.verify-row .auth-input-wrap { flex: 1; }
.verify-btn {
  white-space: nowrap;
  padding: 0 18px;
  background: #eef6fb;
  border: 1px solid #c7d9e8;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-main);
  box-shadow: 0 10px 24px rgba(36, 76, 130, 0.06);
}
.verify-btn:hover:not(:disabled) { border-color: var(--primary); background: rgba(82, 160, 227, 0.1); transform: translateY(-1px); }
.verify-btn:disabled { opacity: 0.5; cursor: not-allowed; color: var(--text-muted); }

/* Password strength meter */
.pwd-strength { margin-top: 8px; }
.pwd-strength-bar { display: flex; gap: 6px; margin-bottom: 6px; }
.pwd-strength-seg { flex: 1; height: 4px; background: #d2dfeb; border-radius: 999px; transition: background 0.3s; }
.pwd-strength-label { font-size: 0.74rem; color: var(--text-muted); }

/* Agreement checkbox */
.auth-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.auth-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
}
.auth-agree a { color: var(--primary); text-decoration: none; font-weight: 700; }
.auth-agree a:hover { text-decoration: underline; color: var(--primary-light); }


/* =============================================
   AUTH RESPONSIVE
   ============================================= */

/* Login: 2-col layout */
.auth-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  min-height: calc(100vh - 72px);
}

@media (max-width: 900px) {
  .auth-main { grid-template-columns: 1fr; }
  .auth-left  { display: none; }
  .auth-right { border-left: none; min-height: calc(100vh - 60px); }
}

/* App page responsive */
@media (max-width: 768px) {
  .app-mockup-grid    { grid-template-columns: 1fr; gap: 44px; }
  .qr-grid            { grid-template-columns: 1fr; }
  .install-steps      { grid-template-columns: repeat(2, 1fr); }
  .install-step:nth-child(2)::after { display: none; }
  .app-hero-stats     { gap: 30px; }
  .phone-visual       { gap: 16px; }
  .phone-frame        { width: 138px; }
  .phone-frame.large  { width: 162px; }
  .auth-right         { padding: 34px 22px; }
}

@media (max-width: 480px) {
  .install-steps             { grid-template-columns: 1fr; }
  .install-step::after       { display: none !important; }
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, #edf5fb 0%, #dbe7f3 50%, #eef7fc 100%);
  border-top: 1px solid #78b8da;
  border-bottom: 1px solid #78b8da;
  padding: 74px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66, 145, 226, 0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner > .container { position: relative; z-index: 2; }
.cta-badge { margin-bottom: 24px; }
.cta-title { margin-bottom: 16px; }
.cta-desc {
  color: var(--text-secondary);
  margin: 0 auto 34px;
  max-width: 620px;
  line-height: 1.85;
}
.cta-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-banner { padding: 56px 0; }
  .cta-btns { flex-direction: column; align-items: stretch; max-width: 300px; margin: 0 auto; }
}