/* NyooshaTech site styles. No build step: plain CSS served by WhiteNoise. */

:root {
    --ink: #0b1020;
    --ink-2: #111833;
    --text: #1e2539;
    --muted: #5b6478;
    --line: #e5e8f0;
    --bg: #ffffff;
    --bg-tint: #f5f7fb;
    --cyan: #22d3ee;
    --indigo: #6366f1;
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --ok: #10b981;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
    font: 600 15px/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(79, 70, 229, .35); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .2s, border-color .2s, backdrop-filter .2s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 16, 32, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--font-display); color: #fff; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; transition: color .15s; }
.site-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-right: -8px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #c9cfe0; overflow: hidden; padding: 150px 0 110px; }
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 400px at 85% 20%, rgba(99, 102, 241, .35), transparent 70%),
        radial-gradient(500px 380px at 10% 90%, rgba(34, 211, 238, .18), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px;
    mask-image: linear-gradient(to bottom, #000 60%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
    font-size: 13px; font-weight: 500; color: #dbe1f1;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18); }
.hero h1 { margin-top: 22px; color: #fff; font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -0.035em; }
.gradient-text { background: linear-gradient(90deg, var(--cyan), #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 18px; line-height: 1.65; max-width: 560px; color: #b4bcd2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 34px 0 0; font-size: 14px; color: #9aa3bb; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(16, 185, 129, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2310b981' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Workflow card */
.flow-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
}
.flow-card-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.flow-dots { display: flex; gap: 6px; }
.flow-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.flow-title { font: 500 12.5px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #8e97b0; }
.flow-steps { list-style: none; margin: 0; padding: 14px 0 6px; display: grid; gap: 10px; position: relative; }
.flow-steps li {
    display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px;
    padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06);
}
.flow-steps b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.flow-steps small { color: #8e97b0; font-size: 12.5px; }
.step-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-size: 16px; }
.s1 { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.s2 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.s3 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.s4 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.ok { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(16, 185, 129, .16); color: var(--ok); font-size: 12px; font-weight: 700; }
.pulse { width: 10px; height: 10px; margin: 0 6px; border-radius: 50%; background: var(--cyan); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); } 100% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); } }
.flow-foot { display: flex; justify-content: space-between; padding: 10px 4px 0; font-size: 12.5px; color: #8e97b0; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tinted { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #b4bcd2; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }
.kicker-light { color: var(--cyan); }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-lead { margin-top: 16px; font-size: 17.5px; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.service-card { padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); border-color: #d4d8f5; box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 18px 40px rgba(79, 70, 229, .1); }
.icon-badge { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .16)); }
.service-card h3 { margin-top: 20px; font-size: 19px; }
.service-card p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.product-card { padding: 32px; display: flex; flex-direction: column; }
.product-top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-size: 12.5px; font-weight: 600; color: var(--accent); background: rgba(79, 70, 229, .08); padding: 5px 11px; border-radius: 999px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: #047857; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.product-card h3 { margin-top: 22px; font-size: 26px; }
.product-card > p { margin-top: 10px; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; margin-top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(16, 185, 129, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23059669' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/16px no-repeat; }
.product-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.product-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.process-step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--indigo)); }
.process-num { font: 600 14px/1 var(--font-display); color: var(--accent); }
.process-step h3 { margin-top: 12px; font-size: 20px; }
.process-step p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-copy p { font-size: 17px; line-height: 1.75; }
.about-copy p + p { margin-top: 18px; }
.about-copy em { color: #fff; font-style: normal; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0; }
.stats div { padding: 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.stats dt { font-size: 13px; color: #8e97b0; }
.stats dd { margin: 6px 0 0; font: 600 22px/1.2 var(--font-display); color: #fff; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.contact-points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.contact-card { padding: 32px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
    width: 100%; font: 400 15px/1.5 var(--font); color: var(--text);
    padding: 11px 14px; border: 1px solid #d5d9e4; border-radius: 10px; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.field-error { font-size: 13px; font-weight: 500; color: #dc2626; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 500; margin-bottom: 18px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #8e97b0; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.brand-footer { font-size: 18px; }
.footer-tagline { margin-top: 12px; font-size: 14.5px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; }

/* Floating WhatsApp button (bottom right, every page) */
.whatsapp-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 40;
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
    border-radius: 999px; background: #25d366; color: #fff; font-weight: 600; font-size: 15px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .15s, box-shadow .15s;
}
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, .5); }

/* ---------- Founder page ---------- */
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.founder-hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.founder-role { margin-top: 14px; font: 600 clamp(18px, 2vw, 22px)/1.3 var(--font-display); }
.portrait { margin: 0; justify-self: center; width: 100%; max-width: 400px; position: relative; }
.portrait::before {
    content: ""; position: absolute; inset: -1px; border-radius: 24px; z-index: 0;
    background: linear-gradient(135deg, var(--cyan), var(--indigo) 55%, transparent 90%);
}
.portrait picture, .portrait img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 23px; }
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; background: #2a2f2c; }
.portrait figcaption {
    position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px;
    display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px;
    background: rgba(11, 16, 32, .72); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12);
}
.portrait figcaption b { color: #fff; font: 600 15px/1.3 var(--font-display); }
.portrait figcaption span { color: #a7b0c8; font-size: 13px; }
.founder-text { font-size: 17px; line-height: 1.75; color: var(--muted); }
.principles { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles li { padding-top: 18px; border-top: 2px solid var(--line); }
.principles h3 { margin-top: 10px; font-size: 18px; }
.principles p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--bg-tint); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.founder-cta { max-width: 640px; text-align: center; }
.founder-cta p:not(.kicker) { margin: 16px 0 30px; font-size: 17px; }
.about-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; color: var(--cyan); font-weight: 600; }
.about-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .hero-inner { grid-template-columns: 1fr; gap: 56px; }
    .hero-visual { max-width: 480px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .founder-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: 72px; left: 0; right: 0; display: none;
        flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 24px 24px;
        background: rgba(11, 16, 32, .97); border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: 12px 0; font-size: 16px; }
    .site-nav .btn { margin-top: 8px; padding: 13px 16px; }
    .site-header:has(.site-nav.open) { background: rgba(11, 16, 32, .97); }
    .grid-2, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 80px 0; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .hero { padding: 120px 0 80px; }
    .lead { font-size: 17px; }
    .grid-4, .grid-3, .process, .form-row, .stats, .principles { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 100%; }
    .product-card, .contact-card { padding: 24px; }
    .section-head { margin-bottom: 40px; }
    .whatsapp-fab { right: 16px; bottom: 16px; padding: 14px; }
    .whatsapp-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
