/* Australian Visa Points Calculator - Shared Styles */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fc;
    min-height: 100vh;
    padding: 0;
    line-height: 1.6;
}

.wrapper {
    padding: 20px;
    padding-top: 85px;
    background: transparent;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.12);
}

nav.scrolled .nav-content {
    padding: 5px 30px;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
    min-height: 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25em;
    font-weight: 800;
    color: #1e3c72;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.logo:hover::before {
    opacity: 0.08;
}

.logo:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.logo .flag {
    font-size: 1.5em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

.logo span:not(.flag) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.06);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.nav-links a:active {
    transform: scale(0.98);
}

/* Active state for current page */
.nav-links a.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid transparent;
    padding: 8px;
    border-radius: 8px;
    font-size: 1.5em;
    color: #1e3c72;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(102, 126, 234, 0.06);
    border-color: rgba(102, 126, 234, 0.2);
}

.mobile-menu-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* === PAGE CONTAINERS === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* === HEADERS === */
header {
    background: #1e3c72;
    color: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.1em;
    opacity: 0.95;
    margin-bottom: 5px;
}

.page-header {
    background: #1e3c72;
    color: white;
    padding: 50px 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* === CONTENT PAGES === */
.content-page {
    padding: 50px 40px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: #1e3c72;
    font-size: 2em;
    margin-bottom: 20px;
}

.content-section h3 {
    color: #667eea;
    font-size: 1.3em;
    margin: 25px 0 15px 0;
}

.content-section p {
    color: #555;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul, .content-section ol {
    margin-left: 30px;
    color: #555;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* === FEATURE GRID === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8eaed;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #1e3c72;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.95em;
}

/* === VISA CARDS === */
.visa-card {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    margin-bottom: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.visa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.visa-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.visa-header.visa-189 {
    background: #667eea;
    color: white;
}

.visa-header.visa-190 {
    background: #f093fb;
    color: white;
}

.visa-header.visa-491 {
    background: #4facfe;
    color: white;
}

.visa-header h2 {
    margin: 0;
    font-size: 1.8em;
}

.visa-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.visa-badge.permanent {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.visa-badge.provisional {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.visa-content {
    padding: 35px;
}

.visa-content h3 {
    color: #1e3c72;
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.visa-content h3:first-of-type {
    margin-top: 0;
}

.visa-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.visa-content ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #555;
}

.visa-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.pro-tip {
    background: #fff8e6;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid #ffe5a3;
    border-left: 4px solid #ffc107;
}

/* === COMPARISON TABLE === */
.comparison-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.comparison-table thead {
    background: #667eea;
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

/* === FAQ ACCORDION === */
.faq-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: #1e3c72;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    font-size: 1.5em;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* === CTA SECTIONS === */
.cta-section {
    text-align: center;
    padding: 60px 40px;
    background: #667eea;
    border-radius: 20px;
    color: white;
    margin-top: 50px;
}

.cta-section h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* === CONTACT LINKS === */
.contact-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    background: #764ba2;
}

/* === DISCLAIMER BOX === */
.disclaimer-box {
    background: #fff8e6;
    border-left: 4px solid #ffc107;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid #ffe5a3;
    border-left: 4px solid #ffc107;
}

.disclaimer-box p {
    color: #856404;
    margin-bottom: 15px;
}

.disclaimer-box ul {
    margin-left: 20px;
}

.disclaimer-box li {
    color: #856404;
}

/* === STEPS LIST === */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    margin-left: 0;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #667eea;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* === CALCULATOR SPECIFIC === */
.visa-types {
    font-size: 0.95em;
    opacity: 0.85;
    margin-top: 10px;
}

.content {
    padding: 40px 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.form-container {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 400px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    z-index: 10;
}

.mobile-score-summary {
    display: none;
}

.visa-scores {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8eaed;
}

.visa-card {
    background: #fafafa;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 5px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.visa-card:hover {
    border-color: #667eea;
    background: #f8f9fc;
}

.visa-card-closed {
    opacity: 0.6;
    background: #f1f1f1;
    border-style: dashed;
}

.visa-card-closed:hover {
    transform: none;
    border-color: #e8eaed;
    box-shadow: none;
}

.visa-card-different {
    background: linear-gradient(135deg, #f8f9fc 0%, #ede9fe 100%);
    border-color: #667eea;
}

.visa-card-different:hover {
    border-color: #764ba2;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.visa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.visa-card h3 {
    font-size: 0.95em;
    color: #1e3c72;
    margin: 0;
    font-weight: 600;
}

.visa-subtitle {
    font-size: 0.65em;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

.visa-points {
    font-size: 1.5em;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.visa-status {
    font-size: 0.7em;
    color: #64748b;
    font-weight: 400;
    padding-top: 2px;
    border-top: 1px solid #e8eaed;
}

.score-display {
    background: #667eea;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.score-display h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
    opacity: 0.95;
}

.score-number {
    font-size: 4.5em;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.score-number.updated {
    transform: scale(1.1);
}

.score-status {
    font-size: 0.95em;
    margin-top: 15px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    max-width: 90%;
    line-height: 1.4;
}

.form-section {
    margin-bottom: 35px;
}

.form-section h3 {
    color: #1e3c72;
    font-size: 1.4em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 .points-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 1em;
    position: relative;
}

.label-with-help {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    font-size: 0.75em;
    font-weight: 700;
    cursor: help;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.help-icon:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.help-tooltip {
    position: fixed;
    z-index: 10000;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-width: 450px;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #667eea;
}

.help-tooltip.show {
    display: block;
    animation: tooltipFadeIn 0.3s ease;
}

.help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.help-overlay.show {
    display: block;
    animation: overlayFadeIn 0.3s ease;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.help-tooltip h4 {
    color: #667eea;
    font-size: 1em;
    margin-bottom: 8px;
    font-weight: 700;
}

.help-tooltip p {
    color: #555;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 8px;
}

.help-tooltip ul {
    margin-left: 18px;
    color: #555;
    font-size: 0.9em;
}

.help-tooltip li {
    margin-bottom: 4px;
}

.help-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.2em;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.3s ease;
}

.help-close:hover {
    color: #667eea;
}

select, input[type="radio"] {
    cursor: pointer;
}

@media (hover: none) and (pointer: coarse) {
    select, .radio-option label, button {
        min-height: 44px;
    }
}

select {
    width: 100%;
    padding: 12px 15px;
    padding-right: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    background: white;
    transition: all 0.3s ease;
    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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

select.filled {
    border-color: #10b981;
    background-color: #f0fdf4;
    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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-position: right 15px center, right 38px center;
    background-repeat: no-repeat, no-repeat;
}

select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select:hover {
    border-color: #667eea;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fc;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e8eaed;
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 30px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked ~ .toggle-slider {
    background: #667eea;
}

.toggle-switch input:checked ~ .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.95em;
    min-width: 40px;
}

.toggle-switch input:checked ~ .toggle-label-yes {
    color: #667eea;
}

.toggle-points {
    color: #667eea;
    font-weight: 700;
    font-size: 0.9em;
    background: #ede9fe;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: auto;
}

.info-box {
    background: #f8f9fc;
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    border-radius: 12px;
    margin: 30px 0;
    font-size: 0.95em;
    color: #555;
    border: 1px solid #e8eaed;
    border-left: 4px solid #667eea;
    width: 100%;
}

.info-box strong {
    color: #1e3c72;
}

.info-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

.info-box li {
    margin-bottom: 5px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 15px 0 10px 0;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: #10b981;
    border-radius: 10px;
    transition: width 0.5s ease, background 0.5s ease;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.progress-fill.low {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.progress-fill.medium {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.progress-fill.high {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.reset-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.reset-btn:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9em;
    background: #fafbfc;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #e8eaed;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .container, .page-container {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        padding: 30px 20px;
    }

    .sidebar {
        display: none;
    }

    .mobile-score-summary {
        display: block;
        margin: 30px 0;
    }

    .form-container {
        width: 100%;
    }

    .visa-scores {
        padding: 18px;
    }

    .visa-card {
        padding: 12px 14px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 10px;
        padding-top: 80px;
    }

    nav {
        padding: 0 15px;
    }

    .nav-content {
        padding: 10px 15px;
        min-height: 60px;
    }

    .logo {
        font-size: 1.25em;
        padding: 8px 12px;
    }

    .logo .flag {
        font-size: 1.4em;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        gap: 4px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.mobile-open {
        right: 0;
    }

    .nav-links a {
        padding: 14px 24px;
        border-radius: 0;
        border-left: 3px solid transparent;
        text-align: left;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-left-color: #667eea;
        background: rgba(102, 126, 234, 0.08);
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        width: 40px;
        height: 40px;
    }

    .mobile-menu-btn::before,
    .mobile-menu-btn::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: #1e3c72;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn::before {
        top: 14px;
    }

    .mobile-menu-btn::after {
        bottom: 14px;
    }

    .mobile-menu-btn.active::before {
        transform: translateX(-50%) rotate(45deg);
        top: 50%;
        margin-top: -1px;
    }

    .mobile-menu-btn.active::after {
        transform: translateX(-50%) rotate(-45deg);
        bottom: 50%;
        margin-bottom: -1px;
    }

    /* Mobile overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .mobile-overlay.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .container {
        border-radius: 15px;
    }

    header {
        padding: 30px 20px;
        border-radius: 15px 15px 0 0;
    }

    header h1 {
        font-size: 1.6em;
    }

    header p {
        font-size: 0.95em;
    }

    .visa-types {
        font-size: 0.85em;
    }

    .content {
        padding: 20px 15px;
    }

    .sidebar {
        margin-top: 25px;
        margin-bottom: 0;
    }

    .score-display {
        padding: 25px 20px;
    }

    .score-number {
        font-size: 3em;
    }

    .score-status {
        font-size: 0.9em;
        padding: 6px 14px;
    }

    .breakdown {
        padding: 15px;
    }

    .form-section h3 {
        font-size: 1.2em;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .radio-group {
        flex-wrap: wrap;
    }

    .reset-btn {
        font-size: 1em;
        padding: 12px;
    }

    .page-header {
        padding: 40px 25px;
    }

    .page-header h1 {
        font-size: 2em;
    }

    .content-page {
        padding: 30px 20px;
    }

    .content-section h2 {
        font-size: 1.6em;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9em;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-section h2 {
        font-size: 1.8em;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-btn {
        text-align: center;
    }

    .visa-card {
        padding: 8px 10px;
        margin-bottom: 6px;
    }

    .visa-card h3 {
        font-size: 0.95em;
    }

    .visa-subtitle {
        font-size: 0.7em;
    }

    .visa-points {
        font-size: 1.5em;
    }

    .visa-status {
        font-size: 0.75em;
    }
}

@media (max-width: 480px) {
    .visa-card {
        padding: 8px 10px;
        margin-bottom: 6px;
    }

    .visa-card h3 {
        font-size: 0.95em;
    }

    .visa-subtitle {
        font-size: 0.7em;
    }

    .visa-points {
        font-size: 1.5em;
    }

    .visa-status {
        font-size: 0.75em;
    }
}
