ByteDance-Seedance / style.css
liyangbing's picture
Complete website enhancement: Translate README to English, add benchmark results, model collection section, and improve visuals
2d01ffa
/* Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8f9fa;
overflow-x: hidden;
}
a {
text-decoration: none;
color: #0066cc;
transition: color 0.3s ease;
}
a:hover {
color: #004499;
}
ul {
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
margin-bottom: 0.5em;
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
h3 {
font-size: 1.5rem;
}
p {
margin-bottom: 1rem;
color: #555;
}
.section-title {
text-align: center;
margin-bottom: 2rem;
position: relative;
padding-bottom: 0.5rem;
}
.section-title:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background: linear-gradient(90deg, #4a6cf7, #f86cf7);
}
/* Header & Navigation */
header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
padding: 1rem 0;
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo h1 {
font-size: 1.5rem;
margin: 0;
color: #333;
}
.logo span {
color: #4a6cf7;
font-weight: 800;
}
nav ul {
display: flex;
align-items: center;
}
nav ul li {
margin-left: 1.5rem;
}
nav ul li a {
color: #333;
font-weight: 500;
padding: 0.5rem 0;
position: relative;
}
nav ul li a:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(90deg, #4a6cf7, #f86cf7);
transition: width 0.3s ease;
}
nav ul li a:hover:after {
width: 100%;
}
.cta-button {
background: linear-gradient(90deg, #4a6cf7, #f86cf7);
color: #fff !important;
padding: 0.5rem 1rem;
border-radius: 30px;
font-weight: 600;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
}
.cta-button i {
margin-left: 0.5rem;
font-size: 0.8rem;
}
.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}
/* Hero Section */
.hero {
padding: 5rem 0;
background: linear-gradient(135deg, #f5f7ff 0%, #e8f0ff 100%);
position: relative;
overflow: hidden;
}
.hero .container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: center;
}
.hero-content h1 {
font-size: 2.8rem;
margin-bottom: 1rem;
background: linear-gradient(90deg, #333, #4a6cf7);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-content h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
color: #555;
}
.hero-content p {
font-size: 1.1rem;
margin-bottom: 2rem;
color: #666;
}
.cta-buttons {
display: flex;
gap: 1rem;
}
.primary-button {
background: linear-gradient(90deg, #4a6cf7, #f86cf7);
color: #fff;
padding: 0.8rem 1.5rem;
border-radius: 30px;
font-weight: 600;
display: inline-flex;
align-items: center;
transition: all 0.3s ease;
}
.primary-button i {
margin-left: 0.5rem;
}
.primary-button:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}
.secondary-button {
border: 2px solid #4a6cf7;
color: #4a6cf7;
padding: 0.8rem 1.5rem;
border-radius: 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.secondary-button:hover {
background-color: #4a6cf7;
color: #fff;
}
.hero-image {
position: relative;
}
.demo-container {
display: flex;
align-items: center;
justify-content: center;
gap: 1.5rem;
background-color: #fff;
padding: 1.5rem;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.demo-image {
width: 45%;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.arrow-animation {
font-size: 2rem;
color: #4a6cf7;
animation: pulse 1.5s infinite;
}
.video-placeholder {
width: 45%;
aspect-ratio: 16/9;
background: linear-gradient(135deg, #e0e8ff, #d0d8ff);
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.play-icon {
width: 50px;
height: 50px;
background-color: #4a6cf7;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
margin-bottom: 0.5rem;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
/* Features Section */
.features {
padding: 5rem 0;
background-color: #fff;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background-color: #fff;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
text-align: center;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
width: 70px;
height: 70px;
background: linear-gradient(135deg, #4a6cf7, #f86cf7);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
color: #fff;
font-size: 1.8rem;
}
.feature-card h3 {
margin-bottom: 1rem;
color: #333;
}
.feature-card p {
color: #666;
}
/* Comparison Section */
.comparison {
padding: 5rem 0;
background-color: #f5f7ff;
}
.comparison-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: center;
}
.comparison-table table {
width: 100%;
border-collapse: collapse;
background-color: #fff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.comparison-table th, .comparison-table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid #eee;
}
.comparison-table th {
background-color: #4a6cf7;
color: #fff;
font-weight: 600;
}
.comparison-table tr:last-child td {
border-bottom: none;
}
.highlight {
color: #4a6cf7;
font-weight: 600;
}
.chart-container {
background-color: #fff;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.chart-title {
text-align: center;
font-weight: 600;
margin-bottom: 1.5rem;
color: #333;
}
.bar-chart {
display: flex;
justify-content: space-around;
align-items: flex-end;
height: 250px;
margin-bottom: 1.5rem;
}
.bar-group {
display: flex;
flex-direction: column;
align-items: center;
width: 30%;
}
.bar {
width: 100%;
border-radius: 5px 5px 0 0;
transition: all 0.3s ease;
}
.bar.seedance {
background: linear-gradient(135deg, #4a6cf7, #f86cf7);
}
.bar.competitor {
background-color: #ccc;
}
.bar-label {
text-align: center;
margin-top: 0.5rem;
font-weight: 500;
}
.bar-label span {
display: block;
font-size: 0.8rem;
color: #666;
font-weight: normal;
}
.chart-note {
text-align: center;
font-size: 0.8rem;
color: #666;
font-style: italic;
}
/* Technical Section */
.technical {
background-color: #f9f9f9;
padding: 5rem 0;
}
.technical-image {
margin-bottom: 2rem;
text-align: center;
}
.technical-image img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.technical-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 2rem;
}
.technical-card {
background-color: #f5f7ff;
border-radius: 10px;
padding: 2rem;
transition: all 0.3s ease;
}
.technical-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.technical-card h3 {
display: flex;
align-items: center;
margin-bottom: 1rem;
color: #333;
}
.technical-card h3 i {
margin-right: 0.5rem;
color: #4a6cf7;
}
.technical-card p {
color: #666;
}
/* Use Cases Section */
.use-cases {
padding: 5rem 0;
background-color: #f5f7ff;
}
.use-case-image {
margin-bottom: 2rem;
text-align: center;
}
.use-case-image img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.use-case-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 2rem;
}
.use-case-card {
background-color: #fff;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
text-align: center;
}
.use-case-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.use-case-icon {
width: 70px;
height: 70px;
background: linear-gradient(135deg, #4a6cf7, #f86cf7);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
color: #fff;
font-size: 1.8rem;
}
.use-case-card h3 {
margin-bottom: 1rem;
color: #333;
}
.use-case-card p {
color: #666;
}
/* Benchmark section */
.benchmark-section {
padding: 5rem 0;
background-color: #f5f7ff;
}
.benchmark-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: center;
margin-bottom: 3rem;
}
.benchmark-content-second {
margin-top: 2rem;
margin-bottom: 0;
}
.benchmark-image {
text-align: center;
}
.benchmark-img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.benchmark-description h3 {
font-size: 1.8rem;
margin-bottom: 1rem;
color: #333;
}
.benchmark-description h4 {
font-size: 1.4rem;
margin: 1.5rem 0 0.5rem;
color: #4a6cf7;
}
.benchmark-description p {
font-size: 1.1rem;
line-height: 1.6;
color: #555;
margin-bottom: 1rem;
}
@media (max-width: 768px) {
.benchmark-content {
grid-template-columns: 1fr;
}
.benchmark-image {
margin-bottom: 2rem;
}
}
/* Models Collection Section */
.models-collection {
padding: 5rem 0;
background-color: #fff;
}
.models-description {
text-align: center;
max-width: 800px;
margin: 0 auto 3rem;
}
.models-description p {
font-size: 1.2rem;
color: #555;
line-height: 1.6;
}
.models-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.model-card {
background-color: #f8f9ff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.model-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.model-info {
padding: 1.5rem;
}
.model-info h3 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
color: #333;
}
.model-price {
font-size: 1.1rem;
font-weight: 700;
color: #4a6cf7;
margin-bottom: 1rem;
}
.model-info p {
font-size: 0.95rem;
color: #666;
line-height: 1.5;
}
.models-cta {
text-align: center;
margin-top: 2rem;
}
@media (max-width: 768px) {
.models-grid {
grid-template-columns: 1fr;
}
}
/* CTA Section */
.cta-section {
padding: 5rem 0;
background: linear-gradient(135deg, #4a6cf7, #f86cf7);
color: #fff;
text-align: center;
}
.cta-content h2 {
margin-bottom: 1.5rem;
color: #fff;
}
.cta-content p {
max-width: 800px;
margin: 0 auto 2rem;
color: rgba(255, 255, 255, 0.9);
font-size: 1.1rem;
}
/* Limitations Section */
.limitations {
padding: 5rem 0;
background-color: #fff;
}
.limitations-list {
max-width: 800px;
margin: 0 auto;
background-color: #f5f7ff;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.limitations-list li {
margin-bottom: 1rem;
padding-left: 1.5rem;
position: relative;
color: #555;
}
.limitations-list li:before {
content: '•';
position: absolute;
left: 0;
color: #4a6cf7;
font-weight: bold;
}
.limitations-list li:last-child {
margin-bottom: 0;
}
/* Footer */
footer {
background-color: #1a1a1a;
color: #fff;
padding: 4rem 0 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.footer-logo h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #fff;
}
.footer-logo span {
color: #4a6cf7;
font-weight: 800;
}
.footer-logo p {
color: rgba(255, 255, 255, 0.7);
}
.footer-links h4 {
color: #fff;
margin-bottom: 1.5rem;
}
.footer-links ul li {
margin-bottom: 0.8rem;
}
.footer-links ul li a {
color: rgba(255, 255, 255, 0.7);
transition: all 0.3s ease;
}
.footer-links ul li a:hover {
color: #4a6cf7;
}
.footer-cta h4 {
color: #fff;
margin-bottom: 1.5rem;
}
.footer-button {
background: linear-gradient(90deg, #4a6cf7, #f86cf7);
color: #fff;
padding: 0.8rem 1.5rem;
border-radius: 30px;
font-weight: 600;
display: inline-flex;
align-items: center;
transition: all 0.3s ease;
}
.footer-button i {
margin-left: 0.5rem;
}
.footer-button:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.5);
font-size: 0.9rem;
}
/* Responsive Design */
@media (max-width: 992px) {
.hero .container,
.comparison-content {
grid-template-columns: 1fr;
}
.hero-content {
text-align: center;
margin-bottom: 2rem;
}
.cta-buttons {
justify-content: center;
}
nav ul {
display: none;
}
}
@media (max-width: 768px) {
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
.feature-grid,
.technical-grid,
.use-case-grid {
grid-template-columns: 1fr;
}
.demo-container {
flex-direction: column;
}
.demo-image,
.video-placeholder {
width: 100%;
}
}
/* Fix for webkit background-clip */
.hero-content h1 {
background: linear-gradient(90deg, #333, #4a6cf7);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}