:root {
    /* Colors - Aurora Theme */
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-hover: #4f46e5;
    /* Indigo 600 */
    --accent: #ec4899;
    /* Pink 500 */
    --bg-body: #f0f4f8;
    /* Very light blue-grey */
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-main: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: rgba(255, 255, 255, 0.5);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

    --radius: 1rem;
    --radius-sm: 0.5rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 500px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-main), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link:not(.btn-small)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:not(.btn-small):hover::after {
    width: 100%;
}

.btn-small {
    background: linear-gradient(135deg, var(--text-main), #334155);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section - Retail Style */
.hero-container {
    width: 100%;
    height: 600px;
    /* Taller for retail impact */
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--container-width);
    width: 100%;
    align-items: center;
}

.hero-text-side {
    text-align: left;
    z-index: 20;
    animation: slideRight 1s ease-out;
}

.hero-image-side {
    position: relative;
    height: 500px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.5s;
    animation: scaleIn 1s ease-out;
}

.hero-image-side:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-btn {
    display: inline-block;
    background: var(--text-main);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.hero-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) rotate(2deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(2deg);
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text-side {
        text-align: center;
        order: 2;
    }

    .hero-image-side {
        height: 300px;
        order: 1;
        transform: rotate(0deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-container {
        height: auto;
        padding: 4rem 0;
        align-items: flex-start;
    }

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.active {
        display: block;
    }
}

/* Search & Discovery */
.search-section {
    position: relative;
    z-index: 20;
    margin-bottom: 3rem;
}

.search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 0.5rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.search-bar:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.search-icon {
    margin-left: 1rem;
    color: var(--text-muted);
}

#search-input {
    width: 100%;
    padding: 1rem;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    outline: none;
    color: var(--text-main);
}

.filters-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 1rem 1.5rem;
    justify-content: center;
    scrollbar-width: none;
}

.filter-pill {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.filter-pill:hover {
    background-color: white;
    transform: translateY(-2px);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Directory Grid */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding-bottom: 6rem;
}

@media (min-width: 640px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.3);
    z-index: 10;
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #e2e8f0;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: var(--primary);
    background-color: rgba(99, 102, 241, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
}

.card-rating {
    display: flex;
    align-items: center;
    color: #f59e0b;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.card-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-right: 0.25rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 1.5rem;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: var(--shadow-md);
    color: var(--text-main);
    transition: all 0.2s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background-color: var(--text-main);
    color: white;
}

.modal-hero-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal-details {
    padding: 2.5rem;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.modal-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

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

/* GHL Modal Specifics */
.ghl-content {
    max-width: 600px;
    background: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

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

@keyframes slideUpFade {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

#no-results {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .modal-hero-image {
        height: 250px;
    }
}

/* Feature Showcase */
.showcase-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, white, #f1f5f9);
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.showcase-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-content {
    animation: slideRight 1s ease-out;
}

.showcase-tag {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
}

.showcase-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.showcase-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}

.showcase-btn {
    background: var(--text-main);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    font-size: 1rem;
}

.showcase-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary);
}

.showcase-image-wrapper {
    position: relative;
    height: 450px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: transform 0.5s;
}

.showcase-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

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

.showcase-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.showcase-badge span {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
}

.showcase-badge small {
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .showcase-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .showcase-desc {
        margin: 0 auto 2rem;
    }

    .showcase-image-wrapper {
        height: 300px;
        transform: rotate(0deg);
    }
}

/* Ticker / Marquee Banner */
/* Ticker / Marquee Banner */
.ticker-wrap {
    width: 100%;
    background-color: var(--text-main);
    color: white;
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.ticker-move {
    display: flex;
    width: fit-content;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    flex-shrink: 0;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}