/* ============================================================
   ECREO — Main Stylesheet
   Font: Roboto | Theme: #666699 → #3333cc → #6600cc
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Condensed:wght@400;700&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c1: #666699;
  --c2: #3333cc;
  --c3: #6600cc;
  --grad: linear-gradient(135deg, #666699 0%, #3333cc 55%, #6600cc 100%);
  --grad-light: linear-gradient(135deg, rgba(102,102,153,0.08) 0%, rgba(51,51,204,0.12) 100%);
  --white: #ffffff;
  --off-white: #f7f7fc;
  --text-dark: #12121a;
  --text-mid: #3a3a5c;
  --text-light: #6b6b9a;
  --border: rgba(102,102,153,0.18);
  --shadow-sm: 0 2px 12px rgba(51,51,204,0.08);
  --shadow-md: 0 8px 32px rgba(51,51,204,0.14);
  --shadow-lg: 0 20px 60px rgba(102,0,204,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 50px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.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-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }

/* ── Section Heads ────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c2);
  background: rgba(51,51,204,0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; color: var(--text-mid); max-width: 620px; margin: 0 auto; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 32px;
  max-width: 1300px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--c2);
  background: rgba(51,51,204,0.07);
}
.nav-cta {
  background: var(--grad) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 18px rgba(51,51,204,0.25);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(51,51,204,0.35) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c2);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: white;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--c2); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  animation: float-particle linear infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow span { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse-dot 1.5s ease-in-out infinite; }
.hero h1 { color: white; margin-bottom: 24px; font-size: clamp(2.2rem, 5.5vw, 4rem); }
.hero p { font-size: 1.15rem; opacity: 0.88; margin-bottom: 40px; max-width: 560px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat-item { text-align: left; }
.hero-stat-item .num { font-size: 2.2rem; font-weight: 900; color: white; display: block; }
.hero-stat-item .lbl { font-size: 0.78rem; opacity: 0.72; text-transform: uppercase; letter-spacing: 1.5px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 6px 24px rgba(51,51,204,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(51,51,204,0.45); }
.btn-white {
  background: white;
  color: var(--c2);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn-ghost {
  background: rgba(51,51,204,0.07);
  color: var(--c2);
}
.btn-ghost:hover { background: rgba(51,51,204,0.13); transform: translateY(-1px); }
.btn-sm { padding: 9px 20px; font-size: 0.83rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--grad);
}

.card-body { padding: 24px; }

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c2);
  background: rgba(51,51,204,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

/* Game category card */
.game-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  background: white;
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.game-card:hover::before { transform: scaleX(1); }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.game-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  background: var(--grad-light);
}
.game-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.game-card p { font-size: 0.87rem; color: var(--text-mid); margin-bottom: 20px; }

/* ── Article Card ─────────────────────────────────────────── */
.article-card { border-radius: var(--radius); overflow: hidden; background: white; border: 1px solid var(--border); transition: all var(--transition); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.article-card-body p { font-size: 0.87rem; color: var(--text-mid); flex: 1; }
.article-card-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--text-light); }

/* ── SVG Image Placeholders ───────────────────────────────── */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.img-placeholder svg { width: 100%; height: 100%; }

/* ── Hero Banner Illustration ─────────────────────────────── */
.hero-visual {
  position: relative;
  z-index: 2;
}

/* ── Banner Strip ─────────────────────────────────────────── */
.banner-strip {
  background: var(--grad);
  padding: 60px 0;
  color: white;
  text-align: center;
}
.banner-strip h2 { color: white; margin-bottom: 12px; }
.banner-strip p { opacity: 0.85; max-width: 560px; margin: 0 auto 28px; }

/* ── Stats Band ───────────────────────────────────────────── */
.stats-band { background: var(--off-white); padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-band .grid-4 { text-align: center; }
.stat-item .stat-num { font-size: 2.6rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; line-height: 1; margin-bottom: 6px; }
.stat-item .stat-lbl { font-size: 0.85rem; color: var(--text-mid); font-weight: 500; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.93rem; color: var(--text-mid); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.testimonial-loc { font-size: 0.78rem; color: var(--text-light); }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(51,51,204,0.1);
  background: white;
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter-section { background: var(--grad); padding: 80px 0; }
.newsletter-inner { max-width: 580px; margin: 0 auto; text-align: center; color: white; }
.newsletter-inner h2 { color: white; margin-bottom: 12px; }
.newsletter-inner p { opacity: 0.87; margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: white;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition);
  backdrop-filter: blur(8px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.7); }
.newsletter-form button { flex-shrink: 0; padding: 14px 28px; border-radius: 100px; background: white; color: var(--c2); font-weight: 700; border: none; cursor: pointer; font-family: 'Roboto', sans-serif !important; transition: all var(--transition); }
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ── Rating Stars ─────────────────────────────────────────── */
.star-rating { display: flex; gap: 4px; }
.star { font-size: 1.4rem; color: #d1d5e0; cursor: pointer; transition: color 0.15s, transform 0.15s; }
.star.active, .star:hover { color: #f59e0b; transform: scale(1.1); }

/* ── Tags ─────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.tag-purple { background: rgba(102,0,204,0.1); color: var(--c3); }
.tag-blue { background: rgba(51,51,204,0.1); color: var(--c2); }
.tag-gray { background: var(--off-white); color: var(--text-mid); }

/* ── Alert / Toast ────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: var(--text-dark);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  max-width: 340px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #10b981; }
.toast.error { background: #ef4444; }

/* ── Accordion / FAQ ──────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-icon { font-size: 1.2rem; color: var(--c2); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 22px 18px; font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--grad);
  padding: 120px 0 70px;
  color: white;
  text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 14px; }
.page-hero p { opacity: 0.85; font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; justify-content: center; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep { opacity: 0.5; }

/* ── Content Article ──────────────────────────────────────── */
.article-content { max-width: 780px; margin: 0 auto; }
.article-content h2 { margin: 40px 0 16px; }
.article-content h3 { margin: 28px 0 12px; color: var(--c2); }
.article-content p { margin-bottom: 18px; color: var(--text-mid); line-height: 1.85; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 18px; color: var(--text-mid); }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content blockquote {
  border-left: 4px solid var(--c2);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(51,51,204,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-mid);
}
.article-content .highlight-box {
  background: var(--grad-light);
  border: 1px solid rgba(51,51,204,0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
}

/* ── Tip Box ──────────────────────────────────────────────── */
.tip-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--c2);
  transition: all var(--transition);
}
.tip-box:hover { box-shadow: var(--shadow-md); }
.tip-box-icon { font-size: 1.8rem; margin-bottom: 12px; }
.tip-box h4 { margin-bottom: 8px; }
.tip-box p { font-size: 0.88rem; color: var(--text-mid); }

/* ── Step Cards ───────────────────────────────────────────── */
.step-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.step-num {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-card h4 { margin-bottom: 6px; }
.step-card p { font-size: 0.88rem; color: var(--text-mid); }

/* ── Divider ──────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.divider-grad { height: 2px; background: var(--grad); margin: 40px 0; opacity: 0.3; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #0c0c18;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo {
  font-size: 1.7rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 280px; }
.footer-col h5 { color: white; font-size: 0.88rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}
.footer-social a:hover { background: var(--grad); color: white; transform: translateY(-2px); }

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Progress Bar ─────────────────────────────────────────── */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad); width: 0%; z-index: 9999; transition: width 0.1s; }

/* ── Back to Top ──────────────────────────────────────────── */
.btt {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: white;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  z-index: 800;
}
.btt.show { opacity: 1; transform: translateY(0); }
.btt:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Success message ──────────────────────────────────────── */
.success-msg {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 12px;
  align-items: center;
  gap: 8px;
}
.success-msg.show { display: flex; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes count-up { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.anim-1 { animation: fadeInUp 0.6s ease both; }
.anim-2 { animation: fadeInUp 0.6s 0.15s ease both; }
.anim-3 { animation: fadeInUp 0.6s 0.3s ease both; }
.anim-4 { animation: fadeInUp 0.6s 0.45s ease both; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .form-box { padding: 24px 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Legal pages ─────────────────────────────────────────── */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-block { margin-bottom: 2.5rem; padding: 2rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 4px solid var(--c2); }
.legal-block h2 { color: var(--c2); margin-bottom: 1rem; font-size: 1.2rem; }
.legal-block h4 { margin: 1rem 0 .5rem; font-weight: 600; }
.legal-block ul { padding-left: 1.5rem; }
.legal-block ul li { margin-bottom: .5rem; line-height: 1.7; }
.legal-block p { line-height: 1.8; margin-bottom: .8rem; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.legal-table th, .legal-table td { padding: .75rem 1rem; border: 1px solid #e0e0e0; text-align: left; font-size: .9rem; }
.legal-table th { background: var(--grad); color: #fff; font-weight: 600; }
.legal-table tr:nth-child(even) td { background: #f8f8ff; }

/* ── Contact layout ─────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.contact-items { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; background: #f8f8ff; border-radius: var(--radius); }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; margin-bottom: .25rem; }
.contact-item p { margin: 0; font-size: .95rem; }
.contact-item small { color: #888; font-size: .8rem; }
.info-box { background: linear-gradient(135deg,#f0f0ff,#e8e8ff); border-radius: var(--radius); padding: 1.25rem 1.5rem; border-left: 4px solid var(--c2); }
.info-box h4 { margin: 0 0 .5rem; }
.info-box p { margin: 0; font-size: .9rem; }
.contact-form-wrap .form-card { box-shadow: var(--shadow-md); }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

/* ── Tabs ────────────────────────────────────────────────── */
.tabs-container { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.tabs-nav { display: flex; border-bottom: 2px solid #eee; background: #f8f8ff; }
.tab-btn { flex: 1; padding: .9rem 1rem; border: none; background: none; font-family: 'Roboto', sans-serif; font-size: .95rem; font-weight: 500; color: #666; cursor: pointer; transition: var(--transition); }
.tab-btn.active { color: var(--c2); border-bottom: 3px solid var(--c2); background: #fff; margin-bottom: -2px; }
.tab-content { display: none; padding: 2rem; }
.tab-content.active { display: block; }
.tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tip-item { display: flex; gap: 1rem; align-items: flex-start; }
.tip-num { font-size: 2rem; font-weight: 900; color: var(--c1); opacity: .3; line-height: 1; flex-shrink: 0; }
.tip-item strong { display: block; margin-bottom: .3rem; }
.tip-item p { font-size: .9rem; color: #555; margin: 0; }
@media (max-width: 768px) { .tabs-nav { flex-wrap: wrap; } .tip-grid { grid-template-columns: 1fr; } }

/* ── Review cards ────────────────────────────────────────── */
.review-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid #eee; transition: var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.stars { color: #f59e0b; font-size: 1rem; }

/* ── Feature boxes ───────────────────────────────────────── */
.feature-box { text-align: center; padding: 2rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* ── Forms extras ────────────────────────────────────────── */
.form-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-card h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.radio-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.radio-label { display: flex; align-items: center; gap: .4rem; font-size: .9rem; cursor: pointer; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tag { background: #f0f0ff; color: var(--c2); padding: .2rem .7rem; border-radius: 20px; font-size: .75rem; font-weight: 500; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } .checkbox-grid { grid-template-columns: 1fr; } }

/* ── Styled list ─────────────────────────────────────────── */
.styled-list { padding-left: 0; list-style: none; }
.styled-list li { padding: .6rem 0 .6rem 1.8rem; position: relative; border-bottom: 1px solid #f0f0f0; line-height: 1.7; }
.styled-list li::before { content: '→'; position: absolute; left: 0; color: var(--c2); font-weight: 700; }

/* ── Two col content ─────────────────────────────────────── */
.two-col-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.two-col-content h3 { color: var(--c2); margin: 1.5rem 0 .5rem; }
.two-col-content h3:first-child { margin-top: 0; }
@media (max-width: 768px) { .two-col-content { grid-template-columns: 1fr; } }

/* ── Stats row ───────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat-item { padding: 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-size: 2.2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: .85rem; color: #666; margin-top: .25rem; display: block; }
@media (max-width: 600px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* ── Star rating ─────────────────────────────────────────── */
.star-rating { display: flex; gap: .3rem; font-size: 2rem; cursor: pointer; color: #ddd; }
.star-rating span { transition: color .15s; }
.star-rating span.active, .star-rating span:hover { color: #f59e0b; }
