/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-brand {
    background: var(--color-brand);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.btn-brand:hover {
    background: var(--color-brand-dark);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--color-brand);
    border: 1px solid var(--color-border);
}

.btn-white:hover {
    background: var(--color-surface-off);
    border-color: var(--color-accent);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* CARDS & CONTAINERS */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-surface-off);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.insurance-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.insurance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.feature-icon-box {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

/* TYPOGRAPHY COMPONENTS */
.section-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.text-accent {
    color: var(--color-accent);
}

.text-brand {
    color: var(--color-brand);
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

/* ACCORDION (FAQ) */
.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.accordion-header:hover {
    color: var(--color-accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body {
    padding-bottom: 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.accordion-header i {
    /* chevron */
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.accordion-header[aria-expanded="true"] {
    color: var(--color-accent);
}

/* TOAST NOTIFICATIONS */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    min-width: 300px;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid var(--color-brand);
    position: relative;
    overflow: hidden;
    color: var(--color-text);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.success {
    border-left-color: var(--color-success);
}

.toast.error {
    border-left-color: var(--color-error);
}

.toast.warning {
    border-left-color: var(--color-warning);
}

.toast.info {
    border-left-color: var(--color-accent);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast-icon i {
    color: inherit;
}

.toast.success .toast-icon {
    color: var(--color-success);
}

.toast.error .toast-icon {
    color: var(--color-error);
}

.toast.warning .toast-icon {
    color: var(--color-warning);
}

.toast.info .toast-icon {
    color: var(--color-accent);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--color-brand);
    font-size: 0.95rem;
}

.toast-msg {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    margin-left: 8px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--color-text);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--color-border);
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
    z-index: 9998;
    display: flex;
    justify-content: center;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    flex: 1;
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* SIDEBAR & QUICK ACTIONS */
.sidebar-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
    position: sticky;
    top: 130px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: var(--spacing-sm);
}

.sidebar-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.sidebar-divider {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: var(--spacing-md) 0;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-links a:hover {
    background: #f1f5f9;
    color: var(--color-accent);
}

.sidebar-links a i {
    width: 24px;
    text-align: center;
}