Free Trial form in features grid: 2x3 layout, email + location + send

- features-grid changed to repeat(3, 1fr) for 2x3 layout
- 6th cell is a Free Trial card with midnight bg, brass border
- Email input, location dropdown (preselected to best ping server),
  brass Send button
- POST to webhook as JSON {email, location}
- On success: form hides, success message shown
- Responsive: 3col -> 2col -> 1col
This commit is contained in:
2026-08-19 22:58:14 +00:00
parent b5c9361fc9
commit 9a87d3a5fe
3 changed files with 140 additions and 3 deletions
+83 -3
View File
@@ -382,7 +382,7 @@ img { max-width: 100%; height: auto; vertical-align: middle; }
/* ---- Features ---- */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.feature-card {
@@ -420,8 +420,88 @@ img { max-width: 100%; height: auto; vertical-align: middle; }
.feature-card p {
font-size: 0.85rem;
color: var(--ink-soft);
margin: 0;
line-height: 1.6;
line-height: 1.5;
margin-bottom: 0;
}
.feature-card-trial {
background: var(--midnight);
border: 1px solid var(--line-brass);
border-radius: var(--radius-lg);
padding: 1.5rem;
text-align: center;
transition: all 0.25s;
box-shadow: var(--shadow-rest);
display: flex;
flex-direction: column;
justify-content: center;
}
.feature-card-trial h3 {
font-family: Marcellus, Georgia, serif;
font-size: 1.05rem;
font-weight: 400;
margin-bottom: 0.35rem;
color: #fff;
}
.feature-card-trial p {
font-size: 0.8rem;
color: rgba(255,255,255,0.55);
margin-bottom: 1rem;
line-height: 1.4;
}
.trial-form {
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.trial-form input,
.trial-form select {
padding: 0.6rem 0.8rem;
border-radius: var(--radius);
border: 1px solid var(--line-brass);
background: rgba(255,255,255,0.06);
color: #fff;
font-family: Inter, sans-serif;
font-size: 0.82rem;
outline: none;
transition: border-color 0.2s;
}
.trial-form input::placeholder {
color: rgba(255,255,255,0.3);
}
.trial-form input:focus,
.trial-form select:focus {
border-color: var(--brass);
background: rgba(255,255,255,0.1);
}
.trial-form select option {
background: var(--midnight);
color: #fff;
}
.trial-form .btn-brass {
padding: 0.6rem;
font-size: 0.82rem;
width: 100%;
}
.trial-success {
display: none;
font-size: 0.82rem;
color: #4ade80;
line-height: 1.4;
margin-top: 0.5rem;
}
.trial-success.visible {
display: block;
}
@media (max-width: 768px) {
.features-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 576px) {
.features-grid {
grid-template-columns: 1fr;
}
}
/* ---- FAQ ---- */