Files
landing/css/style.css
2025-05-02 12:48:13 +00:00

620 lines
13 KiB
CSS

html, body {
font-family: 'Inter', 'Montserrat', Arial, sans-serif;
background: #161616;
color: #ededed;
scroll-behavior: smooth;
font-size: 17px;
overflow-x: hidden;
width: 100%;
}
/* Мобильные стили для таблицы сравнения */
@media (max-width: 768px) {
.glass-card .grid {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.glass-card .col-span-1 {
word-break: break-word;
white-space: normal;
padding-right: 0.5rem;
text-align: left !important;
display: flex;
align-items: center;
}
.glass-card .col-span-1 i {
margin-right: 0.5rem;
flex-shrink: 0;
}
#featuresContainer .feature-row {
grid-template-columns: minmax(120px, 1fr) 1fr 1fr 1fr;
}
}
.gradient-bg {
background: radial-gradient(circle, #202327 65%, #0d0e11 100%);
}
.glass-card {
background: rgba(36,40,46,0.76);
border-radius: 2rem;
box-shadow: 0 7px 48px 0 #000B;
border: 1px solid rgba(116, 250, 255, 0.3);
backdrop-filter: blur(8px);
}
.glass-card.selected {
background: rgba(36,40,46,0.95);
border: 1px solid rgba(116, 250, 255, 0.3);
}
.flipbook-page.active .glass-card {
background: rgba(36,40,46,0.95);
border: 1px solid rgba(116, 250, 255, 0.3);
}
.hero-3d {
filter: drop-shadow(0 10px 90px #74faff66);
animation:
floaty 3.6s ease-in-out infinite alternate,
glow-pulse 3.6s ease-in-out infinite alternate;
will-change: transform, filter;
}
@keyframes floaty {
from { transform: translateY(0px) rotateZ(-1deg); }
to { transform: translateY(-16px) rotateZ(1deg);}
}
@keyframes glow-pulse {
from { filter: drop-shadow(0 10px 90px #74faff66); }
to { filter: drop-shadow(0 15px 120px #74faff99); }
}
.pulse-cta {
animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {
from { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
to { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}
.fade-up {
opacity: 0;
transform: translateY(36px);
animation: fadeUp .8s forwards;
animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.shadow-3d {
box-shadow: 0 12px 36px 0 #33f8fd14, 0 0px 0px #252526;
transition: box-shadow .28s cubic-bezier(.16,1,.32,1), transform .24s cubic-bezier(.16,1,.32,1);
}
.shadow-3d:hover {
box-shadow: 0 16px 64px 0 #29ffc679, 0 1px 6px #1115;
transform: translateY(-6px) scale(1.05);
}
/* Для PDF: отключение горизонтальной прокрутки и псевдо-скроллбаров */
::-webkit-scrollbar { display:none }
/* Добавленные стили для анимации иконок функций */
.feature-row {
transition: all 0.3s ease;
}
.feature-row:hover {
transform: scale(1.05);
background-color: #1e293b;
}
.check-icon, .cross-icon {
position: relative;
transition: all 0.3s ease;
}
.feature-row:hover .check-icon {
color: #10b981 !important;
animation: checkExplode 0.6s ease-out forwards;
}
.feature-row:hover .cross-icon {
color: #ef4444 !important;
animation: crossExplode 0.6s ease-out forwards;
}
@keyframes checkExplode {
0% {
transform: scale(0.1);
opacity: 0;
}
50% {
transform: scale(1.3);
opacity: 1;
}
100% {
transform: scale(1);
}
}
@keyframes crossExplode {
0% {
transform: scale(0.1);
opacity: 0;
}
50% {
transform: scale(1.3);
opacity: 1;
}
100% {
transform: scale(1);
}
}
.check-icon::after, .cross-icon::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
pointer-events: none;
animation: particleFly 0.8s ease-out forwards;
opacity: 0;
}
.feature-row:hover .check-icon::after {
background: radial-gradient(circle, #10b98133 0%, transparent 70%);
box-shadow: 0 0 10px 4px #10b98133;
}
.feature-row:hover .cross-icon::after {
background: radial-gradient(circle, #ef444433 0%, transparent 70%);
box-shadow: 0 0 10px 4px #ef444433;
}
@keyframes particleFly {
0% {
transform: scale(0.5);
opacity: 1;
}
100% {
transform: scale(3);
opacity: 0;
}
}
/* Стили для кнопок в карточках товаров */
.buy-btn {
background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
color: white;
font-weight: 600;
border-radius: 0.75rem;
padding: 0.5rem 1rem;
transition: all 0.3s ease;
box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
position: relative;
overflow: hidden;
}
.buy-btn:hover {
transform: translateY(-2px);
box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}
.buy-btn::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
to bottom right,
rgba(255, 255, 255, 0) 45%,
rgba(255, 255, 255, 0.3) 50%,
rgba(255, 255, 255, 0) 55%
);
transform: rotate(30deg);
animation: shine 3s infinite;
}
@keyframes shine {
0% {
left: -50%;
}
20% {
left: 100%;
}
100% {
left: 100%;
}
}
.details-btn {
border: 1px solid #74faff;
color: #74faff;
font-weight: 500;
border-radius: 0.75rem;
padding: 0.5rem 1rem;
transition: all 0.3s ease;
background: rgba(116, 250, 255, 0.1);
}
.details-btn:hover {
background: rgba(116, 250, 255, 0.2);
color: #b5f8ff;
}
/* Стили флипбука */
.flipbook-container {
perspective: 2000px;
overflow-x: hidden;
position: relative;
height: 36rem;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
contain: layout paint;
}
@media (max-width: 768px) {
.flipbook-container {
overflow-x: hidden;
overflow-y: visible;
padding: 0;
height: 36rem;
display: flex;
justify-content: center;
align-items: center;
}
}
@media (min-width: 768px) {
.flipbook-container {
height: 36rem;
overflow: visible;
padding: 0;
}
}
.flipbook-page {
position: absolute;
width: 16rem;
height: 28rem;
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
transform-style: preserve-3d;
backface-visibility: hidden;
border-radius: 1rem;
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
opacity: 0.7;
cursor: pointer;
margin: 0 0.5rem;
}
@media (min-width: 768px) {
.flipbook-page {
width: 20rem;
height: 36rem;
margin: 0;
}
}
.flipbook-page:hover {
opacity: 0.9;
}
.flipbook-page.active {
transform: translateX(0) scale(1);
opacity: 1;
z-index: 10;
cursor: default;
}
.flipbook-page.left {
transform: translateX(-50%) rotateY(15deg) scale(0.9);
opacity: 0.8;
z-index: 4;
filter: brightness(0.9);
}
.flipbook-page.far-left {
transform: translateX(-90%) rotateY(20deg) scale(0.8);
opacity: 0.6;
z-index: 3;
filter: brightness(0.8);
}
.flipbook-page.right {
transform: translateX(50%) rotateY(-15deg) scale(0.9);
opacity: 0.8;
z-index: 4;
filter: brightness(0.9);
}
.flipbook-page.far-right {
transform: translateX(90%) rotateY(-20deg) scale(0.8);
opacity: 0.6;
z-index: 3;
filter: brightness(0.8);
}
.flipbook-page.far-far-right {
transform: translateX(130%) rotateY(-25deg) scale(0.7);
opacity: 0.5;
z-index: 2;
filter: brightness(0.7);
}
.flipbook-page.far-far-left {
transform: translateX(-130%) rotateY(25deg) scale(0.7);
opacity: 0.5;
z-index: 2;
filter: brightness(0.7);
}
@media (min-width: 768px) {
.flipbook-page.left {
transform: translateX(-60%) rotateY(20deg) scale(0.9);
}
.flipbook-page.far-left {
transform: translateX(-120%) rotateY(30deg) scale(0.8);
}
.flipbook-page.right {
transform: translateX(60%) rotateY(-20deg) scale(0.9);
}
.flipbook-page.far-right {
transform: translateX(120%) rotateY(-30deg) scale(0.8);
}
.flipbook-page.far-far-right {
transform: translateX(180%) rotateY(-40deg) scale(0.7);
}
.flipbook-page.far-far-left {
transform: translateX(-180%) rotateY(40deg) scale(0.7);
}
}
/* Индикаторы круговой дорожки */
.flipbook-indicator-track {
position: absolute;
bottom: -2rem;
left: 50%;
transform: translateX(-50%);
width: 80%;
height: 4px;
background: rgba(46, 204, 113, 0.2);
border-radius: 2px;
}
.flipbook-indicator {
position: absolute;
bottom: -2rem;
left: 50%;
width: calc(100% / 6);
height: 6px;
background: #2ecc71;
border-radius: 3px;
transform: translateX(-50%);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Стили модального окна товара */
#productModal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
#productModal.show {
opacity: 1;
visibility: visible;
}
.modal-content {
background: rgba(36,40,46,0.95);
border-radius: 2rem;
padding: 2rem;
max-width: 500px;
width: 90%;
border: 1px solid rgba(116, 250, 255, 0.5);
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
transform: translateY(20px);
transition: all 0.3s ease;
}
#productModal.show .modal-content {
transform: translateY(0);
}
.modal-close {
position: absolute;
top: 1rem;
right: 1rem;
color: #74faff;
font-size: 1.5rem;
cursor: pointer;
transition: all 0.2s ease;
}
.modal-close:hover {
color: #b5f8ff;
transform: rotate(90deg);
}
/* Анимация градиента для слова "ЭКОСИСТЕМА" */
.font-bebas-neue {
display: inline-block;
animation: ecosystemPulse 3s ease-in-out infinite;
background: linear-gradient(90deg, #74faff, #b5f8ff, #74faff);
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
@keyframes ecosystemPulse {
0% { background-position: 0% center; }
50% { background-position: 100% center; }
100% { background-position: 0% center; }
}
/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
.hero-section h1 {
font-size: 2.2rem;
line-height: 1.2;
padding: 0 1rem;
word-break: break-word;
}
.font-bebas-neue {
font-size: 2.8rem !important;
display: block;
margin: 0.5rem 0;
}
.font-montserrat-alternates {
font-size: 1.6rem;
display: block;
}
}
@media (max-width: 480px) {
.hero-section h1 {
font-size: 1.8rem;
padding: 0 0.5rem;
}
.font-bebas-neue {
font-size: 2.2rem !important;
}
}
@media (max-width: 768px) {
#order .absolute.rounded-full {
padding-left: 1rem; /* Reduced padding for mobile */
padding-right: 1rem; /* Reduced padding for mobile */
white-space: nowrap; /* Prevent text wrapping */
}
}
/* Styles for Language Switcher */
#language-switcher {
/* Apply glass-card shadow and border */
box-shadow: 0 7px 48px 0 #000B;
border: 1px solid rgba(116, 250, 255, 0.3);
border-radius: 2rem; /* Match glass-card border-radius */
/* Apply pulse animation */
animation: pulse 1.5s infinite alternate;
/* Ensure it's visible above other content */
z-index: 1000;
}
#language-switcher #language-icon {
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
background-color: #007bff; /* Example background, can be adjusted */
text-align: center;
line-height: 40px;
font-weight: bold;
}
#language-switcher #language-icon img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Styles for Language Switcher */
#language-switcher {
/* Apply glass-card shadow and border */
box-shadow: 0 7px 48px 0 #000B;
border: 1px solid rgba(116, 250, 255, 0.3);
border-radius: 2rem; /* Match glass-card border-radius */
/* Apply pulse animation */
animation: pulse 1.5s infinite alternate;
/* Ensure it's visible above other content */
z-index: 1000;
position: fixed; /* Ensure positioning context for absolute children */
bottom: 20px;
right: 20px;
}
#language-switcher #language-icon {
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
background-color: #007bff; /* Example background, can be adjusted */
text-align: center;
line-height: 40px;
font-weight: bold;
cursor: pointer;
}
#language-switcher #language-icon img {
width: 100%;
height: 100%;
object-fit: cover;
}
.language-options-container {
position: absolute;
bottom: 50px;
right: 0;
display: flex;
flex-direction: column;
align-items: flex-end;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.language-options-container.show {
opacity: 1;
visibility: visible;
}
.language-option {
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
margin-bottom: 10px;
cursor: pointer;
opacity: 0;
transform: translateY(20px);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
filter: drop-shadow(0 2px 4px rgba(116, 250, 255, 0.3));
}
.language-option:hover {
box-shadow: 0 6px 12px rgba(0,0,0,0.3);
filter: drop-shadow(0 4px 8px rgba(116, 250, 255, 0.5));
transform: translateY(-2px);
}
.language-options-container.show .language-option {
opacity: 1; /* Fade in when container is shown */
transform: scale(1); /* Scale up when container is shown */
}
/* Add animation delay for sequential appearance */
.language-options-container.show .language-option:nth-child(1) {
transition-delay: 0.2s;
}
.language-options-container.show .language-option:nth-child(2) {
transition-delay: 0.4s;
}
.language-options-container.show .language-option:nth-child(3) {
transition-delay: 0.6s;
}
/* Add more nth-child rules if more languages are added */