html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
:root {
    --bg: #f7f7f9;
    --surface: #ffffff;
    --border: #e2e2e6;
    --primary: #3a6df0;
    --primary-dark: #2f54c7;
    --text: #222;
    --text-light: #555;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

body {
    background: var(--bg);
    margin: 0;
    font-family: system-ui, sans-serif;
    color: var(--text);
}

.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

    .hero h1 {
        font-size: 2.4rem;
        font-weight: 700;
    }

.subtitle {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
    }

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
}

    .feature h3 {
        margin-bottom: 0.6rem;
        font-size: 1.2rem;
    }

/* ===== FOOTER ===== */
.landing-footer {
    text-align: center;
    color: var(--text-light);
    margin-top: 3rem;
}
.form-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e2e6;
    margin-top: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group.full {
        grid-column: 1 / -1;
    }

.form-control {
    padding: 0.7rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

    .form-control:focus {
        outline: none;
        border-color: #3a6df0;
    }


.notes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.note-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    background: #fafafa;
}

.note-header {
    font-size: 0.7rem;
}

.note-body {
    font-size: 0.75rem;
}

 
.note-footer {
    font-size: 14px;
}
.btn-primary-small {
    background: var(--primary);
    color: white;
    padding: 0.45rem 0.9rem; /* più piccolo */
    font-size: 0.75rem; /* ridotto del 25% */
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

    .btn-primary-small:hover {
        background: var(--primary-dark);
    }

.form-control.input-fixed {
    height: 34px !important;
    padding: 4px 8px !important;
}