From 17d660a49d176bb893f0aa4d664e30ce0d3a275b Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Jun 2026 17:44:32 +0000 Subject: [PATCH] feat: tier selector step with radio cards, white CTA buttons, 4-step form --- index.html | 117 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 101 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index baed267..7060502 100644 --- a/index.html +++ b/index.html @@ -30,9 +30,32 @@ .btn{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.5rem;border-radius:var(--radius-sm);font-weight:600;font-size:.9rem;text-decoration:none;cursor:pointer;transition:all .2s;border:none;font-family:inherit} .btn-primary{background:var(--cta-bg);color:#fff;box-shadow:0 0 24px var(--accent-glow),var(--cta-shadow)} .btn-primary:hover{background:linear-gradient(135deg,#4a8ff7,#7ab8fc);transform:translateY(-2px);box-shadow:0 0 32px rgba(59,130,246,0.35)} + /* White CTA button for Get a Quote / Get Pricing */ + .btn-cta{background:#fff;color:#0a0a0b;border:1px solid rgba(255,255,255,.15);box-shadow:0 4px 20px rgba(0,0,0,.2),0 0 0 1px rgba(255,255,255,.1)} + .btn-cta:hover{background:#f0f0f5;transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,0,0,.25),0 0 0 1px rgba(255,255,255,.2)} + .light .btn-cta{background:#1d1d1f;color:#fff;border-color:rgba(255,255,255,.1);box-shadow:0 4px 20px rgba(0,0,0,.15)} + .light .btn-cta:hover{background:#2d2d2f} .btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border)} .btn-ghost:hover{border-color:var(--border-hover);background:var(--bg-card)} .btn-sm{padding:.4rem 1rem;font-size:.8rem} + + /* ── Tier Selector (Stripe-inspired radio cards) ── */ + .tier-selector{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-bottom:1rem} + .tier-option{position:relative;background:var(--bg-card);border:1.5px solid var(--border);border-radius:10px;padding:1rem;cursor:pointer;transition:all .2s;user-select:none} + .tier-option:hover{border-color:var(--border-hover);background:var(--bg-card-hover)} + .tier-option.selected{border-color:var(--accent);background:rgba(59,130,246,.06);box-shadow:0 0 0 1px var(--accent)} + .tier-option input{position:absolute;opacity:0;pointer-events:none} + .tier-option .t-name{font-weight:700;font-size:1rem;margin-bottom:.15rem;display:flex;align-items:center;gap:.4rem} + .tier-option .t-name .check{width:18px;height:18px;border-radius:50%;border:2px solid var(--border);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s;font-size:10px;color:transparent} + .tier-option.selected .t-name .check{border-color:var(--accent);background:var(--accent);color:#fff} + .tier-option .t-tag{font-size:.72rem;color:var(--text-muted)} + .tier-option .t-specs{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.5rem} + .tier-option .t-specs span{font-size:.7rem;padding:.15rem .45rem;border-radius:4px;background:rgba(255,255,255,.04);color:var(--text-dim)} + .tier-option.popular{border-color:rgba(59,130,246,.3)} + .tier-option.popular.selected{border-color:var(--accent)} + .tier-option.popular .t-name::after{content:'Best Value';font-size:.6rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:.1rem .4rem;border-radius:4px;background:rgba(59,130,246,.15);color:var(--accent);margin-left:auto} + .lang-fr .tier-option.popular .t-name::after{content:'Meilleur Q/P'} + .hero{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:6rem 2rem 4rem;max-width:1200px;margin:0 auto} .hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center} .hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .85rem;border-radius:100px;background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.2);font-size:.8rem;color:var(--accent);font-weight:500;margin-bottom:1.5rem;width:fit-content} @@ -162,7 +185,7 @@ Check OrderSuivi Backup DrivesDisques Backup - Get a QuoteDemander un devis + Get a QuoteDemander un devis @@ -224,7 +247,7 @@
  • On-site installInstallation sur place
  • Automated backupsSauvegardes automatisées
  • - Get PricingVoir le prix + Get PricingVoir le prix
    Atlas
    @@ -248,7 +271,7 @@
  • On-site installInstallation sur place
  • Automated backupsSauvegardes automatisées
  • - Get PricingVoir le prix + Get PricingVoir le prix
    @@ -343,8 +366,9 @@
    +
    -
    Step 1 of 3Étape 1 sur 3
    +
    Step 1 of 4Étape 1 sur 4
    @@ -358,11 +382,37 @@
    -
    - 👤 - +
    + Choose your server tier + Choisissez votre offre
    -
    Please enter your name.Entrez votre nom.
    +
    + + + + +
    +
    Please select a tier.Veuillez choisir une offre.
    @@ -370,13 +420,25 @@
    +
    + 👤 + +
    +
    Please enter your name.Entrez votre nom.
    +
    + + +
    +
    + +
    📞
    Please enter your phone number.Entrez votre numéro.
    - +
    @@ -440,9 +502,10 @@