/**
 * Sugar (sugardating.ch) Main Stylesheet
 * Modern, clean design
 */

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

:root {
    /* Primary Brand Colors - Carolina Blue Theme */
    --carolina-blue: #8eb0ff;           /* Primary brand color - light blue */
    --carolina-blue-brighter: #94b4ff;  /* Hover states, accents */
    --carolina-blue-brightest: #e8effe; /* Light backgrounds, subtle highlights */
    --clear-blue: #2969ff;              /* Primary action color - vibrant blue */
    --medium-dark-blue: #1e3c82;        /* Darker blue for depth */
    --dark-indigo: #0f1e43;             /* Deepest blue - premium elements */
    
    /* Neutral Colors */
    --black: #0e0e0e;                    /* Primary text color */
    --greyish-brown: #4b4b4b;           /* Secondary text */
    --white: #ffffff;                   /* Background, text on dark */
    --greyish: #a8a8a8;                 /* Borders, disabled states */
    --greyish-brighter: #adadad;        /* Hover borders */
    --darkgray: #333333;                /* Dark text on light backgrounds */
    --pinkish-grey: #cccccc;            /* Light borders, dividers */
    --dark-brown: #0e0a01;              /* Deep dark for contrast */
    
    /* Semantic Colors */
    --coral: #f35d5d;                   /* Error, destructive actions */
    --greenblue: #22ca86;               /* Success states */
    --red: #ff0000;                     /* Critical errors */
    
    /* Background Colors */
    --pale-blue: #e8effe;               /* Light blue backgrounds */
    --duck-egg-blue: #ecf1fc;          /* Very light blue backgrounds */
    --powder-blue: #b1c8fc;            /* Medium light blue */
    
    /* RGBA Variations */
    --black-5: rgba(204, 204, 204, 0.05);  /* Subtle overlays */
    --black-7: rgba(0, 0, 0, 0.07);         /* Light shadows */
    --black-10: rgba(0, 0, 0, 0.1);        /* Card shadows */
    --black-30: rgba(0, 0, 0, 0.3);        /* Modal overlays */
    --white-90: rgba(255, 255, 255, 0.9);  /* Semi-transparent white */
    --clear-blue-90: rgba(41, 105, 255, 0.8); /* Semi-transparent primary */
    
    /* Legacy compatibility (mapped to new colors) */
    --primary-blue: var(--clear-blue);
    --primary-blue-dark: var(--medium-dark-blue);
    --primary-blue-light: var(--carolina-blue);
    --text-dark: var(--black);
    --text-medium: var(--greyish-brown);
    --text-light: var(--greyish);
    --bg-white: var(--white);
    --bg-light: var(--pale-blue);
    --bg-gradient-start: var(--duck-egg-blue);
    --bg-gradient-end: var(--white);
    --border-light: var(--pinkish-grey);
    --border-medium: var(--greyish);
    --success-color: var(--greenblue);
    --error-color: var(--coral);
    --warning-color: #ED8936;
    
    /* Typography - Open Sans */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    
    /* Font Sizes */
    --text-base: 1rem;                  /* 16px */
    --text-basePlus: 0.938rem;          /* 15px */
    --text-lg: 1.125rem;                 /* 18px */
    --text-lgPlus: 1.0625rem;           /* 17px */
    --text-xl: 1.25rem;                  /* 20px */
    --text-2xl: 1.5rem;                  /* 24px */
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Line Height */
    --line-height-base: 18px;           /* 1.125rem */
    --line-height-body: 1.6;
    
    /* Letter Spacing */
    --letter-spacing: 1px;
    
    /* Spacing Scale (4px base unit) */
    --spacing-xs: 0.5rem;                /* 8px */
    --spacing-sm: 1rem;                  /* 16px */
    --spacing-md: 1.5rem;                /* 24px */
    --spacing-lg: 2rem;                  /* 32px */
    --spacing-xl: 3rem;                  /* 48px */
    --spacing-2xl: 4rem;                 /* 64px */
    
    /* Layout */
    --max-width: 1240px;                 /* xl breakpoint */
    --border-radius: 0.5rem;             /* 8px - standard radius */
    --border-radius-sm: calc(var(--border-radius) - 4px);  /* 4px */
    --border-radius-md: calc(var(--border-radius) - 2px);  /* 6px */
    --border-radius-lg: var(--border-radius);              /* 8px */
    --border-radius-20: 1.25rem;        /* 20px - custom */
    
    /* Shadows */
    --shadow-default: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    --shadow-button: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    --shadow-page: 0 0 30px 0 rgba(0, 0, 0, 0.07);
    --shadow-input: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(180deg, #e3ebfd 17.54%, rgba(255, 255, 255, 0%) 95.04%);
    --gradient-secondary: linear-gradient(208deg, #FFF 44.39%, #BFD2FF 119.81%);
    --gradient-landing: linear-gradient(186deg, #BFD2FF 17.54%, white 90%);
    --gradient-premium: linear-gradient(180deg, #2969FF 0%, #193F99 100%);
    --gradient-premium-2: linear-gradient(90deg, #1C49B1 30.5%, #092357 100%);
    --gradient-navbar: linear-gradient(90deg, white 0%, #F1F7FF 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-regular);
    font-size: var(--text-base);
    color: var(--black);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing);
    background: var(--gradient-landing);
    min-height: 100vh;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

/* Ensure proper centering for all sections */
main {
    width: 100%;
    overflow-x: hidden;
}

/* Global Mobile Responsive Base */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjustment */
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Ensure images are responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure text wraps properly */
p, li, td, th, label, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Container responsive adjustments handled in media queries */

/* Header - Apple-style Glass Morphism with Sugar colors */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(229, 237, 255, 0.5);
    border-bottom: 1px solid rgba(229, 237, 255, 0.8);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .site-header {
        padding: var(--spacing-sm) 0; /* Further reduced on mobile */
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.logo h1 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--black);
    letter-spacing: var(--letter-spacing);
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--greyish-brown);
    text-decoration: none;
    font-weight: var(--font-medium);
    font-size: var(--text-base);
    transition: color 0.2s ease-in-out;
    padding: var(--spacing-xs) 0;
    display: block;
    min-height: 44px; /* Touch target size */
    display: flex;
    align-items: center;
}

.main-nav a:hover {
    color: var(--clear-blue);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: var(--spacing-sm);
    border-left: 1px solid var(--warm-grey);
    padding-left: var(--spacing-md);
}

.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 2px;
    border-radius: 50%;
    transition: opacity 0.2s ease;
    min-height: auto !important;
    opacity: 0.35;
}

.lang-link img {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.lang-link:hover {
    opacity: 0.75;
}

.lang-link.active {
    opacity: 1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    flex-direction: column;
    justify-content: space-around;
    width: 44px; /* Touch target size */
    height: 44px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--greyish-brown);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section - Apple + Stripe Pattern with Sugar colors */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(186deg, #BFD2FF 17.54%, #FFFFFF 90%);
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
}

/* Stripe-style gradient blobs */
.hero-gradient-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #2969FF;
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #8eb0ff;
    bottom: -10%;
    left: -5%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-lg) 0 var(--spacing-md); /* Reduced padding on mobile to move hero up */
    }
    
    /* CTA Button Mobile Responsive */
    .cta-button {
        font-size: var(--text-base); /* Reduced from text-lg */
        padding: var(--spacing-sm) var(--spacing-lg); /* Reduced padding */
        height: auto; /* Allow height to adjust */
        min-height: 44px; /* Maintain touch target */
        line-height: 1.4;
        white-space: normal; /* Allow text wrapping */
        text-align: center;
    }
    
    .cta-button span {
        font-size: 1rem; /* Reduced arrow size */
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-md);
    color: #212121;
    text-align: center;
}

.hero-content h1 .highlight,
.page-header h1 .highlight,
.faq-hero-text h2 .highlight,
.contact-section h1 .highlight {
    color: #2969FF;
    background: linear-gradient(180deg, #2969FF 0%, #3D77FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Homepage hero subtitle - must be black */
.hero-section .hero-subtitle,
.hero-content .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--black) !important; /* Force black color for homepage */
    margin-bottom: var(--spacing-md);
    font-weight: 600; /* Increased weight for better visibility */
}

/* General hero-subtitle fallback */
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--black);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    color: #6C757D;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.6;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: #2969FF;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(41, 105, 255, 0.3);
    border: none;
    cursor: pointer;
    margin-top: 24px;
    height: 48px;
}

.cta-button:hover {
    background-color: #3D77FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(41, 105, 255, 0.4);
}

.cta-button span {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.cta-button:hover span {
    transform: translateY(3px);
}

/* Two Column Layout for Hero/Form */
.hero-form-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.hero-form-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Better balance - image slightly larger */
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: var(--max-width); /* Ensure proper max-width constraint */
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Ensure both columns align properly */
.hero-image-wrapper,
.registration-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align content */
    justify-content: center; /* Center vertically */
}

@media (max-width: 968px) {
    .hero-form-section {
        grid-template-columns: 1fr;
    }
}

/* Hero Image - Next to Sign Up Form */
.hero-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    border: none;
    background: transparent;
}

.hero-image-container {
    width: 100%;
    max-width: 100%; /* Full width of grid column */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
}

.hero-image {
    width: 100%;
    height: auto; /* Auto height to maintain natural aspect ratio */
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain; /* Shows full image without cropping */
    display: block;
}

.hero-image-placeholder {
    width: 100%;
    min-height: 400px;
    background: var(--gradient-premium);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--font-semibold);
    box-shadow: var(--shadow-default);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    background: var(--gradient-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--font-semibold);
}

/* Registration Form - Modern Styling */
.registration-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 500px; /* Increased from 420px for better desktop size */
    margin-left: auto;
    margin-right: 0;
}

.registration-form-container {
    background: var(--bg-white);
    padding: var(--spacing-xl); /* Increased back to 32px for desktop */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Constrain form width on all pages */
.registration-section .registration-form-container,
.hero-form-container .registration-form-container {
    max-width: 100%;
}

.registration-form-container h2 {
    font-size: 1.75rem; /* Restored to original size */
    margin-bottom: var(--spacing-sm); /* Small spacing after heading */
    color: var(--clear-blue); /* Branded blue color */
    font-weight: 700;
    line-height: 1.3;
}

.registration-form-container h2 .highlight {
    color: var(--clear-blue);
}

.form-subtitle {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm); /* Small spacing before email field */
    font-size: 0.95rem; /* Restored to original size */
    line-height: 1.5;
}

.registration-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove default gaps, use margin-bottom on form-group instead */
}

.form-group {
    margin-bottom: var(--spacing-xs); /* Minimal spacing for compact form */
}

.form-group:last-of-type {
    margin-bottom: var(--spacing-xs); /* Minimal spacing */
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--text-base); /* Restored to base size */
}

/* Exception: Radio labels should NOT be display:block */
.form-group .radio-group .radio-label,
.radio-group .radio-label {
    display: flex !important; /* Override block display */
}

.required {
    color: var(--error-color);
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem; /* Restored proper padding */
    border: 1px solid var(--pinkish-grey);
    border-radius: var(--border-radius);
    font-size: var(--text-base); /* Restored to base size */
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
    background: var(--duck-egg-blue);
    color: var(--black);
    height: 48px; /* Restored to proper height */
    font-family: var(--font-primary);
}

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

.form-group select:focus {
    outline: none;
    border-color: var(--clear-blue);
    background-color: var(--white);
    box-shadow: var(--shadow-input);
}
    display: flex;
    align-items: center;
}

.form-group input:focus {
    outline: none;
    border-color: var(--clear-blue);
    background: var(--white);
    box-shadow: var(--shadow-input);
}

.form-group input::placeholder {
    color: var(--text-light);
}

/* ============================================
   RADIO BUTTON STYLING - COMPLETE REBUILD
   ============================================ */

.radio-group {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    gap: 0.75rem; /* 12px gap between buttons */
    flex-wrap: nowrap; /* Prevent wrapping */
    align-items: stretch; /* All buttons same height */
    width: 100%;
}

/* Equal width distribution for radio buttons */
.radio-group .radio-label {
    flex: 1 1 0; /* Equal flex distribution */
    min-width: 0; /* Allow shrinking */
}

/* Override form-group label display:block for radio labels */
.radio-label {
    /* CRITICAL: Override .form-group label display:block */
    display: flex !important;
    flex-direction: row !important; /* Horizontal: radio on left, text on right */
    align-items: center !important; /* Vertically center everything */
    justify-content: flex-start !important; /* Align content to left */
    
    /* Layout */
    gap: 0.75rem;
    height: 48px; /* Restored to match input height */
    padding: 0 1.25rem; /* Restored proper padding */
    box-sizing: border-box;
    
    /* Visual styling */
    border: 1px solid var(--pinkish-grey);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    
    /* Typography */
    font-size: var(--text-base);
    color: var(--black);
    font-weight: normal; /* Reset any inherited font-weight */
    
    /* Reset inherited styles */
    margin: 0 !important;
    margin-bottom: 0 !important;
    
    /* Transitions */
    transition: all 0.2s ease-in-out;
}

.radio-label:hover {
    border-color: var(--clear-blue);
    background: var(--carolina-blue-brightest);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Radio button input - positioned on the LEFT */
.radio-label input[type="radio"] {
    /* Size */
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    
    /* Reset */
    margin: 0;
    padding: 0;
    border: 0;
    
    /* Layout */
    flex-shrink: 0; /* Never shrink */
    flex-grow: 0; /* Never grow */
    align-self: center; /* Center vertically */
    
    /* Styling */
    cursor: pointer;
    accent-color: var(--clear-blue);
    
    /* Positioning */
    position: relative;
    top: 0;
    left: 0;
    vertical-align: middle;
}

/* Text span - positioned on the RIGHT of radio */
.radio-label span {
    font-size: 0.875rem; /* Reduced font size */
    /* Layout - CRITICAL: Must be inline or inline-block to sit next to radio */
    display: inline-block !important;
    
    /* Flex properties */
    flex: 1 1 auto; /* Take remaining space */
    align-self: center; /* Center vertically */
    
    /* Typography */
    font-size: 0.875rem; /* Reduced from text-base */
    line-height: 1.4;
    color: var(--black);
    font-weight: var(--font-regular);
    text-align: left;
    
    /* Text behavior */
    white-space: nowrap; /* Single line */
    overflow: visible; /* Show full text */
    
    /* Reset */
    margin: 0;
    padding: 0;
    min-width: 0;
}

.radio-label input[type="radio"]:checked + span {
    color: var(--black);
    font-weight: var(--font-medium);
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--clear-blue);
    background: var(--carolina-blue-brightest);
    box-shadow: 0 0 0 2px rgba(41, 105, 255, 0.1);
}

.error-message {
    display: block;
    color: var(--coral);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    min-height: 1.25rem;
    line-height: 1.4;
}

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

.btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #2969FF 0%, #3D77FF 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--spacing-xs);
    box-shadow: 0 4px 12px rgba(41, 105, 255, 0.25);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center; /* Horizontal center */
    text-align: center; /* Fallback for text alignment */
    line-height: 1.1; /* Tighter line height */
    box-sizing: border-box; /* Ensure padding is included in width */
    overflow: hidden; /* Prevent any overflow */
}

.btn-primary .btn-text,
.btn-primary .btn-loading {
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
}

/* Ensure button class also works */
.btn.btn-primary {
    /* Inherits all .btn-primary styles */
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #3D77FF 0%, #5A8FFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(41, 105, 255, 0.35);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: var(--spacing-sm); /* Reduced spacing */
    padding: var(--spacing-sm); /* Reduced padding */
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    background-color: rgba(34, 202, 134, 0.1);
    color: var(--greenblue);
    border: 2px solid var(--greenblue);
    display: block;
}

.form-message.error {
    background-color: rgba(243, 93, 93, 0.1);
    color: var(--coral);
    border: 2px solid var(--coral);
    display: block;
}

.form-consent {
    font-size: 0.8125rem;
    color: var(--text-medium);
    text-align: center;
    margin: var(--spacing-xs) 0; /* Minimal spacing for compact form */
    line-height: 1.5;
    font-style: italic;
}

.form-privacy {
    margin-top: var(--spacing-xs); /* Minimal spacing for compact form */
    font-size: 0.8125rem; /* Restored to readable size */
    color: var(--text-medium);
    text-align: center;
    line-height: 1.5;
    padding-top: 0;
}

.form-privacy a {
    color: var(--clear-blue);
    text-decoration: none;
    font-weight: var(--font-medium);
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* ============================================
   HOMEPAGE SECTIONS - Unified Styling
   ============================================ */

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.features-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: #212121;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.2;
}

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

.feature-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #E5EDFF;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 0, 0, 0.06);
    border-color: #2969FF;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EDF3FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #2969FF;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    color: #212121;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: #6C757D;
    line-height: 1.6;
    font-size: 15px;
}

/* Cities Section */
.cities-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}

.cities-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
    color: #212121;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-intro {
    text-align: center;
    color: #6C757D;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Homepage UK Links */
.homepage-uk-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
    flex-wrap: wrap;
}

.homepage-uk-links .city-link {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2969FF 0%, #3D77FF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(41, 105, 255, 0.25);
    min-width: 180px;
    text-align: center;
}

.homepage-uk-links .city-link:hover {
    background: linear-gradient(135deg, #3D77FF 0%, #5A8FFF 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(41, 105, 255, 0.35);
    color: #FFFFFF;
}

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

.city-link {
    display: block;
    padding: 16px 20px;
    background: #FFFFFF;
    color: #212121;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #E5EDFF;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04);
}

.city-link:hover {
    background: #2969FF;
    color: #FFFFFF;
    border-color: #2969FF;
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(41, 105, 255, 0.2),
        0 8px 16px rgba(41, 105, 255, 0.15);
}

/* Trust Section - Modern Card Style */
.trust-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.trust-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 24px;
    color: #212121;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.trust-content {
    max-width: 900px;
    margin: 0 auto;
}

.trust-content p {
    text-align: center;
    color: #6C757D;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.trust-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.trust-features li {
    padding: 16px 20px;
    background: #FFFFFF;
    border-radius: 12px;
    color: #212121;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    border: 1px solid #E5EDFF;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.trust-features li:hover {
    transform: translateY(-2px);
    border-color: #2969FF;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 8px 16px rgba(0, 0, 0, 0.06);
}

/* City Pages - Unified with Homepage Style */
.city-hero {
    position: relative;
    background: linear-gradient(186deg, #BFD2FF 17.54%, #FFFFFF 90%);
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.city-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: #2969FF;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: -30%;
    right: -10%;
    pointer-events: none;
}

.city-hero::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: #8eb0ff;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    bottom: -20%;
    left: -5%;
    pointer-events: none;
}

.city-hero .container {
    position: relative;
    z-index: 1;
}

.city-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: #212121;
    letter-spacing: -0.02em;
}

.city-subtitle {
    font-size: 1.1rem;
    color: #6C757D;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.city-content {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

.content-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.content-section .container {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   CITY PAGE STYLES
   ============================================ */

/* City Hero Image Section */
.city-hero-image-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.city-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch; /* Stretch to match heights */
    max-width: 1200px;
    margin: 0 auto;
}

.city-hero-image {
    order: 2; /* Image on right */
    display: flex;
    align-items: stretch; /* Match text height */
    height: 100%; /* Fill available height */
}

.city-hero-text {
    order: 1; /* Text on left */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

.city-hero-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 24px;
    color: #212121;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.city-hero-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6C757D;
    margin-bottom: 24px;
}

.city-image {
    width: 100%;
    height: 100%; /* Match the container height */
    border: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover; /* Cover the area while maintaining aspect ratio */
    display: block;
}

.city-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--pale-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 1.2rem;
    border: 2px dashed var(--pinkish-grey);
}

/* City Content Section */
.city-content-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.city-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch; /* Stretch to match heights */
    max-width: 1200px;
    margin: 0 auto;
}

.city-content-text {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

.city-content-image {
    order: 2;
    display: flex;
    align-items: stretch; /* Match text height */
    height: 100%; /* Fill available height */
}

.city-content-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 24px;
    color: #212121;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.city-content-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6C757D;
    margin-bottom: 24px;
}

/* City Trust Section */
.city-trust-section {
    padding: 80px 0;
    background: #FFFFFF;
    width: 100%;
}

.city-trust-section .container {
    /* Use default container styling - full width with padding */
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.city-trust-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.city-trust-card h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 24px;
    color: #212121;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.city-trust-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6C757D;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Canton Cross-Link Section */
.canton-crosslink-section {
    padding: 60px 0;
    background: #F8FAFC;
    width: 100%;
}

.canton-crosslink-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 32px;
    color: #212121;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
}

.canton-crosslink-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.canton-hub-link {
    display: inline-block;
    padding: 10px 24px;
    background: #2969FF;
    color: #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}

.canton-hub-link:hover {
    background: #1a4fd4;
    transform: translateY(-1px);
}

.city-crosslink {
    display: inline-block;
    padding: 8px 16px;
    background: #FFFFFF;
    color: #2969FF;
    border: 1px solid #E8ECEF;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.city-crosslink:hover {
    border-color: #2969FF;
    background: #F0F5FF;
}

/* City Registration Section */
/* City Form Section - Image and Form Side by Side */
.city-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.7fr; /* Image on left, form on right (narrower) */
    gap: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-xl) 0;
}

.city-form-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-form-image-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    object-fit: contain;
    max-height: 600px;
}

.city-form-registration {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.city-registration-section {
    padding: 80px 0;
    background: #FFFFFF;
}

/* Responsive Design for City Pages */
@media (max-width: 968px) {
    .city-hero-content,
    .city-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .city-hero-image {
        order: 2; /* Image below text on mobile */
    }
    
    .city-hero-text {
        order: 1; /* Text above image on mobile */
    }
    
    .city-content-image {
        order: 2; /* Image below text on mobile */
    }
    
    .city-content-text {
        order: 1; /* Text above image on mobile */
    }
}

@media (max-width: 768px) {
    .city-hero {
        padding: var(--spacing-sm) 0 var(--spacing-xs) 0; /* Reduced padding to move hero up */
    }
    
    .city-hero-image-section,
    .city-content-section,
    .city-trust-section,
    .city-registration-section {
        padding: var(--spacing-lg) 0;
    }
    
    .city-hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .city-subtitle {
        font-size: 1rem;
    }
    
    .city-hero-text h2 {
        font-size: 1.5rem;
    }
    
    .city-hero-text p {
        font-size: var(--text-base);
        line-height: 1.6;
    }
    
    .city-content-text h2 {
        font-size: 1.5rem;
    }
    
    .city-content-text p {
        font-size: var(--text-base);
    }
    
    .city-form-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: var(--spacing-lg);
    }
    
    .city-form-image {
        order: 1;
    }
    
    .city-form-image-img {
        max-height: 400px;
        width: 100%;
    }
    
    .city-form-registration {
        order: 2;
    }
    
    .city-trust-card {
        padding: var(--spacing-md);
    }
    
    .city-trust-card h2 {
        font-size: 1.5rem;
    }
    
    .city-trust-card p {
        font-size: var(--text-base);
    }
}

.content-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 24px;
    color: #212121;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.content-section p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: #6C757D;
    font-size: 1.05rem;
}

.content-section h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #212121;
    margin-top: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Page Header - Unified with Homepage Style */
.page-header {
    position: relative;
    background: linear-gradient(186deg, #BFD2FF 17.54%, white 90%);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: #2969FF;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: -30%;
    right: -10%;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: #8eb0ff;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    bottom: -20%;
    left: -5%;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #212121;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.page-header p,
.page-header .page-subtitle {
    color: var(--greyish-brown);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
    color: #6C757D;
}

.content-section ul {
    margin-left: var(--spacing-lg);
    margin-bottom: 24px;
    color: #6C757D;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-section a {
    color: #2969FF;
    text-decoration: none;
    font-weight: 500;
}

.content-section a:hover {
    text-decoration: underline;
}

.faq-item {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */

/* FAQ Hero Section with Image */
.faq-hero-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.faq-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-hero-image {
    order: 1;
    display: flex;
    align-items: stretch;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.faq-hero-text {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-hero-text h2 {
    color: #212121;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.faq-hero-text h2 .highlight {
    color: #2969FF;
    background: linear-gradient(180deg, #2969FF 0%, #3D77FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.faq-hero-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6C757D;
}

.faq-image {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    box-shadow: none;
    object-fit: cover;
    display: block;
}

/* FAQ Content Section - Two Columns */
.faq-content-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-column .faq-item {
    background: #FFFFFF;
    padding: 28px;
    border-radius: 16px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 0;
    border-bottom: none;
    border: 1px solid #E5EDFF;
    transition: all 0.3s ease;
}

.faq-column .faq-item:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 8px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
    border-color: #2969FF;
}

.faq-column .faq-item h2 {
    color: #2969FF;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-column .faq-item p {
    color: #6C757D;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 0;
}

.faq-column .faq-item a {
    color: #2969FF;
    text-decoration: none;
    font-weight: 500;
}

.faq-column .faq-item a:hover {
    text-decoration: underline;
}

/* FAQ Image Section at Bottom - CTA Style */
.faq-image-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2969FF 0%, #1e3c82 100%);
    position: relative;
    overflow: hidden;
}

.faq-image-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    bottom: -20%;
    right: -10%;
    pointer-events: none;
}

.faq-image-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-image-text {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-image-wrapper {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
}

.faq-image-text h2 {
    color: #FFFFFF;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.faq-image-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.faq-image-text .btn {
    display: inline-block;
    width: fit-content;
}

/* Responsive Design for FAQ */
@media (max-width: 968px) {
    .faq-hero-content,
    .faq-image-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .faq-hero-image,
    .faq-image-wrapper {
        order: 1;
    }
    
    .faq-hero-text,
    .faq-image-text {
        order: 2;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-hero-section h1 {
        font-size: 2rem;
    }
    
    .faq-hero-text h2 {
        font-size: 1.5rem;
    }
    
    .faq-hero-text p {
        font-size: var(--text-base);
    }
    
    .faq-image-text h2 {
        font-size: 1.5rem;
    }
    
    .faq-image-text p {
        font-size: var(--text-base);
    }
    
    .faq-hero-section,
    .faq-content-section,
    .faq-image-section {
        padding: var(--spacing-lg) 0;
    }
    
    .faq-column .faq-item {
        padding: var(--spacing-md);
    }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.page-header-subtitle {
    margin-top: var(--spacing-sm);
    font-size: 1.15rem;
    color: var(--greyish-brown);
    font-weight: 400;
}

/* Hero Section with Image */
.about-hero-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch; /* Stretch to match heights */
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero-image {
    order: 1;
    display: flex;
    align-items: stretch;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.about-hero-text {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero-text h2 {
    color: #212121;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-hero-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6C757D;
    margin-bottom: var(--spacing-sm);
}

.about-image {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    box-shadow: none;
    object-fit: cover;
    display: block;
}

/* Features Grid - Unified with Homepage */
.about-features-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-feature-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 20px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E5EDFF;
}

.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 0, 0, 0.06);
    border-color: #2969FF;
}

.about-feature-card .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    color: #2969FF;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EDF3FF;
    border-radius: 16px;
}

.about-feature-card h3 {
    color: #212121;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.about-feature-card p {
    color: #6C757D;
    line-height: 1.6;
    font-size: 15px;
}

/* Content Section with Image */
.about-content-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch; /* Stretch to match heights */
    max-width: 1200px;
    margin: 0 auto;
}

.about-content-text {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content-image {
    order: 2;
    display: flex;
    align-items: stretch;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.about-content-text h2 {
    color: #212121;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-content-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6C757D;
    margin-bottom: var(--spacing-md);
}

/* Commitment Section - Modern Gradient Style */
.about-commitment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2969FF 0%, #1e3c82 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-commitment-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    top: -20%;
    right: -10%;
    pointer-events: none;
}

.commitment-card {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.commitment-card h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-xl);
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.commitment-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.commitment-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.commitment-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.commitment-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 600;
}

.commitment-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-hero-content,
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-hero-image,
    .about-content-image {
        order: 1;
    }
    
    .about-hero-text,
    .about-content-text {
        order: 2;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-content {
        grid-template-columns: 1fr;
    }
    
    .about-hero-text h1 {
        font-size: 2rem;
    }
    
    .about-hero-text h2 {
        font-size: 1.5rem;
    }
    
    .about-hero-text p {
        font-size: var(--text-base);
    }
    
    .about-content-text h2 {
        font-size: 1.5rem;
    }
    
    .about-content-text p {
        font-size: var(--text-base);
    }
    
    .commitment-item h3 {
        font-size: var(--text-lg);
    }
    
    .commitment-item p {
        font-size: var(--text-base);
    }
}

@media (max-width: 768px) {
    .about-hero-section,
    .about-features-section,
    .about-content-section,
    .about-commitment-section {
        padding: var(--spacing-lg) 0;
    }
    
    .about-feature-card,
    .commitment-item {
        padding: var(--spacing-md);
    }
}

.faq-item h2 {
    color: var(--clear-blue);
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-semibold);
}

/* ============================================
   CONTACT PAGE STYLES - Unified Design
   ============================================ */

.contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.contact-intro {
    padding-right: var(--spacing-lg);
}

.contact-intro h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #212121;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-intro > p {
    color: #6C757D;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 1.05rem;
}

.contact-info-box {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: var(--spacing-md);
    border: 1px solid #E5EDFF;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04);
}

.contact-info-box h3 {
    color: #2969FF;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info-box p {
    color: #6C757D;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.contact-note {
    padding: 20px 24px;
    background: #EDF3FF;
    border-radius: 12px;
    border-left: 4px solid #2969FF;
}

.contact-note p {
    color: #6C757D;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.contact-note strong {
    color: #212121;
    font-weight: 600;
}

/* Contact Form Container */
.contact-form-container {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #E5EDFF;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group:last-of-type {
    margin-bottom: var(--spacing-md);
}

.contact-form textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--pinkish-grey);
    border-radius: var(--border-radius);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    color: var(--text-dark);
    resize: vertical;
    min-height: 120px;
    line-height: var(--line-height-body);
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--clear-blue);
    background: var(--white);
    box-shadow: var(--shadow-input);
}

.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form .form-message {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: var(--text-base);
    display: none;
}

.contact-form .form-message.show {
    display: block;
}

.contact-form .form-message.success {
    background: var(--greenblue);
    color: var(--white);
    border: 1px solid var(--greenblue);
}

.contact-form .form-message.error {
    background: var(--coral);
    color: var(--white);
    border: 1px solid var(--coral);
}

/* Page Header Subtitle */
.page-subtitle {
    font-size: 1.15rem;
    color: #6C757D;
    margin-top: var(--spacing-xs);
    font-weight: 400;
}

/* Page subtitle styling in unified page-header */
.page-header .page-subtitle {
    color: #6C757D;
}

/* Footer Profile Gallery - Above Footer */
/* Footer Gallery - Image banner above footer */
.footer-gallery {
    background: #FFFFFF;
    padding: 24px 0;
    border-top: 1px solid #E5EDFF;
    overflow: hidden;
}

.footer-gallery .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-gallery-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

.profile-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    overflow: hidden;
    padding: 16px 0;
}

.profile-thumbnail {
    width: 60px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.profile-thumbnail:hover {
    transform: translateY(-5px);
}
/* ============================================
   FOOTER STYLES - Modern Centered Design
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
    color: var(--text-dark);
    padding: 80px 0 40px;
    margin-top: 0;
    border-top: 1px solid #E5EDFF;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Desktop: give hub columns room — menu (1) + SD (2) + SB (2) + compare (1) = 6 */
@media (min-width: 992px) {
    .footer-content > .footer-logo-section {
        grid-column: span 1;
    }

    .footer-content > .footer-hub-section {
        grid-column: span 2;
        min-width: 0;
    }

    .footer-content > .footer-section:not(.footer-logo-section):not(.footer-hub-section) {
        grid-column: span 1;
    }
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #212121;
    letter-spacing: -0.01em;
}

.footer-section h3 a {
    color: #212121;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

.footer-section h3 a:hover {
    color: #2969FF;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 2px;
}

/* Sugar Daddy / Sugar Baby hubs: heading full width above two equal columns */
.footer-hub-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.footer-hub-section > h3 {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4px;
}

.footer-hub-section .footer-location-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 4px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-hub-section .footer-location-col {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    text-align: center;
}

.footer-hub-section .footer-location-col li {
    margin-bottom: 3px;
}

@media (max-width: 480px) {
    .footer-hub-section .footer-location-columns {
        column-gap: 20px;
        padding: 0 2px;
    }
}

.footer-section a {
    color: #6C757D;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 400;
}

.footer-section a:hover {
    color: #2969FF;
}

.footer-logo-section {
    text-align: center;
}


.logo-image-footer {
    height: 35px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Tablet: 3 columns for footer */
@media (min-width: 769px) and (max-width: 991px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        padding: 0 24px;
    }
    
    .trust-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: Single column */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }
}

.footer-newsletter {
    text-align: center;
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.footer-newsletter h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--spacing-sm);
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-medium);
    border-radius: var(--border-radius);
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--bg-white);
}

.btn-newsletter {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--clear-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-bold);
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    height: 48px;
}

.btn-newsletter:hover {
    background-color: var(--carolina-blue-brighter);
}

/* Footer Logo Center */
.footer-logo-center {
    text-align: center;
    margin: 32px 0 24px 0;
    padding: 24px 0;
    border-top: 1px solid #E5EDFF;
}

.footer-logo-center .logo {
    display: inline-block;
    margin: 0 auto;
}

.footer-logo-center .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #212121;
}

.footer-logo-center .logo-image-footer {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-logo-center .logo-icon {
    width: 40px;
    height: 40px;
    background: #2969FF;
    color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 8px;
}

.footer-logo-center h3 {
    display: inline;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
}

/* Footer Social */
.footer-social {
    text-align: center;
    margin: 24px 0;
}

.footer-social h3 {
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6C757D;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #212121;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: #2969FF;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(41, 105, 255, 0.3);
}

/* Footer compliance badges (RTA, DMCA, ASACP, etc.) */
.footer-compliance-badges {
    margin: 28px 0 12px;
    padding: 0 8px;
}

.footer-compliance-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 28px;
}

.footer-compliance-list li {
    margin: 0;
}

.footer-compliance-list a {
    display: flex;
    align-items: center;
    line-height: 0;
    opacity: 0.88;
    transition: opacity 0.2s ease;
}

.footer-compliance-list a:hover {
    opacity: 1;
}

.footer-compliance-img {
    filter: grayscale(1);
    max-width: 100%;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* Footer payment logos (Mastercard / Visa) — below safety buttons, full colour */
.footer-payment-badges {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #E5EDFF;
}

.footer-payment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.footer-payment-list li {
    margin: 0;
}

.footer-payment-list a {
    display: flex;
    align-items: center;
    line-height: 0;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.footer-payment-list a:hover {
    opacity: 1;
}

.footer-payment-img {
    display: block;
    max-width: 100%;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    filter: none;
}

/* Footer Disclaimer */
.footer-disclaimer {
    background: #FFFFFF;
    border: 1px solid #E5EDFF;
    border-radius: 12px;
    padding: 24px 32px;
    margin: 32px auto;
    max-width: 900px;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: #6C757D;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

.footer-disclaimer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 12px;
    margin-top: 18px;
}

a.footer-disclaimer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    min-height: 40px;
    box-sizing: border-box;
    border: 1px solid #2969FF;
    border-radius: 10px;
    background: #FFFFFF;
    color: #2969FF;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

a.footer-disclaimer-btn:hover {
    background: #2969FF;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(41, 105, 255, 0.25);
}

/* Footer copyright strip image */
.footer-copyright-image-wrap {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E5EDFF;
    text-align: center;
}

.footer-copyright-image {
    display: block;
    width: 40%;
    max-width: 474px;
    height: auto;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-form-section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-form-section .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        justify-items: center;
        align-items: start;
        padding: 0 var(--spacing-md);
    }
    
    .hero-image-wrapper {
        order: 2;
        width: 100%;
        padding: var(--spacing-md);
    }
    
    .hero-image-container {
        max-width: 100%;
        padding: 0;
    }
    
    .registration-section {
        order: 1;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .registration-form-container {
        padding: var(--spacing-lg);
    }
    
    .hero-image {
        max-height: 400px;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .site-header .container {
        position: relative; /* For absolute positioning of dropdown */
    }
    
    .header-content {
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: flex;
        order: 2; /* Position on right */
        margin-left: auto; /* Push to right */
    }
    
    /* Hide navigation by default on mobile */
    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + var(--spacing-xs));
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: var(--border-radius);
        z-index: 1000;
        min-width: 200px;
        margin-top: var(--spacing-xs);
        padding: var(--spacing-sm) 0;
    }
    
    /* Show navigation when menu is open */
    .main-nav.mobile-menu-open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--border-light);
        list-style: none;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
        min-height: 44px; /* Touch target */
        display: flex;
        align-items: center;
        color: var(--text-dark);
    }
    
    .main-nav a:hover {
        background: var(--pale-blue);
        color: var(--clear-blue);
    }
    
    /* Logo positioning */
    .logo {
        order: 1; /* Logo on left */
        flex: 0 0 auto;
    }
    
    /* Hero Section Mobile */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
    
    /* Forms Mobile */
    .registration-form-container {
        padding: var(--spacing-md); /* Consistent padding on mobile */
    }
    
    .registration-form-container h2 {
        font-size: 1.25rem;
    }
    
    .form-subtitle {
        font-size: 0.8125rem;
    }
    
    /* City Pages Mobile */
    .city-hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .city-subtitle {
        font-size: 1rem;
    }
    
    .city-hero-text h2 {
        font-size: 1.5rem;
    }
    
    .city-hero-text p {
        font-size: var(--text-base);
    }
    
    /* Features & Grids Mobile */
    .features-section h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .feature-card h3 {
        font-size: var(--text-lg);
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .homepage-uk-links {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }
    
    .homepage-uk-links .city-link {
        width: 100%;
        min-width: auto;
        font-size: 15px;
    }
    
    .city-link {
        padding: var(--spacing-sm);
        font-size: 0.875rem;
        min-height: 44px; /* Touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Trust Section Mobile */
    .trust-section h2 {
        font-size: 2rem;
    }
    
    .trust-content p {
        font-size: var(--text-base);
    }
    
    .trust-features {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 0;
        gap: 12px;
    }
    
    .trust-features li {
        font-size: var(--text-base);
        margin-bottom: 0;
    }
    
    /* Images Mobile */
    .hero-image {
        height: auto; /* Ensure auto height on small mobile */
        max-height: 350px; /* Smaller on small mobile */
        object-fit: contain; /* Show full image */
    }
    
    .city-form-image-img {
        max-height: 400px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section ul {
        font-size: 0.75rem;
    }

    .footer-gallery-image {
        max-height: 150px;
        object-fit: cover;
    }

    .newsletter-form {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .newsletter-form input,
    .btn-newsletter {
        width: 100%;
        min-height: 44px;
    }

    .footer-disclaimer {
        padding: 20px;
        margin: 24px 16px;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
    }
    
    /* Container Padding Mobile */
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* CTA Button Mobile */
    .cta-button {
        width: 100%;
        min-height: 44px; /* Touch target */
        justify-content: center;
        font-size: var(--text-base); /* Ensure smaller text on mobile */
        padding: var(--spacing-sm) var(--spacing-md); /* Reduced padding */
        white-space: normal; /* Allow text wrapping */
        line-height: 1.3;
    }
    
    .cta-button span {
        font-size: 0.875rem; /* Smaller arrow on mobile */
    }
    
    /* Page Headers Mobile */
    .page-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .page-header .page-subtitle {
        font-size: var(--text-lg);
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile - Enhanced Responsiveness */
    
    /* Typography */
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    /* CTA Button Extra Small Mobile */
    .cta-button {
        font-size: 0.875rem; /* Even smaller on very small screens */
        padding: var(--spacing-xs) var(--spacing-md);
        min-height: 44px;
        line-height: 1.3;
    }
    
    .cta-button span {
        font-size: 0.75rem; /* Smaller arrow */
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .city-hero h1 {
        font-size: 1.5rem;
    }
    
    .city-subtitle {
        font-size: 0.9375rem;
    }
    
    .features-section h2,
    .trust-section h2 {
        font-size: 1.75rem;
    }
    
    /* Grids - Single Column */
    .cities-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .city-link {
        min-height: 44px; /* Touch target */
    }
    
    /* Forms - Enhanced Mobile */
    .registration-form-container {
        padding: var(--spacing-sm);
    }
    
    .registration-form-container h2 {
        font-size: 1.125rem;
    }
    
    .form-subtitle {
        font-size: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.8125rem;
    }
    
    .radio-group {
        flex-direction: column !important; /* Stack vertically on mobile */
        gap: 0.5rem; /* Tighter gap on mobile */
    }
    
    .radio-label {
        min-width: 100% !important; /* Full width on mobile */
        height: 44px !important; /* Touch target size */
        padding: 0 0.75rem !important; /* Slightly less padding on mobile */
        display: flex !important; /* Ensure flex layout */
        flex-direction: row !important; /* Radio and text still horizontal */
    }
    
    /* Reduce radio button circle size on mobile for better proportion */
    .radio-label input[type="radio"] {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        min-height: 16px !important;
    }
    
    .radio-label span {
        font-size: 0.8125rem;
    }
    
    .form-group input[type="email"],
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group select {
        height: 44px; /* Touch target size */
        font-size: 0.875rem;
        padding: 0.5rem 0.625rem;
    }
    
    .btn-primary {
        min-height: 44px; /* Touch target */
        font-size: 0.75rem;
        padding: 0.625rem 0.75rem;
    }
    
    .form-consent,
    .form-privacy {
        font-size: 0.75rem;
    }
    
    /* Contact Page Responsive */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-intro {
        padding-right: 0;
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    /* Comparison Pages Mobile */
    .comparison-hero {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .comparison-content .content-section h2 {
        font-size: 1.25rem;
    }
    
    .comparison-item h3 {
        font-size: var(--text-base);
    }
    
    .competitor-box,
    .sugar-box {
        padding: var(--spacing-sm);
    }
    
    /* City Form Mobile */
    .city-form-wrapper {
        padding: var(--spacing-md) 0;
    }
    
    .city-form-image-img {
        max-height: 300px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 32px;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 0;
        text-align: center;
    }
    
    /* Container Padding */
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    /* Section Padding */
    .features-section,
    .trust-section,
    .cities-section {
        padding: var(--spacing-xl) 0;
    }
}

/* Custom Scrollbar Styles - Brand Matching */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #e7e7e7;
}

::-webkit-scrollbar-thumb {
    border-radius: 49px;
    background: var(--carolina-blue);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clear-blue);
}

/* Custom Scrollbar (Blue) */
.custom-scrollbar::-webkit-scrollbar {
    height: 8px;
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: var(--carolina-blue-brightest);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--carolina-blue-brighter);
    border-radius: 3px;
}

/* Hide Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ============================================
   COMPARISON PAGES STYLES
   Modern, vibrant design inspired by Sugar.ie
   ============================================ */

/* Comparison Hero Section - Form in Hero */
.comparison-hero {
    position: relative;
    background: linear-gradient(186deg, #BFD2FF 17.54%, #FFFFFF 90%);
    padding: 80px 0;
    text-align: left;
    overflow: hidden;
}

.comparison-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: #2969FF;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: -30%;
    right: -10%;
    pointer-events: none;
}

.comparison-hero::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: #8eb0ff;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    bottom: -20%;
    left: -5%;
    pointer-events: none;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.comparison-hero .container {
    position: relative;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: #212121;
    letter-spacing: -0.02em;
}

.comparison-hero .hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: #6C757D;
    line-height: 1.6;
}

.hero-form-container {
    background: #ffffff;
    border-radius: 20px;
    padding: var(--spacing-md);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #E5EDFF;
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin-left: auto;
}

.hero-form-container .registration-form-container {
    margin: 0;
    padding: 0;
    background: #ffffff !important;
    box-shadow: none !important;
    border-radius: 0;
}

.hero-form-container .registration-form {
    background: #ffffff;
}

.hero-form-container .registration-form-container h2 {
    font-size: 1.25rem; /* Reduced from text-xl */
    margin-bottom: var(--spacing-xs); /* Reduced spacing */
    color: var(--black);
}

.hero-form-container .form-subtitle {
    font-size: 0.875rem; /* Reduced from text-base */
    color: var(--greyish-brown);
    margin-bottom: var(--spacing-sm); /* Reduced spacing */
}

/* Comparison Content Section */
.comparison-content {
    padding: 80px 0;
    background: #FFFFFF;
}

.comparison-content .content-section {
    margin-bottom: var(--spacing-xl);
}

.comparison-content .content-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #212121;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.comparison-content .content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6C757D;
    margin-bottom: 24px;
}

/* Comparison Grid */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.comparison-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.comparison-item h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #212121;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #E5EDFF;
    letter-spacing: -0.01em;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.competitor-box {
    background: #f5f5f5;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    border-left: 4px solid #999;
}

.competitor-box h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

.competitor-box p {
    font-size: var(--text-base);
    color: var(--greyish-brown);
    line-height: 1.6;
    margin: 0;
}

.sugar-box {
    background: linear-gradient(135deg, var(--clear-blue) 0%, var(--medium-dark-blue) 100%);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    border-left: 4px solid var(--carolina-blue);
    color: var(--white);
}

.sugar-box h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.sugar-box p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.benefits-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--greyish-brown);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clear-blue);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
}

.benefits-list li strong {
    color: var(--black);
    font-weight: var(--font-semibold);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3c82 0%, #0f1e43 100%);
    padding: var(--spacing-2xl) 0;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><radialGradient id="grad1" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="150" r="100" fill="url(%23grad1)" opacity="0.3"/><circle cx="1000" cy="450" r="150" fill="url(%23grad1)" opacity="0.2"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section p strong {
    color: var(--white);
}

/* Responsive Design for Comparison Pages */
@media (max-width: 968px) {
    .comparison-hero {
        padding: var(--spacing-xl) 0; /* Reduced padding to move hero up */
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-form-container {
        max-width: 100%; /* Full width on mobile */
        margin-left: 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .comparison-content .content-section {
        margin-bottom: var(--spacing-lg);
    }
    
    .comparison-content .content-section h2 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .comparison-content .content-section p {
        font-size: var(--text-base);
    }
    
    .benefits-list li {
        font-size: var(--text-base);
        padding-left: var(--spacing-md);
    }
    
    .registration-section {
        max-width: 100%; /* Full width on mobile */
        margin-left: 0;
    }
    
    /* Ensure proper image scaling */
    .city-image,
    .hero-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 640px) {
    .comparison-hero {
        padding: var(--spacing-lg) 0; /* Reduced padding to move hero up */
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .hero-form-container {
        padding: var(--spacing-md);
    }
    
    .comparison-item {
        padding: var(--spacing-md);
    }
    
    .comparison-item h3 {
        font-size: var(--text-lg);
        margin-bottom: var(--spacing-sm);
    }
    
    .competitor-box,
    .sugar-box {
        padding: var(--spacing-sm);
    }
    
    .competitor-box h4,
    .sugar-box h4 {
        font-size: var(--text-base);
    }
    
    .competitor-box p,
    .sugar-box p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .comparison-content .content-section h2 {
        font-size: 1.5rem;
    }
    
    .comparison-content .content-section p {
        font-size: var(--text-base);
    }
    
    .cta-section {
        padding: var(--spacing-md);
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .cta-section p {
        font-size: var(--text-base);
        line-height: 1.6;
    }
    
    .cta-button {
        width: 100%;
        min-height: 44px; /* Touch target */
        justify-content: center;
    }
}

/* ============================================
   PROFILE PREVIEW SECTION STYLES
   ============================================ */

.profile-preview-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.profile-preview-section .container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    box-sizing: border-box;
}

.profile-preview-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #212121;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.profile-preview-section .container .profile-grid,
.profile-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--spacing-md) !important;
    margin: var(--spacing-lg) 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-auto-flow: row !important;
    align-items: start !important;
}

.profile-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
}

.profile-grid > .profile-card-link {
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
    width: 100% !important;
}

.profile-card-link {
    text-decoration: none;
    display: block !important;
    height: 100%;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    width: 100% !important;
}

.profile-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100%;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer;
    position: relative;
}

.profile-card-link:hover .profile-card {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.profile-image-wrapper {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    flex: 7;
    min-height: 120px;
    max-height: 150px;
    background: linear-gradient(135deg, #e8f0fe 0%, #c5d9f0 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.profile-silhouette {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    opacity: 0.7;
    box-sizing: border-box;
}

.profile-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    box-sizing: border-box;
    filter: blur(12px);
    -webkit-filter: blur(12px);
    transform: scale(1.1);
}

.profile-info-banner {
    flex: 3;
    background: linear-gradient(135deg, #2969ff 0%, #8eb0ff 100%);
    padding: var(--spacing-xs) var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 50px;
    flex-shrink: 0;
}

.profile-name-age {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: var(--font-bold);
    color: var(--white);
    line-height: 1.2;
    flex: 1;
}

.crown-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    width: 12px;
    height: 12px;
}

.profile-location-row,
.profile-status-row {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
}

.location-icon {
    flex-shrink: 0;
    opacity: 0.9;
    width: 10px;
    height: 10px;
}

.profile-location {
    color: rgba(255, 255, 255, 0.95);
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.profile-status {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
}

/* Responsive Design for Profile Preview */
@media (max-width: 1200px) {
    .profile-preview-section .container .profile-grid,
    .profile-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 968px) {
    .profile-preview-section .container .profile-grid,
    .profile-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-md) !important;
    }

    .profile-image-wrapper {
        min-height: 120px;
        max-height: 150px;
    }

    .profile-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .profile-preview-section {
        padding: var(--spacing-lg) 0;
    }

    .profile-preview-section h2 {
        font-size: var(--text-xl);
        margin-bottom: var(--spacing-md);
    }

    .profile-preview-section .container .profile-grid,
    .profile-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-sm) !important;
    }

    .profile-image-wrapper {
        min-height: 100px;
        max-height: 130px;
    }

    .profile-info-banner {
        padding: var(--spacing-xs) var(--spacing-xs);
        min-height: 50px;
        gap: 4px;
    }

    .profile-name {
        font-size: 0.85rem;
    }

    .profile-location-row,
    .profile-status-row {
        font-size: 0.7rem;
    }

    .crown-icon {
        width: 12px;
        height: 12px;
    }
    
    .location-icon {
        width: 10px;
        height: 10px;
    }
    
    .status-dot {
        width: 5px;
        height: 5px;
    }
}

/* ==========================================================================
   Benefits Grid (Comparison Pages) — 5 items in one row on desktop
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.benefits-grid .feature-card {
    padding: 20px;
    border-radius: 14px;
}

.benefits-grid .feature-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.benefits-grid .feature-card p {
    font-size: 13px;
    line-height: 1.5;
}

.benefits-grid .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.benefits-grid .feature-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1100px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Profile Previews Section (City Pages)
   ========================================================================== */

.city-profiles-section {
    padding: 60px 0;
    background: var(--pale-blue, #e8effe);
}

.city-profiles-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-indigo, #0f1e43);
    margin-bottom: 12px;
}

.profiles-disclaimer {
    text-align: center;
    font-style: italic;
    color: var(--greyish-brown, #4b4b4b);
    font-size: 14px;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.profile-card {
    background: var(--white, #ffffff);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--black-10, rgba(0, 0, 0, 0.1));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.profile-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.profile-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-card-image-placeholder {
    background: linear-gradient(135deg, var(--carolina-blue, #8eb0ff) 0%, var(--clear-blue, #2969ff) 100%);
}

.profile-card-info {
    padding: 14px 16px 18px;
}

.profile-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--black, #0e0e0e);
    margin-bottom: 4px;
}

.profile-card-location {
    font-size: 13px;
    color: var(--greyish-brown, #4b4b4b);
    margin-bottom: 8px;
}

.profile-card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--greyish, #a8a8a8);
}

.status-dot-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--greenblue, #22ca86);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .city-profiles-section {
        padding: 48px 0;
    }

    .city-profiles-section h2 {
        font-size: 24px;
    }
}

/* Mobile: 1 column */
@media (max-width: 540px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 340px;
    }

    .city-profiles-section {
        padding: 36px 0;
    }

    .city-profiles-section h2 {
        font-size: 22px;
    }

    .profiles-disclaimer {
        font-size: 13px;
        margin-bottom: 28px;
    }
}
