forked from vyla-entertainment/home-frontend
Released New Website
This commit is contained in:
69
src/styles/base/reset.css
Normal file
69
src/styles/base/reset.css
Normal file
@@ -0,0 +1,69 @@
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
background: var(--color-bg);
|
||||
color: var(--color-fg);
|
||||
font-family: var(--font-body);
|
||||
font-size: 16px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
height: 100%;
|
||||
overscroll-behavior-y: none;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1.5;
|
||||
overflow-x: hidden;
|
||||
position: relative;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
min-height: 100%;
|
||||
min-height: 100dvh;
|
||||
background: var(--color-bg);
|
||||
}
|
||||
|
||||
body::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--color-fg);
|
||||
outline-offset: 3px;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--color-fg);
|
||||
color: var(--color-bg);
|
||||
}
|
||||
46
src/styles/base/tokens.css
Normal file
46
src/styles/base/tokens.css
Normal file
@@ -0,0 +1,46 @@
|
||||
:root {
|
||||
--color-bg: #000000;
|
||||
--color-bg-elevated: #0a0a0a;
|
||||
--color-bg-card: #020202;
|
||||
--color-fg: #ffffff;
|
||||
--color-fg-dim: #cccccc;
|
||||
--color-muted: #8f8f8f;
|
||||
--color-border: #262626;
|
||||
--color-border-strong: #383838;
|
||||
|
||||
--font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
|
||||
--space-3xs: 0.25rem;
|
||||
--space-2xs: 0.375rem;
|
||||
--space-xs: 0.5rem;
|
||||
--space-sm: 0.75rem;
|
||||
--space-md: 1rem;
|
||||
--space-lg: 1.5rem;
|
||||
--space-xl: 2rem;
|
||||
--space-2xl: 3rem;
|
||||
--space-3xl: 4rem;
|
||||
--space-4xl: 6rem;
|
||||
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 14px;
|
||||
--radius-lg: 20px;
|
||||
--radius-pill: 999px;
|
||||
|
||||
--ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
--ease-out-soft: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
--duration-fast: 0.2s;
|
||||
--duration-base: 0.35s;
|
||||
--duration-slow: 0.8s;
|
||||
|
||||
--shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.45);
|
||||
--shadow-modal: 0 40px 100px rgba(0, 0, 0, 0.6);
|
||||
|
||||
--z-dot-grid: 40;
|
||||
--z-nav: 50;
|
||||
--z-marquee-fade: 2;
|
||||
--z-modal: 200;
|
||||
|
||||
--content-padding-inline: clamp(1.25rem, 5vw, 4rem);
|
||||
}
|
||||
41
src/styles/base/typography.css
Normal file
41
src/styles/base/typography.css
Normal file
@@ -0,0 +1,41 @@
|
||||
.bold {
|
||||
font-weight: 700;
|
||||
color: var(--color-fg) !important;
|
||||
}
|
||||
|
||||
.bold-black {
|
||||
font-weight: 900;
|
||||
color: var(--color-bg) !important;
|
||||
}
|
||||
|
||||
.text-balance {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.section-eyebrow {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
.section-title-lg {
|
||||
font-size: clamp(1.5rem, 3vw, 1.85rem);
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.03em;
|
||||
text-align: center;
|
||||
color: var(--color-fg-dim);
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 0.9375rem;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
.section-subtitle a {
|
||||
color: var(--color-fg);
|
||||
transition: color var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.section-subtitle a:hover {
|
||||
color: var(--color-fg-dim);
|
||||
}
|
||||
82
src/styles/components/buttons.css
Normal file
82
src/styles/components/buttons.css
Normal file
@@ -0,0 +1,82 @@
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
background: var(--color-fg);
|
||||
color: var(--color-bg);
|
||||
padding: 0.875rem 1.75rem;
|
||||
border-radius: var(--radius-pill);
|
||||
font-weight: 600;
|
||||
font-size: 0.875rem;
|
||||
transition: transform var(--duration-fast) var(--ease-out-soft), opacity var(--duration-fast) ease;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
touch-action: manipulation;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.btn:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
.hero-cta-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.hero-cta {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.7rem 1.35rem;
|
||||
border-radius: var(--radius-pill);
|
||||
font-family: var(--font-body);
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition: transform var(--duration-fast) var(--ease-out-soft),
|
||||
background var(--duration-fast) ease,
|
||||
opacity var(--duration-fast) ease;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.hero-cta:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
.hero-cta-dark {
|
||||
background: #000000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.hero-cta-dark:hover {
|
||||
background: #000;
|
||||
border-color: var(--color-fg-dim);
|
||||
}
|
||||
|
||||
.hero-cta-light {
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
color: #0f0f0f;
|
||||
}
|
||||
|
||||
.hero-cta-light:hover {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
.btn {
|
||||
min-height: 48px;
|
||||
min-width: 48px;
|
||||
}
|
||||
}
|
||||
59
src/styles/components/executors.css
Normal file
59
src/styles/components/executors.css
Normal file
@@ -0,0 +1,59 @@
|
||||
.executors-marquee-wrap {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.executors-marquee-row {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.executors-marquee-track {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: clamp(2rem, 5vw, 3.5rem);
|
||||
width: max-content;
|
||||
transform: translate3d(var(--marquee-x, 0px), 0, 0);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.executor-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
flex-shrink: 0;
|
||||
opacity: 0.45;
|
||||
filter: grayscale(0.3);
|
||||
transition: opacity var(--duration-base) ease, filter var(--duration-base) ease;
|
||||
}
|
||||
|
||||
.executor-item:hover {
|
||||
opacity: 1;
|
||||
filter: grayscale(0);
|
||||
}
|
||||
|
||||
.executor-avatar {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 8px;
|
||||
background: var(--color-border);
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.executor-avatar img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.executor-name {
|
||||
font-size: clamp(0.95rem, 2vw, 1.15rem);
|
||||
font-weight: 700;
|
||||
color: var(--color-fg);
|
||||
white-space: nowrap;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
59
src/styles/components/faq.css
Normal file
59
src/styles/components/faq.css
Normal file
@@ -0,0 +1,59 @@
|
||||
.faq-list {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.faq-item {
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.faq-question {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-fg);
|
||||
font-family: var(--font-body);
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
padding: 1.25rem 0.25rem;
|
||||
cursor: pointer;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
transition: color var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.faq-question:hover {
|
||||
color: var(--color-fg-dim);
|
||||
}
|
||||
|
||||
.faq-question .chevron {
|
||||
flex-shrink: 0;
|
||||
transition: transform var(--duration-fast) ease;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
.faq-item.open .faq-question .chevron {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.faq-answer {
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.4s var(--ease-out-soft);
|
||||
}
|
||||
|
||||
.faq-answer-inner {
|
||||
padding: 0 0.25rem 1.25rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-muted);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.faq-item.open .faq-answer {
|
||||
max-height: 320px;
|
||||
}
|
||||
77
src/styles/components/marquee.css
Normal file
77
src/styles/components/marquee.css
Normal file
@@ -0,0 +1,77 @@
|
||||
.marquee-fade-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.marquee-fade-wrap::before,
|
||||
.marquee-fade-wrap::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: clamp(3rem, 12vw, 10rem);
|
||||
z-index: var(--z-marquee-fade);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.marquee-fade-wrap::before {
|
||||
left: 0;
|
||||
background: linear-gradient(to right, var(--color-bg), transparent);
|
||||
}
|
||||
|
||||
.marquee-fade-wrap::after {
|
||||
right: 0;
|
||||
background: linear-gradient(to left, var(--color-bg), transparent);
|
||||
}
|
||||
|
||||
.marquee-row {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.marquee-track {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
width: max-content;
|
||||
transform: translateZ(0);
|
||||
backface-visibility: hidden;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.marquee-left .marquee-track {
|
||||
animation: marquee-scroll-left 60s linear infinite;
|
||||
}
|
||||
|
||||
.marquee-right .marquee-track {
|
||||
animation: marquee-scroll-right 60s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes marquee-scroll-left {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes marquee-scroll-right {
|
||||
from {
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
||||
.marquee-track,
|
||||
.executors-marquee-track,
|
||||
.showcase-track {
|
||||
animation: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
101
src/styles/components/modal.css
Normal file
101
src/styles/components/modal.css
Normal file
@@ -0,0 +1,101 @@
|
||||
.yt-modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: var(--z-modal);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: clamp(1rem, 4vw, 2.5rem);
|
||||
padding-top: calc(clamp(1rem, 4vw, 2.5rem));
|
||||
background: rgba(0, 0, 0, 0.82);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.yt-modal[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.yt-modal:not([hidden]) {
|
||||
display: flex;
|
||||
animation: yt-fade var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.yt-modal-backdrop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
cursor: zoom-out;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.yt-modal-dialog {
|
||||
position: relative;
|
||||
width: min(1040px, 100%);
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
box-shadow: var(--shadow-modal);
|
||||
animation: yt-pop 0.28s var(--ease-standard);
|
||||
}
|
||||
|
||||
.yt-modal-dialog iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yt-modal-close {
|
||||
position: absolute;
|
||||
top: -46px;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
backdrop-filter: blur(6px);
|
||||
transition: background var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.yt-modal-close:hover {
|
||||
background: var(--color-fg);
|
||||
color: var(--color-bg);
|
||||
}
|
||||
|
||||
@keyframes yt-fade {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes yt-pop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.94);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.yt-modal-close {
|
||||
top: calc(8px);
|
||||
right: 8px;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
}
|
||||
49
src/styles/components/partners.css
Normal file
49
src/styles/components/partners.css
Normal file
@@ -0,0 +1,49 @@
|
||||
.partners-inline {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.85rem;
|
||||
padding-top: 120px;
|
||||
}
|
||||
|
||||
.partners-label {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-fg-dim);
|
||||
opacity: 0.75;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.partners-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: clamp(1.5rem, 4vw, 2.75rem);
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.partner-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.partner-item img {
|
||||
height: 30px;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
filter: brightness(0) invert(1);
|
||||
opacity: 0.85;
|
||||
margin-top: 12px;
|
||||
transition: opacity var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.partner-item:hover img {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.partner-item a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
83
src/styles/components/pills.css
Normal file
83
src/styles/components/pills.css
Normal file
@@ -0,0 +1,83 @@
|
||||
.discord-copy-bar {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(8px) saturate(140%);
|
||||
-webkit-backdrop-filter: blur(8px) saturate(140%);
|
||||
border: none;
|
||||
border-radius: var(--radius-pill);
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.9rem;
|
||||
font-family: var(--font-body);
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-fg);
|
||||
cursor: pointer;
|
||||
letter-spacing: -0.01em;
|
||||
margin-top: 1.2rem;
|
||||
transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.copy-discord-label {
|
||||
position: relative;
|
||||
max-width: 350px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
color: var(--color-fg);
|
||||
-webkit-mask-image: linear-gradient(to left, transparent, black 15%);
|
||||
mask-image: linear-gradient(to left, transparent, black 15%);
|
||||
}
|
||||
|
||||
.discord-copy-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
}
|
||||
|
||||
.discord-copy-icon {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
color: var(--color-fg);
|
||||
transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.discord-copy-icon svg {
|
||||
transition: opacity 0.15s ease, transform 0.15s ease;
|
||||
}
|
||||
|
||||
.discord-copy-icon .check-icon {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
transform: scale(0.5);
|
||||
}
|
||||
|
||||
.discord-copy-icon.copied .copy-icon {
|
||||
opacity: 0;
|
||||
transform: scale(0.5);
|
||||
}
|
||||
|
||||
.discord-copy-icon.copied .check-icon {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.copy-discord-label {
|
||||
max-width: 250px;
|
||||
}
|
||||
|
||||
.discord-copy-bar {
|
||||
font-size: 0.75rem;
|
||||
padding: 0.4rem 0.4rem 0.4rem 0.875rem;
|
||||
}
|
||||
|
||||
.discord-copy-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
170
src/styles/components/script-card.css
Normal file
170
src/styles/components/script-card.css
Normal file
@@ -0,0 +1,170 @@
|
||||
.scripts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
|
||||
gap: clamp(1.25rem, 3vw, 1.75rem);
|
||||
margin-top: clamp(2rem, 6vw, 3rem);
|
||||
}
|
||||
|
||||
.script-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
cursor: pointer;
|
||||
border-radius: var(--radius-lg);
|
||||
transform: translateZ(0) scale(1);
|
||||
transition: transform 220ms cubic-bezier(.2, .8, .2, 1);
|
||||
}
|
||||
|
||||
.script-card:hover {
|
||||
transform: translateZ(0) scale(.92);
|
||||
}
|
||||
|
||||
.script-glow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 5%;
|
||||
width: 90%;
|
||||
height: 55%;
|
||||
z-index: -1;
|
||||
opacity: 0 !important;
|
||||
filter: blur(36px) saturate(1.5);
|
||||
background: radial-gradient(circle at 35% 30%, var(--glow-a, transparent) 0%, transparent 65%),
|
||||
radial-gradient(circle at 70% 40%, var(--glow-b, transparent) 0%, transparent 70%);
|
||||
transition: opacity 0.9s var(--ease-standard);
|
||||
pointer-events: none;
|
||||
will-change: opacity;
|
||||
}
|
||||
|
||||
.script-image {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
background: var(--color-border);
|
||||
overflow: hidden;
|
||||
margin-bottom: 1.25rem;
|
||||
border-radius: var(--radius-lg);
|
||||
-webkit-mask-image: linear-gradient(to top, transparent 0%, black 45%);
|
||||
mask-image: linear-gradient(to top, transparent 0%, black 45%);
|
||||
transition: transform var(--duration-base) var(--ease-out-soft);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.script-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: filter var(--duration-base) ease, transform var(--duration-base) ease;
|
||||
}
|
||||
|
||||
.script-title {
|
||||
font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.02em;
|
||||
margin-bottom: 0.5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.script-copy-icon {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.script-copy-icon svg {
|
||||
flex-shrink: 0;
|
||||
color: var(--color-muted);
|
||||
transition: transform var(--duration-fast) var(--ease-out-soft), color var(--duration-fast) ease, opacity 0.15s ease;
|
||||
}
|
||||
|
||||
.script-copy-icon .check-icon {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.script-copy-icon.copied .copy-icon {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.script-copy-icon.copied .check-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.script-card:hover .script-copy-icon svg {
|
||||
color: var(--color-fg);
|
||||
}
|
||||
|
||||
.script-desc {
|
||||
color: var(--color-muted);
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.scripts-wrap {
|
||||
position: relative;
|
||||
margin-inline: calc(var(--content-padding-inline) * -1);
|
||||
}
|
||||
|
||||
.scripts-grid {
|
||||
display: flex;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
scroll-snap-type: x mandatory;
|
||||
scroll-padding-inline: var(--content-padding-inline);
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scrollbar-width: none;
|
||||
padding-inline: var(--content-padding-inline);
|
||||
scroll-snap-stop: always;
|
||||
overscroll-behavior-x: contain;
|
||||
}
|
||||
|
||||
.scripts-wrap::before,
|
||||
.scripts-wrap::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: clamp(1.5rem, 6vw, 3rem);
|
||||
z-index: 100;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.scripts-wrap::before {
|
||||
left: 0;
|
||||
background: linear-gradient(to right, var(--color-bg), transparent);
|
||||
}
|
||||
|
||||
.scripts-wrap::after {
|
||||
right: 0;
|
||||
background: linear-gradient(to left, var(--color-bg), transparent);
|
||||
}
|
||||
|
||||
.scripts-grid::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.script-card {
|
||||
flex: 0 0 auto;
|
||||
width: calc(min(78vw, 300px) * 1.2);
|
||||
scroll-snap-align: start;
|
||||
}
|
||||
|
||||
.script-card:hover {
|
||||
transform: translateZ(0) scale(1);
|
||||
}
|
||||
|
||||
.script-card.glow-ready.in-snap .script-glow {
|
||||
opacity: 0.6 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
.script-image img {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
77
src/styles/components/showcase.css
Normal file
77
src/styles/components/showcase.css
Normal file
@@ -0,0 +1,77 @@
|
||||
.showcase-viewport {
|
||||
overflow: hidden;
|
||||
-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
|
||||
mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
|
||||
}
|
||||
|
||||
.showcase-track {
|
||||
display: flex;
|
||||
width: max-content;
|
||||
gap: clamp(0.75rem, 1.5vw, 1.25rem);
|
||||
transform: translate3d(var(--showcase-x, 0px), 0, 0);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.showcase-item {
|
||||
flex: 0 0 auto;
|
||||
width: clamp(220px, 22vw, 280px);
|
||||
opacity: 0;
|
||||
transition: opacity var(--duration-base) ease;
|
||||
}
|
||||
|
||||
.showcase-item.loaded {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.showcase-card {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
background: var(--color-border);
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
padding: 0;
|
||||
transition: transform var(--duration-base) var(--ease-standard);
|
||||
}
|
||||
|
||||
.showcase-thumb {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
transition: filter var(--duration-base) ease;
|
||||
}
|
||||
|
||||
.showcase-card:hover .showcase-thumb {
|
||||
filter: brightness(0.7);
|
||||
}
|
||||
|
||||
.showcase-play {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
margin: auto;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
color: #fff;
|
||||
pointer-events: none;
|
||||
transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.showcase-card:hover .showcase-play {
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
transform: scale(1.08);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.showcase-item {
|
||||
width: clamp(200px, 62vw, 260px);
|
||||
}
|
||||
}
|
||||
32
src/styles/components/stats.css
Normal file
32
src/styles/components/stats.css
Normal file
@@ -0,0 +1,32 @@
|
||||
.stats-grid {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: nowrap;
|
||||
gap: clamp(1.75rem, 5vw, 3.5rem);
|
||||
text-align: center;
|
||||
margin-top: clamp(1.5rem, 4vw, 2.25rem);
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: clamp(1.5rem, 3.5vw, 2.25rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--color-fg);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 0.6875rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-muted);
|
||||
letter-spacing: 0.01em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
79
src/styles/components/testimonial-card.css
Normal file
79
src/styles/components/testimonial-card.css
Normal file
@@ -0,0 +1,79 @@
|
||||
.testimonial-card {
|
||||
border-radius: var(--radius-md);
|
||||
padding: 1.25rem;
|
||||
background: var(--color-bg-card);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
width: clamp(240px, 30vw, 320px);
|
||||
flex-shrink: 0;
|
||||
transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
|
||||
}
|
||||
|
||||
.testimonial-card:hover {
|
||||
background: var(--color-bg-elevated);
|
||||
border-color: var(--color-border-strong);
|
||||
}
|
||||
|
||||
.testimonial-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.testimonial-user {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.testimonial-avatar {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-fg);
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.testimonial-avatar img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.testimonial-names {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.testimonial-name {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.testimonial-handle {
|
||||
font-size: 0.75rem;
|
||||
color: var(--color-muted);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.testimonial-text {
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-muted);
|
||||
line-height: 1.55;
|
||||
}
|
||||
62
src/styles/layout/footer.css
Normal file
62
src/styles/layout/footer.css
Normal file
@@ -0,0 +1,62 @@
|
||||
.footer {
|
||||
position: relative;
|
||||
padding: 48px 24px 24px;
|
||||
z-index: 1000;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
max-width: 1400px;
|
||||
margin: 0 auto 32px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 40px;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
.footer-section h4 {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 7px
|
||||
}
|
||||
|
||||
.footer-section p {
|
||||
color: var(--color-muted);
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
.footer-section a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--color-muted);
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
transition: color .2s;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
.footer-section a:hover {
|
||||
color: var(--color-muted)
|
||||
}
|
||||
|
||||
.social-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
font-size: 0.8rem;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
.footer-bottom p {
|
||||
color: var(--color-muted);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 400
|
||||
}
|
||||
67
src/styles/layout/nav.css
Normal file
67
src/styles/layout/nav.css
Normal file
@@ -0,0 +1,67 @@
|
||||
.nav {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 1.25rem 0;
|
||||
z-index: var(--z-nav);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nav-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
padding-inline: var(--content-padding-inline);
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-weight: 700;
|
||||
font-size: 1.125rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: clamp(1.25rem, 3vw, 2.5rem);
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-fg-dim);
|
||||
transition: color var(--duration-fast) ease;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.nav-links a:hover,
|
||||
.nav-links a:focus-visible {
|
||||
color: var(--color-fg);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.nav-links {
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.nav {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
.nav-links a {
|
||||
padding: 0.5rem 0;
|
||||
min-height: 44px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
35
src/styles/main.css
Normal file
35
src/styles/main.css
Normal file
@@ -0,0 +1,35 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');
|
||||
|
||||
@import 'base/tokens.css';
|
||||
@import 'base/reset.css';
|
||||
@import 'base/typography.css';
|
||||
|
||||
@import 'utilities/layout.css';
|
||||
@import 'utilities/reveal.css';
|
||||
|
||||
@import 'layout/nav.css';
|
||||
@import 'layout/footer.css';
|
||||
|
||||
@import 'components/buttons.css';
|
||||
@import 'components/pills.css';
|
||||
@import 'components/stats.css';
|
||||
@import 'components/script-card.css';
|
||||
@import 'components/marquee.css';
|
||||
@import 'components/testimonial-card.css';
|
||||
@import 'components/executors.css';
|
||||
@import 'components/showcase.css';
|
||||
@import 'components/modal.css';
|
||||
@import 'components/partners.css';
|
||||
@import 'components/faq.css';
|
||||
|
||||
@import 'sections/hero-atmosphere.css';
|
||||
@import 'sections/hero-content.css';
|
||||
@import 'sections/section-base.css';
|
||||
@import 'sections/testimonials.css';
|
||||
@import 'sections/executors.css';
|
||||
@import 'sections/features.css';
|
||||
@import 'sections/showcases.css';
|
||||
@import 'sections/faq-section.css';
|
||||
@import 'sections/cta-banner.css';
|
||||
|
||||
@import 'utilities/responsive.css';
|
||||
79
src/styles/sections/cta-banner.css
Normal file
79
src/styles/sections/cta-banner.css
Normal file
@@ -0,0 +1,79 @@
|
||||
.cta-banner {
|
||||
position: relative;
|
||||
padding: clamp(4rem, 10vw, 7rem) 0;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 50vh;
|
||||
}
|
||||
|
||||
.cta-banner-media {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
-webkit-mask-image:
|
||||
linear-gradient(to bottom, transparent, black 50%),
|
||||
linear-gradient(to top, transparent, black 70%);
|
||||
-webkit-mask-composite: source-in;
|
||||
mask-composite: intersect;
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-size: 100% 100%;
|
||||
mask-image:
|
||||
linear-gradient(to bottom, transparent, black 50%),
|
||||
linear-gradient(to top, transparent, black 65%);
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 100% 100%;
|
||||
}
|
||||
|
||||
.cta-banner-video {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
.cta-banner-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
#cta-byte-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#cta-byte-overlay {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.cta-banner-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.cta-banner-title {
|
||||
font-size: clamp(2rem, 5vw, 3rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--color-fg);
|
||||
}
|
||||
|
||||
.cta-banner-subtitle {
|
||||
font-size: 0.9375rem;
|
||||
color: var(--color-fg-dim);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
12
src/styles/sections/executors.css
Normal file
12
src/styles/sections/executors.css
Normal file
@@ -0,0 +1,12 @@
|
||||
.executors-section {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.executors-heading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: clamp(2rem, 6vw, 3rem);
|
||||
}
|
||||
8
src/styles/sections/faq-section.css
Normal file
8
src/styles/sections/faq-section.css
Normal file
@@ -0,0 +1,8 @@
|
||||
.faq-heading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: clamp(2rem, 6vw, 3.5rem);
|
||||
}
|
||||
91
src/styles/sections/features.css
Normal file
91
src/styles/sections/features.css
Normal file
@@ -0,0 +1,91 @@
|
||||
.features-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: clamp(3.5rem, 8vw, 6rem);
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.feature-block {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
align-items: center;
|
||||
gap: clamp(2rem, 6vw, 5rem);
|
||||
}
|
||||
|
||||
.feature-block-reverse {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.feature-block-reverse .feature-media {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.feature-block-reverse .feature-copy {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.feature-media {
|
||||
width: min(100%, 800px);
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-bg-card);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.feature-media img,
|
||||
.feature-media video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.feature-copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
text-align: left;
|
||||
max-width: 420px;
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
text-align: left;
|
||||
color: var(--color-fg);
|
||||
font-weight: 400;
|
||||
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.feature-copy .section-subtitle {
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
.features-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.feature-media {
|
||||
width: 100% !important;
|
||||
aspect-ratio: 4 / 3;
|
||||
max-height: 420px !important;
|
||||
height: 200px !important;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-bg-card);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.feature-block,
|
||||
.feature-block-reverse {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.feature-block-reverse .feature-media,
|
||||
.feature-block-reverse .feature-copy {
|
||||
order: initial;
|
||||
}
|
||||
}
|
||||
109
src/styles/sections/hero-atmosphere.css
Normal file
109
src/styles/sections/hero-atmosphere.css
Normal file
@@ -0,0 +1,109 @@
|
||||
.hero {
|
||||
position: relative;
|
||||
padding: clamp(6rem, 14vh, 8.5rem) 0 clamp(3rem, 6vh, 5rem);
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hero-atmosphere {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
-webkit-mask-image: linear-gradient(to bottom,
|
||||
black 0%,
|
||||
black 48%,
|
||||
rgba(0, 0, 0, 0.5) 80%,
|
||||
transparent 96%);
|
||||
mask-image: linear-gradient(to bottom,
|
||||
black 0%,
|
||||
black 48%,
|
||||
rgba(0, 0, 0, 0.5) 80%,
|
||||
transparent 96%);
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-size: 100% 100%;
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 100% 100%;
|
||||
}
|
||||
|
||||
.hero-atmosphere-video {
|
||||
position: absolute;
|
||||
inset: -6%;
|
||||
width: 112%;
|
||||
height: 112%;
|
||||
object-fit: cover;
|
||||
object-position: center top;
|
||||
transform: translateZ(0) scale(1.04);
|
||||
}
|
||||
|
||||
.hero-atmosphere-sheen {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(ellipse at 50% 4%, rgba(255, 255, 255, 0.18), transparent 46%),
|
||||
linear-gradient(116deg, transparent 18%, rgba(255, 255, 255, 0.06) 37%, transparent 51%);
|
||||
mix-blend-mode: soft-light;
|
||||
opacity: 0.8;
|
||||
animation: hero-sheen 16s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
.hero-atmosphere-vignette {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(to bottom, transparent 15%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.95) 100%),
|
||||
radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
|
||||
}
|
||||
|
||||
#hero-byte-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0.9;
|
||||
mix-blend-mode: screen;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@keyframes hero-sheen {
|
||||
0% {
|
||||
transform: translate3d(-4%, 0, 0) scale(1.04);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(5%, 1%, 0) scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#hero-byte-overlay {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hero-atmosphere-sheen {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.hero-atmosphere-video,
|
||||
#hero-byte-overlay {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.hero {
|
||||
padding-top: 8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: landscape) and (max-height: 600px) {
|
||||
.hero {
|
||||
height: auto;
|
||||
min-height: 100svh;
|
||||
padding-top: 5rem;
|
||||
}
|
||||
}
|
||||
84
src/styles/sections/hero-content.css
Normal file
84
src/styles/sections/hero-content.css
Normal file
@@ -0,0 +1,84 @@
|
||||
.hero-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.logo-image {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.logo-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: clamp(2rem, calc(2rem + 2 * ((100vw - 23.4375rem) / 66.5625)), 4rem);
|
||||
line-height: clamp(2.28rem, calc(2.28rem + 1.72 * ((100vw - 23.4375rem) / 66.5625)), 4rem);
|
||||
letter-spacing: -.03em;
|
||||
font-weight: 500;
|
||||
text-wrap: balance;
|
||||
color: var(--color-fg);
|
||||
margin-bottom: 1rem;
|
||||
min-width: 440px;
|
||||
}
|
||||
|
||||
.hero-title .char {
|
||||
display: inline-block;
|
||||
opacity: 0;
|
||||
filter: blur(10px);
|
||||
animation: char-in 0.4s ease forwards;
|
||||
}
|
||||
|
||||
.hero-description {
|
||||
color: var(--color-fg-dim);
|
||||
font-size: 0.8rem;
|
||||
margin: 1rem auto 0;
|
||||
line-height: 1.5;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.hero-description a {
|
||||
color: var(--color-fg-dim);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
}
|
||||
|
||||
@keyframes char-in {
|
||||
to {
|
||||
opacity: 1;
|
||||
filter: blur(0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hero-title .char {
|
||||
animation: none;
|
||||
opacity: 1;
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-description {
|
||||
margin-top: 0rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: landscape) and (max-height: 600px) {
|
||||
.hero-title {
|
||||
margin-bottom: 0rem;
|
||||
font-size: 2.7rem;
|
||||
}
|
||||
|
||||
.hero-container {
|
||||
padding-top: 0px;
|
||||
}
|
||||
}
|
||||
30
src/styles/sections/section-base.css
Normal file
30
src/styles/sections/section-base.css
Normal file
@@ -0,0 +1,30 @@
|
||||
.section {
|
||||
padding: clamp(2.5rem, 6vw, 4.5rem) 0;
|
||||
}
|
||||
|
||||
.stack {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.stack span {
|
||||
border: 1px solid var(--color-border);
|
||||
padding: 0.4rem 0.875rem;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 0.8125rem;
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.section {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: landscape) and (max-height: 600px) {
|
||||
.section {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
}
|
||||
13
src/styles/sections/showcases.css
Normal file
13
src/styles/sections/showcases.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.showcases-section {
|
||||
padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 6vw, 4rem);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.showcases-heading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: clamp(2rem, 5vw, 3rem);
|
||||
}
|
||||
23
src/styles/sections/testimonials.css
Normal file
23
src/styles/sections/testimonials.css
Normal file
@@ -0,0 +1,23 @@
|
||||
.testimonials-section {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.testimonials-container {
|
||||
margin-bottom: clamp(2rem, 6vw, 3.5rem);
|
||||
}
|
||||
|
||||
.testimonials-heading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.marquee-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
position: relative;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
27
src/styles/utilities/layout.css
Normal file
27
src/styles/utilities/layout.css
Normal file
@@ -0,0 +1,27 @@
|
||||
.container {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding-inline: var(--content-padding-inline);
|
||||
}
|
||||
|
||||
.dot-grid {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 90vw;
|
||||
height: 55vh;
|
||||
fill: rgba(255, 255, 255, 0.14);
|
||||
pointer-events: none;
|
||||
-webkit-mask-image: linear-gradient(to bottom right, white, transparent 65%);
|
||||
mask-image: linear-gradient(to bottom right, white, transparent 65%);
|
||||
z-index: var(--z-dot-grid);
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
}
|
||||
38
src/styles/utilities/responsive.css
Normal file
38
src/styles/utilities/responsive.css
Normal file
@@ -0,0 +1,38 @@
|
||||
@media (max-width: 480px) {
|
||||
html {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.stack span {
|
||||
font-size: 0.75rem;
|
||||
padding: 0.35rem 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: landscape) and (min-width: 600px) and (max-height: 500px) {
|
||||
.container {
|
||||
width: 95%;
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.scripts-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.cta-banner {
|
||||
padding: 1.5rem 2rem;
|
||||
height: 70vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
.script-links a {
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
52
src/styles/utilities/reveal.css
Normal file
52
src/styles/utilities/reveal.css
Normal file
@@ -0,0 +1,52 @@
|
||||
.reveal {
|
||||
opacity: 0;
|
||||
filter: blur(12px);
|
||||
transform: translate3d(0, 24px, 0);
|
||||
transition: opacity var(--duration-slow) var(--ease-standard),
|
||||
filter var(--duration-slow) var(--ease-standard),
|
||||
transform var(--duration-slow) var(--ease-standard);
|
||||
will-change: opacity, filter, transform;
|
||||
}
|
||||
|
||||
.reveal.in-view {
|
||||
opacity: 1;
|
||||
filter: blur(0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(1) {
|
||||
transition-delay: 0ms;
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(2) {
|
||||
transition-delay: 80ms;
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(3) {
|
||||
transition-delay: 160ms;
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(4) {
|
||||
transition-delay: 240ms;
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(5) {
|
||||
transition-delay: 320ms;
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(6) {
|
||||
transition-delay: 400ms;
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(7) {
|
||||
transition-delay: 480ms;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.reveal {
|
||||
opacity: 1;
|
||||
filter: none;
|
||||
transform: none;
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user