Reachy-Mini-DRAFT / style.css
Anne-Charlotte's picture
Update style.css
2b4a009 verified
raw
history blame
8.58 kB
/* Reset & Base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* Colors */
--background: #FAFAFA;
--foreground: #4A4A4A;
--muted: #E8E8E8;
--muted-foreground: #6B6B6B;
--primary: #3BB0D1;
--primary-hover: #7CCAE0;
--success: #3DDE99;
--border: #E8E8E8;
--yellow: #FFC261;
/* Spacing */
--container-max: 1200px;
--section-padding: 5rem 2rem;
/* Shadows */
--shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.05);
--shadow-soft-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: var(--background);
color: var(--foreground);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
/* Hero Section */
.hero {
position: relative;
min-height: 70vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: linear-gradient(to bottom, var(--background), var(--muted));
}
.hero-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.4;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom,
rgba(250, 250, 250, 0.8),
rgba(250, 250, 250, 0.6),
rgba(250, 250, 250, 0.9));
}
.hero-content {
position: relative;
z-index: 10;
text-align: center;
padding: 6rem 2rem;
max-width: 900px;
}
.hero h1 {
font-size: clamp(2.5rem, 8vw, 4.5rem);
font-weight: 700;
margin-bottom: 1.5rem;
color: var(--foreground);
}
.hero-subtitle {
font-size: clamp(1.25rem, 3vw, 1.75rem);
font-weight: 500;
color: var(--muted-foreground);
margin-bottom: 1rem;
}
.hero-description {
font-size: clamp(1rem, 2vw, 1.125rem);
color: var(--muted-foreground);
max-width: 42rem;
margin: 0 auto 2.5rem;
}
.hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}
/* Container */
.container {
max-width: var(--container-max);
margin: 0 auto;
padding: 0 2rem;
}
/* Section */
.section {
padding: var(--section-padding);
}
.section-muted {
background: rgba(232, 232, 232, 0.3);
}
.section-title {
font-size: clamp(1.875rem, 4vw, 2.5rem);
font-weight: 600;
margin-bottom: 1.5rem;
color: var(--foreground);
}
.section-description {
font-size: 1.125rem;
color: var(--muted-foreground);
max-width: 48rem;
margin-bottom: 4rem;
}
/* Subsection */
.subsection {
margin-bottom: 5rem;
}
.image-title-wrapper {
display: flex;
justify-content: center;
margin-bottom: 3rem;
}
.section-image {
height: 6rem;
}
@media (min-width: 768px) {
.section-image {
height: 8rem;
}
}
/* Grid */
.grid-2 {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}
@media (min-width: 1024px) {
.grid-2 {
grid-template-columns: repeat(2, 1fr);
}
}
.pricing-grid {
max-width: 80rem;
margin: 0 auto;
}
/* Cards */
.card {
background: white;
border-radius: 1.5rem;
padding: 2rem;
box-shadow: var(--shadow-soft-lg);
transition: all 0.2s ease;
}
.card:hover {
box-shadow: var(--shadow-soft-lg);
}
.card-title {
font-size: 1.25rem;
font-weight: 500;
margin-bottom: 1.5rem;
color: var(--foreground);
}
.card-text {
color: var(--muted-foreground);
margin-bottom: 1.5rem;
flex-grow: 1;
}
/* Badges */
.badge {
display: inline-block;
padding: 0.375rem 0.75rem;
border-radius: 1rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 1.5rem;
}
.badge-primary {
background: rgba(59, 176, 209, 0.1);
color: var(--primary);
}
.badge-success {
background: rgba(108, 207, 124, 0.1);
color: var(--success);
}
.badge-muted {
background: rgba(255, 194, 97, 0.1);
color: var(--yellow);
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.875rem 2rem;
font-size: 1rem;
font-weight: 500;
border-radius: 9999px;
text-decoration: none;
transition: all 0.2s ease;
cursor: pointer;
border: 1px solid transparent;
}
.btn-primary {
background: var(--primary);
color: white;
box-shadow: var(--shadow-soft-lg);
}
.btn-primary:hover {
background: var(--primary-hover);
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(59, 176, 209, 0.3);
}
.btn-outline {
background: transparent;
color: var(--foreground);
border-color: var(--border);
}
.btn-outline:hover {
background: var(--muted);
}
.btn-full {
width: 100%;
justify-content: center;
}
.icon {
width: 1rem;
height: 1rem;
}
/* Carousel */
.carousel {
position: relative;
max-width: 80rem;
margin: 0 auto;
padding: 0 4rem;
}
.carousel-container {
overflow: visible;
border-radius: 1.5rem;
position: relative;
}
.carousel-track {
display: flex;
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
padding: 2rem 0;
}
.carousel-item {
min-width: 70%;
flex-shrink: 0;
padding: 0 1rem;
opacity: 0.3;
transform: scale(0.9);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
}
.carousel-item.active {
opacity: 1;
transform: scale(1);
pointer-events: auto;
z-index: 10;
}
@media (max-width: 768px) {
.carousel-item {
min-width: 90%;
}
.carousel {
padding: 0 2rem;
}
}
.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 3rem;
height: 3rem;
border-radius: 50%;
background: white;
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: var(--shadow-soft);
z-index: 10;
}
.carousel-btn:hover {
background: var(--muted);
box-shadow: var(--shadow-soft-lg);
}
.carousel-btn svg {
width: 1.5rem;
height: 1.5rem;
stroke: var(--foreground);
}
.carousel-prev {
left: -1.5rem;
}
.carousel-next {
right: -1.5rem;
}
@media (max-width: 768px) {
.carousel-prev {
left: 0.5rem;
}
.carousel-next {
right: 0.5rem;
}
}
/* Video Wrapper */
.video-wrapper {
aspect-ratio: 16 / 9;
border-radius: 1.25rem;
overflow: hidden;
margin-bottom: 1.5rem;
box-shadow: var(--shadow-soft);
}
.video-wrapper iframe {
width: 100%;
height: 100%;
border: none;
}
/* Placeholder */
.placeholder {
aspect-ratio: 16 / 9;
border-radius: 1.25rem;
background: var(--muted);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: var(--muted-foreground);
margin-bottom: 1.5rem;
padding: 1rem;
box-shadow: var(--shadow-soft);
}
/* Discord CTA */
.discord-cta {
margin-top: 4rem;
padding: 2.5rem;
background: linear-gradient(135deg, rgba(59, 176, 209, 0.05), rgba(61, 222, 153, 0.05));
border-radius: 1.5rem;
border: 1px solid var(--border);
text-align: center;
box-shadow: var(--shadow-soft);
}
.discord-cta h3 {
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 600;
margin-bottom: 1rem;
}
.discord-cta p {
font-size: 1.125rem;
color: var(--muted-foreground);
max-width: 42rem;
margin: 0 auto 2rem;
}
/* Pricing */
.pricing-card {
display: flex;
flex-direction: column;
}
.pricing-header {
margin-bottom: 2rem;
}
.pricing-title {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.pricing-price {
font-size: 2.5rem;
font-weight: 700;
color: var(--foreground);
}
/* Feature List */
.feature-list {
list-style: none;
margin-bottom: 2rem;
flex-grow: 1;
}
.feature-list li {
display: flex;
align-items: flex-start;
gap: 0.75rem;
margin-bottom: 0.75rem;
color: var(--muted-foreground);
}
.check-icon {
width: 1.25rem;
height: 1.25rem;
margin-top: 0.125rem;
flex-shrink: 0;
stroke: var(--success);
}
/* LINKS */
a {
color: var(--color-primary);
}
/* Footer */
.footer {
padding: 2rem;
text-align: center;
color: var(--muted-foreground);
border-top: 1px solid var(--border);
}
/* Smooth Scrolling */
html {
scroll-behavior: smooth;
}