Files
mashinify/src/app/globals.css
T
Alireza HassaniandCursor d249d958eb Add Meshkee sitemap config, technical-info labels, and footer credit.
Wire specs to /technical-info for field labels, match Safeteb footer credit, and publish build-time /meshkee/sitemap-config.json for SEO sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 07:11:52 +03:30

452 lines
8.3 KiB
CSS

@import "tailwindcss";
@font-face {
font-family: "iran-yekan";
src: url("https://cdn.meshkee.com/web-builder/fonts/iran-yekan/iran-yekan-regular.ttf");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "iran-yekan";
src: url("https://cdn.meshkee.com/web-builder/fonts/iran-yekan/iran-yekan-medium.ttf");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "iran-yekan";
src: url("https://cdn.meshkee.com/web-builder/fonts/iran-yekan/iran-yekan-bold.ttf");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "iran-yekan";
src: url("https://cdn.meshkee.com/web-builder/fonts/iran-yekan/iran-yekan-extrabold.ttf");
font-weight: 800;
font-style: normal;
font-display: swap;
}
:root {
--background: #f2f5f8;
--foreground: #0f1720;
--muted: #5b6775;
--line: #d7e0ea;
--surface: #ffffff;
--brand: #006dd4;
--brand-deep: #004f9a;
--brand-ink: #06233f;
--steel: #8fa3b8;
--container: 1180px;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-muted: var(--muted);
--color-line: var(--line);
--color-surface: var(--surface);
--color-brand: var(--brand);
--color-brand-deep: var(--brand-deep);
--color-brand-ink: var(--brand-ink);
--color-steel: var(--steel);
--font-sans: "iran-yekan", Tahoma, sans-serif;
--font-display: var(--font-industrial), "Oswald", Impact, sans-serif;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--background);
color: var(--foreground);
font-family: "iran-yekan", Tahoma, sans-serif;
font-size: 15px;
line-height: 1.75;
}
.latin-digits {
font-family: Tahoma, Arial, "iran-yekan", sans-serif;
unicode-bidi: isolate;
font-variant-numeric: lining-nums;
}
.font-industrial {
font-family: var(--font-industrial), "Oswald", Impact, sans-serif;
unicode-bidi: isolate;
}
a {
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
display: block;
}
.container-page {
width: min(var(--container), calc(100% - 2rem));
margin-inline: auto;
}
.section {
padding-block: 4.5rem;
}
.section-head {
margin-bottom: 2rem;
}
.section-kicker {
font-family: var(--font-industrial), "Oswald", Impact, sans-serif;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--brand);
font-size: 0.78rem;
font-weight: 600;
}
.section-title {
margin: 0.35rem 0 0.5rem;
font-size: clamp(1.55rem, 2.4vw, 2.15rem);
font-weight: 800;
color: var(--brand-ink);
line-height: 1.35;
}
.section-desc {
margin: 0;
max-width: 36rem;
color: var(--muted);
}
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 3rem;
padding: 0.7rem 1.35rem;
border-radius: 0.75rem;
background: var(--brand);
color: #fff;
font-weight: 700;
transition: background 0.2s ease;
}
.btn-primary:hover {
background: var(--brand-deep);
}
.btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 3rem;
padding: 0.7rem 1.35rem;
border-radius: 0.75rem;
border: 1px solid rgba(255, 255, 255, 0.45);
color: #fff;
font-weight: 600;
transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover {
background: rgba(255, 255, 255, 0.1);
border-color: #fff;
}
.field-control {
border: 1px solid var(--line);
border-radius: 0.75rem;
background: #fff;
padding: 0.7rem 1rem;
color: var(--foreground);
outline: none;
transition: border-color 0.2s ease;
}
.field-control:focus,
.field-control:focus-within {
border-color: var(--brand);
}
.field-select-wrap {
position: relative;
}
.field-select-wrap::after {
content: "▾";
position: absolute;
inset-inline-end: 0.9rem;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: var(--muted);
font-size: 0.75rem;
line-height: 1;
}
.field-select {
appearance: none;
padding-inline-end: 2.25rem;
cursor: pointer;
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 3rem;
padding: 0.7rem 1.35rem;
border-radius: 0.75rem;
border: 1px solid var(--brand);
color: var(--brand);
font-weight: 700;
background: #fff;
transition: background 0.2s ease, color 0.2s ease;
}
.btn-secondary:hover {
background: var(--brand);
color: #fff;
}
.filter-shell {
border: 1px solid var(--line);
border-radius: 1rem;
background: #fff;
}
@keyframes rise-in {
from {
opacity: 0;
transform: translateY(18px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes search-glow {
0%,
100% {
box-shadow: 0 0 0 0 rgba(0, 109, 212, 0.18);
}
50% {
box-shadow: 0 0 0 10px rgba(0, 109, 212, 0);
}
}
.animate-rise {
animation: rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.animate-rise-delay-1 {
animation-delay: 0.12s;
}
.animate-rise-delay-2 {
animation-delay: 0.24s;
}
.animate-rise-delay-3 {
animation-delay: 0.36s;
}
.search-shell {
background: #fff;
border: 1px solid rgba(255, 255, 255, 0.55);
box-shadow: none;
}
.search-shell:focus-within {
border-color: rgba(255, 255, 255, 0.8);
}
/* Footer bottom — Meshkee credit (Safeteb / Havaran style) */
.footer-bottom-bar {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: space-between;
padding: 4px 0;
}
.footer-bottom-site {
color: #9c9c9c;
font-size: 12px;
}
.meshkee-credit {
align-items: center;
color: #9c9c9c;
display: inline-flex;
gap: 10px;
padding: 6px 10px;
position: relative;
text-decoration: none;
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover {
color: #e0e0e0;
text-decoration: none;
}
.meshkee-credit__frame {
inset: 0;
pointer-events: none;
position: absolute;
}
.meshkee-credit__line {
background: #777;
position: absolute;
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit__line--l {
height: 100%;
left: 0;
top: 0;
transform: scaleY(0);
transform-origin: top;
transition-delay: 0s;
width: 1px;
}
.meshkee-credit__line--b {
bottom: 0;
height: 1px;
left: 0;
transform: scaleX(0);
transform-origin: left;
transition-delay: 0.14s;
width: 100%;
}
.meshkee-credit__line--r {
height: 100%;
right: 0;
top: 0;
transform: scaleY(0);
transform-origin: bottom;
transition-delay: 0.28s;
width: 1px;
}
.meshkee-credit__line--t {
height: 1px;
left: 0;
top: 0;
transform: scaleX(0);
transform-origin: right;
transition-delay: 0.42s;
width: 100%;
}
.meshkee-credit:hover .meshkee-credit__line--l,
.meshkee-credit:hover .meshkee-credit__line--r {
transform: scaleY(1);
}
.meshkee-credit:hover .meshkee-credit__line--t,
.meshkee-credit:hover .meshkee-credit__line--b {
transform: scaleX(1);
}
.meshkee-credit:not(:hover) .meshkee-credit__line--l {
transition-delay: 0.42s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--b {
transition-delay: 0.28s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--r {
transition-delay: 0.14s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--t {
transition-delay: 0s;
}
.meshkee-credit__logo {
display: block;
flex-shrink: 0;
height: 42px;
width: auto;
aspect-ratio: 1 / 1;
object-fit: contain;
opacity: 0.7;
position: relative;
transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover .meshkee-credit__logo {
opacity: 1;
}
.meshkee-credit__text {
display: flex;
flex-direction: column;
justify-content: center;
line-height: 1.25;
min-height: 42px;
position: relative;
}
.meshkee-credit__label {
font-size: 11px;
}
.meshkee-credit__name {
color: #cfcfcf;
font-size: 13px;
font-weight: 600;
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover .meshkee-credit__name {
color: #fff;
}
@media only screen and (max-width: 575px) {
.footer-bottom-bar {
flex-direction: column;
justify-content: center;
text-align: center;
}
}
@media (prefers-reduced-motion: reduce) {
.animate-rise,
.animate-rise-delay-1,
.animate-rise-delay-2,
.animate-rise-delay-3,
.search-shell:focus-within {
animation: none;
}
.meshkee-credit__line {
transition: none;
}
}