/* Reset și bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

select,
option,
input,
textarea {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --primary-blue: #2d6078;
    --secondary-blue: #3a7a92;
    --dark-blue: #1a3d4e;
    --light-blue: #e5f2f0;
    --purple: #5fb8b0;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #1a3d4e;
    --gradient-blue: linear-gradient(135deg, #2d6078 0%, #3a7a92 100%);
    --gradient-purple: linear-gradient(135deg, #5fb8b0 0%, #4da8a0 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
    min-height: 100vh;
}

/* Home page soft gradient background */
.home-body {
    background: linear-gradient(180deg, #f2f3f5 0%, #e9eaed 50%, #f0f1f3 100%);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: 60px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-blue);
    color: white;
}

.language-selector {
    font-size: 14px;
    color: var(--gray-600);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--dark-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 61, 78, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* =====================================================
   HOME - Floating Ambient Blobs
   ===================================================== */

.home-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.home-blob-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(95, 184, 176, 0.45) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    animation: blobFloat1 18s ease-in-out infinite;
}

.home-blob-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(45, 96, 120, 0.35) 0%, transparent 70%);
    bottom: 30%;
    left: -100px;
    animation: blobFloat2 22s ease-in-out infinite;
}

.home-blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180, 170, 220, 0.4) 0%, transparent 70%);
    top: 55%;
    right: 15%;
    animation: blobFloat3 20s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.08); }
    66% { transform: translate(25px, -40px) scale(0.95); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -25px) scale(1.06); }
    66% { transform: translate(-30px, 50px) scale(0.93); }
}

@keyframes blobFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, -35px) scale(1.1); }
    66% { transform: translate(40px, 15px) scale(0.92); }
}

/* =====================================================
   HOME - Main Section (Hero + Cards)
   ===================================================== */

.home-main {
    position: relative;
    z-index: 1;
    padding: 100px 24px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.home-main-inner {
    position: relative;
    z-index: 1;
}

/* Hero Text */
.home-hero-text {
    text-align: center;
    padding: 16px 0 40px;
    opacity: 0;
    animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.home-hero-title {
    font-size: 40px;
    font-weight: 500;
    color: #1a2236;
    margin-bottom: 10px;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.home-hero-title strong {
    font-weight: 800;
    background: linear-gradient(135deg, #2d6078, #5fb8b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-hero-subtitle {
    font-size: 18px;
    color: #5a6480;
    font-weight: 400;
    line-height: 1.5;
}

.home-hero-subtitle strong {
    font-weight: 700;
    color: #3a4a6b;
}

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

/* =====================================================
   HOME - Cards Row (3 equal columns)
   ===================================================== */

.home-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    perspective: 1000px;
}

/* Shared card base */
.hb-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 4px 20px rgba(45, 96, 120, 0.06),
        0 1px 3px rgba(0,0,0,0.03),
        inset 0 1px 0 rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0;
    animation: cardReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hb-card:nth-child(1) { animation-delay: 0.3s; }
.hb-card:nth-child(2) { animation-delay: 0.42s; }
.hb-card:nth-child(3) { animation-delay: 0.54s; }

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Glow border on hover */
.hb-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 23px;
    background: linear-gradient(135deg,
        rgba(95, 184, 176, 0) 0%,
        rgba(95, 184, 176, 0.25) 50%,
        rgba(45, 96, 120, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(1px);
}

.hb-card:hover::before {
    opacity: 1;
}

.hb-card:hover {
    box-shadow:
        0 16px 48px rgba(45, 96, 120, 0.12),
        0 6px 16px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

/* Card header (blue gradient) */
.hb-card-top {
    background: linear-gradient(145deg, #4a8da3 0%, #2d6078 50%, #1a3d4e 100%);
    padding: 22px 22px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Shiny sweep */
.hb-card-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.hb-card:hover .hb-card-top::after {
    left: 120%;
}

.hb-card-label {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

.hb-card-icon-wrap {
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.hb-card:hover .hb-card-icon-wrap {
    opacity: 0.9;
    transform: rotate(6deg) scale(1.08);
}

/* Card body */
.hb-card-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hb-card-desc {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.hb-card-desc strong {
    font-weight: 700;
    color: #1a2236;
}

/* Card image */
.hb-card-img {
    overflow: hidden;
    border-radius: 14px;
}

.hb-card-img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb-card:hover .hb-card-img img {
    transform: scale(1.05);
}

/* Card plan label + button */
.hb-card-plan {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #2d6078;
    padding: 4px 0 0;
    margin: 0;
}

.hb-card-btn {
    display: block;
    text-align: center;
    padding: 11px 16px;
    margin: 6px 20px 18px;
    border: 2px solid #2d6078;
    border-radius: 28px;
    color: #2d6078;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.hb-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #2d6078;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    border-radius: 28px;
}

.hb-card-btn:hover::before {
    transform: scaleX(1);
}

.hb-card-btn span {
    margin-left: 3px;
    font-size: 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.hb-card-btn:hover {
    color: #fff;
    border-color: #2d6078;
}

.hb-card-btn:hover span {
    transform: translateX(3px);
}

/* =====================================================
   HOME - MedHack Card (dark variant)
   ===================================================== */

.hb-card-mh {
    background: linear-gradient(160deg, #1e3a4a 0%, #162e3c 60%, #0f2230 100%);
    border: 1px solid rgba(95, 184, 176, 0.12);
}

.hb-card-mh::before {
    background: linear-gradient(135deg,
        rgba(95, 184, 176, 0) 0%,
        rgba(95, 184, 176, 0.2) 50%,
        rgba(45, 96, 120, 0.12) 100%);
}

.hb-card-mh-inner {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.hb-mh-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.hb-mh-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

.hb-mh-screen {
    border-radius: 12px;
    margin-top: 4px;
}

.hb-mh-screen img {
    height: 100px;
    border-radius: 12px;
    opacity: 0.85;
}

.hb-mh-logo-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.hb-mh-logo {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.hb-mh-tag {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-left: 2px;
}

.hb-plan-light {
    color: rgba(255, 255, 255, 0.7);
}

.hb-btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    margin-left: 20px;
    margin-right: 20px;
}

.hb-btn-outline::before {
    background: rgba(255, 255, 255, 0.1);
}

.hb-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

/* =====================================================
   HOME - Meeting CTA Section
   ===================================================== */

.home-meeting {
    position: relative;
    z-index: 1;
    padding: 24px 24px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.home-meeting-inner {
    max-width: 100%;
}

.home-meeting-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 20px rgba(45, 96, 120, 0.06), inset 0 1px 0 rgba(255,255,255,0.5);
    padding: 40px 44px 36px;
    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-rows: 1fr auto;
    gap: 24px 40px;
    align-items: center;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0;
    animation: cardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    transition: box-shadow 0.4s ease;
}

.home-meeting-card:hover {
    box-shadow:
        0 16px 48px rgba(45, 96, 120, 0.12),
        0 6px 16px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.home-meeting-left {
    grid-column: 1;
    grid-row: 1;
}

.home-meeting-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a2236;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.home-meeting-subtitle {
    font-size: 15px;
    color: #5a6480;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.5;
}

.home-meeting-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-meeting-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.home-meeting-card:hover .home-meeting-list li:nth-child(1) { transform: translateX(3px); transition-delay: 0s; }
.home-meeting-card:hover .home-meeting-list li:nth-child(2) { transform: translateX(3px); transition-delay: 0.04s; }
.home-meeting-card:hover .home-meeting-list li:nth-child(3) { transform: translateX(3px); transition-delay: 0.08s; }

.home-meeting-list li svg {
    flex-shrink: 0;
}

.home-meeting-right {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-meeting-img-wrap {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.home-meeting-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(45, 96, 120, 0.1);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-meeting-card:hover .home-meeting-img-wrap img {
    transform: scale(1.03);
}

.home-meeting-icon-float {
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-meeting-card:hover .home-meeting-icon-float {
    transform: translate(-3px, 3px) rotate(-4deg);
}

.home-meeting-btn-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
}

.home-meeting-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 13px 30px;
    background: linear-gradient(135deg, #5fb8b0 0%, #4da8a0 100%);
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(95, 184, 176, 0.25);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.home-meeting-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-meeting-btn:hover::after {
    opacity: 1;
}

.home-meeting-btn span {
    font-size: 17px;
    margin-left: 2px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.home-meeting-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(95, 184, 176, 0.35);
}

.home-meeting-btn:hover span {
    transform: translateX(3px);
}

/* =====================================================
   FOOTER - Base Styles (for home + shared pages)
   ===================================================== */

.site-footer {
    background: #183749;
    color: #fafafa;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 2;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 14px;
    color: #fafafa;
    margin: 0;
    font-style: italic;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-link {
    color: #fafafa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: #5fb8b0;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fafafa;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s;
}

.social-icon:hover {
    background: #5fb8b0;
    color: #1a3d4e;
    border-color: #5fb8b0;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #fafafa;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav-link {
    color: #fafafa;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-nav-link:hover {
    color: #5fb8b0;
}

.footer-anpc-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anpc-badge img {
    border-radius: 8px;
    transition: opacity 0.2s;
}

.anpc-badge:hover img {
    opacity: 0.8;
}

.footer-payment-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-badge {
    background: #fff;
    color: #1a3d4e;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pay-badge.pay-visa {
    color: #1a1f71;
}

.pay-badge.pay-mc {
    background: #fff;
    padding: 6px 12px;
}

.pay-badge.pay-stripe {
    color: #635bff;
}

.report-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #8899aa;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}

.report-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #c5cdd9;
}

.report-icon {
    font-size: 14px;
}

.footer-anpc {
    display: flex;
    flex-direction: column;
    /* gap: 10px;
    margin-top: 6px; */
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #fff;
}

.footer-bottom strong {
    color: #fff;
}
.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.footer-bottom a:hover {
    text-decoration: underline;
}
.footer-bottom a strong {
    color: #fff;
}

/* =====================================================
   AUTH MODAL - Base Styles
   ===================================================== */

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 61, 78, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.auth-modal {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 44px 40px 36px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(45, 96, 120, 0.08);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #8a9ba5;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.auth-modal-close:hover {
    background: #f0f2f3;
    color: #1a3d4e;
}

.auth-view {
    display: none;
}

.auth-view.active {
    display: block;
    animation: authFadeIn 0.3s ease;
}

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

.auth-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3d4e;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: #6b8a8e;
    font-weight: 400;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field label {
    font-size: 13px;
    font-weight: 600;
    color: #2d6078;
    letter-spacing: 0.01em;
}

.auth-field input {
    padding: 12px 16px;
    border: 1.5px solid #dde4e7;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #1a3d4e;
    background: #f8fafb;
    transition: all 0.2s ease;
    outline: none;
}

.auth-field input::placeholder {
    color: #a0b3ba;
}

.auth-field input:focus {
    border-color: #2d6078;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 96, 120, 0.1);
}

.auth-btn {
    margin-top: 6px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #2d6078, #3a7a92);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #245266, #2d6078);
    box-shadow: 0 4px 16px rgba(45, 96, 120, 0.3);
    transform: translateY(-1px);
}

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

.auth-links {
    margin-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-switch-text {
    font-size: 14px;
    color: #6b8a8e;
}

.auth-switch-btn {
    background: none;
    border: none;
    color: #2d6078;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.2s ease;
    padding: 0;
}

.auth-switch-btn:hover {
    color: #5fb8b0;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-modal {
        max-width: 100%;
        margin: 12px;
        padding: 36px 24px 28px;
        border-radius: 16px;
    }

    .auth-title {
        font-size: 20px;
    }
}

/* ===== Page Hero / Breadcrumb (shared) ===== */
.page-hero {
    background: linear-gradient(135deg, #1a3d4e 0%, #2d6078 60%, #3a7a92 100%);
    padding: 120px 32px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
    opacity: 0.5;
}

/* Page Hero - Background Image Variant */
.page-hero.page-hero-bg {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 225px 32px 150px;
}

.page-hero.page-hero-bg::before {
    /* background: linear-gradient(135deg, rgba(26, 61, 78, 0.75) 0%, rgba(45, 96, 120, 0.65) 60%, rgba(58, 122, 146, 0.6) 100%); */
    opacity: 1;
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 24px;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #ffffff;
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.page-hero-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.page-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: #5fb8b0;
}

.page-hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 968px) {
    .page-hero {
        padding: 100px 24px 40px;
    }

    .page-hero-title {
        font-size: 32px;
    }

    /* Home responsive */
    .home-hero-title {
        font-size: 36px;
    }

    .home-cards-row {
        grid-template-columns: 1fr 1fr;
    }

    .hb-card-mh {
        grid-column: 1 / -1;
    }

    .home-meeting-card {
        grid-template-columns: 1fr;
        padding: 36px 32px;
    }

    .home-meeting-right {
        grid-column: 1;
        grid-row: auto;
    }

    .home-meeting-btn-wrap {
        grid-column: 1;
        text-align: center;
    }
    
    /* Hamburger visible */
    .hamburger {
        display: flex;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: block;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        pointer-events: auto;
    }
    
    /* Mobile nav menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        padding: 90px 0 40px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
        z-index: 1001;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(45, 96, 120, 0.06);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 16px 28px;
        font-size: 16px;
        font-weight: 500;
        color: var(--dark-blue);
        transition: all 0.2s ease;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(45, 96, 120, 0.06);
        color: var(--primary-blue);
        padding-left: 34px;
    }
    
    .nav-menu .nav-link.active {
        border-left: 3px solid var(--primary-blue);
        font-weight: 600;
    }

    /* Footer responsive */
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 30px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 90px 16px 32px;
    }

    .page-hero-title {
        font-size: 26px;
    }

    .page-hero-subtitle {
        font-size: 14px;
    }

    .breadcrumb-row {
        margin-bottom: 18px;
    }

    /* Home mobile */
    .home-main {
        padding: 90px 16px 30px;
    }

    .home-hero-text {
        padding: 10px 0 32px;
    }

    .home-hero-title {
        font-size: 28px;
    }

    .home-hero-subtitle {
        font-size: 16px;
    }

    .home-cards-row {
        grid-template-columns: 1fr;
        perspective: none;
    }

    .home-meeting-card {
        padding: 28px 20px;
    }

    .home-meeting-title {
        font-size: 22px;
    }

    .home-meeting-btn {
        width: 100%;
        justify-content: center;
    }

    .home-blob {
        display: none;
    }

    /* Footer mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 20px 30px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-reveal class (applied by JS) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* 3D Tilt active state (applied by JS) */
.home-tilt {
    transition: transform 0.15s ease-out, box-shadow 0.4s ease;
}