/* public/css/landing-page.css */

:root {
    --psa-primary: #0f3b6f;
    --psa-primary-dark: #0a2c52;
    --psa-accent: #c49a2c;
    --psa-accent-light: #e0b54b;
    --psa-gray-light: #f1f5f9;
    --psa-gray: #e2e8f0;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --success: #10b981;
    --warning: #f59e0b;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: var(--text-dark);
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    color: var(--psa-primary);
    padding: 8px;
    border-radius: 16px;
}

.logo-text .psa-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--psa-primary);
    display: block;
}

.logo-text .psa-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
    margin-top: 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--psa-primary);
    border-bottom: 2px solid var(--psa-accent);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.button-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.button-primary {
    background: var(--psa-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.button-primary:hover {
    background: var(--psa-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button-outline {
    background: transparent;
    border: 1.5px solid var(--psa-primary);
    color: var(--psa-primary);
}

.button-outline:hover {
    background: var(--psa-primary);
    color: white;
}

/* Hero */
.hero-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f0f4fa 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--psa-accent-light);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3b2a0f;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--psa-primary);
    position: relative;
}

.hero-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.stats-row {
    display: flex;
    gap: 32px;
    padding-top: 16px;
}

.stat {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat strong {
    font-size: 1.3rem;
    color: var(--psa-primary);
    display: block;
}

.hero-image .floating-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Map Section */
.map-section {
    padding: 70px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--psa-primary);
}

.section-header p {
    color: var(--text-muted);
    margin-top: 8px;
}

.map-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--psa-gray);
    position: relative;
}

.leaflet-map {
    height: 600px;
    width: 100%;
    z-index: 1;
}

.leaflet-popup-content {
    margin: 10px 10px 10px 10px;
    line-height: 1.3;
    font-size: 13px;
    font-size: 1.08333em;
    min-height: 1px;
}

/* Requirements Section */
.requirements-section {
    padding: 70px 0;
    background: #f1f5f9;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-top: 24px;
}

.req-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(15, 59, 111, 0.1);
}

.req-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.req-header {
    background: linear-gradient(135deg, #0f3b6f 0%, #1a4d7a 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 15px;
}

.req-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffd966;
}

.req-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.req-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0 20px;
}

.req-tab {
    flex: 1;
    padding: 14px 16px;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.req-tab:hover {
    color: #0f3b6f;
    background: rgba(15, 59, 111, 0.05);
}

.req-tab.active {
    color: #0f3b6f;
    background: white;
}

.req-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #c49a2c;
    border-radius: 3px 3px 0 0;
}

.req-content {
    display: none;
    flex: 1;
    padding: 20px;
}

.req-content.active {
    display: block;
}

.req-list-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 8px;
}

.req-list-container::-webkit-scrollbar {
    width: 6px;
}

.req-list-container::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.req-list-container::-webkit-scrollbar-thumb {
    background: #c49a2c;
    border-radius: 10px;
}

.req-list-container::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}

.req-docs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.req-docs li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #334155;
}

.req-docs li:last-child {
    border-bottom: none;
}

.req-docs li i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 14px;
}

.req-docs li i.fa-check-circle {
    color: #10b981;
}

.req-docs li i.fa-child {
    color: #f59e0b;
}

.req-docs li span {
    flex: 1;
}

.warning-note {
    margin: 0 20px 20px 20px;
    padding: 14px 16px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.warning-note i {
    color: #f59e0b;
    font-size: 1rem;
    margin-top: 2px;
}

.warning-note span {
    flex: 1;
    color: #92400e;
    line-height: 1.4;
}

/* Info Section */
.info-section {
    padding: 60px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.info-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.info-text li {
    margin: 12px 0;
}

.info-contact {
    background: var(--psa-gray-light);
    padding: 28px;
    border-radius: 28px;
}

.info-contact h3 {
    color: var(--psa-primary);
    margin-bottom: 16px;
}

.info-contact p {
    margin-bottom: 12px;
}

/* Footer */
.site-footer {
    background: #0a2540;
    color: #cbd5e1;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 24px;
}

.footer-links a:hover {
    color: var(--psa-accent);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.copyright-text,
.copyright-devs,
.copyright-version {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.copyright-text {
    font-size: 14px;
    color: #cbd5e1;
}

.copyright-text i {
    color: #c49a2c;
    font-size: 14px;
}

.copyright-devs {
    font-size: 13px;
    color: #cbd5e1;
    opacity: 0.85;
    margin-top: 8px;
}

.copyright-devs i {
    color: #c49a2c;
    font-size: 13px;
}

.copyright-version {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
    gap: 6px;
}

.copyright-version i {
    font-size: 11px;
    color: #c49a2c;
}

/* Map Markers */
.custom-psa-marker {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #0f3b6f, #0a2c52);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #c49a2c;
    transition: transform 0.2s ease;
}

.custom-psa-marker:hover {
    transform: scale(1.1);
}

.custom-psa-marker img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 3px;
}

/* Route Summary Toggle */
.leaflet-routing-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.leaflet-routing-container.hide-routing {
    display: none !important;
}

.leaflet-bottom {
    display: none;
}

.custom-toggle-btn {
    position: absolute;
    bottom: 490px;
    right: 12px;
    z-index: 1;
    background: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f3b6f;
}

.custom-toggle-btn:hover {
    transform: scale(1.1);
    background: #0f3b6f;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #0f3b6f, #0a2c52);
    color: white;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
    line-height: 1.6;
    color: #334155;
}

.modal-body h3 {
    color: #0f3b6f;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* Appointment Modal */
.appointment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.appointment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.appointment-modal-container {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.appointment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    z-index: 10;
}

.appointment-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-modal-header h3 i {
    color: #2c5f8a;
}

.close-appointment-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-appointment-modal:hover {
    background: #f1f5f9;
    color: #ef4444;
}

.appointment-modal-body {
    flex: 1;
    padding: 0;
    background: #f1f5f9;
}

.appointment-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

/* Loading overlay inside modal */
.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    flex-direction: column;
    gap: 15px;
}

.modal-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #2c5f8a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Adjust body overflow when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Destination Info Panel and Compass Styles */
.destination-info-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 260px;
    border: 1px solid rgba(15, 59, 111, 0.2);
    font-family: 'Inter', sans-serif;
}

.destination-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.destination-header i {
    font-size: 20px;
    color: #c49a2c;
}

.destination-header h4 {
    margin: 0;
    color: #0f3b6f;
    font-size: 1rem;
    font-weight: 600;
}

.distance-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    padding: 8px;
    background: #f0f4fa;
    border-radius: 12px;
}

.distance-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f3b6f;
}

.distance-unit {
    font-size: 0.8rem;
    color: #64748b;
}

.time-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #c49a2c;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.status-near {
    background: #dcfce7;
    color: #166534;
}

.status-far {
    background: #fed7aa;
    color: #9a3412;
}

.status-unknown {
    background: #e2e8f0;
    color: #475569;
}

.direction-to-destination {
    margin-top: 12px;
    padding: 8px;
    background: #e8f0fe;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
}

.direction-arrow {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Compass Styles */
.compass-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(15, 59, 111, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.compass-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.compass {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #0f2b4a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.compass-needle {
    position: absolute;
    width: 4px;
    height: 35px;
    background: #ef4444;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.compass-needle::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -6px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #ef4444;
}

.compass-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.compass-direction-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: #0f3b6f;
    white-space: nowrap;
    background: white;
    padding: 2px 8px;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.compass-north {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.compass-south {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: rgba(255,255,255,0.6);
}

.compass-east {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: bold;
    color: rgba(255,255,255,0.6);
}

.compass-west {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: bold;
    color: rgba(255,255,255,0.6);
}

.sensor-status {
    font-size: 10px;
    text-align: center;
    margin-top: 8px;
    color: #64748b;
}

/* Map layer control custom styling */
.leaflet-control-layers {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.leaflet-control-layers-base label {
    padding: 4px 8px;
    font-size: 12px;
}

.production-safe {
    color: #10b981;
    font-weight: bold;
}

.not-safe {
    color: #ef4444;
    font-weight: bold;
}

.warning-text {
    color: #f59e0b;
    font-size: 11px;
}

/* PSA Branded Loading State */
.psa-loader-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.psa-loader-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.psa-loader-container {
    padding: 35px 40px;
    text-align: center;
}

.psa-loader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: psaSpin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 10px rgba(252, 209, 22, 0.5));
}

@keyframes psaSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.08);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.psa-loader-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -70px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(252, 209, 22, 0.4);
    animation: pulseRing 1.5s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.psa-loader-text {
    color: white;
    margin-top: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
    background: linear-gradient(135deg, #FFE6B0, #FFD966);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.psa-loader-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-top: 8px;
    font-weight: 400;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Active nav link styling */
.nav-link.active {
    color: var(--psa-primary);
    border-bottom: 2px solid var(--psa-accent);
}

/* Section fade-in animation */
.hero-section,
.howto-section,
.map-section,
.requirements-section,
.info-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-section.visible,
.howto-section.visible,
.map-section.visible,
.requirements-section.visible,
.info-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* How To Section */
.howto-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.howto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.howto-grid.second-row {
    margin-top: 30px;
}

.howto-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.howto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.howto-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5f8a 0%, #1a3d5c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(44, 95, 138, 0.3);
}

.howto-step {
    display: inline-block;
    background: #e9ecef;
    color: #2c5f8a;
    font-size: 20px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.howto-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1a3d5c;
}

.howto-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.howto-card small {
    display: block;
    color: #adb5bd;
    font-size: 0.8rem;
}

.howto-cta {
    text-align: center;
    margin-top: 50px;
}

.howto-cta .button {
    padding: 14px 32px;
    font-size: 1rem;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 25px;
}

.logo-icon {
    color: var(--psa-primary);
    padding: 0px;
    border-radius: 16px;
    width: 40px;
}