/* ============================================================
   TKSR Product Services - Design System
   Dark enterprise theme with cyan -> blue accent gradient
   ============================================================ */

:root {
    --bg: #05070d;
    --bg-soft: #0a0f1c;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --border-accent: rgba(0, 212, 255, 0.35);
    --text: #eaeaea;
    --text-muted: rgba(234, 234, 234, 0.7);
    --accent: #00d4ff;
    --accent-2: #0066ff;
    --gradient: linear-gradient(135deg, #00d4ff, #0066ff);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
    --font-head: "Sora", "Inter", sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 14px;
    font-weight: 700;
}

p { margin: 0 0 16px; color: var(--text-muted); }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 8px; color: var(--text-muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-center { text-align: center; }

/* Eyebrow label above headings */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title { font-size: 2.3rem; margin-bottom: 14px; }
.section-sub { max-width: 680px; font-size: 1.05rem; }
.section-center .section-sub { margin: 0 auto 40px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    line-height: 1.2;
}
.btn-primary { background: var(--gradient); color: #000; box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0, 212, 255, 0.4); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* Nav */
.nav {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(5, 7, 13, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: max-content;
    max-width: calc(100% - 24px);
}
.nav .logo {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1px;
    padding: 6px 12px;
    white-space: nowrap;
}
.nav .logo span { color: var(--accent); }
.nav-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex-shrink: 1; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    color: var(--text);
    opacity: 0.8;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; border-color: rgba(0, 212, 255, 0.35); color: #fff; }
.nav-cta { margin-left: 4px; }
@media (max-width: 900px) { .nav-cta { display: none; } }

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 140px 0 100px;
    overflow: hidden;
}
.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0, 212, 255, 0.16), rgba(0, 0, 0, 0.94) 70%);
    z-index: -1;
}
.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    max-width: 820px;
    margin-bottom: 20px;
}
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.2rem; max-width: 640px; margin-bottom: 32px; color: rgba(234, 234, 234, 0.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stats strip */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding: 48px 0; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: 0.9rem; color: var(--text-muted); max-width: 220px; margin: 6px auto 0; }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 30px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 212, 255, 0.5); background: var(--bg-card-hover); }
.card .icon {
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: 0.95rem; margin-bottom: 14px; }
.card .link { font-weight: 700; font-size: 0.9rem; }
.card .link i { font-size: 0.8rem; margin-left: 6px; }

/* Service cards (big) */
.service-card { display: flex; flex-direction: column; }
.service-card .tag { margin-top: auto; }

/* Step / process */
.step-num {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}

/* Testimonials */
.quote-card { border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); padding: 30px; }
.quote-card .quote { font-size: 1rem; font-style: italic; color: var(--text); margin-bottom: 18px; }
.quote-card .author { font-weight: 700; color: #fff; font-size: 0.95rem; }
.quote-card .role { color: var(--text-muted); font-size: 0.85rem; }
.quote-card .stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }

/* CTA band */
.cta-band {
    position: relative;
    border-radius: 22px;
    padding: 56px 48px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 102, 255, 0.12));
    border: 1px solid rgba(0, 212, 255, 0.25);
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: -50% -20%;
    background: radial-gradient(circle at 50% 120%, rgba(0, 212, 255, 0.25), transparent 60%);
    z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-band p { max-width: 620px; margin: 0 auto 26px; }

/* Forms */
.form-card { border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); padding: 32px; }
.form-card h2 { margin-bottom: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg); color: var(--text); }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Lists */
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

/* Page hero (interior pages) */
.page-hero { padding: 170px 0 60px; background: radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.14), rgba(5, 7, 13, 1) 60%); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 2.6rem; margin-bottom: 14px; }
.page-hero p { max-width: 720px; font-size: 1.1rem; }

/* Quiz */
.quiz-wrap { max-width: 760px; margin: 0 auto; }
.quiz-progress { height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; margin-bottom: 34px; }
.quiz-progress .bar { height: 100%; background: var(--gradient); width: 0; transition: width 0.4s ease; border-radius: 999px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.35s ease; }
.quiz-step h2 { font-size: 1.5rem; margin-bottom: 8px; }
.quiz-step .q { color: var(--text-muted); margin-bottom: 26px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.98rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
}
.quiz-option:hover { border-color: var(--accent); background: rgba(0, 212, 255, 0.08); }
.quiz-option.selected { border-color: var(--accent); background: rgba(0, 212, 255, 0.14); color: #fff; font-weight: 600; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }
.quiz-result { display: none; }
.quiz-result.show { display: block; animation: fadeIn 0.5s ease; }
.result-gauge { width: 180px; height: 180px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--accent) calc(var(--score) * 1%), rgba(255, 255, 255, 0.08) 0); }
.result-gauge .inner { width: 146px; height: 146px; border-radius: 50%; background: var(--bg-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.result-gauge .inner .pct { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: #fff; }
.result-gauge .inner .txt { font-size: 0.8rem; color: var(--text-muted); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Insights cards */
.insight-card { display: flex; flex-direction: column; }
.insight-card .date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.5px; }
.insight-card h3 { font-size: 1.05rem; }
.insight-card p { font-size: 0.9rem; }
.insight-card .link { margin-top: auto; font-weight: 700; font-size: 0.85rem; }

/* Footer */
.footer { background: #03040a; border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.95rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-muted); font-size: 0.92rem; }
.footer ul a:hover { color: var(--accent); }
.footer .brand p { font-size: 0.92rem; max-width: 320px; }
.footer .social { display: flex; gap: 12px; margin-top: 18px; }
.footer .social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaa;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.footer .social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer .bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }

/* Utility */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.center { text-align: center; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
