Files
ar.badieiandCursor c2376b3b9e
Build & Push Docker Image / build (push) Has been cancelled
feat: redesign landing page with brand system and section blocks
Refresh the homepage around new hero/services/roadmap sections, shared design tokens, and updated brand assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 17:00:55 +03:30

754 lines
19 KiB
CSS

@import "tailwindcss";
@import "tw-animate-css";
/* IRANSansX Font Faces */
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 100;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Thin.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Thin.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 200;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-UltraLight.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-UltraLight.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 300;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Light.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Light.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 500;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Medium.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Medium.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 600;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-DemiBold.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-DemiBold.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 800;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-ExtraBold.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-ExtraBold.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 900;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Black.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Black.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: bold;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Bold.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Bold.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: normal;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Regular.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Regular.woff2") format("woff2");
}
@custom-variant dark (&:is(.dark *));
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: "IRANSansX", "system-ui", "Avenir", "Helvetica", "Arial",
"sans-serif";
--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
monospace;
--font-iran-sans: "IRANSansX", "system-ui", "Avenir", "Helvetica", "Arial",
"sans-serif";
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-primary-hover: var(--primary-hover);
--color-primary-active: var(--primary-active);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--color-surface: var(--surface);
--color-surface-foreground: var(--surface-foreground);
--color-brand: var(--brand-primary);
--color-brand-dark: var(--brand-primary-dark);
--color-brand-neutral: var(--brand-neutral);
--color-brand-gray: var(--brand-gray);
--color-brand-light: var(--brand-light);
--color-glow: var(--brand-glow);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--radius-blog: var(--radius-blog);
--shadow-surface-sm: var(--elevation-small);
--shadow-surface-md: var(--elevation-medium);
--shadow-floating: var(--elevation-floating);
--shadow-hero: var(--elevation-hero);
--color-surface-border: var(--surface-border);
}
@import "../styles/design-system/tokens.css";
@import "../styles/design-system/background.css";
@import "../styles/design-system/surfaces.css";
@import "../styles/design-system/borders.css";
@import "../styles/design-system/shadows.css";
@import "../styles/design-system/gradients.css";
@import "../styles/design-system/glow.css";
@import "../styles/design-system/grid.css";
@import "../styles/design-system/ambient.css";
@layer base {
html {
scroll-behavior: smooth;
overflow-x: clip;
scroll-snap-type: y proximity;
scroll-padding-top: 7rem;
}
* {
@apply border-border outline-ring/50;
}
body {
@apply text-foreground antialiased;
font-family: "IRANSansX", system-ui, sans-serif;
letter-spacing: normal;
line-height: 1.75;
text-align: start;
overflow-x: clip;
transition:
background-color 0.3s ease,
color 0.3s ease;
}
h1, h2, h3, h4, h5, h6 {
letter-spacing: normal;
line-height: 1.45;
text-align: start;
color: var(--foreground);
transition: color 0.25s ease;
}
p {
letter-spacing: normal;
line-height: 1.8;
text-align: start;
text-wrap: pretty;
transition: color 0.25s ease;
}
ul, ol {
padding-inline-start: 1.5rem;
}
li {
text-align: start;
}
a {
transition:
color 0.25s ease,
background-color 0.25s ease,
border-color 0.25s ease,
opacity 0.25s ease;
}
button {
transition:
color 0.25s ease,
background-color 0.25s ease,
border-color 0.25s ease,
box-shadow 0.25s ease,
opacity 0.25s ease,
transform 0.25s ease;
}
::selection {
background: color-mix(in srgb, var(--primary) 28%, transparent);
color: var(--foreground);
}
}
/* Blog table blocks (figure.blog-table) */
.blog-table {
position: relative;
width: 100%;
margin-inline: 0;
padding: 0;
}
.blog-table__scroll {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
margin: 0;
padding: 0;
}
.blog-table__grid {
width: 100%;
border-collapse: collapse;
font-size: 0.9375rem;
line-height: 1.6;
}
.blog-table__grid th,
.blog-table__grid td {
padding: 0.875rem 1rem;
text-align: right;
vertical-align: top;
}
.blog-table__grid th p,
.blog-table__grid td p {
margin: 0;
}
.blog-table__caption {
margin-top: 0.75rem;
text-align: justify;
text-align-last: start;
font-size: 0.75rem;
line-height: 1.6;
color: var(--muted-foreground);
}
.blog-table__grid a {
color: var(--primary);
text-decoration: underline;
}
.blog-table__grid a:hover {
text-decoration: none;
}
/* Variant one (green) & two (yellow) — glass layout aligned with HeroHeader */
.blog-table--one {
--table-tone: var(--primary);
}
.blog-table--two {
--table-tone: var(--accent);
}
.blog-table--one .blog-table__grid thead th,
.blog-table--two .blog-table__grid thead th {
background: color-mix(in srgb, var(--table-tone) 35%, transparent);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
color: var(--foreground);
font-weight: 600;
border-bottom: 1px solid color-mix(in srgb, var(--border) 10%, transparent);
}
.blog-table--one .blog-table__grid tbody tr,
.blog-table--two .blog-table__grid tbody tr {
transition: background-color 0.3s ease;
}
.blog-table--one .blog-table__grid tbody tr:nth-child(even) td,
.blog-table--two .blog-table__grid tbody tr:nth-child(even) td {
background: color-mix(in srgb, var(--background) 20%, transparent);
}
.blog-table--one .blog-table__grid tbody tr:hover td,
.blog-table--two .blog-table__grid tbody tr:hover td {
background: color-mix(in srgb, var(--table-tone) 12%, transparent);
}
.blog-table--one .blog-table__grid tbody td,
.blog-table--two .blog-table__grid tbody td {
border-top: 1px solid color-mix(in srgb, var(--border) 10%, transparent);
}
.blog-table--one .blog-table__grid tbody td:first-child,
.blog-table--two .blog-table__grid tbody td:first-child {
font-weight: 500;
color: var(--foreground);
}
.wp-block-button > .wp-element-button {
@apply inline-flex bg-primary text-primary-foreground px-4 py-2 rounded-md hover:bg-primary/80 hover:text-primary-foreground/80 cursor-pointer no-underline;
}
.wp-block-button {
@apply inline-flex;
}
.wp-block-button.is-style-outline > .wp-element-button {
@apply bg-transparent text-foreground border border-2 border-primary hover:text-primary cursor-pointer no-underline;
}
.cta-block {
@apply flex flex-col gap-4 border rounded-md border-primary/50 p-4 items-center my-4 shadow-sm bg-primary/5 text-primary;
}
.wp-block-image {
@apply rounded-blog overflow-hidden shadow-sm;
}
.blog-content .wp-block-image {
@apply my-6;
}
.blog-content img {
@apply w-full h-auto;
image-rendering: auto;
}
/* Blog prose typography — single source of truth */
.blog-content {
@apply space-y-6 text-foreground;
}
.blog-content h2 {
@apply mt-8 mb-4 text-2xl font-bold leading-snug tracking-normal scroll-mt-24;
}
.blog-content h3 {
@apply mt-6 mb-3 text-xl font-bold leading-snug tracking-normal scroll-mt-24;
}
.blog-content h4 {
@apply mt-4 mb-2 text-lg font-bold leading-snug tracking-normal scroll-mt-24;
}
.blog-content p {
@apply leading-relaxed tracking-normal text-muted-foreground;
}
.blog-content a {
@apply text-primary no-underline hover:underline;
}
.blog-content ul {
@apply list-disc ps-6;
}
.blog-content ol {
@apply list-decimal ps-6;
}
.blog-content li {
@apply my-1;
}
/* Blog blockquote variants */
.blog-blockquote {
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
border-radius: var(--radius-blog);
border: 1px solid;
padding-block: 1.8rem;
padding-inline: 2.1rem;
box-shadow: 0 2px 4px rgb(0 0 0 / 0.06);
isolation: isolate;
}
.blog-blockquote::before {
content: "";
position: absolute;
inset-block: 1rem;
inset-inline-start: 0;
width: 4px;
border-radius: 9999px;
}
.blog-blockquote--yellow {
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
background: color-mix(in srgb, var(--accent) 24%, var(--background));
box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 18%, transparent);
}
.blog-blockquote--yellow::before {
background: var(--accent);
}
.blog-blockquote--yellow .blog-blockquote__icon {
color: color-mix(in srgb, var(--accent) 82%, var(--foreground));
}
.blog-blockquote--yellow .blog-blockquote__footer {
border-top-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}
.blog-blockquote--green {
border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
background: color-mix(in srgb, var(--primary) 18%, var(--background));
box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 16%, transparent);
}
.blog-blockquote--green::before {
background: var(--primary);
}
.blog-blockquote--green .blog-blockquote__icon {
color: color-mix(in srgb, var(--primary) 80%, var(--foreground));
}
.blog-blockquote--green .blog-blockquote__footer {
border-top-color: color-mix(in srgb, var(--primary) 28%, var(--border));
}
.blog-blockquote--gray {
border-color: color-mix(in srgb, var(--border) 90%, var(--muted-foreground));
background: color-mix(in srgb, var(--muted) 72%, var(--background));
box-shadow: 0 4px 12px rgb(0 0 0 / 0.06);
}
.blog-blockquote--gray::before {
background: color-mix(in srgb, var(--muted-foreground) 50%, transparent);
}
.blog-blockquote--gray .blog-blockquote__icon {
color: color-mix(in srgb, var(--muted-foreground) 78%, var(--foreground));
}
.blog-blockquote--gray .blog-blockquote__footer {
border-top-color: color-mix(in srgb, var(--border) 80%, transparent);
}
.blog-blockquote__icon {
position: relative;
z-index: 2;
width: 2.4rem;
height: 2.4rem;
flex-shrink: 0;
margin-bottom: 0.9rem;
}
.blog-blockquote__decorations {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
opacity: 0.07;
/* Keep decorative shapes out of the quote-icon corner (inline-start). */
clip-path: polygon(
0 0,
calc(100% - 4.75rem) 0,
calc(100% - 4.75rem) 4.75rem,
100% 4.75rem,
100% 100%,
0 100%
);
}
:dir(ltr) .blog-blockquote__decorations {
clip-path: polygon(
4.75rem 0,
100% 0,
100% 100%,
0 100%,
0 4.75rem,
4.75rem 4.75rem
);
}
.blog-pullquote .blog-blockquote__decorations {
clip-path: none;
}
.blog-blockquote__content {
position: relative;
z-index: 2;
isolation: isolate;
width: 100%;
font-size: 1.35rem;
line-height: 1.75;
text-align: start;
}
.blog-blockquote__content p {
margin-block: 0.6rem;
}
.blog-blockquote__content a {
color: var(--primary);
text-decoration: underline;
}
.blog-blockquote__content a:hover {
text-decoration: none;
}
.blog-blockquote__footer {
position: relative;
z-index: 2;
width: 100%;
margin-top: 1.2rem;
padding-top: 1.2rem;
border-top: 1px solid;
}
.blog-pullquote {
text-align: center;
padding-inline: 1.8rem;
}
.blog-pullquote .blog-blockquote__icon {
width: 2.1rem;
height: 2.1rem;
}
.blog-pullquote .blog-blockquote__content {
font-size: 1.5rem;
font-weight: 500;
}
/* Premium vertical timeline roadmap — card/node states (atmospherics in design-system/) */
.timeline-item {
padding-block: var(--timeline-step-gap);
scroll-snap-align: center;
scroll-snap-stop: always;
scroll-margin-block: min(28vh, 11rem);
}
.timeline-item:first-child {
padding-block-start: calc(var(--timeline-step-gap) * 0.5);
}
.timeline-item:last-child {
padding-block-end: calc(var(--timeline-step-gap) * 0.5);
}
.timeline-card {
cursor: pointer;
}
/* Idle dimming via text/surface tokens only — never card opacity
(opacity would let the vertical rail bleed through on mobile). */
.timeline-card--active {
opacity: 1;
}
.timeline-node[data-active="true"] .timeline-node__ring {
animation: timeline-node-pulse 1.1s ease-out;
}
@keyframes timeline-node-pulse {
0% {
transform: scale(0.75);
opacity: 0.85;
}
100% {
transform: scale(1.45);
opacity: 0;
}
}
.timeline-rail__progress {
will-change: height;
}
.timeline-node {
position: relative;
z-index: 10;
display: flex;
size: 14px;
align-items: center;
justify-content: center;
}
.timeline-node__core {
position: relative;
z-index: 2;
size: 10px;
border-radius: 9999px;
background: var(--brand-primary);
transition: all 500ms ease-out;
}
.timeline-node__ring {
position: absolute;
inset: -5px;
border-radius: 9999px;
border: 1px solid color-mix(in srgb, var(--brand-primary) 35%, transparent);
transition: all 500ms ease-out;
}
.timeline-node[data-active="true"] .timeline-node__core {
background: var(--brand-highlight);
box-shadow:
0 0 6px color-mix(in srgb, var(--brand-highlight) 45%, transparent),
0 0 14px color-mix(in srgb, var(--brand-primary) 28%, transparent);
}
.timeline-node[data-active="true"] .timeline-node__ring {
inset: -9px;
border-color: color-mix(in srgb, var(--brand-highlight) 55%, transparent);
box-shadow: 0 0 12px color-mix(in srgb, var(--brand-primary) 22%, transparent);
}
.timeline-node[data-completed="true"]:not([data-active="true"]) .timeline-node__core {
background: var(--brand-primary);
opacity: 0.85;
}
.timeline-card--idle .timeline-card__surface {
border-color: color-mix(in srgb, var(--border) 80%, transparent);
/* Opaque so the timeline rail never shows through idle cards on mobile */
background: var(--surface);
box-shadow:
0 10px 32px -20px color-mix(in srgb, var(--brand-neutral) 28%, transparent),
0 2px 8px -4px color-mix(in srgb, var(--brand-neutral) 12%, transparent);
}
.dark .timeline-card--idle .timeline-card__surface {
border-color: rgb(255 255 255 / 0.08);
background: var(--surface);
box-shadow:
0 12px 36px -18px color-mix(in srgb, black 55%, transparent);
}
.timeline-card--idle .timeline-card__step {
background: color-mix(in srgb, var(--muted) 80%, transparent);
color: var(--muted-foreground);
}
.timeline-card--idle .timeline-card__title {
color: color-mix(in srgb, var(--foreground) 55%, transparent);
}
.timeline-card--idle .timeline-card__desc {
color: color-mix(in srgb, var(--muted-foreground) 85%, transparent);
}
.timeline-card--idle:hover .timeline-card__surface {
border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
}
.timeline-card--active .timeline-card__surface {
border-color: color-mix(in srgb, var(--brand-primary) 42%, transparent);
background: color-mix(in srgb, var(--surface) 96%, var(--background));
box-shadow:
0 0 0 1px color-mix(in srgb, var(--brand-highlight) 10%, transparent),
0 18px 48px -20px color-mix(in srgb, var(--brand-neutral) 32%, transparent),
0 8px 24px -12px color-mix(in srgb, var(--brand-primary) 22%, transparent);
}
.dark .timeline-card--active .timeline-card__surface {
background: var(--surface);
box-shadow:
0 0 0 1px color-mix(in srgb, var(--brand-highlight) 10%, transparent),
0 18px 48px -16px color-mix(in srgb, black 60%, transparent),
0 8px 28px -12px color-mix(in srgb, var(--brand-primary) 28%, transparent);
}
.timeline-card--active .timeline-card__sheen {
background: radial-gradient(
circle at 20% 10%,
color-mix(in srgb, var(--brand-highlight) 12%, transparent),
transparent 62%
);
}
.timeline-card--active .timeline-card__step {
background: var(--primary);
color: var(--primary-foreground);
}
.timeline-card--active .timeline-card__title {
color: var(--foreground);
}
.timeline-card--active .timeline-card__desc {
color: var(--muted-foreground);
}
.timeline-card__surface {
transition:
border-color 500ms ease-out,
background-color 500ms ease-out,
box-shadow 500ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
.timeline-card__surface,
.timeline-node__core,
.timeline-node__ring,
.timeline-rail__progress,
.timeline-connector path {
transition-duration: 0.01ms !important;
}
.timeline-item {
scroll-snap-align: none;
scroll-snap-stop: normal;
scroll-margin-block: 0;
}
html {
scroll-snap-type: none;
}
.header-nav-item {
animation: none !important;
opacity: 1 !important;
transform: none !important;
}
[data-mega-menu-panel] {
filter: none !important;
}
}
@keyframes header-nav-in {
from {
opacity: 0;
transform: translate3d(0, 6px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}