/* ============================================================
   Swissapp SIS · Landing minimaliste
   Dark · Plus Jakarta Sans · Accent teal/bleu (Invoices)
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0b1220;
    color: #f1f5f9;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.55;
}

::selection { background: #0d9488; color: white; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea { font: inherit; color: inherit; }

img { max-width: 100%; }

/* ===== Backdrop : étoiles + halo ===== */
.stars-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.20), transparent 50%),
        radial-gradient(2px 2px at 60% 70%, rgba(255,255,255,0.12), transparent 50%),
        radial-gradient(1px 1px at 80% 20%, rgba(94,234,212,0.22), transparent 50%),
        radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.14), transparent 50%),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.10), transparent 50%),
        radial-gradient(2px 2px at 90% 60%, rgba(13,148,136,0.20), transparent 50%);
    background-size: 100% 100%;
    opacity: 0.7;
}
.hero-glow {
    position: fixed;
    top: -260px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.30) 0%, transparent 65%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

body > *:not(.stars-bg):not(.hero-glow) { position: relative; z-index: 1; }

/* ===== Header ===== */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}
#site-header.scrolled {
    background: rgba(11, 18, 32, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(31, 42, 68, 0.6);
}
.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    height: 68px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-by   { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.18em; color: #94a3b8; font-weight: 600; margin-top: 2px; }

.sis-logo {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.40);
    color: #fff; font-weight: 900; font-size: 1.1rem;
}

/* ===== Page wrapper ===== */
.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 110px 24px 60px;
}

/* ===== Hero ===== */
.hero { text-align: center; padding: 30px 0 70px; }
.hero-inner { max-width: 880px; margin: 0 auto; }

.badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.10);
    border: 1px solid rgba(13, 148, 136, 0.35);
    color: #5eead4;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #14b8a6;
    box-shadow: 0 0 12px rgba(13,148,136,0.8);
    animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 22px;
}
.hero-title .plus,
.hero-title .equal {
    color: #14b8a6;
    font-weight: 800;
    margin: 0 6px;
}
.hero-gradient {
    background: linear-gradient(135deg, #5eead4 0%, #14b8a6 50%, #5eead4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto 36px;
}

.cta-primary {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 30px;
    border-radius: 14px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
    font-weight: 700; font-size: 1rem;
    letter-spacing: 0.005em;
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.40), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform .15s ease, box-shadow .25s ease;
}
.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(13, 148, 136, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cta-primary i { transition: transform .2s ease; }
.cta-primary:hover i { transform: translateX(4px); }

.hero-pillars {
    margin-top: 50px;
    display: flex; flex-wrap: wrap; gap: 18px;
    justify-content: center;
}
.pillar {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 22px;
    border-radius: 999px;
    background: rgba(17, 26, 46, 0.6);
    border: 1px solid rgba(31, 42, 68, 0.6);
    color: #cbd5e1;
    font-size: 0.92rem; font-weight: 600;
    backdrop-filter: blur(8px);
}
.pillar i { color: #5eead4; }

/* ===== Form section ===== */
.form-section { padding: 30px 0 50px; display: flex; justify-content: center; }
.form-card {
    width: 100%; max-width: 720px;
    background: linear-gradient(180deg, rgba(17, 26, 46, 0.85), rgba(11, 18, 32, 0.85));
    border: 1px solid rgba(31, 42, 68, 0.7);
    border-radius: 22px;
    padding: 38px 36px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 60px rgba(13, 148, 136, 0.08);
    backdrop-filter: blur(10px);
}
.form-head { text-align: center; margin-bottom: 30px; }
.form-head h2 {
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.form-head p { color: #94a3b8; font-size: 0.98rem; }

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
@media (max-width: 600px) {
    .grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
    font-size: 0.82rem; font-weight: 600; color: #cbd5e1;
    letter-spacing: 0.02em;
}
.field input, .field textarea {
    width: 100%;
    padding: 13px 15px;
    background: rgba(11, 18, 32, 0.7);
    border: 1px solid rgba(31, 42, 68, 0.8);
    border-radius: 11px;
    color: #f1f5f9;
    font-size: 0.96rem;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #475569; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.20);
    background: rgba(11, 18, 32, 0.9);
}
.field textarea { resize: vertical; min-height: 88px; font-family: inherit; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cta-submit {
    width: 100%;
    margin-top: 8px;
    padding: 15px 24px;
    border-radius: 13px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
    font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.35), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform .15s ease, box-shadow .25s ease, opacity .15s ease;
}
.cta-submit:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(13, 148, 136, 0.50), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cta-submit:disabled { opacity: 0.6; cursor: wait; }

.error {
    margin-top: 12px;
    color: #fca5a5;
    font-size: 0.88rem;
    text-align: center;
}

.success {
    text-align: center;
    padding: 40px 20px 10px;
}
.success-icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.35);
}
.success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.success p  { color: #94a3b8; }

/* ===== Footer ===== */
.footer {
    border-top: 1px solid rgba(31, 42, 68, 0.5);
    padding: 26px 0;
    margin-top: 30px;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
    color: #64748b; font-size: 0.85rem;
}
.footer a { transition: color .15s ease; }
.footer a:hover { color: #5eead4; }

@media (max-width: 600px) {
    .page { padding: 100px 18px 40px; }
    .form-card { padding: 30px 22px; border-radius: 18px; }
}
