na-kakuyu-temu-mozhno-sozdat/style.css

664 lines
11 KiB
CSS

/* ===================================
APPLE-STYLE DESIGN SYSTEM
=================================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-primary: #000000;
--bg-secondary: #1d1d1f;
--bg-tertiary: #2d2d30;
--text-primary: #f5f5f7;
--text-secondary: #86868b;
--text-tertiary: #6e6e73;
--accent: #2997ff;
--accent-hover: #147ce5;
--gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-2: linear-gradient(180deg, #1a1a2e 0%, #000000 100%);
--nav-height: 48px;
--transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
--transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
body {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.5;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Announcement Bar */
.announcement-bar {
background: var(--bg-secondary);
padding: 12px 24px;
text-align: center;
font-size: 14px;
color: var(--text-secondary);
border-bottom: 1px solid rgba(255,255,255,0.1);
transition: all 0.4s var(--transition-smooth);
}
.announcement-bar.hidden {
transform: translateY(-100%);
opacity: 0;
}
.announcement-bar a {
color: var(--accent);
text-decoration: none;
}
.announcement-bar a:hover {
text-decoration: underline;
}
/* Navigation */
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
height: var(--nav-height);
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
z-index: 1000;
border-bottom: 1px solid rgba(255,255,255,0.08);
transition: all 0.3s var(--transition-smooth);
}
.nav.scrolled {
background: rgba(0, 0, 0, 0.95);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 22px;
color: var(--text-primary);
text-decoration: none;
transition: opacity 0.3s;
}
.logo:hover {
opacity: 0.8;
}
.nav-links {
display: flex;
gap: 32px;
}
.nav-links a {
color: var(--text-secondary);
text-decoration: none;
font-size: 13px;
font-weight: 400;
transition: color 0.3s;
letter-spacing: -0.01em;
}
.nav-links a:hover {
color: var(--text-primary);
}
.nav-links .admin-link {
color: var(--accent);
}
/* Hero Section */
.hero {
height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.hero-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 120%;
background: radial-gradient(ellipse at center, #2a2a3e 0%, #0a0a0f 50%, #000000 100%);
z-index: 1;
will-change: transform;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.6) 100%);
z-index: 2;
}
.hero-content {
position: relative;
z-index: 3;
text-align: center;
max-width: 900px;
padding: 0 24px;
}
.hero-title {
font-size: clamp(56px, 10vw, 112px);
font-weight: 700;
letter-spacing: -0.03em;
line-height: 1.05;
margin-bottom: 16px;
background: linear-gradient(180deg, #ffffff 0%, #b0b0b5 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
opacity: 0;
transform: translateY(40px);
animation: fadeUp 1s var(--transition-smooth) forwards;
animation-delay: 0.3s;
}
.hero-subtitle {
font-size: clamp(24px, 4vw, 32px);
color: var(--text-secondary);
font-weight: 400;
margin-bottom: 40px;
opacity: 0;
transform: translateY(40px);
animation: fadeUp 1s var(--transition-smooth) forwards;
animation-delay: 0.5s;
}
.hero-cta {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
opacity: 0;
transform: translateY(40px);
animation: fadeUp 1s var(--transition-smooth) forwards;
animation-delay: 0.7s;
}
.btn {
display: inline-block;
padding: 14px 28px;
border-radius: 980px;
font-size: 17px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s var(--transition-smooth);
cursor: pointer;
border: none;
}
.btn-primary {
background: var(--accent);
color: white;
}
.btn-primary:hover {
background: var(--accent-hover);
transform: scale(1.02);
}
.btn-secondary {
background: transparent;
color: var(--accent);
border: 2px solid var(--accent);
}
.btn-secondary:hover {
background: var(--accent);
color: white;
}
/* Scroll Indicator */
.scroll-indicator {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
z-index: 3;
opacity: 0;
animation: fadeIn 1s ease forwards;
animation-delay: 1.2s;
}
.mouse {
width: 26px;
height: 40px;
border: 2px solid var(--text-secondary);
border-radius: 13px;
position: relative;
}
.wheel {
width: 4px;
height: 8px;
background: var(--text-secondary);
border-radius: 2px;
position: absolute;
top: 8px;
left: 50%;
transform: translateX(-50%);
animation: scroll 2s infinite;
}
@keyframes scroll {
0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
50% { opacity: 0.5; transform: translateX(-50%) translateY(12px); }
}
@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
to { opacity: 1; }
}
/* Product Showcase */
.product-showcase {
padding: 140px 24px;
background: var(--bg-primary);
}
.showcase-intro {
text-align: center;
margin-bottom: 80px;
}
.showcase-title {
font-size: clamp(40px, 6vw, 64px);
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 12px;
}
.showcase-subtitle {
font-size: clamp(20px, 3vw, 28px);
color: var(--text-secondary);
}
.products-container {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 32px;
}
.product-card {
background: var(--bg-secondary);
border-radius: 24px;
overflow: hidden;
transition: all 0.6s var(--transition-smooth);
opacity: 0;
transform: translateY(40px);
}
.product-card.visible {
opacity: 1;
transform: translateY(0);
}
.product-card:hover {
transform: translateY(-12px);
box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.product-image {
width: 100%;
height: 280px;
object-fit: cover;
transition: transform 0.6s var(--transition-smooth);
}
.product-card:hover .product-image {
transform: scale(1.08);
}
.product-content {
padding: 32px;
}
.product-name {
font-size: 28px;
font-weight: 600;
margin-bottom: 8px;
letter-spacing: -0.01em;
}
.product-tagline {
color: var(--text-secondary);
font-size: 16px;
margin-bottom: 16px;
}
.product-price {
font-size: 20px;
font-weight: 600;
color: var(--accent);
margin-bottom: 20px;
}
.product-features {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.feature-tag {
background: var(--bg-tertiary);
color: var(--text-secondary);
padding: 6px 14px;
border-radius: 980px;
font-size: 13px;
font-weight: 500;
}
/* Features Section */
.features {
position: relative;
padding: 140px 24px;
overflow: hidden;
}
.features-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 120%;
background: url('https://picsum.photos/1920/1200?random=100') center/cover;
opacity: 0.15;
will-change: transform;
}
.features-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(0,0,0,0.8) 100%);
}
.features-content {
position: relative;
z-index: 2;
max-width: 1400px;
margin: 0 auto;
}
.section-title {
font-size: clamp(40px, 6vw, 64px);
font-weight: 700;
text-align: center;
margin-bottom: 80px;
letter-spacing: -0.02em;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 32px;
}
.feature-card {
background: rgba(29, 29, 31, 0.6);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 40px 32px;
text-align: center;
border: 1px solid rgba(255,255,255,0.05);
transition: all 0.4s var(--transition-smooth);
}
.feature-card:hover {
background: rgba(29, 29, 31, 0.8);
transform: translateY(-8px);
}
.feature-icon {
font-size: 48px;
margin-bottom: 20px;
}
.feature-card h3 {
font-size: 22px;
margin-bottom: 12px;
font-weight: 600;
}
.feature-card p {
color: var(--text-secondary);
font-size: 16px;
}
/* Vision Section */
.vision {
padding: 140px 24px;
background: var(--bg-secondary);
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
max-width: 1400px;
margin: 0 auto;
align-items: center;
}
.vision-content {
padding: 40px;
}
.vision-title {
font-size: clamp(40px, 5vw, 64px);
font-weight: 700;
margin-bottom: 16px;
letter-spacing: -0.02em;
}
.vision-subtitle {
font-size: clamp(20px, 3vw, 26px);
color: var(--text-secondary);
margin-bottom: 48px;
}
.vision-features {
display: flex;
flex-direction: column;
gap: 24px;
}
.vision-feature {
display: flex;
gap: 20px;
align-items: flex-start;
}
.vision-feature-icon {
font-size: 32px;
flex-shrink: 0;
}
.vision-feature h4 {
font-size: 20px;
margin-bottom: 6px;
font-weight: 600;
}
.vision-feature p {
color: var(--text-secondary);
font-size: 16px;
}
.vision-image {
border-radius: 24px;
overflow: hidden;
}
.vision-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* Scroll Gallery */
.scroll-gallery {
position: relative;
}
.gallery-item {
position: relative;
height: 80vh;
overflow: hidden;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.gallery-caption {
position: absolute;
bottom: 60px;
left: 60px;
z-index: 2;
}
.gallery-caption h3 {
font-size: clamp(32px, 5vw, 56px);
font-weight: 700;
margin-bottom: 8px;
text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.gallery-caption p {
font-size: 18px;
color: rgba(255,255,255,0.9);
text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
/* CTA Section */
.cta-section {
padding: 140px 24px;
text-align: center;
background: var(--gradient-2);
}
.cta-title {
font-size: clamp(40px, 6vw, 72px);
font-weight: 700;
margin-bottom: 16px;
letter-spacing: -0.02em;
}
.cta-subtitle {
font-size: clamp(20px, 3vw, 26px);
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto 48px;
}
.cta-buttons {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}
/* Footer */
footer {
padding: 60px 24px;
border-top: 1px solid rgba(255,255,255,0.1);
background: var(--bg-secondary);
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
}
.footer-links {
display: flex;
justify-content: center;
gap: 32px;
flex-wrap: wrap;
margin-bottom: 32px;
}
.footer-links a {
color: var(--text-secondary);
text-decoration: none;
font-size: 13px;
transition: color 0.3s;
}
.footer-links a:hover {
color: var(--text-primary);
}
.copyright {
text-align: center;
color: var(--text-tertiary);
font-size: 13px;
}
/* Reveal Animation */
.reveal {
opacity: 0;
transform: translateY(50px);
transition: all 1s var(--transition-smooth);
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
/* Responsive */
@media (max-width: 768px) {
.nav-links {
gap: 20px;
}
.vision {
grid-template-columns: 1fr;
}
.products-container {
grid-template-columns: 1fr;
}
.gallery-caption {
left: 24px;
bottom: 40px;
}
}