/* ========================================================
   SwimJob — Design System
   ======================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* === CSS Variables === */
:root {
    --primary: #F07020;
    --primary-dark: #D45A10;
    --primary-light: #FF8C42;
    --primary-glow: rgba(240, 112, 32, 0.25);
    --dark: #1A1A2E;
    --dark-card: #16213E;
    --dark-surface: #0F3460;
    --text: #2D2D2D;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --bg: #F5F5F7;
    --bg-alt: #EEEEF0;
    --white: #FFFFFF;
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* === Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: 1400px;
}

section {
    padding: 5rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex {
    display: flex;
}

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

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn svg,
.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-card);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}

/* === Cards === */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
}

.card-dark {
    background: var(--dark-card);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* === Badges === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(240, 112, 32, 0.12);
    color: var(--primary);
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-info {
    background: var(--info-light);
    color: var(--info);
}

/* === Forms === */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition-fast);
    font-size: 0.95rem;
    color: var(--text);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

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

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    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='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 0.6rem 0;
}

.navbar-logo-img {
    background: white;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    box-shadow: var(--shadow-sm);
}

.navbar-logo-img img {
    height: 100% !important;
    width: auto;
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo img {
    height: 48px;
}

.navbar-logo span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Dynamic Navbar Colors */
.navbar .nav-links a {
    color: var(--text);
}

.navbar .nav-links a:hover {
    color: var(--primary);
}

.navbar .navbar-logo span {
    color: var(--dark);
}

.navbar .nav-toggle span {
    background: var(--dark);
}

.navbar-light .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-light .nav-links a:hover {
    color: var(--white);
}

.navbar-light .navbar-logo span {
    color: var(--white);
}

.navbar-light .nav-toggle span {
    background: var(--white);
}

.navbar-light.scrolled .nav-links a {
    color: var(--text);
}

.navbar-light.scrolled .navbar-logo span {
    color: var(--dark);
}

.navbar-light.scrolled .nav-toggle span {
    background: var(--dark);
}

/* Buttons in navbar */
.navbar .btn-outline-white {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.navbar .btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

.navbar.scrolled .btn-outline-white {
    border-color: var(--primary);
    color: var(--primary);
}

.navbar.scrolled .btn-outline-white:hover {
    background: var(--primary);
    color: var(--white);
}

/* Footer specific branding - removing redundant logo bg since we use .navbar-logo-img now */
.footer-brand .navbar-logo {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.footer-brand .navbar-logo span {
    color: var(--white);
}

.footer-brand .navbar-logo .navbar-logo-img {
    background: white;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, #0F3460 50%, #1A1A2E 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(240, 112, 32, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(15, 52, 96, 0.4) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 750px;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}

/* Floating bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(240, 112, 32, 0.08);
    border: 1px solid rgba(240, 112, 32, 0.1);
    animation: float 8s ease-in-out infinite;
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 25%;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 35%;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 20%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* === Steps Section === */
.steps-section {
    background: var(--white);
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-connector {
    position: absolute;
    top: 3.5rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
}

/* === Features Section === */
.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(240, 112, 32, 0.1), rgba(240, 112, 32, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.feature-card h4 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === Stats Section === */
.stats-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-surface));
    color: var(--white);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-light);
}

.stat-text {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
    font-size: 0.95rem;
}

/* === Testimonials === */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: rgba(240, 112, 32, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* === FAQ === */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-fast);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === Annonces cards === */
.annonce-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}

.annonce-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.annonce-card-header {
    padding: 1.5rem 1.5rem 0;
}

.annonce-card-body {
    padding: 1rem 1.5rem;
}

.annonce-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.annonce-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.annonce-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.annonce-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.annonce-title a:hover {
    color: var(--primary);
}

.annonce-salary {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
}

.annonce-type {
    display: inline-block;
}

/* === Search/Filter bar === */
.search-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-bar .form-group {
    flex: 1;
    min-width: 180px;
    margin-bottom: 0;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

/* === Profile === */
.profile-header {
    background: linear-gradient(135deg, var(--dark), var(--dark-surface));
    padding: 8rem 0 3rem;
    color: var(--white);
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
}

.profile-info {
    margin-left: 2rem;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.profile-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.profile-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    background: var(--white);
    position: sticky;
    top: 70px;
    z-index: 10;
}

.profile-tab {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.profile-tab:hover,
.profile-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* === Auth Pages === */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-visual {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 3rem;
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(240, 112, 32, 0.12), transparent 70%);
}

.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
}

.auth-form-container h2 {
    margin-bottom: 0.5rem;
}

.auth-form-container .subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Account type selection */
.account-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-type-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.account-type-card:hover {
    border-color: var(--primary);
}

.account-type-card.selected {
    border-color: var(--primary);
    background: rgba(240, 112, 32, 0.04);
}

.account-type-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.account-type-card h4 {
    margin-bottom: 0.25rem;
}

.account-type-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: var(--transition-slow);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-slow);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-slow);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #CCC;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #AAA;
}

/* === Mobile nav === */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text);
}

.mobile-nav a:hover {
    color: var(--primary);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    font-size: 1.5rem;
    color: var(--text);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-grid {
        grid-template-columns: 1fr;
    }

    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .annonces-layout,
    .main-grid {
        grid-template-columns: 1fr;
    }

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

    .auth-page {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .auth-visual {
        display: none;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar .form-group {
        min-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        border-top: none;
        padding-top: 1rem;
        margin-top: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .profile-header .flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-info {
        margin-left: 0;
        margin-top: 1rem;
    }

    .profile-badges {
        justify-content: center;
    }

    .step-connector {
        display: none;
    }

    .account-type-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
}