/* ==========================================================================
   Table of Contents
   ==========================================================================
   1. General Styles
   2. Typography
   3. Layout & Structure
   4. Header & Hero
   5. Registration Form
   6. Animations
   7. Media Queries
   ========================================================================== */

/* ==========================================================================
   1. General Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
    overflow-x: hidden; /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Add a subtle background animation to the body */
.animated-body, .index-page {
    background: linear-gradient(-45deg, #f5f7ff, #eef2ff, #e0e7ff, #f5f7ff);
    background-size: 300% 300%;
    animation: gradient 24s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* New: Registration page specific styles */
body.register-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh; /* modern browsers: stable viewport height */
}

@keyframes bgShift {
    0% { filter: hue-rotate(0deg) brightness(1); }
    100% { filter: hue-rotate(-10deg) brightness(1.05); }
}

.container {
    max-width: 540px;
    margin: 3rem auto;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */

/* ...existing code... */

/* ==========================================================================
   3. Layout & Structure
   ========================================================================== */

h1 {
    margin-top: 0;
    font-size: 1.25rem;
    text-align: center;
    color: #007bff;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin: 0.75rem 0 0.25rem;
    font-weight: bold;
}

input, select, button {
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    padding: 0.6rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}

button {
    margin-top: 1rem;
    background: #0d6efd;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}

button:hover {
    background: #0b5ed7;
}

button:active {
    transform: translateY(1px);
}

button.loading {
    position: relative;
    pointer-events: none;
    opacity: .9;
}

button.loading::after {
    content: "";
    position: absolute;
    inset-inline-end: .75rem;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid rgba(255,255,255,.6);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

input:focus, select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
    outline: 0;
}

#message {
    margin-top: 0.75rem;
    min-height: 1.25rem;
    font-size: 0.95rem;
    transition: color .2s ease, transform .2s ease, opacity .2s ease;
}

#message.success {
    color: #0a7f28;
    transform: translateY(0);
    opacity: 1;
}

#message.error {
    color: #b3261e;
    transform: translateY(0);
    opacity: 1;
}

:root {
    --brand: #6366f1; /* indigo-500 */
    --brand-dark: #4f46e5; /* indigo-600 */
    --brand-2: #764ba2; /* secondary for gradients */
    --accent: #f093fb;
    --txt: #1f2937;
    --card: #ffffff;
    --muted: #6b7280;
}

#bg-shapes {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.12;
    filter: blur(0.5px);
    background: radial-gradient(circle at 30% 30%, rgba(99,102,241,0.35), rgba(99,102,241,0.06));
    border-radius: 50%;
    animation: float var(--dur, 14s) ease-in-out var(--delay, 0s) infinite alternate;
}

.shape.square {
    border-radius: 12px;
}

@keyframes float {
    to {
        transform: translateY(-40px) translateX(20px) rotate(10deg) scale(1.12);
    }
}

/* ==========================================================================
   4. Header & Hero
   ========================================================================== */

.header-actions { margin-top: .5rem; }
.site-header {
    background-color: #fff;
    padding: 14px 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #eef2ff;
    position: relative;
    z-index: 100; /* Ensure header is above background shapes */
}

/* Add a subtle slide-down animation to the header */
.header-animated {
    animation: slideDown 0.5s ease-out;
}
.brand .logo {
    font-size: 1.1rem;
    display:inline-grid; place-items:center;
    padding: 6px 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #e9d5ff);
    box-shadow: 0 4px 12px rgba(99,102,241,.15);
}

/* Brand name style next to the logo */
.brand .name { font-weight: 800; font-size: 1.25rem; margin-left: .5rem; letter-spacing: .2px;
    background: linear-gradient(135deg, #0f172a 0%, #4338ca 45%, #7c3aed 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; }

.tagline {
    color: var(--muted);
    font-size: .95rem;
    margin: 0;
}

/* New: Admin panel link */
.site-header .admin-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}
.site-header .admin-link:hover { color: #1e3a8a; }

.hero {
    text-align: center;
    padding: 56px 16px;
    position: relative;
    overflow: hidden;
}

/* Add a fade-in animation to the hero section */
.hero-animated {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero .hero-title { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; margin: 0 auto 10px; color: #111827; line-height: 1.25; max-width: 24ch; }

/* Add a typing animation to the hero title */
.title-animated {
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .1em solid rgba(99,102,241,.75); /* Cursor matches brand */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that centered look */
    letter-spacing: .06em; /* Calmer spacing */
    animation:
        typing 2.8s steps(40, end),
        blink-caret .75s step-end infinite;
}

/* Typing animation */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Blink the cursor */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgba(99,102,241,.75); }
}

.hero h2 {
    margin: 0 0 .5rem;
}

.hero .sub { font-size: .98rem; color: #475569; margin: .35rem auto 1rem; max-width: 36ch; }
.index-hero .mobile-container{ padding: 0 16px; max-width: 680px; margin: 0 auto; }
.eyebrow{ display:inline-block; font-size:.8rem; color:#334155; background: rgba(255,255,255,.6); border:1px solid #e2e8f0; padding:.25rem .55rem; border-radius:999px; margin-bottom:.5rem; }
.title-grad{ background: linear-gradient(135deg, #0f172a 0%, #4338ca 45%, #7c3aed 100%); -webkit-background-clip:text; background-clip:text; color: transparent; }
.cta-wide{ width: min(84vw, 240px); margin: 6px auto 14px; display:inline-flex; }
.index-page .btn.primary.cta-wide { padding: .5rem .8rem; font-size: .9rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(99,102,241,.24); }
.index-page .btn.primary.cta-wide:hover { box-shadow: 0 14px 34px rgba(99,102,241,.34); }

/* Add a slide-up animation to the sub text */
.sub-animated {
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.highlights {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.highlights-animated {
    animation: zoomIn 1s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.highlights li {
    margin: 10px 20px;
    font-size: 1.1em;
    color: #495057;
}

.cta {
    background: var(--brand);
    color: #fff;
    border: 0;
    padding: .65rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 6px 20px rgba(99,102,241,.25);
}

.cta:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.cta:active {
    transform: translateY(0);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: .9rem;
}

.stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: .6rem;
    text-align: center;
}

.stat .num {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--brand);
    display: block;
}

.stat .label {
    color: var(--muted);
    font-size: .85rem;
}

.features {
    max-width: 960px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .75rem;
}

@media (max-width: 720px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature {
    background: var(--card);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature .icon {
    font-size: 1.4rem;
    margin-bottom: .4rem;
}

.truck {
    position: fixed;
    bottom: 14px;
    left: -120px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #eef2ff 60%, #e9d5ff 100%);
    box-shadow: 0 8px 24px rgba(99,102,241,.25);
    border: 1px solid #e6e9ff;
    animation: drive 4s ease-in-out forwards, truckFloat 4s ease-in-out infinite;
    z-index: 2;
}
.truck::before{ content:"🚚"; font-size: 18px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.1)); }
@keyframes truckFloat{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-2px);} }

@keyframes drive {
    from {
        left: -120px;
    transform: translateY(0);
    }
    20% {
    transform: translateY(-1px);
    }
    40% {
    transform: translateY(.5px);
    }
    to {
        left: calc(100vw + 120px);
        transform: translateY(0);
    }
}

/* ==========================================================================
   5. Registration Form
   ========================================================================== */

/* Registration section */
.register-section {
    margin-block: 1.5rem;
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 1rem;
}
.register-section .container {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.register-section h1 {
    margin-top: 0;
    font-size: 1.25rem;
    text-align: center;
    color: #007bff;
}
.register-section form {
    display: flex;
    flex-direction: column;
}
.register-section label {
    display: block;
    margin: 0.75rem 0 0.25rem;
    font-weight: bold;
}
.register-section input,
.register-section select {
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    padding: 0.6rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}
.register-section button {
    margin-top: 1rem;
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.05s ease;
}
.register-section button:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}
.register-section button:active {
    transform: translateY(0);
}

.register-section .form-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr; /* mobile-first */
    align-items: start;
}
@media (min-width: 640px) {
    .register-section .form-grid { grid-template-columns: 1fr 1fr; }
    /* Make the first field span both columns for a clean, symmetric layout */
    .register-section .form-grid > .field:first-child { grid-column: 1 / -1; }
}
.register-section label { display: grid; gap: .5rem; font-weight: 500; }
.register-section input,
.register-section select,
.register-section textarea {
  padding: .75rem;
  border: 1px solid #ddd;
  border-radius: .5rem;
  font-size: 1rem;
  background: #fff;
}
.register-section .agree { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.register-section .form-msg { margin-top: .5rem; transition: color .2s ease, opacity .2s; opacity: 1; }
.register-section .form-msg.error { color: #b3261e; }
.register-section .form-msg.success { color: #0a7f28; }
.register-section .hint { color: #64748b; font-size: .85rem; margin-top: .25rem; display:block; min-height: 1.1rem; }
.field.invalid .input { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .1); }
.field.invalid .hint { color: #b3261e; }

/* Mobile-friendly select fallback when datalist UX is poor */
.select-fallback { width: 100%; padding: .75rem; border: 1px solid #ddd; border-radius: .5rem; background: #fff; font-size: 1rem; }
.select-fallback:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,110,253,0.15); }
.datalist-input.hidden { display: none !important; }

/* When select fallback is active, simplify the input layout */
.input.input-mobile-optimized {
    padding: 0;
    background: transparent;
    border-color: transparent;
    grid-template-columns: 1fr;
}
.input.input-mobile-optimized:focus-within {
    transform: none;
    box-shadow: none;
}
.input.input-mobile-optimized .icon,
.input.input-mobile-optimized::before {
    display: none;
}
.input.input-mobile-optimized .select-fallback {
    padding: .85rem;
    background: #fafbfc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
}
.input.input-mobile-optimized .select-fallback:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15), 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Prevent code overflow in success modal on small screens */
.modal code { word-break: break-all; }

/* Glassmorphism card for form */
.register-section.glass {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.register-section.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

/* Fields with icons and focus effects */
.field { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.input {
  display: grid;
    grid-template-columns: 44px 1fr;
  align-items: center;
  gap: .75rem;
    padding: .85rem;
  background: #fafbfc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  transition: all .3s ease;
  position: relative;
  /* overflow: hidden; */ /* Removed to allow select dropdown on mobile */
}

.input::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(147, 51, 234, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.input:focus-within::before {
  opacity: 1;
}
.input .icon {
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
  animation: iconFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes iconFloat { 
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(2deg); }
}

.input:focus-within {
  transform: translateY(-2px);
  border-color: #667eea;
  background: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15), 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input input,
.input select {
  border: 0;
  outline: 0;
    padding: .7rem .25rem;
    font-size: 16px; /* avoid iOS zoom */
  background: transparent;
  color: #334155;
  position: relative;
  z-index: 1;
}
::placeholder { color: #94a3b8; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
    text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn.primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
  background-size: 200% 200%;
  color: #fff;
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.35);
  animation: btnPulse 6s ease-in-out infinite, btnShift 10s ease-in-out infinite;
}
.btn.primary:hover { 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 16px 45px rgba(102, 126, 234, 0.5);
}
.btn.primary:active { 
  transform: translateY(-1px) scale(1.0); 
}

.btn.primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Full-width submit on register page for better tap target */
.register-page .btn.primary { width: 100%; }

.btn.primary .spinner {
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: spin .6s linear infinite;
  opacity: 0;
  transition: opacity .2s ease;
}

.btn.primary.loading .spinner { opacity: 1; }

@keyframes btnShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes btnPulse {
  0%, 92%, 100% { box-shadow: 0 10px 28px rgba(99,102,241,.35); }
  96% { box-shadow: 0 14px 40px rgba(99,102,241,.5); }
}

/* Modal */
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 40; }
.modal .modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); backdrop-filter: blur(2px); }
.modal .modal-card { position: relative; background: #fff; border-radius: 16px; padding: 1.25rem; width: min(480px, 92vw); box-shadow: 0 24px 60px rgba(0,0,0,.22); text-align: center; animation: pop .28s ease-out; }
.modal .modal-icon { font-size: 2rem; margin-bottom: .5rem; }
.modal .code-row { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .75rem 0 1rem; }
.modal code { background: #0f172a; color: #e2e8f0; padding: .4rem .6rem; border-radius: .5rem; font-weight: 700; letter-spacing: .5px; }
.btn.copy { background: #e2e8f0; color: #0f172a; }

@keyframes pop { from { transform: scale(.98); opacity: 0 } to { transform: scale(1); opacity: 1 } }

/* Confetti layer */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 45; }

/* ==========================================================================
   6. Animations
   ========================================================================== */

/* New: reveal + slide animations (staggered)
    Make content visible by default to avoid blank pages if JS fails.
    Animation still applies when body gets the .ready class. */
.reveal { opacity: 1; transform: none; }
body.ready .reveal { animation: fadeSlide .7s ease forwards; }
.register-section .field:nth-child(1) { animation-delay: .05s; }
.register-section .field:nth-child(2) { animation-delay: .1s; }
.register-section .field:nth-child(3) { animation-delay: .15s; }
.register-section .field:nth-child(4) { animation-delay: .2s; }
.register-section .field:nth-child(5) { animation-delay: .25s; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ...existing code... */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   7. Media Queries
   ========================================================================== */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Tweak registration spacing on small screens */
@media (max-width: 420px) {
  .register-section.glass { padding: .75rem; border-radius: 14px; }
    .input { grid-template-columns: 36px 1fr; padding: .7rem; }
    .field { margin-bottom: 1.1rem; }
}

/* Tone down background shapes on the registration page */
.register-page #bg-shapes { opacity: .35; }

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero-title {
    font-size: 1.8rem;
    }

    .sub {
        font-size: 1em;
    }

    .highlights li {
        font-size: 1em;
        margin: 10px;
    }

    /* Mobile override: allow wrapping and disable typing cursor to prevent overflow */
    .title-animated {
    white-space: normal;
    border-right: 0;
    animation: fadeIn 0.6s ease-out;
    }
    .hero .hero-title { word-break: break-word; }
}

/* Mobile-first tweaks */
.index-page #bg-shapes { opacity: .45; }
.index-page .features-lite .card { padding: .9rem; }
.index-page .steps .step { padding: .9rem; }

/* Improve tap targets */
input, select, button, .btn { min-height: 44px; }
select { appearance: auto; -webkit-appearance: menulist; }

/* Ensure selects are visible over containers */
.input { overflow: visible; }

/* Index page mobile-first components */
.badges { display:flex; gap:.5rem; flex-wrap:wrap; justify-content:center; margin: 18px auto; padding: 0 .5rem; }
.badge { background: linear-gradient(180deg, rgba(99,102,241,.08), rgba(99,102,241,.16)); color:#1e3a8a; border:1px solid rgba(99,102,241,.25); padding:.45rem .7rem; border-radius:999px; font-size:.9rem; box-shadow: 0 2px 10px rgba(99,102,241,.12); }
.features-lite { max-width: 1000px; margin: 1.8rem auto 2.4rem; padding: 0 1rem; display:grid; grid-template-columns: 1fr; gap:.8rem; }
.features-lite .card { background: linear-gradient(180deg,#ffffff, #fafbff); border:1px solid #e6e9ff; border-radius: 16px; padding:1rem; box-shadow: 0 10px 30px rgba(99,102,241,.12); transition: transform .2s ease, box-shadow .2s ease; }
.features-lite .card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(99,102,241,.12); }
.features-lite .card .icon { font-size:1.25rem; }
.steps { max-width: 900px; margin: 0 auto 3.5rem; padding: 0 1rem; display:grid; grid-template-columns: 1fr; gap:.8rem; }
.step { display:flex; align-items:center; gap:.6rem; background: linear-gradient(180deg,#ffffff, #fafbff); border:1px solid #e5e7eb; border-radius: 14px; padding:.85rem 1rem; }
.step-num{ width:28px; height:28px; border-radius:999px; background:#6366f1; color:#fff; display:inline-grid; place-items:center; font-weight:700; font-size:.95rem; }
.step .num { font-weight: 900; color: #6366f1; margin-inline-end:.4rem; }

/* Hero CTA sits naturally; widened via .cta-wide */

.link-return{
    color:#64748b; text-decoration:none; font-size:.95rem;
}
.link-return:hover{ color:#334155; text-decoration:underline; }

/* Premium select chevron and spacing */
.input.has-select::after{
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.input select { padding-right: 2.25rem; }
.input.has-select select{ appearance:none; -webkit-appearance:none; background:transparent; }

/* Nicer register title */
.register-page #register-title{
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f172a;
}
