feat: redesign landing page with brand system and section blocks
Build & Push Docker Image / build (push) Has been cancelled

Refresh the homepage around new hero/services/roadmap sections, shared design tokens, and updated brand assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ar.badiei
2026-07-23 17:00:55 +03:30
co-authored by Cursor
parent f0c290786e
commit c2376b3b9e
352 changed files with 34442 additions and 2760 deletions
+286 -101
View File
@@ -103,6 +103,7 @@
--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);
@@ -111,128 +112,102 @@
--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);
}
:root {
--font-iran-sans: "IRANSansX", system-ui, sans-serif;
--radius: 0.625rem;
--radius-blog: 0.9375rem;
--card: oklch(1 0.006 175);
--card-foreground: oklch(0.145 0.02 175);
--popover: oklch(1 0.006 175);
--popover-foreground: oklch(0.145 0.02 175);
--primary: #01796F;
--primary-foreground: oklch(0.985 0 0);
--secondary: #0D9488;
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.97 0.012 175);
--muted-foreground: oklch(0.35 0.05 175);
--accent: #FCC61D;
--accent-foreground: oklch(0.25 0.05 50);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.9 0.012 175);
--input: oklch(0.95 0.01 175);
--ring: oklch(0.45 0.1 175);
--chart-1: oklch(0.45 0.1 175);
--chart-2: oklch(0.6 0.12 162);
--chart-3: oklch(0.55 0.08 175);
--chart-4: oklch(0.7 0.1 170);
--chart-5: oklch(0.5 0.09 180);
--sidebar: oklch(0.985 0.008 175);
--sidebar-foreground: oklch(0.145 0.02 175);
--sidebar-primary: #01796F;
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.97 0.015 175);
--sidebar-accent-foreground: oklch(0.205 0.02 175);
--sidebar-border: oklch(0.922 0.01 175);
--sidebar-ring: oklch(0.45 0.1 175);
--background: oklch(0.99 0.008 175);
--foreground: oklch(0.25 0.03 175);
}
.dark {
--background: oklch(0.145 0.02 175);
--foreground: oklch(0.95 0.01 280);
--card: oklch(0.22 0.025 175);
--card-foreground: oklch(0.95 0.01 280);
--popover: oklch(0.22 0.025 175);
--popover-foreground: oklch(0.95 0.01 280);
--primary: #01796F;
--primary-foreground: oklch(0.985 0 0);
--secondary: #14B8A6;
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.28 0.025 175);
--muted-foreground: oklch(0.75 0.02 175);
--accent: #FCC61D;
--accent-foreground: oklch(0.2 0.05 50);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(0.3 0.025 175);
--input: oklch(0.3 0.025 175);
--ring: oklch(0.5 0.12 175);
--chart-1: oklch(0.5 0.12 175);
--chart-2: oklch(0.6 0.14 162);
--chart-3: oklch(0.55 0.1 175);
--chart-4: oklch(0.65 0.11 170);
--chart-5: oklch(0.45 0.09 180);
--sidebar: oklch(0.22 0.025 175);
--sidebar-foreground: oklch(0.95 0.01 280);
--sidebar-primary: #01796F;
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.3 0.03 175);
--sidebar-accent-foreground: oklch(0.95 0.01 280);
--sidebar-border: oklch(0.3 0.025 175);
--sidebar-ring: oklch(0.5 0.12 175);
}
@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 bg-background text-foreground;
font-family: "IRANSansX";
@apply text-foreground antialiased;
font-family: "IRANSansX", system-ui, sans-serif;
letter-spacing: normal;
line-height: 1.6;
background-image:
radial-gradient(at 0% 0%, oklch(0.98 0.012 175 / 0.3) 0px, transparent 50%),
radial-gradient(at 100% 100%, oklch(0.95 0.02 175 / 0.2) 0px, transparent 50%),
radial-gradient(at 50% 50%, oklch(0.97 0.01 170 / 0.15) 0px, transparent 50%);
background-attachment: fixed;
transition: background-color 0.3s ease;
}
.dark body {
background-image:
radial-gradient(at 0% 0%, oklch(0.2 0.025 175 / 0.3) 0px, transparent 50%),
radial-gradient(at 100% 100%, oklch(0.18 0.02 175 / 0.2) 0px, transparent 50%),
radial-gradient(at 50% 50%, oklch(0.22 0.025 170 / 0.15) 0px, transparent 50%);
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.5;
transition: color 0.3s ease;
line-height: 1.45;
text-align: start;
color: var(--foreground);
transition: color 0.25s ease;
}
p {
letter-spacing: normal;
line-height: 1.7;
transition: color 0.3s ease;
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: all 0.3s ease;
transition:
color 0.25s ease,
background-color 0.25s ease,
border-color 0.25s ease,
opacity 0.25s ease;
}
button {
transition: all 0.3s ease;
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);
}
}
@@ -273,8 +248,10 @@
.blog-table__caption {
margin-top: 0.75rem;
text-align: center;
font-size: 0.8125rem;
text-align: justify;
text-align-last: start;
font-size: 0.75rem;
line-height: 1.6;
color: var(--muted-foreground);
}
@@ -368,15 +345,15 @@
}
.blog-content h2 {
@apply mt-8 mb-4 text-2xl font-semibold leading-snug tracking-normal scroll-mt-24;
@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-semibold leading-snug tracking-normal scroll-mt-24;
@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-semibold leading-snug tracking-normal scroll-mt-24;
@apply mt-4 mb-2 text-lg font-bold leading-snug tracking-normal scroll-mt-24;
}
.blog-content p {
@@ -388,11 +365,11 @@
}
.blog-content ul {
@apply list-disc pr-6;
@apply list-disc ps-6;
}
.blog-content ol {
@apply list-decimal pr-6;
@apply list-decimal ps-6;
}
.blog-content li {
@@ -527,7 +504,7 @@
width: 100%;
font-size: 1.35rem;
line-height: 1.75;
text-align: justify;
text-align: start;
}
.blog-blockquote__content p {
@@ -535,7 +512,7 @@
}
.blog-blockquote__content a {
color: var(--accent);
color: var(--primary);
text-decoration: underline;
}
@@ -565,4 +542,212 @@
.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);
}
}