314 lines
18 KiB
CSS
314 lines
18 KiB
CSS
/* ===========================================================
|
|
Clinic Pro — Foton-style redesign
|
|
Light & airy · indigo headings · coral + blue pills · flat illustrations
|
|
=========================================================== */
|
|
|
|
@font-face { font-family:'Vazirmatn'; src:url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
|
|
@font-face { font-family:'Vazirmatn'; src:url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
|
|
@font-face { font-family:'Vazirmatn'; src:url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap; }
|
|
@font-face { font-family:'Vazirmatn'; src:url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
|
|
|
|
:root {
|
|
--ink: oklch(0.37 0.095 285); /* deep indigo headings */
|
|
--ink-strong: oklch(0.31 0.10 286);
|
|
--body: oklch(0.57 0.035 282); /* muted body text */
|
|
--muted: oklch(0.66 0.03 282);
|
|
--faint: oklch(0.74 0.02 282);
|
|
|
|
--coral: oklch(0.71 0.15 33);
|
|
--coral-deep: oklch(0.66 0.16 33);
|
|
--blue: oklch(0.58 0.185 277);
|
|
--blue-deep: oklch(0.52 0.20 278);
|
|
|
|
--bg: #ffffff;
|
|
--bg-soft: oklch(0.972 0.014 282);
|
|
--bg-soft2: oklch(0.955 0.024 280);
|
|
--tint-blue: oklch(0.93 0.035 278);
|
|
--line: oklch(0.92 0.018 282);
|
|
--line-soft: oklch(0.95 0.012 282);
|
|
--navy: oklch(0.265 0.05 285);
|
|
--navy-2: oklch(0.235 0.05 285);
|
|
|
|
--shadow-sm: 0 2px 8px oklch(0.4 0.06 285 / 0.05);
|
|
--shadow: 0 14px 38px oklch(0.4 0.08 285 / 0.09);
|
|
--shadow-lg: 0 26px 70px oklch(0.38 0.10 285 / 0.14);
|
|
--maxw: 1200px;
|
|
--mono: 'IBM Plex Mono', ui-monospace, monospace;
|
|
}
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
|
|
body {
|
|
font-family: 'Vazirmatn', system-ui, sans-serif;
|
|
color: var(--body); background: var(--bg); direction: rtl; line-height: 1.85;
|
|
-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
|
|
}
|
|
img, svg { display: block; max-width: 100%; }
|
|
a { color: inherit; text-decoration: none; }
|
|
h1,h2,h3,h4 { color: var(--ink); font-weight: 700; line-height: 1.3; }
|
|
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
|
|
|
|
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }
|
|
|
|
/* ===================== Buttons (pills) ===================== */
|
|
.btn {
|
|
display: inline-flex; align-items: center; gap: 9px; font-family: inherit;
|
|
font-weight: 700; font-size: 13px; letter-spacing: .02em;
|
|
padding: 14px 30px; border-radius: 100px; border: 2px solid transparent; cursor: pointer;
|
|
transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
.btn svg { width: 17px; height: 17px; }
|
|
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px oklch(0.71 0.15 33 / 0.32); }
|
|
.btn-coral:hover { background: var(--coral-deep); transform: translateY(-3px); box-shadow: 0 16px 30px oklch(0.71 0.15 33 / 0.40); }
|
|
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px oklch(0.58 0.185 277 / 0.32); }
|
|
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-3px); box-shadow: 0 16px 30px oklch(0.58 0.185 277 / 0.40); }
|
|
.btn-ghost { background: transparent; color: var(--blue); border-color: oklch(0.58 0.185 277 / 0.30); }
|
|
.btn-ghost:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
|
|
.btn-light { background:#fff; color: var(--blue-deep); }
|
|
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
|
|
|
|
.readmore {
|
|
display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
|
|
font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue);
|
|
transition: gap .2s ease, color .2s ease;
|
|
}
|
|
.readmore svg { width: 15px; height: 15px; transition: transform .2s ease; }
|
|
.readmore:hover { color: var(--coral); gap: 12px; }
|
|
.readmore:hover svg { transform: translateX(-4px); } /* RTL: arrow points left */
|
|
|
|
/* ===================== Header ===================== */
|
|
.site-header {
|
|
position: sticky; top: 0; z-index: 100;
|
|
background: oklch(1 0 0 / 0.82); backdrop-filter: blur(16px) saturate(1.3);
|
|
transition: box-shadow .3s ease, background .3s ease;
|
|
}
|
|
.site-header.scrolled { box-shadow: 0 6px 26px oklch(0.4 0.08 285 / 0.07); background: oklch(1 0 0 / 0.92); }
|
|
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
|
|
.brand { display: flex; align-items: baseline; gap: 3px; font-weight: 700; }
|
|
.brand b { font-size: 26px; color: var(--ink); letter-spacing: -0.01em; }
|
|
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); display: inline-block; transform: translateY(-1px); }
|
|
.brand small { font-size: 12px; color: var(--muted); font-weight: 500; margin-inline-start: 8px; }
|
|
|
|
.nav-links { display: flex; align-items: center; gap: 30px; }
|
|
.nav-links a { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink); position: relative; padding: 6px 0; transition: color .2s ease; }
|
|
.nav-links a::after { content:''; position: absolute; bottom: -2px; inset-inline: 0; height: 2px; background: var(--coral); transform: scaleX(0); transition: transform .25s ease; }
|
|
.nav-links a:hover { color: var(--coral); }
|
|
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
|
|
.nav-links a.active { color: var(--coral); }
|
|
.nav-right { display: flex; align-items: center; gap: 18px; }
|
|
.nav-ico { color: var(--ink); display: grid; place-items: center; cursor: pointer; background: none; border: none; }
|
|
.nav-ico svg { width: 20px; height: 20px; }
|
|
.nav-burger { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; border: none; cursor: pointer; }
|
|
.nav-burger svg { width: 20px; height: 20px; }
|
|
.nav-toggle { display: none; }
|
|
.nav-reg-mobile { display: none; }
|
|
|
|
/* ===================== Hero ===================== */
|
|
.hero { position: relative; padding: 70px 0 120px; overflow: hidden; }
|
|
.hero::before {
|
|
content:''; position: absolute; top: -28%; inset-inline-start: -10%;
|
|
width: 1100px; height: 1100px; border-radius: 50%;
|
|
background: radial-gradient(circle at 60% 60%, oklch(0.94 0.035 278) 0%, oklch(0.975 0.015 282) 55%, transparent 72%);
|
|
z-index: -1;
|
|
}
|
|
.hero::after {
|
|
content:''; position: absolute; top: 8%; inset-inline-start: 6%; width: 120px; height: 60px;
|
|
background: radial-gradient(closest-side, oklch(0.90 0.05 278) 60%, transparent), radial-gradient(closest-side, oklch(0.90 0.05 278) 60%, transparent);
|
|
background-size: 70px 40px, 60px 34px; background-position: 0 10px, 46px 0; background-repeat: no-repeat;
|
|
border-radius: 50%; opacity: .8; z-index: -1;
|
|
}
|
|
.hero-grid { display: grid; grid-template-columns: 1fr 1.18fr; align-items: center; gap: 40px; }
|
|
.hero-copy { max-width: 480px; }
|
|
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
|
|
.hero p { font-size: 16px; color: var(--body); margin-top: 22px; line-height: 1.9; max-width: 420px; }
|
|
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
|
|
.hero-art { position: relative; width: 100%; }
|
|
.hero-art > svg { width: 100%; height: auto; display: block; overflow: visible; }
|
|
|
|
/* float chips on hero art */
|
|
.art-chip {
|
|
position: absolute; z-index: 4; background:#fff; border-radius: 14px; box-shadow: var(--shadow);
|
|
padding: 10px 14px; display: flex; align-items: center; gap: 10px;
|
|
}
|
|
.art-chip .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
|
|
.art-chip .ci svg { width: 18px; height: 18px; }
|
|
.art-chip b { font-size: 16px; color: var(--ink); line-height: 1; }
|
|
.art-chip span { font-size: 11px; color: var(--muted); }
|
|
.chip-1 { top: 12%; inset-inline-end: 2%; animation: floaty 5s ease-in-out infinite; }
|
|
.chip-1 .ci { background: oklch(0.95 0.04 33); color: var(--coral); }
|
|
.chip-2 { bottom: 16%; inset-inline-start: -2%; animation: floaty 6s ease-in-out infinite .9s; }
|
|
.chip-2 .ci { background: var(--tint-blue); color: var(--blue); }
|
|
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
|
|
|
|
/* ===================== Feature columns ===================== */
|
|
.fcols { position: relative; padding: 30px 0 40px; }
|
|
.fcols-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
|
|
.fcol h3 { font-size: 19px; margin-bottom: 12px; }
|
|
.fcol p { font-size: 14px; color: var(--muted); line-height: 1.85; }
|
|
|
|
/* ===================== Big soft circle band wrapper ===================== */
|
|
.band { position: relative; overflow: hidden; }
|
|
.band::before {
|
|
content:''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
|
|
width: 160vw; height: 160vw; max-width: 1700px; max-height: 1700px; border-radius: 50%;
|
|
background: radial-gradient(circle, oklch(0.965 0.02 280) 0%, oklch(0.945 0.03 278) 45%, oklch(0.975 0.012 282) 70%, transparent 72%);
|
|
z-index: -1;
|
|
}
|
|
|
|
/* ===================== Icon row ===================== */
|
|
.icons { padding: 80px 0 90px; }
|
|
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
|
|
.icon-cell { text-align: center; padding: 14px; }
|
|
.icon-cell .ic-circ {
|
|
width: 78px; height: 78px; margin: 0 auto 22px; display: grid; place-items: center;
|
|
color: var(--blue); transition: transform .25s ease;
|
|
}
|
|
.icon-cell:hover .ic-circ { transform: translateY(-6px); }
|
|
.icon-cell .ic-circ svg { width: 46px; height: 46px; stroke-width: 1.4; }
|
|
.icon-cell h3 { font-size: 18px; margin-bottom: 10px; }
|
|
.icon-cell p { font-size: 13.5px; color: var(--muted); line-height: 1.8; max-width: 220px; margin-inline: auto; }
|
|
|
|
/* ===================== Devices section ===================== */
|
|
.devices { padding: 40px 0 90px; }
|
|
.devices-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; }
|
|
.devices-copy { max-width: 440px; }
|
|
.devices-copy h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; line-height: 1.22; }
|
|
.devices-copy p { font-size: 15.5px; color: var(--body); margin-top: 20px; line-height: 1.9; }
|
|
.devices-art { width: 100%; }
|
|
.devices-art > svg { width: 100%; height: auto; display: block; overflow: visible; }
|
|
|
|
/* ===================== Specialties (avatars) ===================== */
|
|
.specs { padding: 70px 0 100px; position: relative; }
|
|
.specs-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
|
|
.specs-head .eyebrow { color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
|
|
.specs-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 10px; }
|
|
.specs-head p { font-size: 15px; color: var(--muted); margin-top: 14px; }
|
|
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
|
|
.spec-card { background:#fff; border-radius: 18px; padding: 36px 24px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); transition: transform .25s ease, box-shadow .25s ease; }
|
|
.spec-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
|
|
.spec-card .av { width: 116px; height: 116px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; }
|
|
.spec-card .av svg { width: 100%; height: 100%; }
|
|
.spec-card h3 { font-size: 19px; margin-bottom: 6px; }
|
|
.spec-card .role { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
|
|
.spec-card .feats { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
|
|
.spec-card .feats li { font-size: 13px; color: var(--body); display: flex; align-items: center; justify-content: center; gap: 8px; }
|
|
.spec-card .feats svg { width: 15px; height: 15px; color: var(--coral); flex-shrink: 0; }
|
|
|
|
/* ===================== App / phone CTA ===================== */
|
|
.appcta { padding: 30px 0 110px; position: relative; }
|
|
.appcta-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
|
|
.appcta-art { display: flex; justify-content: center; width: 100%; }
|
|
.appcta-art > svg { width: 100%; max-width: 420px; height: auto; display: block; overflow: visible; }
|
|
.appcta-copy { max-width: 460px; }
|
|
.appcta-copy .eyebrow { color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
|
|
.appcta-copy h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 10px; line-height: 1.22; }
|
|
.appcta-copy p { font-size: 15.5px; color: var(--body); margin-top: 18px; line-height: 1.9; }
|
|
.dl-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
|
|
.dl-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
|
|
.dl-trust svg { width: 17px; height: 17px; color: var(--blue); }
|
|
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
|
|
.store-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color:#fff; border-radius: 14px; padding: 11px 20px; transition: transform .2s ease, background .2s ease; cursor: pointer; }
|
|
.store-badge:hover { transform: translateY(-3px); background: var(--ink-strong); }
|
|
.store-badge svg { width: 26px; height: 26px; }
|
|
.store-badge .sb-t { line-height: 1.2; }
|
|
.store-badge .sb-t small { display: block; font-size: 10px; opacity: .8; }
|
|
.store-badge .sb-t b { display: block; font-size: 15px; font-weight: 700; }
|
|
|
|
/* ===================== Footer ===================== */
|
|
.site-footer { background: var(--navy); color: oklch(0.82 0.02 282); padding-top: 80px; position: relative; }
|
|
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
|
|
.footer-col h4 { color:#fff; font-size: 15px; font-weight: 700; margin-bottom: 22px; letter-spacing: .02em; }
|
|
.footer-brand .brand b { color:#fff; font-size: 28px; }
|
|
.footer-brand p { font-size: 14px; line-height: 1.9; margin-top: 18px; color: oklch(0.78 0.02 282); max-width: 290px; }
|
|
.foot-socials { display: flex; gap: 12px; margin-top: 22px; }
|
|
.foot-socials a { width: 42px; height: 42px; border-radius: 50%; background: oklch(1 0 0 / 0.08); display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
|
|
.foot-socials a:hover { background: var(--coral); transform: translateY(-3px); }
|
|
.foot-socials a svg { width: 17px; height: 17px; color:#fff; }
|
|
.foot-links { display: flex; flex-direction: column; gap: 13px; }
|
|
.foot-links a { font-size: 14px; color: oklch(0.80 0.02 282); transition: color .2s ease, padding .2s ease; }
|
|
.foot-links a:hover { color:#fff; padding-inline-end: 5px; }
|
|
.foot-contact { display: flex; flex-direction: column; gap: 16px; }
|
|
.foot-contact .fl { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 1.8; color: oklch(0.80 0.02 282); }
|
|
.foot-contact .fl svg { width: 17px; height: 17px; color: var(--coral); flex-shrink: 0; margin-top: 4px; }
|
|
.foot-contact .fl a:hover { color:#fff; }
|
|
.foot-badges { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
|
|
.footer-bottom { border-top: 1px solid oklch(1 0 0 / 0.08); padding: 26px 0; text-align: center; font-size: 13px; color: oklch(0.70 0.02 282); }
|
|
.footer-bottom .heart { color: var(--coral); }
|
|
|
|
/* ===================== Reveal (always-visible, frozen-clock safe) ===================== */
|
|
/* Resting state is fully visible. A gentle entrance plays via transform only —
|
|
even if the animation clock is throttled, opacity never drops, so content
|
|
is guaranteed to show. */
|
|
.reveal { opacity: 1; }
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.js .reveal { animation: revealIn .65s cubic-bezier(.2,.7,.2,1) both; }
|
|
.js .reveal.d1 { animation-delay: .08s; }
|
|
.js .reveal.d2 { animation-delay: .16s; }
|
|
.js .reveal.d3 { animation-delay: .24s; }
|
|
}
|
|
@keyframes revealIn { from { transform: translateY(22px); } to { transform: none; } }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.js .reveal { animation: none; }
|
|
.chip-1, .chip-2 { animation: none; }
|
|
html { scroll-behavior: auto; }
|
|
}
|
|
|
|
/* ===================== Responsive ===================== */
|
|
@media (max-width: 1000px) {
|
|
.hero-grid, .devices-grid, .appcta-grid { grid-template-columns: 1fr; }
|
|
.hero { padding-bottom: 80px; }
|
|
.hero-copy, .devices-copy, .appcta-copy { max-width: 560px; margin-inline: auto; text-align: center; }
|
|
.hero-actions, .dl-trust, .store-badges { justify-content: center; }
|
|
.hero-art { max-width: 560px; margin: 20px auto 0; }
|
|
.devices-art { order: -1; max-width: 520px; margin-inline: auto; }
|
|
.fcols-grid { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
|
|
.icon-grid, .specs-grid { grid-template-columns: 1fr 1fr; gap: 40px 26px; }
|
|
.footer-grid { grid-template-columns: 1fr 1fr; }
|
|
}
|
|
@media (max-width: 768px) {
|
|
.wrap { padding-inline: 24px; }
|
|
.hero { padding: 50px 0 64px; }
|
|
.icons { padding: 60px 0 64px; }
|
|
.specs { padding: 56px 0 72px; }
|
|
.appcta { padding: 24px 0 80px; }
|
|
.devices { padding: 30px 0 64px; }
|
|
.specs-head { margin-bottom: 40px; }
|
|
}
|
|
@media (max-width: 640px) {
|
|
.wrap { padding-inline: 20px; }
|
|
.nav { height: 64px; gap: 12px; }
|
|
html { scroll-padding-top: 72px; }
|
|
.brand small { display: none; }
|
|
.brand b { font-size: 22px; }
|
|
.nav-right { gap: 10px; }
|
|
.nav-right #openRegModal { display: none; }
|
|
.nav-links { display: none; }
|
|
.nav-links.open {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 64px;
|
|
inset-inline: 0;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
background: #fff;
|
|
padding: 22px 24px;
|
|
box-shadow: 0 16px 30px oklch(0.4 0.08 285 / 0.1);
|
|
border-top: 1px solid var(--line-soft);
|
|
}
|
|
.nav-links.open .nav-reg-mobile {
|
|
display: block;
|
|
color: var(--coral);
|
|
font-weight: 700;
|
|
}
|
|
.nav-toggle { display: grid; }
|
|
.nav-ico.search { display: none; }
|
|
.fcols-grid { grid-template-columns: 1fr; text-align: center; }
|
|
.fcol p { max-width: 320px; margin-inline: auto; }
|
|
.icon-grid, .specs-grid, .footer-grid { grid-template-columns: 1fr; }
|
|
.hero-actions .btn { flex: 1; justify-content: center; }
|
|
.art-chip { display: none; }
|
|
}
|