/* CSS Reset and Variables */
:root {
    --font-primary: 'Inter', sans-serif;

    --color-1: #5963e7;
    --color-2: #a5d7f5;
    --color-3: #a18ce4;
    --color-4: #5963e7;
    --coloertx1: #1a1b33;
    --colortx2: linear-gradient(135deg, #585feb, #a28be7);
    --colorbg: #f8f9fa;

    --color-bg: #FFFFFF;
    --color-text-main: #222222;
    --color-text-secondary: #717171;
    /* --color-accent: #E6007E; */
    --color-accent: #000000;
    --color-accent-hover: #5760ec;
    --color-border: #EEEEEE;
    --color-hover-bg: #F7F7F7;

    --container-width: 1600px;
    --header-height: 60px;
    --grid-gap: 24px;

    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-pill: 10px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-dropdown: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@font-face {
    font-family: hamdy;
    src: url(./fonts/hamdy4.ttf);
}

@font-face {
    font-family: hamdy2;
    src: url(./fonts/hamdy2.otf);
}

* {

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
#main-header {
    height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

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

.logo-img {
    height: 80px;
    /* نفس ارتفاع اللوجو القديم */
    width: auto;
    display: block;
}

.logo-img {
    transition: 0.3s;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.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(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-nav.active {
    max-height: 500px;
    opacity: 1;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #585feb;
    background: rgba(88, 95, 235, 0.05);
}

.mobile-nav-cta {
    display: block;
    padding: 14px 24px;
    margin: 8px 16px 16px;
    background: linear-gradient(135deg, #585feb, #a28be7);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.mobile-nav-cta:hover {
    background: linear-gradient(135deg, #4a51d9, #9379d9);
    transform: translateY(-1px);
}

/* .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-link:hover {
    color: var(--color-accent);
} */

.nav-link {
    position: relative;
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    /* background: var(--color-1); */
    color: var(--color-1);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--coloertx1);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn {
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #585feb, #a28be7);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: 1;
}

.btn-primary:hover {
    /* background-color: var(--color-3);
    color: rgb(0, 0, 0); */
    background: var(--coloertx1);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::before {
    left: 130%;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

/* Signup Dropdown */
.signup-dropdown {
    position: relative;
    display: inline-block;
}

.signup-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-family: inherit;
}

.signup-dropdown-toggle .signup-dropdown-caret,
.signup-dropdown-toggle span {
    position: relative;
    z-index: 2;
}

.signup-dropdown-caret {
    transition: transform 0.25s ease;
}

.signup-dropdown:hover .signup-dropdown-caret,
.signup-dropdown:focus-within .signup-dropdown-caret {
    transform: rotate(180deg);
}

.signup-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(17, 17, 26, 0.12), 0 0 0 1px rgba(17, 17, 26, 0.04);
    padding: 8px;
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.signup-dropdown:hover .signup-dropdown-menu,
.signup-dropdown:focus-within .signup-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.signup-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

.signup-dropdown-item:hover,
.signup-dropdown-item:focus-visible {
    background-color: #f5f5f7;
}

.signup-dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.signup-dropdown-icon-brand {
    background: #f0ebff;
    color: var(--color-1);
}

.signup-dropdown-icon-creator {
    background: #f0ebff;
    color: var(--coloertx1);
}

.signup-dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.signup-dropdown-title {
    display: block;
    white-space: nowrap;
    font-weight: 600;
}

.signup-dropdown-sub {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.3;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0 10px;
    background: #f8f9fa;
}

.hero-section h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1a1b33;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-section h1 .highlight {
    background: linear-gradient(135deg, #585feb, #a28be7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Section */
.filters-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--colorbg);

    position: relative;
}

.search-bar-wrapper {
    margin: 0 auto 24px auto;
    max-width: 600px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--color-text-secondary);
}

.search-input-group input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 15px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-pill);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.search-input-group input:focus {
    border-color: var(--color-1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* New Dropdown Filters Layout */
.filter-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.2s;
    text-decoration: underline;
}

.clear-filters-btn:hover {
    color: #000;
}

.dropdown-group {
    position: relative;
}

.dropdown-group.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.4);
}

.dropdown-group.is-disabled .dropdown-btn {
    cursor: not-allowed;
    background: #f7f7f7;
}

/* Pro badge (Age / Lifestyle filters) */
.pro-badge {
    position: absolute;
    top: -8px;
    right: -6px;
    background: var(--colortx2);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 8px rgb(255, 255, 255);
    /* transform: rotate(8deg); */
    z-index: 5;
    pointer-events: none;
    text-transform: uppercase;
}

.dropdown-btn {
    padding: 8px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--coloertx1);
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.dropdown-btn:hover,
.dropdown-group.active .dropdown-btn {
    border-color: var(--color-1);
    background: var(--color-hover-bg);
}

.dropdown-btn .chevron {
    font-size: 10px;
    transition: transform 0.2s;
}

.dropdown-group.active .dropdown-btn .chevron {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-dropdown);
    border: 1px solid var(--color-border);
    padding: 16px;
    min-width: 260px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    /* Above grid */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dropdown-group.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-searchable {
    padding: 12px;
    gap: 8px;
    max-height: 360px;
    overflow: hidden;
    min-width: 280px;
}

.dropdown-search-wrap {
    flex-shrink: 0;
}

.dropdown-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    color: #222;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease;
}

.dropdown-search-input:focus {
    border-color: var(--color-1);
}

.dropdown-search-input::placeholder {
    color: #9ca3af;
}

.dropdown-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 280px;
    padding-right: 2px;
}

.filter-option.is-hidden {
    display: none;
}

.dropdown-search-empty {
    margin: 0;
    padding: 12px 4px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

.dropdown-search-empty.hidden {
    display: none;
}

.dropdown-heading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

/* Form Elements inside Dropdown */
.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    user-select: none;
}

.filter-option:hover {
    color: #000;
}

/* Custom Checkbox */
.filter-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.filter-option input:checked+.checkmark {
    background-color: var(--color-1);
    border-color: var(--color-1);
}

.checkmark::after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.filter-option input:checked+.checkmark::after {
    display: block;
}

/* Custom Radio */
.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
}

.radio-option input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-option input:checked+.custom-radio {
    border-color: var(--color-1);
}

.custom-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-1);
    transform: scale(0);
    transition: 0.2s;
}

.radio-option input:checked+.custom-radio::after {
    transform: scale(1);
}

/* Followers Logic List Layout */
.followers-grid {
    min-width: 250px;
}

.radio-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Grid Section */
.grid-section {
    padding: 40px 0 80px;
    background: #FAFAFA;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.influencer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

@media (max-width: 1200px) {
    .influencer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .influencer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .influencer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .influencer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Card Component */
a.card.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    min-width: 0;
    /* group: hover; */
}

.card-image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #eee;
    margin-bottom: 12px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-overlay-top {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.badge {
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-platform {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 12px;

}

.badge-followers {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.card-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 12px 12px;
    /* background-color: rgb(255 255 255 / 60%); */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.vendor-overlay {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* padding: 12px 16px !important; */
    /* background-color: rgb(255 255 255 / 60%); */
    -webkit-backdrop-filter: blur(5px);
    /* backdrop-filter: blur(5px); */
    margin: 6px;
    width: -webkit-fill-available;
    padding: 10px 15px;
    border-radius: 20px;
    /* background: rgba(255, 255, 255, 0.4); */
    backdrop-filter: blur(12px);
}

.platform-badges-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.influencer-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.influencer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
}

.influencer-category {
    font-size: 13px;
    color: var(--color-text-secondary);
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.influencer-name-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
}

.vendor-overlay .influencer-name {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.vendor-overlay .influencer-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
}

.influencer-location {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-1);
    letter-spacing: 1px;
}

.price-tier {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-1);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    #main-header {
        height: auto;
        min-height: 60px;
        position: relative;
    }

    .logo-img {
        height: 50px;
    }

    .signup-dropdown .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 30px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .filters-section {
        padding: 16px 0;
    }

    .search-bar-wrapper {
        max-width: 100%;
        margin-bottom: 16px;
    }

    .filter-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .dropdown-group {
        flex: 1 1 calc(50% - 4px);
        min-width: 120px;
    }

    .dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px;
        font-size: 13px;
    }

    .dropdown-menu {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 100%;
        max-height: 60vh;
        border-radius: 20px 20px 0 0;
        border: none;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
        z-index: 10002;
        padding: 20px 16px 30px 16px;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, visibility 0.3s;
        display: flex;
        flex-direction: column;
        gap: 12px;
        visibility: hidden;
        opacity: 0;
    }

    .dropdown-menu::before {
        content: '';
        width: 40px;
        height: 4px;
        background: #e0e0e0;
        border-radius: 2px;
        margin: -8px auto 12px auto;
        display: block;
        flex-shrink: 0;
    }

    .dropdown-group.active .dropdown-menu {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    body:has(.dropdown-group.active) {
        overflow: hidden !important;
    }

    body:has(.dropdown-group.active)::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 10000;
        animation: fadeInFilter 0.2s ease-out;
    }

    @keyframes fadeInFilter {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .hide-mobile {
        display: none !important;
    }
}

/* Pagination Section */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    width: 100%;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    border-color: #585feb;
    color: #585feb;
    background: #f0efff;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #585feb, #a28be7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(88, 95, 235, 0.35);
}

.pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-page {
    font-weight: 700;
}

/* Campaigns spotlight (below influencer grid) */
.campaigns-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin-top: 72px;
    padding-top: 8px;
}

.campaigns-spotlight-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--coloertx1);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.campaigns-spotlight-accent {
    background: var(--colortx2);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.campaigns-spotlight-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 28px;
    max-width: 520px;
}

.campaigns-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    max-width: 520px;
}

.campaign-stat-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    text-align: center;
}

.campaign-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-1);
    margin-bottom: 6px;
    line-height: 1.2;
}

.campaign-stat-label {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.btn-view-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid #d8d8d8;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text-main);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-view-pricing:hover {
    border-color: var(--color-1);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.campaigns-spotlight-visual {
    width: 100%;
}

.campaigns-spotlight-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
    aspect-ratio: 5 / 2.7;
    box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
    .campaigns-spotlight {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 48px;
    }

    .campaigns-spotlight-desc,
    .campaigns-stats-grid {
        max-width: none;
    }
}

/* Why Yalla Collab section */
.why-yalla-section {
    margin-top: 72px;
    text-align: center;
}

.why-yalla-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    color: var(--coloertx1);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.why-yalla-accent {
    background: var(--colortx2);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-yalla-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin: 0 auto 40px;
    max-width: 600px;
    line-height: 1.6;
}

.why-yalla-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.why-yalla-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.why-yalla-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--color-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.why-yalla-icon-dark {
    background: rgba(99, 102, 241, 0.12);
    color: var(--color-1);
}

.why-yalla-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--coloertx1);
    margin: 0 0 12px;
    line-height: 1.3;
}

.why-yalla-card-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .why-yalla-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-yalla-section {
        margin-top: 48px;
    }
}

/* Creators spotlight (image left, content right) */
.creators-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin-top: 72px;
    padding-top: 8px;
}

.creators-spotlight-visual {
    width: 100%;
}

.creators-spotlight-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
    aspect-ratio: 5 / 2.7;
    box-shadow: var(--shadow-md);
}

.creators-spotlight-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--coloertx1);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.creators-spotlight-accent {
    background: var(--colortx2);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.creators-spotlight-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 28px;
    max-width: 520px;
}

.creators-spotlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.creators-spotlight-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.creators-spotlight-bullet {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--colortx2);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.btn-see-how-it-works {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid #1a1b33;
    border-radius: var(--radius-sm);
    background: var(--coloertx1);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-see-how-it-works:hover {
    background: var(--color-1);
    border-color: var(--color-1);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .creators-spotlight {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 48px;
    }

    .creators-spotlight-desc,
    .creators-spotlight-list {
        max-width: none;
    }
}

@media (max-width: 576px) {
    .campaigns-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #fff;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    line-height: 1;
}

.modal-badge-pill svg {
    flex-shrink: 0;
}

.modal-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.modal-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 24px;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: inline-block;
}

.modal-features li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 24px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    font-family: inherit;
    line-height: 1.2;
}

.modal-btn-primary {
    background: var(--colortx2);
    color: #ffffff;
    /* box-shadow: 0 6px 16px var(--coloertx1); */
}

.modal-btn-primary:hover {
    background: var(--coloertx1);
    transform: translateY(-2px);
    /* box-shadow: 0 10px 22px rgba(37, 99, 235, 0.4); */
    color: #ffffff;
}

.modal-btn-secondary {
    background: #ffffff;
    color: var(--color-1);
    border-color: var(--color-1);
}

.modal-btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--coloertx1);
    transform: translateY(-2px);
    color: var(--coloertx1)
}

.modal-btn span {
    display: inline-block;
}

.modal-footer-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.modal-login-link {
    color: var(--color-1);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.modal-login-link:hover {
    color: var(--coloertx1);
    text-decoration: underline;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 4px 8px;
}

.modal-close:hover {
    color: #0f172a;
}

/* Responsive Modal */
@media (max-width: 600px) {
    .modal-card {
        padding: 32px 22px 24px;
        border-radius: 20px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-badge-pill {
        font-size: 12px;
        padding: 6px 12px;
    }

    .modal-features {
        text-align: left;
    }
}

/* Footer Section */
footer {
    background-color: var(--coloertx1);
    color: #ffffff;
    padding: 80px 0 20px;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

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

.footer-logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-tagline {
    color: var(--color-bg);
    line-height: 1.6;
    max-width: 250px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

/* .footer-links a {
    color: var(--color-bg);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.footer-links a::before {
    content: "›";
    font-size: 18px;
    color: var(--color-bg);
}

.footer-links a:hover {
    color: #fff;
} */

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1.5px;
    background: #ffffff;
    transition: width 0.3s ease;
}

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

.footer-links a {
    position: relative;
    display: inline-block;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}


.newsletter-text {
    color: var(--color-bg);
    margin-bottom: 24px;
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
    max-width: 300px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    outline: none;
    font-family: inherit;
}

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

.newsletter-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.yc-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.yc-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
    animation: ycToastIn 0.3s ease;
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.yc-toast--hide {
    opacity: 0;
    transform: translateY(-8px);
}

.yc-toast--success {
    border-color: #86efac;
}

.yc-toast--error {
    border-color: #fca5a5;
}

.yc-toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.yc-toast--success .yc-toast-icon {
    background: #22c55e;
}

.yc-toast--error .yc-toast-icon {
    background: #ef4444;
}

.yc-toast-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #111827;
}

.yc-toast-close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

@keyframes ycToastIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover.instagram {
    color: #E4405F;
}

.footer-social a:hover.facebook {
    color: #1877F2;
}

.footer-social a:hover.tiktok {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-social a:hover.twitter {
    color: #1DA1F2;
}

.footer-social a:hover.whatsapp {
    color: #25D366;
}

.footer-social a:hover {
    transform: translateY(-2px);
}

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

.payment-icon {
    width: 32px;
    height: 22px;
    background: #fff;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    border: 2px solid rgb(255, 255, 255);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #5a5c5e;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

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

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

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

/* 404 Error Section */
.error-404-section {
    padding: 50px 0;
    text-align: center;
    background: #fff;
    min-height: calc(100vh - var(--header-height) - 400px);
    /* Adjust based on footer height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.error-image-wrapper {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.error-image {
    width: 100%;
    height: auto;
    display: block;
    animation: floatIllustration 2s ease-in-out infinite;
}


.error-actions {
    margin-top: 20px;
}

.error-actions .btn-next {
    padding: 14px 32px;
}

@media (max-width: 768px) {
    .error-404-section {
        padding: 60px 20px;
    }

    .error-title {
        font-size: 32px;
    }

    .error-message {
        font-size: 16px;
    }
}

/* Contact Page Styles */
/* Contact Success Toast */
.contact-success-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 20px auto 0;
    padding: 16px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-1);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    animation: toastSlideIn 0.3s ease;
}

.toast-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.toast-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--coloertx1);
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--color-1);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Hero */
.contact-hero {
    text-align: center;
    padding: 40px 0 40px;
    background: #f9f9f9;
}

.contact-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.contact-hero-desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Page */
.contact-page-section {
    padding: 0 0 80px;
    background: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 620px 380px;
    gap: 36px;
    align-items: start;
    justify-content: center;
}

/* Contact Form Card */
.contact-card {
    background: #fff;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #e8e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.contact-card-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 28px;
}

.actual-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border: 1px solid #e8e8f0;
    border-radius: 1px;
    font-family: inherit;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.2s;
    color: var(--color-text-main);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #5963e7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(89, 99, 231, 0.1);
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    background: var(--coloertx1);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    font-family: inherit;
}

.btn-contact-submit:hover {
    background: var(--color-1);
    transform: translateY(-1px);
}

/* Sidebar Info Cards */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #f0f0fb;
    border: 1px solid #e2e2f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 18px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    border-color: #5963e7;
    box-shadow: 0 4px 16px rgba(89, 99, 231, 0.08);
}

.info-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #dddef7;
    border: 1px solid #e2e2f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5963e7;
    font-size: 18px;
}

.info-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text-main);
}

.info-card-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-card-link {
    font-size: 14px;
    font-weight: 600;
    color: #5963e7;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}

a.info-card-link:hover {
    opacity: 0.7;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 30px;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-card {
        padding: 30px 20px;
    }

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

    .contact-sidebar {
        flex-direction: column;
    }

    .info-card {
        min-width: auto;
    }
}

/* FAQ Page Styles */
.faq-page-section {
    padding: 50px 0;
    background-color: #fff;
    min-height: calc(100vh - 400px);
}

/* FAQ Tabs */
.faq-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    width: fit-content;
}

.faq-tab {
    padding: 12px 32px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-tab:hover {
    color: #1a1b33;
}

.faq-tab.active {
    background: #fff;
    color: #1a1b33;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-tab-content.active {
    display: block;
}

.faq-tab-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}


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

.faq-main-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.05));
    /* animation: floatIllustration 2s ease-in-out infinite; */
}

@keyframes floatIllustration {

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

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

.faq-header {
    text-align: left;
    margin-bottom: 40px;
}

.faq-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.faq-header p {
    font-size: 18px;
    color: var(--color-text-secondary);
}

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


.faq-item {
    width: 90%;
}

.faq-question {
    width: 100%;
    padding: 24px 35px;
    background-color: #EDF2F9;
    border: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.faq-question span {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    padding-right: 20px;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000;
}

.faq-item.active .faq-question {
    background-color: #F9EED4;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.answer-content {
    padding: 20px 40px 10px 45px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    background: #fff;
}

@media (max-width: 1024px) {
    .faq-main-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .faq-header {
        text-align: center;
    }

    .faq-illustration-column {
        order: -1;
        /* Image on top for mobile */
    }

    .faq-main-img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .faq-page-section {
        padding: 60px 0;
    }

    .faq-header h1 {
        font-size: 32px;
    }

    .faq-question {
        padding: 18px 25px;
        border-radius: 20px;
        width: 110%;
    }

    .faq-question span {
        font-size: 16px;
    }

    .answer-content {
        padding: 15px 25px;
    }
}

/* FAQ Contact CTA */
.faq-contact-cta {
    padding: 50px 0 80px;
}

.faq-contact-card {
    background: #edf2f9;
    border: 1px solid #e2e2f0;
    border-radius: 16px;
    padding: 20px 30px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.faq-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    /* background: #fff; */
    /* border: 1px solid #e2e2f0; */
    margin-bottom: 20px;
    color: #4a4ae8;
}

.faq-contact-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0 0 12px;
}

.faq-contact-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin: 0 0 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Pricing Page Styles */
.pricing-page-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.pricing-header p {
    font-size: 18px;
    color: var(--color-text-secondary);
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--color-text-main);
}

.discount-badge {
    background: #e2e8f0;
    color: #5963e7;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 5px;
    font-weight: 700;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 12px;
}

.card-header {
    margin-bottom: 30px;
}

.plan-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.plan-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.plan-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.card-price {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 4px;
    min-height: 70px;
    white-space: nowrap;
}

.card-price .currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
}

.card-price .amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1;
}

.card-price .period {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.amount.hidden {
    display: none;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.plan-features li {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features li::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236366f1" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center;
    background-size: contain;
}

.plan-features li.accent::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ec4899" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center;
    background-size: contain;
}

.plan-features li span {
    font-weight: 700;
    color: var(--color-text-main);
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 16px;
    background: #f1f5f9;
    color: #475569;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    background: #e2e8f0;
}

.btn-pricing.featured {
    background: #6366f1;
    color: #fff;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.btn-pricing.featured:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(99, 102, 241, 0.3);
}

.pricing-note {
    max-width: 1200px;
    margin: 30px auto 0;
    text-align: center;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 32px;
}

.pricing-note p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Book Demo Banner */
.book-demo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 40px;
    margin-top: 60px;
    gap: 24px;
}

.book-demo-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.book-demo-content p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 700px;
}

.btn-book-demo {
    padding: 16px 32px;
    background: #1a1b33;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-book-demo:hover {
    background: #2d2f5a;
    transform: translateY(-2px);
}

/* Book Demo Modal */
.book-demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.book-demo-modal.active {
    display: flex;
}

.book-demo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.book-demo-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.book-demo-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.book-demo-modal-close:hover {
    color: #1a1b33;
}

.book-demo-modal-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1b33;
    margin-bottom: 8px;
}

.book-demo-modal-content>p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1b33;
    margin-bottom: 6px;
}

.form-group label .optional {
    font-weight: 400;
    color: #94a3b8;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 1px;
    font-size: 15px;
    color: #1a1b33;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: #fff;
}

.form-error {
    color: #ef4444;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
}

.form-success {
    color: #22c55e;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
}

.btn-submit-demo {
    width: 100%;
    padding: 14px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.btn-submit-demo:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* Time Slots */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 6px;
}

.time-slot-btn {
    padding: 10px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    color: #1a1b33;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot-btn:hover {
    border-color: #6366f1;
    background: #eef2ff;
}

.time-slot-btn.selected {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.no-slots {
    font-size: 14px;
    color: #94a3b8;
    padding: 12px 0;
}

/* Pricing FAQ Section */
.pricing-page-section .faq-section {
    margin-top: 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

.pricing-page-section .faq-section .faq-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-main);
}

@media (min-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1400px;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .pricing-card {
        padding: 24px 16px;
    }

    .card-price .amount {
        font-size: 28px;
    }

    .card-price .currency {
        font-size: 16px;
    }

    .card-price .period {
        font-size: 12px;
    }

    .plan-features li {
        gap: 8px;
    }
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .pricing-card {
        padding: 24px;
    }

    .card-price .amount {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 32px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card {
        padding: 24px;
    }

    .book-demo-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .book-demo-content p {
        max-width: 100%;
    }

    .book-demo-modal-content {
        padding: 28px 24px;
        margin: 16px;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 28px;
    }

    .pricing-card {
        padding: 20px;
        border-radius: 20px;
    }

    .card-price .amount {
        font-size: 36px;
    }

    .card-price .currency {
        font-size: 20px;
    }

    .plan-icon {
        width: 50px;
        height: 50px;
    }
}



/* Login Page Styles */
.login-page-wrapper {
    background: #f8fafc;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.login-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    max-width: 1100px;
    margin: 0 auto;
    min-height: 600px;
}

/* Left Form Area */
.login-form-area {
    padding: 60px 60px 60px 60px;
    display: flex;
    flex-direction: column;
}

.login-header {
    margin-bottom: 35px;
}

.back-link {
    margin-bottom: 25px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: transform 0.3s;
}

.back-link a:hover {
    transform: translateX(-5px);
}

.login-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--coloertx1);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--color-text-secondary);
}

.login-form .input-group {
    margin-bottom: 25px;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.login-form .required {
    color: #ef4444;
}

.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"],
.login-form input[type="tel"],
.login-form input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.login-form input.input-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 1px #dc2626;
}

.field-error {
    display: block;
    color: #dc2626;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

.field-error.hidden {
    display: none;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.forgot-password {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-1);
    /* Red as requested */
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
}

.login-footer-text {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.login-footer-text a {
    color: var(--color-1);
    font-weight: 700;
    text-decoration: none;
}

/* Right Visual Area */
.login-visual-area {
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
}

.login-illustration-wrapper {
    width: 80%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-img {
    width: 100%;
    height: auto;
    max-height: 100%;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
    object-fit: contain;
}

/* Checkbox Styling */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-secondary);
    user-select: none;
    line-height: 1.5;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    /* Ensure full height clickability */
    width: 100%;
    left: 0;
    top: 0;
    z-index: 5;
}

.checkbox-container .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-accent);
}

.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    /* Adjusted */
    top: 2px;
    width: 5px;
    /* Slightly larger */
    height: 10px;
    /* Slightly taller */
    border: solid #000000;
    /* Explicit color */
    border-width: 0 3px 3px 0;
    /* Thicker checkmark */
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .login-page-wrapper {
        padding: 40px 0;
    }

    .login-card {
        grid-template-columns: 1fr;
    }

    .login-visual-area {
        display: none;
    }

    .login-form-area {
        padding: 40px 30px;
    }
}

/* Registration Form Specific Styles */
.registration-card {
    max-width: 1360px;
    /* Wider for more fields */
}

.registration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
    margin-bottom: 25px;
}

.registration-grid .full-width {
    grid-column: span 2;
}

.registration-form .input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    color: #374151;
    background: #fff;
    transition: all 0.3s;
}

.registration-form .input-group input::placeholder {
    color: #9ca3af;
}

.registration-form .input-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.registration-form .input-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    color: #374151;
    background: #fff;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.registration-form .input-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.registration-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #b91c1c;
    font-size: 14px;
}

.registration-errors p {
    margin: 0;
}

.registration-status.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #047857;
    font-size: 14px;
}

.verify-email-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.verify-email-logout {
    text-align: center;
}

.verify-email-logout-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.verify-email-logout-btn:hover {
    color: #374151;
}

.registration-form .input-group label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #374151;
}

.registration-agreements {
    margin-top: 10px;
    margin-bottom: 25px;
}

.registration-agreements a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.registration-agreements a:hover {
    text-decoration: underline;
}

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

    .registration-grid .full-width {
        grid-column: span 1;
    }
}

/* Legal Page Styles (Terms of Service / Privacy Policy) */
.legal-page-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Light grey background like StarryHire */
    min-height: calc(100vh - var(--header-height));
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.legal-card {
    background: #ffffff;
    width: 100%;
    max-width: 1000px;
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.legal-card h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--color-1);
    text-align: left;
    font-family: hamdy;
}

.legal-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 16px 0;
    color: var(--color-1);
    font-family: hamdy;
}

.legal-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.legal-card ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.legal-card li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    list-style-type: disc;
}

.legal-card strong {
    color: var(--color-text-main);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-page-section {
        padding: 40px 15px;
    }

    .legal-card {
        padding: 30px 20px;
    }

    .legal-card h1 {
        font-size: 26px;
    }

    .legal-card h2 {
        font-size: 18px;
    }
}

/* Footer App Badges */
.footer-apps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.app-btn {
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
    display: inline-block;
}

.app-btn:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

/* =====================================================
   How It Works Page
   ===================================================== */
.hiw-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #f4f6ff 0%, #faf9ff 100%);
}

.hiw-hero h1 {
    font-size: clamp(2.25rem, 4.4vw, 3.5rem);
    font-weight: 800;
    color: #1a1b33;
    margin: 0 0 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hiw-gradient-text {
    background: linear-gradient(135deg, #585feb 0%, #a28be7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hiw-hero-subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.hiw-section {
    padding: 10px 0 100px;
    background-color: #ffffff;
}

/* Tabs */
.hiw-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto 60px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    width: fit-content;
    min-width: 360px;
}

.hiw-tabs-faq {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 35% 15px auto;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    width: fit-content;
    min-width: 360px;
}

.hiw-tab {
    /* flex: 1; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 28px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    white-space: nowrap;
}

.hiw-tab:hover {
    color: #1a1b33;
}

.hiw-tab.active {
    background: #ffffff;
    color: #1a1b33;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hiw-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.3s ease, transform 0.3s ease;
}

.hiw-tab-icon svg {
    display: block;
}

.hiw-tab-icon-brand {
    background: rgba(129, 140, 248, 0.15);
}

.hiw-tab-icon-creator {
    background: rgba(129, 140, 248, 0.15);
}

.hiw-tab:hover .hiw-tab-icon-brand {
    background: rgba(129, 140, 248, 0.25);
}

.hiw-tab:hover .hiw-tab-icon-creator {
    background: rgba(129, 140, 248, 0.25);
}

.hiw-tab.active .hiw-tab-icon {
    transform: scale(1.05);
}

.hiw-tab-text {
    display: inline-block;
    white-space: nowrap;
}

/* Tab content */
.hiw-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hiw-tab-content.active {
    display: block;
}

.hiw-tab-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Steps grid */
.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(7, auto);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.hiw-step-card {
    background: #ffffff;
    border: 2px solid #00000026;
    border-radius: 20px;
    padding: 56px 28px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    min-width: 0;
}

.hiw-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    color: #5963e7;
    font-size: 22px;
    padding: 0 4px;
}

.hiw-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
}

.hiw-step-card-featured {
    border: 2px solid transparent;
    box-shadow: none;
}

.hiw-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #585feb 0%, #a28be7 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 14px rgba(88, 95, 235, 0.25);
}

.hiw-step-icon {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 18px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-emoji {
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.hiw-step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0 0 14px;
    line-height: 1.3;
}

.hiw-step-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin: 0;
}

/* CTA section */
.hiw-cta {
    background: var(--color-accent);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.hiw-cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 16px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hiw-cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 36px;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hiw-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hiw-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    border: 2px solid transparent;
    min-width: 200px;
    letter-spacing: 0.2px;
}

.hiw-cta-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease, transform 0.3s ease;
}

.hiw-cta-btn-icon svg {
    display: block;
}

.hiw-cta-btn-icon-brand {
    background: rgba(129, 140, 248, 0.25);
}

.hiw-cta-btn-icon-creator {
    background: rgba(129, 140, 248, 0.4);
}

.hiw-cta-btn-text {
    display: inline-block;
}

.hiw-cta-btn-primary {
    background: var(--colortx2);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(88, 95, 235, 0.35);
}

.hiw-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(88, 95, 235, 0.5);
    color: #ffffff;
}

.hiw-cta-btn-primary:hover .hiw-cta-btn-icon {
    background: rgba(129, 140, 248, 0.4);
    transform: scale(1.05);
}

.hiw-cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.hiw-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    color: #ffffff;
}

.hiw-cta-btn-secondary:hover .hiw-cta-btn-icon {
    background: rgba(88, 95, 235, 0.5);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
    .hiw-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: stretch;
    }

    .hiw-step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .hiw-hero {
        padding: 60px 0 40px;
    }

    .hiw-section {
        padding: 30px 0 70px;
    }

    .hiw-tabs {
        width: 100%;
        min-width: 0;
    }

    .hiw-tabs-faq {
        margin: 0 auto 15px;
        min-width: 0;
        width: fit-content;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hiw-tab {
        padding: 12px 20px;
        font-size: 14px;
        flex: 0 0 auto;
    }

    .hiw-tab-icon {
        font-size: 16px;
    }

    .hiw-steps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: stretch;
    }

    .hiw-step-card {
        padding: 30px 24px 28px;
    }

    .hiw-cta {
        padding: 60px 0;
    }

    .hiw-cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hiw-cta-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ============== CREATOR PROFILE ============== */
.creator-profile-page {
    background: #f4f5f9;
    padding: 32px 0 72px;
}

.creator-alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.creator-alert-success {
    background: #ecfdf5;
    color: #065f46;
}

.creator-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.creator-breadcrumb a {
    color: var(--color-1);
    transition: color 0.2s ease;
}

.creator-breadcrumb a:hover {
    color: #3b42a8;
    text-decoration: underline;
}

.creator-breadcrumb-current {
    color: #6b7280;
}

.creator-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
}

.creator-profile-main,
.creator-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.creator-profile-sidebar {
    position: sticky;
    top: 96px;
}

.creator-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01), 0 2px 8px rgba(0, 0, 0, 0.01);
}

.creator-profile-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.creator-avatar {
    width: 112px;
    height: 112px;
    border-radius: 20px;
    object-fit: cover;
    background: #eef2ff;
    flex-shrink: 0;
}

.creator-profile-intro {
    flex: 1;
    min-width: 0;
}

.creator-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.creator-name-row h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    color: #111827;
}

.creator-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #5963e7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.creator-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.creator-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.creator-meta-row .fa-star {
    color: #f59e0b;
}

.creator-meta-row .fa-handshake {
    color: #f59e0b;
}

.creator-bio {
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 16px;
}

.creator-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.creator-tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #5963e7;
    font-size: 13px;
    font-weight: 600;
}

.creator-section-title {
    margin: 0;
    font-size: 1.25rem;
    color: #111827;
}

.creator-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.creator-section-head .creator-section-title {
    margin-bottom: 0;
}

.creator-coming-soon {
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #5963e7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.creator-platforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.creator-platforms-grid .creator-platform-card {
    width: 140px;
    min-width: 140px;
}

.creator-platform-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 14px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}

.creator-platform-card:hover {
    border-color: #5963e7;
    box-shadow: 0 8px 20px rgba(89, 99, 231, 0.06);
    transform: translateY(-2px);
}

.creator-platform-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
}

.creator-platform-icon.facebook {
    background: #1877f2;
}

.creator-platform-icon.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.creator-platform-icon.youtube {
    background: #ff0000;
}

.creator-platform-icon.tiktok {
    background: #111827;
}

.creator-platform-icon.twitter {
    background: #111827;
}

.creator-platform-icon.ugc {
    background: #5963e7;
}

.creator-platform-icon.default {
    background: #6b7280;
}

.creator-platform-count {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.creator-platform-label {
    margin-top: 4px;
    font-size: 13px;
    color: #9ca3af;
}

.creator-analytics-placeholder {
    text-align: center;
    padding: 28px 16px 8px;
}

.creator-analytics-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #eef2ff;
    color: #5963e7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.creator-analytics-placeholder h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #111827;
}

.creator-analytics-placeholder p {
    margin: 0 auto 24px;
    max-width: 420px;
    color: #6b7280;
    line-height: 1.6;
}

.creator-analytics-placeholders {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.placeholder-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    flex: 1;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.placeholder-line {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}

.placeholder-line.short {
    width: 32px;
}

.placeholder-line.long {
    width: 48px;
}

.analytics-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 12px;
    z-index: 10;
}

.analytics-lock-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1E293B;
    color: #FFFFFF;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.analytics-lock-content i {
    font-size: 18px;
    color: #FFFFFF;
}

.creator-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.creator-portfolio-item {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.creator-portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creator-portfolio-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.creator-portfolio-videos {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.creator-portfolio-videos::-webkit-scrollbar {
    display: none;
}

.creator-portfolio-carousel {
    position: relative;
    margin-top: 20px;
}

.creator-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #374151;
    font-size: 14px;
}

.creator-carousel-btn:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.creator-carousel-prev {
    left: -20px;
}

.creator-carousel-next {
    right: -20px;
}

.creator-portfolio-video-card {
    position: relative;
    width: 180px;
    min-width: 180px;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    flex: 0 0 180px;
}

.creator-portfolio-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.creator-portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-portfolio-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #111827;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.creator-portfolio-video-card:hover .creator-portfolio-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

.creator-portfolio-sound {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.creator-portfolio-sound:hover {
    background: rgba(0, 0, 0, 0.75);
}

.creator-reviews-summary {
    color: #9ca3af;
    font-size: 14px;
}

.creator-review {
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
}

.creator-review:first-of-type {
    border-top: none;
    padding-top: 0;
}

.creator-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.creator-review-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.creator-review-brand strong {
    display: block;
    color: #111827;
    font-size: 15px;
}

.creator-review-brand span {
    display: block;
    color: #9ca3af;
    font-size: 13px;
    margin-top: 2px;
}

.creator-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.creator-review-avatar[src] {
    object-fit: cover;
}

.creator-stars {
    color: #f59e0b;
    font-size: 13px;
    white-space: nowrap;
}

.creator-star-muted {
    color: #e5e7eb;
}

.creator-review-text {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.creator-pricing-card {
    border: 2px solid #5963e7;
    text-align: center;
}

.creator-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.creator-price-sub {
    margin: 8px 0 20px;
    color: #9ca3af;
    font-size: 14px;
}

.creator-hire-btn {
    display: block;
    width: 100%;
    padding: 16px 40px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #585feb, #a28be7);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.creator-hire-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: 1;
}

.creator-hire-btn:hover {
    background: var(--coloertx1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.creator-hire-btn:hover::before {
    left: 125%;
}

.creator-escrow-note {
    margin: 16px 0 0;
    color: #9ca3af;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.creator-response-label {
    display: block;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.creator-response-body {
    display: flex;
    align-items: center;
    gap: 16px;
}

.creator-response-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--color-1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.creator-response-icon i {
    font-size: 28px;
    line-height: 1;
}

.creator-response-body strong {
    display: block;
    color: #111827;
    font-size: 15px;
}

.creator-response-body span {
    display: block;
    color: #9ca3af;
    font-size: 13px;
    margin-top: 2px;
}

.creator-empty-text {
    color: #9ca3af;
    margin: 0;
}

.creator-back-link {
    text-align: center;
    margin-top: 36px;
}

.creator-back-link a {
    color: #5963e7;
    font-weight: 600;
}

.creator-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.creator-modal.hidden {
    display: none;
}

.creator-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.creator-modal-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.creator-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

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

.creator-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
}

.creator-brief-form .input-group {
    margin-bottom: 16px;
}

.creator-brief-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    resize: vertical;
    font-family: inherit;
}

@media (max-width: 1100px) {
    .creator-profile-layout {
        grid-template-columns: 1fr;
    }

    .creator-profile-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .creator-platforms-grid .creator-platform-card {
        flex: 0 0 auto;
        width: 140px;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .creator-profile-page {
        padding-top: 12px;
        padding-bottom: 48px;
        background: #f4f5f9;
    }

    .creator-profile-page .container {
        padding: 0 16px;
    }

    .creator-breadcrumb {
        font-size: 13px;
        margin-bottom: 14px;
        gap: 6px;
    }

    .creator-card {
        padding: 20px;
        border-radius: 16px;
    }

    .creator-profile-layout {
        gap: 16px;
    }

    .creator-profile-main,
    .creator-profile-sidebar {
        gap: 16px;
    }

    /* Header */
    .creator-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .creator-avatar {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .creator-name-row {
        justify-content: center;
        gap: 8px;
        margin-bottom: 8px;
    }

    .creator-name-row h1 {
        font-size: 1.35rem;
    }

    .creator-verified-badge {
        font-size: 10px;
        padding: 3px 7px;
    }

    .creator-meta-row {
        justify-content: center;
        gap: 10px;
        font-size: 12.5px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .creator-bio {
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .creator-tags {
        justify-content: center;
        gap: 6px;
    }

    .creator-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* Section Titles */
    .creator-section-title {
        font-size: 1.05rem;
    }

    .creator-section-head {
        margin-bottom: 14px;
    }

    /* Platforms */
    .creator-platforms-grid {
        gap: 10px;
        justify-content: flex-start;
    }

    .creator-platforms-grid .creator-platform-card {
        width: calc(33.333% - 7px);
        min-width: 0;
        padding: 16px 6px;
        flex: 0 0 calc(33.333% - 7px);
    }

    .creator-platform-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .creator-platform-count {
        font-size: 1rem;
    }

    .creator-platform-label {
        font-size: 10px;
    }

    /* Analytics */
    .creator-analytics-card .creator-section-head {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .creator-analytics-placeholder {
        padding: 16px 0 4px;
    }

    .creator-analytics-placeholder h3 {
        font-size: 1rem;
    }

    .creator-analytics-placeholder p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .creator-analytics-placeholders {
        flex-direction: row;
        gap: 8px;
    }

    .placeholder-card {
        padding: 12px;
        height: 56px;
    }

    /* Portfolio Carousel - 2 per view on mobile */
    .creator-portfolio-videos {
        gap: 12px;
        margin-top: 14px;
        scroll-padding-left: 0;
    }

    .creator-portfolio-video-card {
        min-width: calc(50% - 6px);
        width: calc(50% - 6px);
        flex: 0 0 calc(50% - 6px);
        border-radius: 14px;
        scroll-snap-align: start;
    }

    .creator-portfolio-carousel {
        margin-left: -20px;
        margin-right: -20px;
    }

    .creator-portfolio-carousel .creator-portfolio-videos {
        padding-left: 20px;
        padding-right: 20px;
    }

    .creator-carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    .creator-carousel-prev {
        left: 6px;
    }

    .creator-carousel-next {
        right: 6px;
    }

    .creator-portfolio-play {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .creator-portfolio-sound {
        width: 28px;
        height: 28px;
        font-size: 11px;
        bottom: 8px;
        right: 8px;
    }

    /* Portfolio Image Grid */
    .creator-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 14px;
    }

    .creator-portfolio-item {
        border-radius: 12px;
    }

    /* Reviews */
    .creator-section-head .creator-reviews-summary {
        font-size: 12px;
    }

    .creator-review {
        padding: 16px 0;
    }

    .creator-review-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    .creator-review-brand {
        gap: 10px;
    }

    .creator-review-avatar {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .creator-review-brand strong {
        font-size: 13.5px;
    }

    .creator-review-brand>div>span {
        font-size: 11.5px;
    }

    .creator-review-text {
        font-size: 13.5px;
        line-height: 1.6;
    }

    /* Sidebar */
    .creator-profile-sidebar {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .creator-pricing-card {
        padding: 24px 20px;
    }

    .creator-price {
        font-size: 2rem;
    }

    .creator-price-sub {
        font-size: 13px;
        margin: 6px 0 16px;
    }

    .creator-hire-btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .creator-escrow-note {
        font-size: 12px;
        margin-top: 12px;
    }

    .creator-response-card {
        padding: 20px;
    }

    .creator-response-label {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .creator-response-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .creator-response-icon i {
        font-size: 20px;
    }

    .creator-response-body strong {
        font-size: 13px;
    }

    .creator-response-body span {
        font-size: 11.5px;
    }

    /* Back Link */
    .creator-back-link {
        margin-top: 24px;
    }

    .creator-back-link a {
        font-size: 13px;
    }
}

/* Send Brief Page */
.send-brief-page {
    padding: 32px 0 64px;
    background: #f3f4f6;
    min-height: calc(100vh - 80px);
}

.send-brief-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.send-brief-card {
    background: #fff;
    border-radius: 5px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.send-brief-title {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.send-brief-subtitle {
    margin: 0 0 28px;
    color: #6b7280;
    font-size: 15px;
}

.send-brief-label {
    display: block;
    margin-bottom: 10px;
    color: var(--coloertx1);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.send-brief-optional {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #9ca3af;
}

.send-brief-field {
    margin-bottom: 24px;
}

.send-brief-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.send-brief-input,
.send-brief-select,
.send-brief-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-family: inherit;
    font-size: 15px;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.send-brief-input:focus,
.send-brief-select:focus,
.send-brief-textarea:focus {
    outline: none;
    border-color: #5963e7;
    box-shadow: 0 0 0 3px rgba(89, 99, 231, 0.12);
    background: #fff;
}

.send-brief-textarea {
    resize: vertical;
    min-height: 120px;
}

.send-brief-type-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.send-brief-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-brief-type-btn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.send-brief-type-btn i {
    font-size: 20px;
}

.send-brief-type-btn.is-active {
    border-color: #5963e7;
    background: #5963e7;
    color: #fff;
}

.send-brief-hint {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.send-brief-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.send-brief-collab-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 2px;
    border: 2px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.send-brief-collab-card:hover:not(.is-disabled) {
    border-color: #c7d2fe;
}

.send-brief-collab-card.is-active {
    border-color: #5963e7;
    background: #f5f5ff;
}

.send-brief-collab-card.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.send-brief-collab-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #5963e7;
}

.send-brief-collab-card.is-active .send-brief-collab-icon {
    background: #5963e7;
    color: #fff;
}

.send-brief-collab-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-brief-collab-card.is-active .send-brief-collab-check {
    border-color: #5963e7;
    background: #5963e7;
}

.send-brief-collab-check::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    display: none;
}

.send-brief-collab-card.is-active .send-brief-collab-check::after {
    display: block;
}

.send-brief-collab-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.send-brief-collab-info strong {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.send-brief-collab-info span {
    font-size: 12px;
    color: #6b7280;
}

.send-brief-selected-count {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #5963e7;
}

.send-brief-orientation-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.send-brief-orientation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 12px;
    border-radius: 2px;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-brief-orientation-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.send-brief-orientation-card i {
    font-size: 22px;
    color: #9ca3af;
}

.send-brief-orientation-card.is-active {
    border-color: #5963e7;
    background: #f5f6ff;
    color: #5963e7;
}

.send-brief-orientation-card.is-active i {
    color: #5963e7;
}

.send-brief-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.send-brief-creator-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.send-brief-creator-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e7eb;
}

.send-brief-creator-head strong {
    display: block;
    font-size: 16px;
    color: #111827;
}

.send-brief-creator-head span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #9ca3af;
}

.send-brief-creator-price {
    font-size: 28px;
    font-weight: 800;
    color: #5963e7;
    margin-bottom: 18px;
    line-height: 1.2;
}

.send-brief-creator-price small {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.send-brief-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.send-brief-stats div {
    background: #f9fafb;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.send-brief-stats strong {
    display: block;
    font-size: 16px;
    color: #111827;
}

.send-brief-stats span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #9ca3af;
}

.send-brief-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.creator-alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (max-width: 1100px) {
    .send-brief-layout {
        grid-template-columns: 1fr;
    }

    .send-brief-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {

    .send-brief-type-row,
    .send-brief-orientation-row,
    .send-brief-field-row {
        grid-template-columns: 1fr;
    }

    .send-brief-card {
        padding: 22px;
    }
}

.show-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block !important;
    }

    .creator-mobile-sidebar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 16px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .creator-mobile-sidebar {
        grid-template-columns: 1fr !important;
    }
}

.price-badge {
    align-self: flex-start;
    margin: 0 0 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f3f1ff;
    color: #635bff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
}

.price-badge:empty {
    visibility: hidden;
}