/* ── Tiktim Design System ── Light Modern Theme ──────────────── */
:root {
  --accent:    #5C53D3;
  --accent-l:  #7A73E0;
  --accent-2:  #2BBDE4;
  --accent-3:  #FF6B9D;
  --bg:        #FFFFFF;
  --bg-2:      #F7F6FD;
  --bg-3:      #EEEEFF;
  --surface:   #FFFFFF;
  --border:    #E8E6F4;
  --border-h:  #C4C0E6;
  --txt:       #1C1940;
  --txt-2:     #6B6882;
  --txt-3:     #A49FC0;
  --shadow:    0 4px 24px rgba(92,83,211,.08);
  --shadow-lg: 0 12px 48px rgba(92,83,211,.12);
  --r:         16px;
  --r-sm:      10px;
  --r-pill:    999px;
  --font:      'Inter', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--txt); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, textarea, button, select { font-family: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-pill);
  font: 600 14px/1 var(--font); cursor: pointer; border: none;
  transition: transform .22s, box-shadow .22s, background .22s, color .22s;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(92,83,211,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(92,83,211,.45); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--txt-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-2); color: var(--txt); border-color: var(--border-h); }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 16px 0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s, box-shadow .3s;
}
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 900; letter-spacing: -.4px; flex-shrink: 0; }
.nav-logo img { width: 32px; height: 32px; }
.nav-logo .logo-text { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--txt-2); padding: 7px 14px; border-radius: var(--r-sm); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: rgba(92,83,211,.07); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 11px; cursor: pointer; color: var(--txt); }

/* ── Section utilities ───────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.8px; color: var(--accent); margin-bottom: 12px;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(26px, 4vw, 44px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.12; margin-bottom: 14px; color: var(--txt); }
.section-sub { font-size: 16px; color: var(--txt-2); line-height: 1.75; max-width: 500px; }
.section-hd { margin-bottom: 60px; }
.section-hd.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.gradient-text { color: var(--accent); }

/* ── Page Header (inner pages) ───────────────────────────────── */
.page-hero {
  background: #F7F5FF;
  padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: -2px; color: var(--txt); margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: var(--txt-2); max-width: 540px; margin: 0 auto; line-height: 1.75; }

/* ── Logos strip ─────────────────────────────────────────────── */
.logos-section { padding: 52px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--txt-3); margin-bottom: 28px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 56px; }
.logos-row img { height: 24px; width: auto; opacity: .3; filter: grayscale(1); transition: opacity .3s; }
.logos-row img:hover { opacity: .6; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(92,83,211,.2); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(92,83,211,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px; margin-bottom: 18px;
}
.card-icon img { width: 22px; height: 22px; }

/* ── Feature rows ────────────────────────────────────────────── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .feature-visual { order: -1; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm);
  transition: background .22s, border-color .22s;
}
.feature-item:hover { background: #fff; border-color: rgba(92,83,211,.25); box-shadow: var(--shadow); }
.fi-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: rgba(92,83,211,.08); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 15px; }
.fi-body h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; color: var(--txt); }
.fi-body p { font-size: 13px; color: var(--txt-2); line-height: 1.6; }
.feature-visual { position: relative; }
.feature-visual img { border-radius: 20px; box-shadow: 0 20px 60px rgba(92,83,211,.14); mix-blend-mode: multiply; }

/* ── CTA card ────────────────────────────────────────────────── */
.cta-card {
  background: var(--accent); border-radius: 24px;
  padding: 80px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta-card::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 900; letter-spacing: -1.5px; color: #fff; margin-bottom: 14px; }
.cta-card p { font-size: 16px; color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto 32px; line-height: 1.75; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-white { background: #fff; color: var(--accent); font-weight: 700; border: none; }
.btn-white:hover { background: var(--bg-2); transform: translateY(-2px); }
.btn-white-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-white-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── Testimonials ────────────────────────────────────────────── */
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.t-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 26px; transition: transform .28s, box-shadow .28s; display: flex; flex-direction: column; }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.t-stars { display: flex; gap: 3px; color: #F5C518; font-size: 12px; margin-bottom: 12px; }
.t-title { font-size: 15px; font-weight: 700; color: var(--txt); margin-bottom: 8px; }
.t-text { font-size: 13px; color: var(--txt-2); line-height: 1.72; flex: 1; margin-bottom: 18px; }
.t-author { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: 14px; }
.t-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.t-name { font-size: 13px; font-weight: 600; color: var(--txt); }
.t-loc { font-size: 11px; color: var(--txt-3); margin-top: 1px; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--txt-2); line-height: 1.75; max-width: 240px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--txt-2); font-size: 13px; transition: all .22s; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(92,83,211,.06); }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--txt); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--txt-2); transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 13px; color: var(--txt-3); }
.footer-bottom a { color: var(--accent); }
.footer-stores { display: flex; gap: 12px; }
.footer-stores a { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--txt); transition: all .22s; }
.footer-stores a:hover { border-color: var(--accent); color: var(--accent); }
.footer-stores img { height: 22px; width: auto; }

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Form ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--txt); margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%; padding: 11px 16px; font-size: 14px; color: var(--txt);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(92,83,211,.12); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--txt); user-select: none; transition: background .2s; }
.faq-q:hover { background: var(--bg-2); }
.faq-q i { color: var(--accent); font-size: 14px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 22px 18px; font-size: 14px; color: var(--txt-2); line-height: 1.75; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 36px 32px; position: relative; box-shadow: var(--shadow); }
.pricing-card.popular { border-color: var(--accent); box-shadow: 0 8px 40px rgba(92,83,211,.18); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 16px; border-radius: var(--r-pill);
}
.pricing-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.pricing-desc { font-size: 13px; color: var(--txt-2); margin-bottom: 20px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.pricing-currency { font-size: 22px; font-weight: 700; color: var(--txt); }
.pricing-amount { font-size: 52px; font-weight: 900; letter-spacing: -3px; line-height: 1; color: var(--txt); }
.pricing-period { font-size: 14px; color: var(--txt-2); }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--txt); }
.pricing-feature i.check { color: var(--accent); font-size: 13px; }
.pricing-feature i.cross { color: var(--txt-3); font-size: 13px; }
.pricing-feature.muted { color: var(--txt-3); }

/* ── Team ────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .28s, box-shadow .28s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 20px; text-align: center; }
.team-name { font-size: 15px; font-weight: 700; color: var(--txt); margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--txt-2); line-height: 1.65; margin-bottom: 14px; }
.team-socials { display: flex; justify-content: center; gap: 8px; }
.team-socials a { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--txt-2); transition: all .2s; }
.team-socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Press cards ─────────────────────────────────────────────── */
.press-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.press-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .28s, box-shadow .28s; }
.press-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.press-pub { background: var(--accent); color: #fff; padding: 12px 20px; font-size: 14px; font-weight: 700; }
.press-body { padding: 20px; }
.press-title { font-size: 15px; font-weight: 700; color: var(--txt); margin-bottom: 8px; }
.press-excerpt { font-size: 13px; color: var(--txt-2); line-height: 1.65; margin-bottom: 14px; }
.press-link { font-size: 13px; font-weight: 600; color: var(--accent); }
.press-link:hover { text-decoration: underline; }
.press-date { font-size: 11px; color: var(--txt-3); margin-top: 8px; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.ci-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(92,83,211,.08); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 16px; flex-shrink: 0; }
.ci-title { font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 2px; }
.ci-val { font-size: 14px; color: var(--txt-2); }
.social-icons { display: flex; gap: 10px; }
.social-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--txt-2); font-size: 15px; transition: all .22s; }
.social-icon:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Store buttons ───────────────────────────────────────────── */
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 18px; transition: all .22s; }
.store-btn:hover { border-color: var(--accent); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.store-btn img { height: 26px; width: auto; }

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-visual { order: 0; }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .press-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open { display: flex; flex-direction: column; width: 100%; padding: 8px 0; border-top: 1px solid var(--border); margin-top: 8px; }
  .nav-right.open { display: flex; flex-direction: column; width: 100%; padding-bottom: 8px; }
  .nav-inner { flex-wrap: wrap; }
  .nav-right .btn { width: 100%; }
  .t-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-card { padding: 50px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .logos-row { gap: 20px 36px; }
  .section { padding: 70px 0; }
}
