Files
retoors/retoors/static/css/components/index.css
T

533 lines
10 KiB
CSS

/* Hero Section */
.hero-section {
text-align: center;
padding: clamp(30px, 8vw, 80px) clamp(10px, 3vw, 20px) clamp(20px, 6vw, 60px);
background: linear-gradient(135deg, rgba(33, 70, 139, 0.03) 0%, var(--dutch-white) 100%);
margin-bottom: 0;
border-top: 4px solid transparent;
border-image: linear-gradient(to right, var(--dutch-red) 0%, var(--dutch-red) 33.33%, var(--dutch-white) 33.33%, var(--dutch-white) 66.66%, var(--dutch-blue) 66.66%, var(--dutch-blue) 100%);
border-image-slice: 1;
}
.hero-content {
max-width: 900px;
margin: 0 auto;
}
.hero-section h1 {
font-size: 3rem;
font-weight: 700;
color: var(--text-color);
margin-bottom: 1rem;
line-height: 1.15;
letter-spacing: -0.03em;
}
.hero-subtitle {
font-size: 1.125rem;
color: var(--light-text-color);
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
}
.hero-ctas {
display: flex;
gap: 1rem;
justify-content: center;
margin-bottom: 1.5rem;
}
.hero-btn {
padding: 1rem 2rem;
font-size: 1.125rem;
font-weight: 600;
border-radius: 8px;
text-decoration: none;
transition: all 0.3s ease;
}
.hero-subtext {
font-size: 0.875rem;
color: var(--light-text-color);
margin: 0;
}
/* Features Section */
.features-section {
padding: clamp(30px, 8vw, 80px) clamp(10px, 3vw, 20px);
background-color: #FFFFFF;
}
.features-header {
text-align: center;
max-width: 700px;
margin: 0 auto 60px;
}
.features-header h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.features-header p {
font-size: 1.125rem;
color: var(--light-text-color);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
gap: clamp(1.5rem, 3vw, 2.5rem);
max-width: 1200px;
margin: 0 auto;
}
.feature-card {
text-align: center;
padding: 2rem;
}
.feature-icon {
color: var(--dutch-red);
margin-bottom: 1.5rem;
display: inline-block;
}
.feature-card h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.75rem;
color: var(--text-color);
}
.feature-card p {
font-size: 1rem;
color: var(--light-text-color);
line-height: 1.6;
}
/* Pricing Calculator Section */
.pricing-calculator {
padding: clamp(30px, 8vw, 80px) clamp(10px, 3vw, 20px);
background: #FFFFFF;
text-align: center;
}
.calculator-content {
max-width: 600px;
margin: 0 auto;
}
.pricing-calculator h2 {
font-size: 2.25rem;
color: var(--text-color);
margin-bottom: 0.75rem;
}
.calculator-subtitle {
font-size: 1rem;
color: var(--light-text-color);
margin-bottom: 3rem;
}
.storage-display {
margin-bottom: 2rem;
}
.storage-value {
font-size: clamp(2rem, 8vw, 4rem);
font-weight: 700;
color: var(--dutch-blue);
}
.storage-unit {
font-size: clamp(1.25rem, 4vw, 2rem);
color: var(--light-text-color);
margin-left: 0.5rem;
}
.slider-container {
margin-bottom: 3rem;
}
#storageSlider {
width: 100%;
height: 8px;
border-radius: 4px;
background: linear-gradient(to right, var(--dutch-red), var(--dutch-blue));
outline: none;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
}
#storageSlider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--dutch-blue);
cursor: pointer;
border: 3px solid #FFFFFF;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#storageSlider::-moz-range-thumb {
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--dutch-blue);
cursor: pointer;
border: 3px solid #FFFFFF;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.slider-labels {
display: flex;
justify-content: space-between;
margin-top: 0.5rem;
font-size: 0.875rem;
color: var(--light-text-color);
}
.price-display {
margin-bottom: 2.5rem;
padding: clamp(1rem, 3vw, 2rem);
background: linear-gradient(135deg, rgba(33, 70, 139, 0.05) 0%, rgba(174, 28, 40, 0.05) 100%);
border-radius: 12px;
border: 2px solid var(--dutch-blue);
}
.price-amount {
display: flex;
align-items: baseline;
justify-content: center;
margin-bottom: 0.5rem;
flex-wrap: wrap;
}
.currency {
font-size: clamp(1.25rem, 4vw, 2rem);
color: var(--text-color);
margin-right: 0.25rem;
}
.price-value {
font-size: clamp(2rem, 8vw, 4rem);
font-weight: 700;
color: var(--dutch-red);
}
.price-period {
font-size: clamp(0.875rem, 2.5vw, 1.25rem);
color: var(--light-text-color);
margin-left: 0.5rem;
}
.price-description {
font-size: clamp(0.875rem, 2.5vw, 1.125rem);
color: var(--dutch-blue);
font-weight: 600;
margin: 0;
}
.pricing-calculator .cta-btn {
padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 5vw, 3rem);
font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}
/* Use Cases Section */
.use-cases-section {
padding: clamp(30px, 8vw, 80px) clamp(10px, 3vw, 20px);
background: linear-gradient(135deg, rgba(174, 28, 40, 0.02) 0%, rgba(33, 70, 139, 0.02) 100%);
text-align: center;
}
.use-cases-section h2 {
font-size: 2.5rem;
margin-bottom: 3rem;
color: var(--text-color);
}
.use-cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
gap: clamp(1.5rem, 3vw, 2rem);
max-width: 1200px;
margin: 0 auto;
}
.use-case-card {
background-color: #FFFFFF;
padding: 2.5rem;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.use-case-card:hover {
transform: translateY(-8px);
box-shadow: 0 8px 30px rgba(174, 28, 40, 0.15);
border-left: 4px solid var(--dutch-red);
border-right: 4px solid var(--dutch-blue);
}
.use-case-icon {
width: 64px;
height: 64px;
margin-bottom: 1.5rem;
}
.use-case-card h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-color);
}
.use-case-card p {
font-size: 1rem;
color: var(--light-text-color);
line-height: 1.6;
}
/* CTA Section */
.cta-section {
padding: clamp(40px, 10vw, 100px) clamp(10px, 3vw, 20px);
background: linear-gradient(135deg, var(--dutch-blue) 0%, var(--dutch-blue-dark) 100%);
text-align: center;
color: var(--dutch-white);
border-top: 6px solid var(--dutch-red);
}
.cta-content {
max-width: 700px;
margin: 0 auto;
}
.cta-section h2 {
font-size: 2.75rem;
color: var(--dutch-white);
margin-bottom: 1rem;
}
.cta-section p {
font-size: 1.25rem;
color: rgba(255, 255, 255, 0.95);
margin-bottom: 2.5rem;
}
.cta-btn {
padding: 1rem 2.5rem;
font-size: 1.125rem;
font-weight: 600;
background-color: var(--dutch-white);
color: var(--dutch-blue);
border-radius: 8px;
text-decoration: none;
display: inline-block;
transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
border: 2px solid var(--dutch-red);
}
.cta-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(174, 28, 40, 0.3);
background-color: var(--dutch-red);
color: var(--dutch-white);
}
/* Responsive Design */
@media (max-width: 992px) {
.hero-section h1 {
font-size: 3rem;
}
.features-grid {
grid-template-columns: repeat(2, 1fr);
}
.features-header h2,
.use-cases-section h2,
.cta-section h2 {
font-size: 2rem;
}
}
@media (max-width: 768px) {
.hero-section {
padding: 60px 20px 50px;
}
.hero-section h1 {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.125rem;
}
.hero-ctas {
flex-direction: column;
gap: 0.75rem;
}
.hero-btn {
width: 100%;
max-width: 300px;
}
.features-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.use-cases-grid {
grid-template-columns: 1fr;
}
.features-section,
.use-cases-section {
padding: 60px 20px;
}
.cta-section {
padding: 60px 20px;
}
}
@media (max-width: 480px) {
.hero-section {
padding: 40px 15px 30px;
}
.hero-section h1 {
font-size: 1.75rem;
}
.hero-subtitle {
font-size: 0.95rem;
}
.features-header h2,
.use-cases-section h2,
.cta-section h2 {
font-size: 1.5rem;
}
.pricing-calculator {
padding: 40px 15px;
}
.pricing-calculator h2 {
font-size: 1.5rem;
}
.calculator-subtitle {
font-size: 0.9rem;
margin-bottom: 2rem;
}
.storage-display {
margin-bottom: 1.5rem;
}
.slider-container {
margin-bottom: 2rem;
}
.features-section,
.use-cases-section {
padding: 40px 15px;
}
.cta-section {
padding: 40px 15px;
}
.cta-section h2 {
font-size: 1.75rem;
}
.cta-section p {
font-size: 1rem;
}
}
@media (max-width: 360px) {
.hero-section {
padding: 30px 10px 20px;
}
.hero-section h1 {
font-size: 1.5rem;
margin-bottom: 0.75rem;
}
.hero-subtitle {
font-size: 0.875rem;
}
.pricing-calculator {
padding: 30px 10px;
}
.pricing-calculator h2 {
font-size: 1.25rem;
margin-bottom: 0.5rem;
}
.calculator-subtitle {
font-size: 0.85rem;
margin-bottom: 1.5rem;
}
.storage-display {
margin-bottom: 1rem;
}
.slider-container {
margin-bottom: 1.5rem;
}
.price-display {
margin-bottom: 1.5rem;
padding: 0.75rem;
}
.features-section,
.use-cases-section {
padding: 30px 10px;
}
.features-grid {
gap: 1.5rem;
}
.feature-card {
padding: 1.5rem;
}
.use-cases-grid {
gap: 1.5rem;
}
.use-case-card {
padding: 1.5rem;
}
.cta-section {
padding: 30px 10px;
}
.cta-section h2 {
font-size: 1.5rem;
}
.cta-section p {
font-size: 0.9rem;
margin-bottom: 1.5rem;
}
}