.invicta-warranty {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 1.75rem;
}

.warranty-card {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(17, 24, 39, 0.86) 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 32px 52px rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.warranty-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.12), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.warranty-card--muted::before {
    background: radial-gradient(circle at bottom left, rgba(148, 163, 184, 0.18), transparent 65%);
}

.warranty-card__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.55);
    margin-bottom: 1.25rem;
}

.warranty-card__title {
    font-size: clamp(1.85rem, 3.1vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f8fafc;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.warranty-card__lead {
    color: rgba(226, 232, 240, 0.8);
    font-size: 1.05rem;
    max-width: 620px;
    line-height: 1.7;
}

.warranty-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid transparent;
    background: rgba(148, 163, 184, 0.25);
    color: rgba(226, 232, 240, 0.85);
}

.warranty-pill svg {
    width: 0.8rem;
    height: 0.8rem;
}

.warranty-pill.is-success {
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
}

.warranty-pill.is-warning {
    background: rgba(250, 204, 21, 0.2);
    border-color: rgba(250, 204, 21, 0.28);
    color: #fef08a;
}

.warranty-pill.is-danger {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.warranty-serial {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2.25rem 0 1.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(30, 41, 59, 0.48);
}

.warranty-serial__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(148, 163, 184, 0.7);
}

.warranty-serial__value {
    font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: clamp(1.15rem, 3.2vw, 1.6rem);
    letter-spacing: 0.08em;
    color: #f9fafb;
}

.warranty-details {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.warranty-details__item {
    position: relative;
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.12);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}

.warranty-details__icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    background: var(--accent-color);
}

.warranty-details__label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.65);
}

.warranty-details__value {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.9);
    font-weight: 600;
    line-height: 1.4;
}

.warranty-highlight {
    margin: 2rem 0;
    padding: 1.65rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(94, 234, 212, 0.35);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(17, 94, 89, 0.15));
    color: #99f6e4;
}

.warranty-highlight strong {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.warranty-note {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.7);
    padding: 1.5rem;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.95rem;
}

.warranty-note strong {
    color: rgba(248, 250, 252, 0.85);
}

.warranty-qr {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.6rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(30, 41, 59, 0.55);
}

.warranty-qr img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    padding: 0.85rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 20px 32px rgba(2, 6, 23, 0.55);
}

.warranty-actions {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.warranty-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    border: 1px solid transparent;
}

.warranty-action--primary {
    background: var(--accent-color);
    color: #0f172a;
    box-shadow: 0 16px 30px rgba(251, 191, 36, 0.35);
}

.warranty-action--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(251, 191, 36, 0.45);
}

.warranty-action--ghost {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(148, 163, 184, 0.28);
    color: rgba(226, 232, 240, 0.82);
}

.warranty-action--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.warranty-action--support {
    background: rgba(59, 130, 246, 0.28);
    border-color: rgba(96, 165, 250, 0.42);
    color: #e0f2fe;
}

.warranty-action--support:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.4);
}

.warranty-alert {
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.32);
    color: #fecaca;
    display: grid;
    gap: 0.75rem;
}

.warranty-alert__title {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.warranty-alert.is-warning {
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(234, 179, 8, 0.3);
    color: #fef3c7;
}

.warranty-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.warranty-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(226, 232, 240, 0.78);
}

.warranty-list li::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.warranty-form-card {
    display: grid;
    gap: 2.5rem;
}

.warranty-form {
    display: grid;
    gap: 1.5rem;
}

.warranty-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.warranty-field {
    display: grid;
    gap: 0.5rem;
}

.warranty-field--full {
    grid-column: 1 / -1;
}

.warranty-label {
    font-size: 0.75rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.78);
    font-weight: 600;
}

.warranty-field label {
    font-size: 0.8rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.75);
}

.warranty-input {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: #f8fafc;
    font-size: 1rem;
    letter-spacing: 0.06em;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.warranty-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.14);
}

.warranty-input::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.warranty-textarea {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: #f8fafc;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
    min-height: 140px;
}

.warranty-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.14);
}

.warranty-help {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.75);
    line-height: 1.6;
}

.warranty-result-card {
    display: grid;
    gap: 2rem;
}

.warranty-result-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.warranty-result-callout {
    border-radius: 18px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(30, 64, 175, 0.16));
    padding: 1.75rem 1.5rem;
    color: #dbeafe;
}

.warranty-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 18px 32px rgba(2, 6, 23, 0.4);
}

.warranty-empty-state h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    color: #f8fafc;
    margin-bottom: 1rem;
}

.warranty-empty-state p {
    color: rgba(203, 213, 225, 0.78);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.warranty-empty-state .warranty-action {
    margin-top: 0;
}

.warranty-meta-grid {
    display: grid;
    gap: 1.25rem;
}

.warranty-meta-grid small {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.65);
}

.warranty-meta-grid span {
    color: rgba(248, 250, 252, 0.92);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.warranty-cta-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.35), rgba(148, 163, 184, 0));
    margin: 2rem 0;
}

@media (max-width: 720px) {
    .warranty-card {
        padding: 2rem 1.5rem;
    }

    .warranty-serial {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .warranty-actions {
        justify-content: stretch;
    }

    .warranty-action {
        width: 100%;
    }
}
