/* ============================================================
   TRIPSIL — Base & Reset
   Global resets, body styles, typography, utilities.
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
}

/* --- Layout Containers --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Section spacing --- */
section {
  padding: 100px 0;
}

/* --- Shared typography helpers --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--grad-hero);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* --- Gradient text utility --- */
.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Spacing utilities --- */
.text-center          { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-48  { margin-top: 48px; }
.mt-64  { margin-top: 64px; }
.mb-48  { margin-bottom: 48px; }

/* --- Shared button styles --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--grad-hero);
  color: white;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.40);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 52px rgba(14, 165, 233, 0.52);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-light);
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* --- Store download buttons (shared) --- */
/* --- Store download buttons (Premium Design) --- */
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 12px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.store-btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: #000;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.3);
}

.store-btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.store-btn-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-text small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-btn-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.store-btn-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 16px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  text-align: left;
}

.store-btn-cta:hover {
  transform: translateY(-6px) scale(1.03);
  background: #000;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.store-btn-cta .store-btn-icon {
  width: 32px;
  height: 32px;
}

.store-btn-cta .store-btn-text small {
  color: rgba(255, 255, 255, 0.6);
}

.store-btn-cta .store-btn-text strong {
  color: white;
  font-size: 18px;
}



/* --- Icon background helpers --- */
.fi-blue   { background: linear-gradient(135deg, #DBEAFE, #BAE6FD); }
.fi-green  { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); }
.fi-purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.fi-sky    { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.fi-pink   { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.fi-orange { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.fi-teal   { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }
.fi-indigo { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }

/* --- Breadcrumb --- */
.breadcrumb {
  padding-top: 88px;
  padding-bottom: 0;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-inner a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb-inner a:hover  { color: var(--primary); }
.breadcrumb-sep            { opacity: 0.4; }
.breadcrumb-cur            { color: var(--primary); font-weight: 600; }

/* --- Responsive base --- */
@media (max-width: 768px) {
  section { padding: 72px 0; }

  * { cursor: auto !important; }
  body { cursor: auto; }
}
