/* TEKVONA Platform & Multi-Demo Compiled Stylesheet (RTL, Mobile-First) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --tk-bg: #070b14;
  --tk-surface: #0f172a;
  --tk-card: #1e293b;
  --tk-primary: #38bdf8;
  --tk-accent: #6366f1;
  --tk-text: #f8fafc;
  --tk-muted: #94a3b8;
  --tk-border: rgba(148, 163, 184, 0.18);
  --tk-radius: 16px;
}
html { direction: rtl; scroll-behavior: smooth; font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif; line-height: 1.7; -webkit-text-size-adjust: 100%; }
body { background-color: var(--tk-bg); color: var(--tk-text); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--tk-primary); outline-offset: 2px; }
img, svg { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.tk-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--tk-border); }
.tk-nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; flex-wrap: wrap; }
.tk-brand { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; font-weight: 800; color: var(--tk-primary); }
.tk-menu { display: flex; align-items: center; gap: 1.25rem; list-style: none; flex-wrap: wrap; }
.tk-menu a { font-size: 0.95rem; font-weight: 600; padding: 0.45rem 0.75rem; border-radius: 10px; }
.tk-menu a:hover { background: rgba(255, 255, 255, 0.07); color: var(--tk-primary); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.35rem; border-radius: 12px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.2s ease; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--tk-primary), var(--tk-accent)); color: #fff; box-shadow: 0 8px 20px -6px rgba(56, 189, 248, 0.45); }
.btn-outline { background: transparent; border-color: var(--tk-primary); color: var(--tk-primary); }
.hero { padding: 3.5rem 0 2.5rem; text-align: center; }
.hero h1 { font-size: clamp(1.75rem, 3.8vw, 2.85rem); font-weight: 900; margin-bottom: 1rem; line-height: 1.35; }
.hero p { max-width: 780px; margin: 0 auto 1.75rem; color: var(--tk-muted); font-size: 1.05rem; }
.badge { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: rgba(56, 189, 248, 0.14); color: var(--tk-primary); border: 1px solid rgba(56, 189, 248, 0.3); margin-bottom: 1rem; }
.grid { display: grid; gap: 1.35rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--tk-card); border: 1px solid var(--tk-border); border-radius: var(--tk-radius); padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; transition: border-color 0.2s ease, transform 0.2s ease; }
.card:hover { border-color: var(--tk-primary); transform: translateY(-3px); }
.card-img { border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--tk-surface); border: 1px solid var(--tk-border); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.section { padding: 2.75rem 0; }
.section-title { font-size: 1.55rem; font-weight: 800; margin-bottom: 0.5rem; }
.section-sub { color: var(--tk-muted); margin-bottom: 1.75rem; font-size: 0.95rem; }
.filter-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-btn { padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--tk-border); background: var(--tk-surface); color: var(--tk-text); cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.9rem; }
.filter-btn.active, .filter-btn:hover { background: var(--tk-primary); color: #070b14; border-color: var(--tk-primary); }
.form-box { background: var(--tk-surface); border: 1px solid var(--tk-border); border-radius: 20px; padding: 1.75rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.form-group label { font-weight: 700; font-size: 0.9rem; }
.form-control { width: 100%; padding: 0.75rem 1rem; border-radius: 10px; border: 1px solid var(--tk-border); background: var(--tk-bg); color: var(--tk-text); font-family: inherit; font-size: 0.95rem; }
.alert { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 600; }
.alert-success { background: rgba(22, 163, 74, 0.18); border: 1px solid #22c55e; color: #86efac; }
.alert-error { background: rgba(220, 38, 38, 0.18); border: 1px solid #ef4444; color: #fca5a5; }
.alert-warn { background: rgba(217, 119, 6, 0.16); border: 1px solid #f59e0b; color: #fde68a; font-size: 0.88rem; }
.table-wrap { width: 100%; overflow-x: auto; border-radius: 12px; border: 1px solid var(--tk-border); }
table { width: 100%; border-collapse: collapse; text-align: right; }
th, td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--tk-border); font-size: 0.92rem; }
th { background: rgba(255,255,255,0.04); font-weight: 800; }
.sticky-demo-bar { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: rgba(15, 23, 42, 0.96); color: #f8fafc; border: 2px solid #38bdf8; border-radius: 16px; padding: 0.75rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; box-shadow: 0 20px 35px -10px rgba(0,0,0,0.6); }
.tk-footer { margin-top: auto; background: var(--tk-surface); border-top: 1px solid var(--tk-border); padding: 2.5rem 0 5.5rem; font-size: 0.9rem; color: var(--tk-muted); }
