/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F3F2EC;
    min-height: 100vh;
    color: #141414;
    overflow-x: hidden; /* Prevent accidental horizontal scroll */
}

html {
    overflow-x: hidden; /* Prevent accidental horizontal scroll */
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
    margin: 0 auto;
}

/* Left Content Section */
.content-section {
    flex: 1;
    min-width: 480px;
    padding: 32px 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 1.5rem; /* 24px */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #141414;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #424242;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

/* Social Proof */
.social-proof {
    background: linear-gradient(to bottom, #f5f5f4, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 96px;
    padding: 4px 12px 4px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 
        0px 2px 0px 0px inset rgba(255, 255, 255, 0.65),
        0px -2px 0px 0px inset rgba(0, 0, 0, 0.05);
}

.avatars {
    display: flex;
    align-items: center;
    padding-right: 4px;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    margin-right: -4px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.13);
}

.avatar-1 {
    background-image: url('Assets/Avatars/Avatar-1.png');
    background-size: cover;
    background-position: center;
}

.avatar-2 {
    background-image: url('Assets/Avatars/Avatar-2.png');
    background-size: cover;
    background-position: center;
}

.avatar-3 {
    background-image: url('Assets/Avatars/Avatar-3.png');
    background-size: cover;
    background-position: center;
}

.avatar-4 {
    background-image: url('Assets/Avatars/Avatar-4.png');
    background-size: cover;
    background-position: center;
}

.avatar-5 {
    background-image: url('Assets/Avatars/Avatar.png');
    background-size: cover;
    background-position: center;
}
.social-text {
    font-size: 14px;
    font-weight: 500;
    color: #292929;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -0.96px;
    color: #141414;
    margin: 0;
}

.hero-subtitle {
    font-family: 'Source Serif 4', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: -0.4px;
    color: #424242;
    margin: 0;
}

/* Features */
.features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.features-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #141414;
    margin: 0;
}

.features-list {
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.36px;
    color: #424242;
    list-style: disc;
    margin-left: 27px;
}

.features-list li {
    margin-bottom: 0;
}

.features-list li:last-child {
    margin-bottom: 0;
}

/* Waitlist Section */
.waitlist-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.waitlist-label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #141414;
    margin: 0;
}

.waitlist-form {
    background: linear-gradient(to bottom, #f5f5f4, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden; /* Prevent decorative glow from causing horizontal overflow */
    box-shadow: 
        0px 2px 0px 0px inset rgba(255, 255, 255, 0.65),
        0px -2px 0px 0px inset rgba(0, 0, 0, 0.05);
}

.waitlist-form::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 90deg at 40% -25%,
        #CFC7B9,
        #E3DACC,
        #ECB9A8,
        #F5D8B2,
        #CFC7B9,
        #E3DACC,
        #ECB9A8,
        #F5D8B2,
        #CFC7B9
    );
    filter: blur(80px);
    opacity: 1;
    z-index: -1;
    border-radius: 50%;
}

.input-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.input-field {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    position: relative;
    box-shadow: 0px 2px 4px 0px inset rgba(0, 0, 0, 0.1);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.input-field input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #141414;
    background: transparent;
}

.input-field input::placeholder {
    color: #737373;
}

.submit-btn,
.av-btn {
    background: linear-gradient(to bottom, #424242, #0f0f0f);
    border: 1px solid #141414;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding: 10px 14px;
    cursor: default;
    white-space: nowrap;
    opacity: 0.6;
    position: relative;
    box-shadow: 
        0px -2px 0px 0px inset #000000,
        0px 2px 0px 0px inset rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.av-btn {
    cursor: pointer;
}

.av-btn:hover:not([disabled]) {
    filter: brightness(1.05);
}

.av-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    color: #d6d6d6;
}

/* Active state - when input has content */
.av-btn.active {
    opacity: 1;
    color: #ffffff;
    cursor: pointer;
}

.av-btn.active:hover {
    filter: brightness(1.05);
}

/* Mailchimp Form Styles */
.avalium-waitlist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.av-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #141414;
    background: transparent;
}

.av-input::placeholder {
    color: #737373;
}

.av-input:focus {
    outline: none;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Notification Bar Styles */
.notification-bar {
    position: fixed;
    z-index: 3000;
    max-width: 400px;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.notification-bar.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Desktop/Tablet positioning (top right corner) */
.notification-bar {
    top: 32px;
    right: 32px;
    left: 32px; /* Keep inside viewport to avoid off-screen width */
    width: auto; /* Avoid width:100% with right offset causing overflow */
}

.notification-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 
        0px 12px 16px -4px rgba(10, 13, 18, 0.08),
        0px 4px 6px -2px rgba(10, 13, 18, 0.03),
        0px 2px 2px -1px rgba(10, 13, 18, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.notification-icon svg {
    width: 24px;
    height: 24px;
}

.notification-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 40px;
}

.notification-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #141414;
    margin: 0;
}

.notification-message {
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.32px;
    color: #424242;
    margin: 0;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.notification-close svg {
    width: 20px;
    height: 20px;
}

/* Cookies Banner */
.cookies-banner {
    position: fixed;
    z-index: 3000;
    max-width: 520px;
    width: auto;
    top: 32px;
    right: 32px;
    left: auto;
    bottom: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.cookies-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookies-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow:
        0px 12px 16px -4px rgba(10, 13, 18, 0.08),
        0px 4px 6px -2px rgba(10, 13, 18, 0.03),
        0px 2px 2px -1px rgba(10, 13, 18, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.cookies-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 0;
}

.cookies-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #141414;
    margin: 0;
}

.cookies-message {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.2px;
    color: #424242;
    margin: 0;
}

.cookies-actions {
    display: flex;
    gap: 8px;
}

.cookies-btn {
    background: linear-gradient(to bottom, #424242, #0f0f0f);
    border: 1px solid #141414;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 10px 14px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
        0px -2px 0px 0px inset #000000,
        0px 2px 0px 0px inset rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.cookies-btn:hover {
    filter: brightness(1.05);
}

.cookies-decline {
    background: linear-gradient(to bottom, #f5f5f4, #ffffff);
    color: #141414;
    border: 1px solid rgba(0, 0, 0, 0.13);
    box-shadow:
        0px 2px 0px 0px inset rgba(255, 255, 255, 0.65),
        0px -2px 0px 0px inset rgba(0, 0, 0, 0.05);
}

.cookies-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: background-color 0.2s ease;
}

.cookies-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.cookies-close svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    display: flex;
    padding: var(--size-000, 0);
    justify-content: space-between;
    align-items: center;
    align-content: center;
    row-gap: var(--size-024, 24px);
    align-self: stretch;
    flex-wrap: wrap;
    width: 100%;
}

.footer-copy span,
.footer-linkedin a,
.footer-email a {
    font-size: 14px;
    font-weight: 500;
    color: #292929;
    text-decoration: none;
}

.footer-linkedin a:hover,
.footer-email a:hover {
    color: #141414;
}

/* Footer items alignment */
.footer-item {
    display: flex;
    align-items: center;
}

.footer-copy { justify-content: start; }
.footer-linkedin { justify-content: center; }
.footer-email { justify-content: center; }
.footer-legal { justify-content: end; }

.dropdown-btn {
    background: none;
    border: none;
    color: #141414;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.dropdown-btn:hover {
    color: #424242;
}

.dropdown-btn svg {
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 8px;
    box-shadow: 
        0px 12px 16px -4px rgba(10, 13, 18, 0.08),
        0px 4px 6px -2px rgba(10, 13, 18, 0.03),
        0px 2px 2px -1px rgba(10, 13, 18, 0.04);
    min-width: 248px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1000;
    margin-bottom: 8px;
}

/* Language picker opens downward (in header) */
.lang-picker .dropdown-menu {
    top: 100%;
    bottom: auto;
    right: 0;
    margin-top: 8px;
    margin-bottom: 0;
}

.lang-picker .dropdown-menu {
    transform: translateY(-8px);
}

.lang-picker .dropdown-menu.active {
    transform: translateY(0);
}

.lang-picker .dropdown-item[aria-checked="true"] span::after {
    content: ' \2713';
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    padding: 8px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 6px;
    margin: 2px 6px;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-item span {
    font-size: 14px;
    font-weight: 500;
    color: #141414;
    line-height: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #f3f2ec;
    border-radius: 16px;
    box-shadow: 
        0px 20px 24px -4px rgba(10, 13, 18, 0.08),
        0px 8px 8px -4px rgba(10, 13, 18, 0.03),
        0px 3px 3px -1.5px rgba(10, 13, 18, 0.04);
    max-width: 840px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.13);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0 24px;
    border-bottom: none;
    position: relative;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141414;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #141414;
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    margin: 0 0 16px 0;
    line-height: 1.6;
    color: #333;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

/* Privacy Policy Content Styles */
.privacy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141414;
    margin: 2rem 0 1rem 0;
    line-height: 2rem;
}

.privacy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #141414;
    margin: 1.5rem 0 0.75rem 0;
    line-height: 1.875rem;
}

.privacy-content p {
    margin: 0 0 1.125rem 0;
    line-height: 1.75rem;
    color: #424242;
    font-size: 1.125rem;
}

.privacy-content .last-updated {
    margin-bottom: 1.125rem;
}

.privacy-content .last-updated strong {
    color: #141414;
}

.privacy-content ul {
    margin: 0 0 1.125rem 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75rem;
    color: #424242;
    font-size: 1.125rem;
}

.privacy-content li:last-child {
    margin-bottom: 0;
}

.privacy-content li strong {
    color: #141414;
}

.contact-link {
    color: #bf502b;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Terms of Service Content Styles */
.terms-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141414;
    margin: 2rem 0 1rem 0;
    line-height: 2rem;
}

.terms-content h3:first-of-type {
    margin-top: 0;
}

.terms-content p {
    margin: 0 0 1.125rem 0;
    line-height: 1.75rem;
    color: #424242;
    font-size: 1.125rem;
}

.terms-content .last-updated {
    margin-bottom: 1.125rem;
}

.terms-content .last-updated strong {
    color: #141414;
}

.terms-content ul {
    margin: 0 0 1.125rem 0;
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75rem;
    color: #424242;
    font-size: 1.125rem;
}

.terms-content li:last-child {
    margin-bottom: 0;
}

.terms-content li strong {
    color: #141414;
}

/* Right Image Section */
.image-section {
    flex: 1;
    min-width: 640px;
    padding: 32px 32px 32px 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-container {
    position: absolute;
    top: 32px;
    right: 32px;
    bottom: 32px;
    left: 32px;
    background-image: url('Assets/Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.13);
}

.hero-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: auto;
    max-width: none;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Responsive Design - Desktop First Approach */

/* Laptop Version (1366px - 1440px) */
@media (max-width: 1440px) {
    .hero-title {
        font-size: 48px;
        line-height: 60px;
        letter-spacing: -0.96px;
    }
    
    .content-section {
        padding: 32px 64px;
    }
    
    .image-section {
        padding: 32px 32px 32px 0;
    }
    

    
    /* Adjust image positioning for laptop */
    .hero-image {
        max-height: 95%;
        bottom: 0;
        top: auto;
        transform: translateX(-50%);
        object-position: center bottom;
    }
}

/* Large Laptop (1200px - 1366px) */
@media (max-width: 1366px) {
    
    .content-section {
        padding: 32px 48px;
    }
    
    .image-section {
        padding: 32px 24px 32px 0;
    }
    
    .hero-title {
        font-size: 44px;
        line-height: 56px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        line-height: 28px;
    }
    
    /* Adjust image positioning for large laptop */
    .hero-image {
        max-height: 95%;
        bottom: 0;
        top: auto;
        transform: translateX(-50%);
        object-position: center bottom;
    }
}

/* Tablet Landscape (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
    
    .content-section {
        padding: 32px 40px;
    }
    
    .image-section {
        padding: 32px 20px 32px 0;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 54px;
        letter-spacing: -0.84px;
    }
    
    .hero-subtitle {
        font-size: 19px;
        line-height: 29px;
        letter-spacing: -0.38px;
    }
    
    /* Adjust image positioning for tablet landscape */
    .hero-image {
        max-height: 90%;
        bottom: 0;
        top: auto;
        transform: translateX(-50%);
        object-position: center bottom;
    }
    
    /* Optimize spacing for tablet landscape */
    .main-content {
        gap: 28px;
    }
    
    .features {
        gap: 6px;
    }
    
    .waitlist-section {
        gap: 10px;
    }
    
    /* Adjust form layout for tablet landscape */
    .input-group {
        gap: 18px;
    }
    
    .submit-btn {
        padding: 9px 13px;
        font-size: 13px;
    }
}

/* Tablet Version (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        min-height: 100vh;
    }
    
    .content-section {
        min-width: auto;
        padding: 32px;
        max-width: 100%;
        flex: 1;
        height: 100vh;
        justify-content: space-between;
        gap: 0;
        order: 1;
        display: flex;
        flex-direction: column;
    }
    
    /* Hide image section for tablet vertical layout */
    .image-section {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 60px;
        letter-spacing: -0.96px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        line-height: 30px;
    }
    
    .main-content {
        gap: 32px;
        justify-content: center;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    
    /* Waitlist form adjustments for tablet */
    .waitlist-section {
        max-width: 100%;
    }
    
    .input-group {
        flex-direction: row;
        gap: 16px;
    }
    
    .submit-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Cookies banner on tablet/mobile: bottom bar */
    .cookies-banner {
        top: auto;
        bottom: 32px;
        left: 32px;
        right: 32px;
        width: calc(100% - 64px);
        max-width: none;
        transform: translateY(20px);
    }
}

/* Small Tablet / Large Mobile (600px - 768px) */
@media (max-width: 768px) {
    .content-section {
        padding: 24px;
        order: 1;
    }
    
    .image-section {
        padding: 0 24px 24px;
        height: 400px;
        order: 2;
    }
    
    .hero-title {
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -1.2px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        line-height: 26px;
    }
    
    .hero-image {
        position: absolute;
        height: 110%;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        object-position: center bottom;
    }
    
    /* Form adjustments for smaller tablets */
    .input-group {
        gap: 12px;
    }
    
    .submit-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Footer: stack and center on small tablets */
    .footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
        row-gap: var(--size-024, 24px);
    }
    .footer-item {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}

/* Mobile Version (480px and below) */
@media (max-width: 480px) {
    .container {
        flex-direction: column;
    }
    
    /* Hide image section completely on mobile */
    .image-section {
        display: none;
    }
    
    .content-section {
        padding: 32px 20px;
        min-width: auto;
        max-width: 100%;
        height: auto;
        justify-content: flex-start;
        gap: 64px;
        order: 1;
    }
    
    /* Mobile notification bar positioning */
    .notification-bar {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        width: auto;
    }
    
    .notification-content {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .notification-icon {
        align-self: flex-start;
        margin-top: 0;
    }
    
    .notification-text {
        padding-right: 40px;
    }
    
    .notification-close {
        top: 8px;
        right: 8px;
    }
    
    .main-content {
        gap: 32px;
        justify-content: flex-start;
        flex: none;
    }
    
    /* Mobile typography */
    .hero-title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.72px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: -0.4px;
    }
    
    /* Mobile form - vertical layout */
    .input-group {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .input-field {
        width: 100%;
    }
    
    .submit-btn {
        width: 100%;
        padding: 10px 14px;
        font-size: 14px;
        text-align: center;
        justify-content: center;
    }
    

    
    /* Mobile dropdown adjustments */
    .dropdown-menu {
        min-width: 200px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(8px);
    }
    
    .dropdown-menu.active {
        transform: translateX(-50%) translateY(0);
    }

    /* Ensure language picker dropdown stays inside viewport on mobile */
    .lang-picker .dropdown-menu {
        right: auto;
        left: 50%;
        top: 100%;
        bottom: auto;
        margin-top: 8px;
        margin-bottom: 0;
        transform: translateX(-50%) translateY(-8px);
    }

    .lang-picker .dropdown-menu.active {
        transform: translateX(-50%) translateY(0);
    }
    
    /* Mobile modal adjustments */
    .modal-content {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
        max-width: 95vw;
    }
    
    .modal-header {
        padding: 20px 20px 0 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    /* Mobile privacy policy adjustments */
    .privacy-content h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .privacy-content h4 {
        font-size: 1.125rem;
        margin: 1.25rem 0 0.5rem 0;
    }
    
    .privacy-content p,
    .privacy-content li {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    
    /* Mobile terms of service adjustments */
    .terms-content h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .terms-content p,
    .terms-content li {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    
    /* Adjust social proof for mobile */
    .social-proof {
        align-self: flex-start;
        max-width: 100%;
    }
    
    /* Features section mobile adjustments */
    .features-list {
        margin-left: 20px;
        font-size: 18px;
        line-height: 28px;
    }
    
    /* Waitlist section mobile */
    .waitlist-section {
        width: 100%;
    }
    
    .waitlist-form {
        padding: 16px;
    }
    
    /* Mobile footer - stack items vertically and center */
    .footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
        row-gap: var(--size-024, 24px);
    }
    .footer-item {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    /* Cookies banner mobile layout */
    .cookies-banner {
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: auto;
    }
    .cookies-content {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    .cookies-text {
        padding-right: 40px;
    }
    .cookies-actions {
        width: 100%;
    }
    .cookies-actions .cookies-btn {
        flex: 1;
        text-align: center;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .content-section {
        padding: 24px 16px;
        gap: 48px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -0.64px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        line-height: 28px;
    }
    
    .features-list {
        font-size: 18px;
        line-height: 28px;
        margin-left: 16px;
    }
    
    .social-proof {
        padding: 3px 8px 3px 3px;
    }
    
    .social-text {
        font-size: 13px;
    }
    
    .waitlist-form {
        padding: 12px;
    }
    
    .input-group {
        gap: 16px;
    }
}

/* Print Styles */
@media print {
    .container {
        flex-direction: column;
    }
    
    .image-section {
        display: none;
    }
}
