/* ===== Hero ===== */
.hero {
    padding-top: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 24px;
    background: var(--surface);
    color: var(--accent-coral-deep);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--clay-shadow-sm);
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-coral);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 122, 138, 0.25);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 122, 138, 0.25); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 122, 138, 0.05); }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: var(--accent-coral-deep);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* ===== Hero preview cards (puffy macarons) ===== */
.hero-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-preview-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--clay-shadow);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-preview-item:nth-child(1) { background: var(--surface-pink); }
.hero-preview-item:nth-child(2) { background: var(--surface-mint); }
.hero-preview-item:nth-child(3) { background: var(--surface-yellow); }

.hero-preview-item:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.hero-preview-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.hero-preview-item h4 {
    margin-bottom: 0.25rem;
}

.hero-preview-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .hero-subtitle { font-size: 1.05rem; }
}

/* ===== Features ===== */
.features-header,
.use-cases-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.features-header .section-label,
.use-cases-header .section-label {
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.feature-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-pink);
    box-shadow:
        inset 3px 3px 6px rgba(232, 84, 107, 0.15),
        inset -3px -3px 6px rgba(255, 255, 255, 0.9),
        6px 6px 14px rgba(180, 150, 130, 0.18);
}

.feature-card:nth-child(2) .feature-icon { background: var(--surface-mint); box-shadow: inset 3px 3px 6px rgba(77, 212, 172, 0.18), inset -3px -3px 6px rgba(255, 255, 255, 0.9), 6px 6px 14px rgba(180, 150, 130, 0.18); }
.feature-card:nth-child(3) .feature-icon { background: var(--surface-blue); box-shadow: inset 3px 3px 6px rgba(91, 158, 245, 0.18), inset -3px -3px 6px rgba(255, 255, 255, 0.9), 6px 6px 14px rgba(180, 150, 130, 0.18); }

.feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ===== Security ===== */
.security-card {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff8 100%);
}

.security-card .section-label {
    margin-left: auto;
    margin-right: auto;
}

.security-card p {
    font-size: 1.15rem;
    max-width: 580px;
    margin: 1rem auto 2.5rem;
}

.security-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 28px;
    background: var(--surface);
    border-radius: var(--radius-pill);
    box-shadow: var(--clay-shadow-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

@media (max-width: 480px) {
    .security-card { padding: 2.5rem 1.5rem; }
    .security-badges { flex-direction: column; align-items: center; }
    .badge { width: 100%; justify-content: center; }
}

/* ===== Use cases ===== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.use-case-card {
    padding: 2rem;
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.use-case-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--surface-yellow);
    box-shadow: inset 2px 2px 5px rgba(255, 195, 65, 0.25),
                inset -2px -2px 5px rgba(255, 255, 255, 0.85),
                4px 4px 10px rgba(180, 150, 130, 0.18);
}

.use-case-card:nth-child(2) .use-case-avatar { background: var(--surface-blue); box-shadow: inset 2px 2px 5px rgba(91, 158, 245, 0.22), inset -2px -2px 5px rgba(255, 255, 255, 0.85), 4px 4px 10px rgba(180, 150, 130, 0.18); }
.use-case-card:nth-child(3) .use-case-avatar { background: var(--surface-pink); box-shadow: inset 2px 2px 5px rgba(255, 122, 138, 0.22), inset -2px -2px 5px rgba(255, 255, 255, 0.85), 4px 4px 10px rgba(180, 150, 130, 0.18); }
.use-case-card:nth-child(4) .use-case-avatar { background: var(--surface-mint); box-shadow: inset 2px 2px 5px rgba(77, 212, 172, 0.22), inset -2px -2px 5px rgba(255, 255, 255, 0.85), 4px 4px 10px rgba(180, 150, 130, 0.18); }

.use-case-avatar img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.use-case-info h4 {
    margin-bottom: 0.15rem;
}

.use-case-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.use-case-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    box-shadow: inset 2px 2px 5px rgba(180, 150, 130, 0.12),
                inset -2px -2px 5px rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .use-cases-grid { grid-template-columns: 1fr; }
}

/* ===== CTA ===== */
.cta-card {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #fff5f7 0%, #fff0e8 100%);
}

.cta-card .section-label {
    margin-left: auto;
    margin-right: auto;
}

.cta-card h2 {
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cta-card { padding: 2.5rem 1.5rem; }
}
