/* ══════════════════════════════════════════════════════════════════
   BTicz — Website Stylesheet
   bticz.app  |  © 2026 BTicz Team
   ══════════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────────── */
:root {
  --blue:        #1d6fe8;
  --blue-dark:   #1558c0;
  --blue-light:  #e8f1fd;
  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --dark-3:      #334155;
  --gray:        #64748b;
  --gray-light:  #94a3b8;
  --border:      #e2e8f0;
  --bg:          #f8fafc;
  --white:       #ffffff;
  --green:       #16a34a;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.14);
  --transition:  .2s ease;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono:   "SF Mono", "Fira Code", "Consolas", monospace;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark-3); background: var(--white); line-height: 1.65; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--dark-3); }

/* ── Layout helpers ─────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }  .gap-2 { gap: 1rem; }  .gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(29,111,232,.35); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); text-decoration: none; }
.btn-white   { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-light); text-decoration: none; }
.btn-lg { padding: .95rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* ── Badges ─────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: .3rem .8rem; border-radius: 100px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.badge-blue  { background: var(--blue-light); color: var(--blue); }
.badge-green { background: #dcfce7; color: var(--green); }

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: .65rem; color: var(--white); font-weight: 700; font-size: 1.2rem; }
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--gray-light); font-size: .92rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a.active { color: var(--white); }
.nav-cta .btn { padding: .5rem 1.25rem; font-size: .88rem; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all var(--transition); }
.nav-mobile { display: none; flex-direction: column; background: var(--dark-2); padding: 1rem 1.5rem; gap: .75rem; }
.nav-mobile a { color: var(--gray-light); font-size: .95rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.nav-mobile.open { display: flex; }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white); padding: 6rem 0 5rem; overflow: hidden; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(29,111,232,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.hero-eyebrow { color: #7dd3fc; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: #60a5fa; }
.hero-sub { font-size: 1.15rem; color: #94a3b8; line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-badge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #cbd5e1; border-radius: 100px; padding: .35rem .9rem; font-size: .8rem; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-app-preview {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 2rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.hero-app-preview img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 1rem; }
.hero-app-preview h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .25rem; }
.hero-app-preview p { color: var(--gray-light); font-size: .9rem; }
.hero-app-version { margin-top: 1rem; }

/* ══════════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════════ */
.features { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { color: var(--gray); font-size: 1.1rem; margin-top: .75rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: all var(--transition);
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p { color: var(--gray); font-size: .93rem; }

/* ══════════════════════════════════════════════════════════════════
   COMPATIBILITY
   ══════════════════════════════════════════════════════════════════ */
.compat { background: var(--white); }
.compat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.compat-card {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center; transition: all var(--transition);
}
.compat-card.supported { border-color: var(--blue); background: var(--blue-light); }
.compat-card.coming-soon { opacity: .65; }
.compat-card h3 { margin: .75rem 0 .35rem; }
.compat-card p { font-size: .88rem; color: var(--gray); }
.compat-icon { font-size: 2.5rem; }

/* ══════════════════════════════════════════════════════════════════
   DOWNLOAD PREVIEW (on homepage)
   ══════════════════════════════════════════════════════════════════ */
.download-preview {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white); text-align: center;
}
.download-preview h2 { color: var(--white); margin-bottom: .75rem; }
.download-preview p  { color: #94a3b8; font-size: 1.05rem; margin-bottom: 2rem; }
.download-platforms { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.dl-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); border-radius: var(--radius); padding: .9rem 1.6rem;
  font-size: .93rem; font-weight: 500; transition: all var(--transition);
}
.dl-btn:hover { background: rgba(255,255,255,.18); text-decoration: none; transform: translateY(-2px); }
.dl-btn-icon { font-size: 1.6rem; }
.dl-btn small { display: block; font-size: .75rem; color: #94a3b8; font-weight: 400; }

/* ══════════════════════════════════════════════════════════════════
   DOWNLOAD PAGE
   ══════════════════════════════════════════════════════════════════ */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--white); padding: 4rem 0 3rem; text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #94a3b8; font-size: 1.05rem; margin-top: .75rem; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.download-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; background: var(--white); transition: all var(--transition);
}
.download-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.download-card.featured { border-color: var(--blue); background: var(--blue-light); }
.download-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.download-card-icon { font-size: 2.5rem; }
.download-card-header h3 { margin: 0; }
.download-card-header small { color: var(--gray); font-size: .83rem; }
.download-card p { font-size: .92rem; color: var(--gray); margin-bottom: 1.25rem; }
.download-card .btn { width: 100%; justify-content: center; }
.download-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-top: 1rem; font-size: .88rem; color: #92400e; }
.install-steps { counter-reset: step; }
.install-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.install-step::before { counter-increment: step; content: counter(step); flex-shrink: 0; width: 28px; height: 28px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
code { background: #f1f5f9; border: 1px solid var(--border); padding: .2rem .5rem; border-radius: 4px; font-family: var(--font-mono); font-size: .88rem; color: var(--dark); }
pre { background: var(--dark); color: #e2e8f0; border-radius: var(--radius-sm); padding: 1.25rem; overflow-x: auto; margin: 1rem 0; }
pre code { background: none; border: none; padding: 0; color: inherit; font-size: .9rem; }

/* ══════════════════════════════════════════════════════════════════
   DOCS PAGE
   ══════════════════════════════════════════════════════════════════ */
.docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; padding: 3rem 0; }
.docs-sidebar {
  position: sticky; top: 80px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; font-size: .9rem;
}
.docs-sidebar h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin-bottom: .75rem; margin-top: 1.25rem; }
.docs-sidebar h4:first-child { margin-top: 0; }
.docs-sidebar ul li a { display: block; padding: .35rem .5rem; border-radius: var(--radius-sm); color: var(--dark-3); transition: all var(--transition); }
.docs-sidebar ul li a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }
.docs-sidebar ul li a.active { background: var(--blue); color: var(--white); }
.docs-content h2 { border-bottom: 2px solid var(--border); padding-bottom: .5rem; margin: 2.5rem 0 1.25rem; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { margin: 1.75rem 0 .75rem; color: var(--dark-2); }
.docs-content p { margin-bottom: 1rem; }
.docs-content ul, .docs-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.docs-content li { margin-bottom: .4rem; list-style: disc; }
.docs-content ol li { list-style: decimal; }
.tip {
  background: var(--blue-light); border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: .93rem;
}
.tip strong { color: var(--blue); }
.warn {
  background: #fffbeb; border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: .93rem;
}
.warn strong { color: #92400e; }
.docs-nav-bottom { display: flex; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.docs-nav-bottom a { display: flex; flex-direction: column; }
.docs-nav-bottom .nav-label { font-size: .78rem; color: var(--gray); text-transform: uppercase; letter-spacing: .04em; }
.docs-nav-bottom .nav-title { font-weight: 600; color: var(--blue); }

/* ══════════════════════════════════════════════════════════════════
   STEPS (numbered)
   ══════════════════════════════════════════════════════════════════ */
.steps { counter-reset: step-counter; }
.step {
  display: flex; gap: 1.25rem; margin-bottom: 1.75rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--blue); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.step-body h3 { margin: 0 0 .35rem; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark); color: #94a3b8; padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .nav-logo { margin-bottom: .75rem; }
.footer-brand p { font-size: .9rem; line-height: 1.6; color: #64748b; }
.footer h4 { color: var(--white); font-size: .88rem; margin-bottom: .85rem; font-weight: 600; }
.footer ul li { margin-bottom: .5rem; }
.footer ul li a { color: #64748b; font-size: .88rem; transition: color var(--transition); }
.footer ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .83rem; color: #475569; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: #475569; font-size: .83rem; }
.footer-links a:hover { color: var(--gray-light); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .download-platforms { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

