/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #EDEEF7;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(184, 181, 255, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Header */
header {
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 200;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-text {
    flex: 1;
    display: flex;
    justify-content: center;
}

.title-with-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo-image:hover {
    transform: scale(1.05);
}

.title-content {
    text-align: left;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: linear-gradient(180deg, #FFFFFF 0%, #F9F9FF 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 12px rgba(120, 104, 230, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(184, 181, 255, 0.15);
    backdrop-filter: blur(10px);
}

.nav-container {
    position: relative;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 8px;
    z-index: 201;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 26px;
    height: 2.5px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: block;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #7868E6;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid transparent;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

nav a:hover {
    background: linear-gradient(135deg, #7868E6, #9F8FFF);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(120, 104, 230, 0.25);
    border-color: transparent;
}

nav a:hover .nav-icon {
    transform: scale(1.1) rotate(5deg);
}

nav a.active {
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    color: white;
    box-shadow: 0 4px 12px rgba(120, 104, 230, 0.3);
    border-color: transparent;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #B8B5FF;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

/* Legal Notice Banner - Simple & Discreet */
.legal-notice-banner {
    background: #F8F8F8;
    border: 1px solid #E0E0E0;
    border-left: 3px solid #9E9E9E;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.legal-notice-banner:hover {
    opacity: 1;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notice-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.notice-text {
    flex: 1;
    line-height: 1.5;
    color: #666;
    font-size: 0.875rem;
}

.notice-text a {
    color: #7868E6;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.notice-text a:hover {
    color: #5D4DB5;
    border-bottom-color: #7868E6;
}

/* Sections */
.section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(120, 104, 230, 0.08);
    border: 2px solid #E4FBFF;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
    transition: all 0.3s ease;
    z-index: auto;
}

.card:hover {
    box-shadow: 0 6px 30px rgba(120, 104, 230, 0.12);
    border-color: #B8B5FF;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #7868E6, #B8B5FF, #E4FBFF);
}

.card h2 {
    color: #7868E6;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.card h3 {
    color: #523af9;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Forms */
.form {
    display: grid;
    gap: 1.5rem;
}

/* Modern Form Layout */
.modern-form {
    display: block;
    max-width: 100%;
}

.form-section {
    background: linear-gradient(135deg, #F9F9FF 0%, #FFFFFF 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 2px solid #E4FBFF;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #7868E6, #B8B5FF);
}

.form-section:hover {
    border-color: #B8B5FF;
    box-shadow: 0 4px 20px rgba(120, 104, 230, 0.15);
    transform: translateY(-2px);
}

.optional-section {
    background: linear-gradient(135deg, #FFF9F9 0%, #FFFFFF 100%);
    border-color: #FFE4E4;
}

.optional-section::before {
    background: linear-gradient(180deg, #B8B5FF, #E4FBFF);
}

.special-section {
    background: linear-gradient(135deg, #FFFEF9 0%, #FFFFFF 100%);
    border-color: #FFF4E4;
}

.special-section::before {
    background: linear-gradient(180deg, #FFD700, #FFA726);
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E4FBFF;
    color: #7868E6;
    font-size: 1.2rem;
    font-weight: 600;
}

.divider-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(120, 104, 230, 0.15);
}

.section-divider .optional-badge {
    margin-left: auto;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Label Wrapper for Better Layout */
.label-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    color: #7868E6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    flex-shrink: 1;
}

.form-group > label {
    margin-bottom: 0.75rem;
}

.label-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.label-icon {
    font-size: 1.3rem;
    display: inline-flex;
    flex-shrink: 0;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.optional-badge {
    font-size: 0.7rem;
    background: #B8B5FF;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.2;
}

.tooltip-icon {
    font-size: 0.85rem;
    color: #7868E6;
    cursor: help;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #E4FBFF;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tooltip-icon:hover {
    background: #7868E6;
    color: white;
    transform: scale(1.15);
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 5px);
    right: 0;
    transform: translateY(-5px);
    background: #333;
    color: white;
    padding: 0.6rem 0.875rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 220px;
    min-width: 180px;
    text-align: left;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    border: 6px solid transparent;
    border-top-color: #333;
}

.tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid #E4FBFF;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237868E6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #7868E6;
    box-shadow: 0 0 0 4px rgba(120, 104, 230, 0.12), 0 4px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.form-group.focused {
    transform: scale(1.01);
}

.form-group input.filled,
.form-group select.filled {
    background: #F9F9FF;
    border-color: #B8B5FF;
}

/* Input with Prefix */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-prefix {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: #7868E6;
    font-weight: 700;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg, #F9F9FF 80%, transparent);
    border-radius: 10px 0 0 10px;
}

.input-with-prefix input {
    padding-left: 3.25rem;
    width: 100%;
}

/* Placeholder Styling */
.form-group input::placeholder {
    color: #B8B5FF;
    opacity: 0.7;
}

.form-group input:focus::placeholder {
    opacity: 0.5;
}

/* Checkbox Enhancements */
.checkbox-container {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.checkbox-group.enhanced {
    flex-direction: row;
    align-items: center;
    background: #F9F9FF;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #E4FBFF;
    transition: all 0.3s ease;
}

.checkbox-group.enhanced:hover {
    border-color: #B8B5FF;
    transform: translateX(5px);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
    width: 100%;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 26px;
    height: 26px;
    border: 2px solid #7868E6;
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #7868E6;
    border-color: #7868E6;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label.checked {
    color: #7868E6;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.checkbox-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
}

/* Form Progress Indicator - Simplified */
.form-progress {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid #E4FBFF;
    box-sizing: border-box;
    max-width: 100%;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E4FBFF;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7868E6, #B8B5FF);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(120, 104, 230, 0.3);
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.progress-step {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E4FBFF;
    color: #9E9AB8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid #E4FBFF;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #7868E6, #9D8FE8);
    color: white;
    border-color: #7868E6;
    box-shadow: 0 4px 12px rgba(120, 104, 230, 0.4);
    transform: scale(1.05);
}

.progress-step.completed .step-number {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
}

/* Step text removed - cleaner design with numbers only */

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(120, 104, 230, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #EDEEF7;
    color: #7868E6;
    border: 2px solid #7868E6;
}

.btn-secondary:hover {
    background: #7868E6;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #7868E6;
    border: 2px solid #7868E6;
}

.btn-outline:hover {
    background: #7868E6;
    color: white;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Results */
.results-card {
    border-left: 5px solid #7868E6;
    background: linear-gradient(135deg, #F9F9FF 0%, #FFFFFF 100%);
    animation: slideIn 0.5s ease;
}

.result-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #E4FBFF;
    border-left: 4px solid #7868E6;
    box-shadow: 0 3px 10px rgba(120, 104, 230, 0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(120, 104, 230, 0.15);
    border-color: #B8B5FF;
}

.result-item h4 {
    color: #7868E6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E4FBFF;
}

.result-item p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.result-item p strong {
    color: #7868E6;
    font-weight: 600;
}

.highlight {
    background: linear-gradient(135deg, #FFB4B4, #FFC9C9);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    color: #8B0000;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(255, 180, 180, 0.3);
    border: 1px solid #FFB4B4;
}

/* Rights Checklist */
.rights-list {
    display: grid;
    gap: 1.25rem;
}

.right-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F9F9FF 0%, #FFFFFF 100%);
    border-radius: 12px;
    border: 2px solid #E4FBFF;
    border-left: 5px solid #7868E6;
    box-shadow: 0 3px 10px rgba(120, 104, 230, 0.08);
    transition: all 0.3s ease;
}

.right-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(120, 104, 230, 0.15);
    border-color: #B8B5FF;
}

.right-item.completed {
    background: linear-gradient(135deg, #F1F8F4 0%, #FFFFFF 100%);
    border-left-color: #4CAF50;
    border-color: #C8E6C9;
}

.right-item.not-applicable {
    background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 100%);
    border-left-color: #999;
    border-color: #E0E0E0;
    opacity: 0.7;
}

.right-checkbox {
    width: 24px;
    height: 24px;
    margin-top: 0.3rem;
    cursor: pointer;
    accent-color: #7868E6;
}

.right-content h4 {
    color: #7868E6;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.right-item.completed .right-content h4 {
    color: #4CAF50;
}

.right-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline Info */
.timeline-info,
.rights-info {
    text-align: center;
    color: #7868E6;
    font-style: italic;
    padding: 2rem;
    background: #E4FBFF;
    border-radius: 8px;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #E4FBFF;
    border-top: 5px solid #7868E6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #7868E6;
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.toast.success {
    border-left-color: #4CAF50;
}

.toast.error {
    border-left-color: #FFB4B4;
}

.toast.warning {
    border-left-color: #FFA726;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Footer */
footer {
    background: #7868E6;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .title-with-logo {
        gap: 1rem;
    }

    .logo-image {
        height: 55px;
        max-width: 80px;
    }

    .header-text {
        justify-content: flex-start;
    }

    header h1 {
        font-size: 1.75rem;
    }

    header p {
        font-size: 0.95rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(180deg, #FFFFFF 0%, #F9F9FF 50%, #E4FBFF 100%);
        width: 280px;
        text-align: left;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 4px 0 32px rgba(120, 104, 230, 0.25);
        border-radius: 0 24px 24px 0;
        padding: 2rem 0;
        gap: 0;
        height: 100vh;
        overflow-y: auto;
        z-index: 150;
        border-right: 3px solid rgba(120, 104, 230, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu::before {
        content: '📋 Menu de Navegação';
        display: block;
        padding: 1.25rem 1.5rem;
        color: #7868E6;
        font-weight: 700;
        font-size: 1.1rem;
        border-bottom: 3px solid #E4FBFF;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, #F9F9FF 0%, rgba(228, 251, 255, 0.5) 100%);
        box-shadow: 0 2px 8px rgba(120, 104, 230, 0.08);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(228, 251, 255, 0.5);
        transition: background 0.3s ease;
    }

    .nav-menu li:hover {
        background: rgba(249, 249, 255, 0.5);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    nav a {
        padding: 1.125rem 1.5rem;
        border-radius: 0;
        width: 100%;
        justify-content: flex-start;
        font-size: 1rem;
        position: relative;
    }

    nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(90deg, #7868E6, transparent);
        transition: width 0.3s ease;
    }

    nav a:hover,
    nav a.active {
        background: linear-gradient(90deg, rgba(120, 104, 230, 0.1) 0%, transparent 100%);
        transform: translateX(8px);
        box-shadow: none;
        border-left: 5px solid #7868E6;
    }

    nav a:hover::before,
    nav a.active::before {
        width: 5px;
    }

    nav a.active {
        background: linear-gradient(90deg, rgba(120, 104, 230, 0.15) 0%, rgba(228, 251, 255, 0.3) 100%);
        color: #5D4DB5;
        font-weight: 700;
    }

    nav a.active::after {
        content: '●';
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: #7868E6;
        font-size: 0.8rem;
        border: none;
        animation: pulse 2s infinite;
    }

    nav a:hover .nav-icon {
        transform: scale(1.15);
    }

    /* Close button in menu */
    .nav-menu::after {
        content: '✕ Fechar Menu';
        display: block;
        margin-top: auto;
        padding: 1.25rem 1.5rem;
        color: #888;
        font-size: 0.9rem;
        text-align: center;
        border-top: 3px solid #E4FBFF;
        cursor: pointer;
        background: linear-gradient(135deg, transparent 0%, rgba(228, 251, 255, 0.3) 100%);
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .nav-menu::after:hover {
        background: linear-gradient(135deg, rgba(249, 249, 255, 0.5) 0%, rgba(228, 251, 255, 0.5) 100%);
        color: #7868E6;
    }
    
    .card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form {
        gap: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .right-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .right-checkbox {
        align-self: flex-start;
    }

    .legal-notice-banner {
        padding: 1.25rem 1.25rem;
        margin-bottom: 1.5rem;
        border-left-width: 5px;
    }

    .legal-notice-banner {
        padding: 0.65rem 0.875rem;
    }

    .notice-content {
        gap: 0.65rem;
    }

    .notice-text {
        font-size: 0.825rem;
    }

    /* Mobile Menu Adjustments */
    .nav-menu {
        width: 260px;
        border-radius: 0 20px 20px 0;
    }

    .nav-menu::before {
        font-size: 1.05rem;
        padding: 1.125rem 1.5rem;
    }

    .nav-menu::after {
        padding: 1.125rem 1.5rem;
        font-size: 0.875rem;
    }

    nav a {
        padding: 1rem 1.5rem;
        font-size: 0.975rem;
    }

    .hamburger {
        width: 44px;
        height: 44px;
        padding: 7px;
        gap: 4.5px;
    }

    .hamburger-line {
        width: 24px;
        height: 2.5px;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 0;
    }
    
    .header-content {
        gap: 0.75rem;
    }

    .title-with-logo {
        gap: 0.75rem;
    }

    .logo-image {
        height: 45px;
        max-width: 65px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.875rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.6rem;
    }
    
    .toast-container {
        left: 10px;
        right: 10px;
    }
    
    .toast {
        max-width: none;
    }

    /* Legal Notice - Telas Pequenas */
    .legal-notice-banner {
        padding: 1rem;
        border-left-width: 4px;
        border-radius: 10px;
    }

    .legal-notice-banner {
        padding: 0.6rem 0.75rem;
    }

    .notice-content {
        gap: 0.6rem;
    }

    .notice-text {
        font-size: 0.8rem;
    }

    /* Mobile Menu Small Screens */
    .nav-menu {
        width: 240px;
        padding: 1.5rem 0;
        border-radius: 0 18px 18px 0;
    }

    .nav-menu::before {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .nav-menu::after {
        padding: 1rem 1.25rem;
        font-size: 0.85rem;
    }

    nav a {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        padding: 7px;
        gap: 4px;
    }

    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    /* Form Progress - Telas Pequenas */
    .form-progress {
        padding: 1rem 0.75rem;
    }

    .progress-bar {
        height: 6px;
        margin-bottom: 0.875rem;
    }

    .progress-steps {
        gap: 0.5rem;
    }

    .step-number {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .progress-step.active .step-number {
        transform: scale(1.02);
    }

    .card {
        padding: 1.25rem;
    }

    .checkbox-label {
        gap: 0.65rem;
    }

    .checkbox-custom {
        width: 23px;
        height: 23px;
    }

    .checkbox-text {
        font-size: 0.9rem;
    }

}

/* Telas Extra Pequenas (iPhone SE, etc) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    header {
        padding: 1.25rem 0;
    }

    .header-content {
        gap: 0.65rem;
    }

    .title-with-logo {
        gap: 0.65rem;
    }

    .logo-image {
        height: 40px;
        max-width: 55px;
    }

    header h1 {
        font-size: 1.35rem;
    }

    header p {
        font-size: 0.8rem;
    }

    /* Legal Notice - Extra Pequeno */
    .legal-notice-banner {
        padding: 0.55rem 0.7rem;
        border-left-width: 2px;
    }

    .notice-text {
        font-size: 0.775rem;
    }

    /* Mobile Menu - iPhone SE */
    .nav-menu {
        width: 220px;
        border-radius: 0 16px 16px 0;
        border-right-width: 2px;
    }

    .nav-menu::before {
        font-size: 0.975rem;
        padding: 0.875rem 1rem;
    }

    .nav-menu::after {
        font-size: 0.825rem;
        padding: 0.875rem 1rem;
    }

    nav a {
        padding: 0.825rem 1rem;
        font-size: 0.9rem;
    }

    .hamburger {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        padding: 6px;
        gap: 4px;
    }

    .hamburger-line {
        width: 20px;
        height: 2.5px;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }


    .form-progress {
        padding: 0.875rem 0.75rem;
    }

    .progress-bar {
        height: 5px;
        margin-bottom: 0.75rem;
    }

    .progress-steps {
        gap: 0.4rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-width: 2px;
    }

    .progress-step.active .step-number {
        transform: scale(1.02);
    }

    .card {
        padding: 1rem;
    }

    .empty-state {
        padding: 2rem 1.25rem;
    }


    .empty-state h3 {
        font-size: 1.1rem;
    }

    .empty-state p {
        font-size: 0.85rem;
    }

    .section-header {
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .result-item {
        padding: 1.125rem;
    }

    .result-item h4 {
        font-size: 1.05rem;
    }

    .right-item {
        padding: 1.125rem;
    }

    .right-content h4 {
        font-size: 1.05rem;
    }

    .label-wrapper {
        gap: 0.4rem;
    }


    .label-text {
        font-size: 0.95rem;
    }

    .tooltip-icon {
        width: 19px;
        height: 19px;
    }

    .tooltip {
        max-width: 160px;
        min-width: 140px;
        font-size: 0.75rem;
    }

    .input-prefix {
        font-size: 0.9rem;
        padding: 0 0.75rem;
    }

    .input-with-prefix input {
        padding-left: 2.75rem;
    }

    .checkbox-label {
        gap: 0.6rem;
    }

    .checkbox-custom {
        width: 22px;
        height: 22px;
    }

    .checkbox-text {
        font-size: 0.875rem;
    }

    .checkbox-text span {
        line-height: 1.4;
    }
}

/* Telas Muito Pequenas (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    header {
        padding: 1rem 0;
    }

    .header-content {
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
    }

    .header-text {
        width: 100%;
        justify-content: center;
    }

    .title-with-logo {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .logo-image {
        height: 50px;
        max-width: 70px;
    }

    .title-content {
        text-align: center;
    }

    header h1 {
        font-size: 1.25rem;
    }

    header p {
        font-size: 0.75rem;
    }

    .hamburger {
        align-self: center;
        margin-top: 0.25rem;
    }

    /* Legal Notice - Muito Pequeno */
    .legal-notice-banner {
        padding: 0.5rem 0.65rem;
        border-left-width: 2px;
    }

    .notice-text {
        font-size: 0.75rem;
    }

    /* Mobile Menu - Extra Small */
    .nav-menu {
        width: 200px;
        border-radius: 0 14px 14px 0;
        border-right-width: 2px;
    }

    .nav-menu::before {
        font-size: 0.9rem;
        padding: 0.75rem 0.875rem;
    }

    .nav-menu::after {
        font-size: 0.8rem;
        padding: 0.75rem 0.875rem;
    }

    nav a {
        padding: 0.7rem 0.875rem;
        font-size: 0.85rem;
    }

    .hamburger {
        width: 38px;
        height: 38px;
        border-radius: 9px;
        padding: 6px;
        gap: 3.5px;
    }

    .hamburger-line {
        width: 18px;
        height: 2.5px;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .form-progress {
        padding: 0.75rem 0.5rem;
        border-radius: 10px;
    }

    .progress-bar {
        height: 5px;
        margin-bottom: 0.65rem;
    }

    .progress-steps {
        gap: 0.35rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        border-width: 2px;
    }

    .progress-step.active .step-number {
        transform: scale(1.02);
    }

    .card {
        padding: 0.875rem;
        border-radius: 10px;
    }

    .empty-state {
        padding: 1.75rem 1rem;
    }


    .empty-state h3 {
        font-size: 1rem;
    }

    .empty-state p {
        font-size: 0.8rem;
    }

    .section-header {
        gap: 0.75rem;
        padding-bottom: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .result-item {
        padding: 1rem;
    }

    .result-item h4 {
        font-size: 1rem;
    }

    .right-item {
        padding: 1rem;
    }

    .right-content h4 {
        font-size: 1rem;
    }

    .label-wrapper {
        gap: 0.35rem;
        margin-bottom: 0.65rem;
    }


    .label-text {
        font-size: 0.9rem;
    }

    .tooltip-icon {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
    }

    .tooltip {
        max-width: 150px;
        min-width: 130px;
        font-size: 0.7rem;
        padding: 0.5rem 0.65rem;
    }

    .tooltip::after {
        border-width: 5px;
    }

    .input-prefix {
        font-size: 0.85rem;
        padding: 0 0.65rem;
    }

    .input-with-prefix input {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }

    .checkbox-label {
        gap: 0.5rem;
    }

    .checkbox-custom {
        width: 20px;
        height: 20px;
    }

    .checkbox-custom::after {
        font-size: 12px;
    }

    .checkbox-text {
        font-size: 0.8rem;
    }

}

/* Print Styles */
/* Print Styles */
@media print {
    /* Hide unnecessary elements */
    nav, 
    footer, 
    .btn,
    .hamburger,
    .quick-action-btn,
    .quick-actions-menu,
    .menu-overlay,
    .legal-notice-banner,
    .form-progress,
    .form-actions,
    .empty-state,
    .tooltip,
    button,
    input[type="button"],
    input[type="submit"] {
        display: none !important;
    }
    
    /* Show header with logo */
    header {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border-bottom: 3px solid #333;
        padding-bottom: 15pt !important;
        margin-bottom: 20pt;
        page-break-after: avoid;
    }
    
    .header-content {
        justify-content: center;
    }
    
    .header-text {
        text-align: center;
    }
    
    header h1 {
        color: #000 !important;
        text-shadow: none !important;
        font-size: 18pt !important;
    }
    
    header p {
        color: #666 !important;
        font-size: 10pt !important;
        opacity: 1 !important;
    }
    
    /* Page setup */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    main {
        padding: 0;
    }
    
    /* Show all sections */
    .section {
        display: block !important;
        page-break-inside: avoid;
    }
    
    /* Cards */
    .card {
        box-shadow: none;
        border: 1px solid #333;
        border-radius: 0;
        padding: 15pt;
        margin-bottom: 15pt;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    /* Headers */
    h1, h2, h3 {
        color: #000;
        page-break-after: avoid;
    }
    
    h1 { font-size: 18pt; margin-bottom: 10pt; }
    h2 { font-size: 16pt; margin-bottom: 8pt; }
    h3 { font-size: 14pt; margin-bottom: 6pt; }
    
    /* Section headers */
    .section-header {
        border-bottom: 2px solid #333;
        margin-bottom: 10pt;
        padding-bottom: 8pt;
    }
    
    .section-icon {
        display: none;
    }
    
    .section-subtitle {
        font-size: 10pt;
        color: #666;
    }
    
    /* Timeline */
    .timeline {
        padding: 0;
    }
    
    .timeline::before {
        background: #333;
    }
    
    .timeline-item {
        margin-bottom: 15pt;
        page-break-inside: avoid;
    }
    
    .timeline-content {
        border: 1px solid #333;
        border-radius: 0;
        box-shadow: none;
        padding: 10pt;
    }
    
    .timeline-marker {
        background: #333;
        border-color: white;
    }
    
    .timeline-date {
        font-weight: bold;
        color: #000;
    }
    
    .status-indicator {
        border: 1px solid #333;
        padding: 2pt 6pt;
        font-size: 9pt;
    }
    
    /* Rights */
    .rights-grid {
        display: block;
    }
    
    .right-item {
        border: 1px solid #333;
        padding: 8pt;
        margin-bottom: 8pt;
        page-break-inside: avoid;
    }
    
    .right-checkbox {
        display: none;
    }
    
    /* Results */
    .results-container {
        display: block;
    }
    
    .result-item {
        border: 1px solid #333;
        padding: 8pt;
        margin-bottom: 8pt;
        page-break-inside: avoid;
    }
    
    /* Logo in print */
    .title-with-logo {
        gap: 15pt;
    }
    
    .logo-image {
        height: 50pt;
        width: auto;
        max-width: 80pt;
        filter: grayscale(1);
    }
    
    .title-content {
        text-align: left;
    }
    
    /* Print info section */
    .print-info {
        display: block !important;
        text-align: center;
        border: 2px solid #333;
        border-radius: 0;
        padding: 15pt;
        margin-bottom: 20pt;
        page-break-after: avoid;
        background: #f5f5f5;
    }
    
    .print-info p {
        margin: 5pt 0;
        font-size: 10pt;
        color: #333;
    }
    
    .print-info p strong {
        color: #000;
        font-weight: bold;
    }
    
    /* Print footer */
    .print-footer {
        display: block !important;
        text-align: center;
        border-top: 2px solid #333;
        padding-top: 10pt;
        margin-top: 20pt;
        font-size: 9pt;
        color: #666;
        page-break-before: avoid;
    }
    
    .print-footer p {
        margin: 3pt 0;
    }
    
    /* Results container */
    .results-container {
        page-break-inside: avoid;
    }
    
    .results-grid {
        display: block;
    }
    
    /* Timeline summary */
    .timeline-summary {
        border: 2px solid #333;
        padding: 10pt;
        margin-bottom: 15pt;
        page-break-inside: avoid;
    }
    
    .timeline-summary h3 {
        margin-top: 0;
        border-bottom: 1px solid #333;
        padding-bottom: 5pt;
    }
    
    .summary-stats {
        display: block;
    }
    
    .stat-item {
        border: 1px solid #ddd;
        padding: 5pt;
        margin-bottom: 5pt;
    }
    
    /* Links */
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #666;
    }
    
    /* Page breaks */
    h2, h3 {
        page-break-after: avoid;
    }
    
    .timeline-item,
    .right-item,
    .result-item {
        page-break-inside: avoid;
    }
}

/* Large Screens - Logo Adjustments */
@media (min-width: 1200px) {
    .logo-image {
        height: 80px;
        max-width: 110px;
    }

    .title-with-logo {
        gap: 2rem;
    }

    header h1 {
        font-size: 2.75rem;
    }
}

@media (min-width: 1600px) {
    .logo-image {
        height: 90px;
        max-width: 120px;
    }

    .title-with-logo {
        gap: 2.5rem;
    }

    header h1 {
        font-size: 3rem;
    }

    header p {
        font-size: 1.2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background: #000;
        color: #fff;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
a:focus {
    outline: 3px solid #7868E6;
    outline-offset: 2px;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E4FBFF;
}

.section-header h2 {
    color: #333;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F9F9FF, #E4FBFF);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(120, 104, 230, 0.15);
    animation: bounceIn 0.6s ease;
    flex-shrink: 0;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: normal;
    line-height: 1.5;
}

/* Empty States */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #F9F9FF 0%, #FFFFFF 100%);
    border-radius: 16px;
    border: 3px dashed #D1CDF7;
    transition: all 0.3s ease;
}

.empty-state:hover {
    border-color: #B8B5FF;
    background: linear-gradient(135deg, #FAFAFF 0%, #FFFFFF 100%);
}

.empty-icon {
    margin-bottom: 1.5rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-state h3 {
    color: #7868E6;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.empty-state p {
    color: #888;
    margin-bottom: 2rem;
    max-width: 450px;
    line-height: 1.6;
    font-size: 1rem;
}

/* Quick Actions */
.quick-action-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(120, 104, 230, 0.4);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
}

.quick-action-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.quick-action-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(120, 104, 230, 0.5);
}

.quick-action-btn.active {
    background: #5E4FCC;
}

.quick-actions-menu {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    z-index: 998;
    min-width: 200px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    color: #333;
    font-size: 0.95rem;
}

.quick-action-item:hover {
    background: #F9F9FF;
    transform: translateX(5px);
}

.quick-action-item span:first-child {
    font-size: 1.2rem;
}

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Success Feedback */
.success-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.success-feedback.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounceIn 0.6s ease;
}

.success-message {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Legal Pages Styles */
.disclaimer-section {
    background: linear-gradient(135deg, #FFF9E6, white);
    border-left: 5px solid #FFA726;
}

.disclaimer-content {
    line-height: 1.8;
}

.disclaimer-content h3 {
    color: #7868E6;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.disclaimer-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-content li {
    margin-bottom: 0.5rem;
}

.disclaimer-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #E4FBFF;
    font-size: 0.9rem;
    color: #666;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.highlight-box.success {
    background: #E8F5E9;
    border-left-color: #4CAF50;
}

.highlight-box h3 {
    color: #FF9800;
    margin-top: 0;
    margin-bottom: 1rem;
}

.highlight-box.success h3 {
    color: #4CAF50;
}

.info-box {
    background: #E3F2FD;
    border-left: 4px solid #2196F3;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.right-card {
    background: #F5F5F5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #7868E6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(120, 104, 230, 0.2);
}

.right-card h4 {
    color: #7868E6;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.right-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-box {
    background: #E4FBFF;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #7868E6;
    margin-top: 1rem;
}

.contact-box h4 {
    color: #7868E6;
    margin-bottom: 1rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Official Links Section */
.official-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.link-card {
    background: linear-gradient(135deg, #FFFFFF, #F9F9FF);
    border: 2px solid #E4FBFF;
    border-left: 4px solid #7868E6;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(120, 104, 230, 0.15);
    border-color: #B8B5FF;
}

.link-card h4 {
    color: #7868E6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E4FBFF;
}

.link-card p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.link-card strong {
    color: #7868E6;
    font-weight: 600;
}

.link-card a {
    color: #1976D2;
    text-decoration: none;
    border-bottom: 1px solid #1976D2;
    transition: all 0.3s ease;
    font-weight: 500;
}

.link-card a:hover {
    color: #0D47A1;
    background: rgba(25, 118, 210, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.link-card small {
    display: block;
    color: #888;
    font-style: italic;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #E4FBFF;
}

/* Verification Steps */
.verification-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step-card {
    background: linear-gradient(135deg, #F9F9FF, #FFFFFF);
    border: 2px solid #E4FBFF;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    padding-left: 5rem;
    min-height: 140px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(120, 104, 230, 0.15);
    border-color: #B8B5FF;
}

.step-number {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #7868E6, #B8B5FF);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(120, 104, 230, 0.3);
}

.step-card h4 {
    color: #7868E6;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.step-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-card a {
    color: #1976D2;
    text-decoration: none;
    border-bottom: 1px solid #1976D2;
    font-weight: 500;
}

.step-card a:hover {
    color: #0D47A1;
    background: rgba(25, 118, 210, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

/* Responsive for Legal Pages */
@media (max-width: 768px) {
    .rights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .official-links {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .link-card {
        padding: 1.25rem;
    }

    .link-card h4 {
        font-size: 1.05rem;
    }

    .verification-steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .step-card {
        padding: 1.25rem;
        padding-left: 4.5rem;
        min-height: 120px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        left: 1.25rem;
        top: 1.25rem;
    }

    .step-card h4 {
        font-size: 1rem;
    }

    .step-card p {
        font-size: 0.9rem;
    }

    .highlight-box,
    .info-box,
    .contact-box {
        padding: 1rem;
    }

    .disclaimer-content h3 {
        font-size: 1.1rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    /* UX Enhancements Responsive */
    .container {
        padding: 0 15px;
    }

    .form-progress {
        padding: 1rem 1.25rem;
    }

    .progress-bar {
        height: 6px;
        margin-bottom: 1rem;
    }

    .progress-steps {
        gap: 0.5rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        border-width: 2px;
    }

    .progress-step.active .step-number {
        transform: scale(1.02);
    }

    .card {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }


    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .quick-action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 8.5rem;
        right: 1.5rem;
    }

    .quick-actions-menu {
        right: 1.5rem;
        bottom: 4.5rem;
        min-width: 180px;
    }

    .checkbox-container {
        gap: 0.75rem;
    }

    .checkbox-group.enhanced {
        padding: 0.875rem;
    }

    .checkbox-label {
        gap: 0.75rem;
    }

    .checkbox-custom {
        width: 24px;
        height: 24px;
    }

    .checkbox-text {
        font-size: 0.95rem;
    }


    .tooltip {
        max-width: 150px;
        font-size: 0.75rem;
    }

    .empty-state {
        padding: 2.5rem 1.5rem;
        border-width: 2px;
    }


    .empty-state h3 {
        font-size: 1.2rem;
    }

    .empty-state p {
        font-size: 0.9rem;
    }

    .section-header {
        padding-bottom: 1rem;
    }

    .section-icon {
        width: 50px;
        height: 50px;
    }

    .result-item {
        padding: 1.25rem;
    }

    .result-item h4 {
        font-size: 1.15rem;
    }

    .right-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    /* Modern Form Responsive */
    .form-section {
        padding: 1.5rem;
    }

    .form-section::before {
        width: 3px;
    }

    .section-divider {
        font-size: 1rem;
        flex-wrap: wrap;
    }

    .divider-icon {
        width: 35px;
        height: 35px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .label-wrapper {
        gap: 0.5rem;
    }


    .tooltip-icon {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }

    .tooltip {
        max-width: 180px;
        min-width: 150px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .input-prefix {
        font-size: 0.95rem;
        padding: 0 0.875rem;
    }

    .input-with-prefix input {
        padding-left: 3rem;
    }
}

