/* Administration Made Easy – public landing page */
:root {
    --ame-primary: #0d6efd;
    --ame-dark: #1a1d21;
    --ame-muted: #6c757d;
    --ame-light: #f8f9fa;
    --ame-accent: #198754;
}

body.ame-landing {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #212529;
    background: #fff;
}

.ame-hero {
    background: linear-gradient(135deg, #0d2137 0%, #1a4a6e 55%, #0d6efd 100%);
    color: #fff;
    padding: 5rem 0 4rem;
}

.ame-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ame-hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    opacity: 0.92;
    max-width: 42rem;
}

.ame-section {
    padding: 4rem 0;
}

.ame-section-alt {
    background: var(--ame-light);
}

.ame-feature-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ame-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
}

.ame-feature-icon {
    font-size: 1.75rem;
    color: var(--ame-primary);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.ame-feature-icon .fas,
.ame-benefit-item .fas,
.ame-btn .fas {
    display: inline-block;
    width: 1.25em;
    text-align: center;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
}

.ame-btn .fas {
    margin-right: 0.4em;
}

.btn-group-cta .ame-btn {
    margin: 0 0.5rem 0.75rem 0;
}

.ame-feature-grid .ame-feature-col {
    margin-bottom: 1.5rem;
}

.ame-footer-grid > [class*="col-"] {
    margin-bottom: 1rem;
}

.ame-benefit-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.ame-benefit-item:last-child {
    border-bottom: none;
}

.ame-benefit-item i {
    color: var(--ame-accent);
    width: 1.5rem;
}

.ame-footer {
    background: var(--ame-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 1.5rem;
    font-size: 0.9rem;
}

.ame-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.ame-footer a:hover {
    color: #fff;
}

.ame-nav {
    background: rgba(13, 33, 55, 0.95);
    backdrop-filter: blur(6px);
}

.ame-nav .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ame-brand-logo {
    line-height: 1;
    max-width: 70%;
}

@media (min-width: 768px) {
    .ame-brand-logo {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .ame-hero {
        padding: 3.5rem 0 2.5rem;
        text-align: center;
    }

    .ame-hero .btn-group-cta {
        justify-content: center;
    }
}

.ame-contact-section {
    background: linear-gradient(180deg, #f0f4f8 0%, #f8f9fa 40%, #ffffff 100%);
}

.ame-contact-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ame-primary);
    background: rgba(13, 110, 253, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
}

.ame-contact-intro {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.ame-contact-form {
    background: #fff;
    border: 1px solid rgba(13, 33, 55, 0.08);
    border-radius: 1rem;
    padding: 2rem 2rem 1.75rem;
    box-shadow:
        0 1px 2px rgba(13, 33, 55, 0.04),
        0 12px 40px rgba(13, 33, 55, 0.08);
}

@media (min-width: 768px) {
    .ame-contact-form {
        padding: 2.5rem 2.75rem 2rem;
    }
}

.ame-contact-alert {
    border: none;
    border-radius: 0.65rem;
    font-size: 0.95rem;
}

.ame-field {
    margin-bottom: 1.35rem;
}

.ame-field label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #334155;
}

.ame-required {
    color: #dc3545;
    font-weight: 700;
}

.ame-input-wrap {
    position: relative;
}

.ame-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.ame-input-icon-textarea {
    top: 1.15rem;
    transform: none;
}

.ame-input-wrap .ame-input {
    height: auto;
    min-height: 3rem;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.65rem;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.ame-input-wrap .ame-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.ame-input-wrap .ame-input:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}

.ame-input-wrap .ame-input:focus {
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

.ame-input-wrap:focus-within .ame-input-icon {
    color: var(--ame-primary);
}

.ame-input-wrap-textarea .ame-textarea {
    min-height: 9rem;
    padding-top: 0.85rem;
    resize: vertical;
}

.ame-contact-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding-top: 0.25rem;
    border-top: 1px solid #eef2f7;
    margin-top: 0.5rem;
}

@media (min-width: 576px) {
    .ame-contact-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.ame-contact-submit {
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 0.65rem;
    padding: 0.85rem 1.75rem;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.3);
    transition: box-shadow 0.15s ease, opacity 0.15s ease;
}

.ame-contact-submit:hover,
.ame-contact-submit:focus {
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.38);
}

.ame-contact-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.ame-contact-note {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.ame-contact-note-icon {
    margin-right: 0.35rem;
    font-size: 0.75rem;
    opacity: 0.85;
}

.ame-contact-form.was-validated .ame-input:invalid {
    border-color: #f87171;
    background-color: #fff5f5;
}

.ame-contact-form.was-validated .ame-input:valid {
    border-color: #86efac;
}

.ame-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
