/* 
 * TheTrueStone.com - Main Stylesheet
 * Faith-Based Business Marketplace Design System
 */

:root {
    --primary: #7C3AED;
    --primary-light: #8B5CF6;
    --primary-dark: #5B21B6;
    --slate-900: #0f172a;
    --secondary: #F3F4F6;
    --accent: #EC4899;
    --white: #FFFFFF;
    --black: #111827;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --border-color: #111;
    --form-border: #111;

    --container-width: 1280px;
    --container-narrow: 800px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

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

/* Header - always solid on every page */
.main-header {
    background: #ffffff;
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo-area {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.main-logo {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 50%;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--black);
}

.beta-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1.2;
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-right .main-nav {
    margin-right: 24px;
}

.header-right .main-nav ul {
    gap: 2rem;
}

.beta-tag-hero {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111;
    background: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    line-height: 1.2;
}

.nav-mobile-auth {
    display: none;
}

.main-nav ul {
    display: flex;
    gap: 36px;
}

.main-nav a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main);
    padding: 8px 0;
    position: relative;
    text-decoration: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.main-nav a.active {
    color: var(--primary);
}

/* Keep Join Now and other buttons in nav visible on hover (no nav link color override) */
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover {
    color: var(--white);
}
.main-nav a.btn-primary::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
a.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-text {
    background: transparent;
    color: var(--text-main);
    padding: 12px 16px;
}

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

/* Hero Section */
.hero-premium {
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: white;
}

.hero-title .highlight {
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    opacity: 0.9;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-weight: 400;
}

/* Hero Search Form - professional white box, thin black border, drop shadow */
.hero-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    background: #ffffff;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #111;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-search-input-wrap i {
    position: absolute;
    left: 20px;
    color: #333;
    font-size: 1rem;
    pointer-events: none;
}

.hero-search-input-wrap input {
    width: 100%;
    height: 56px;
    background: #ffffff;
    border: 1px solid #111;
    border-radius: 14px;
    padding: 0 20px 0 50px;
    color: #111;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
}

.hero-search-input-wrap input::placeholder {
    color: #666;
}

.hero-search-btn {
    height: 56px;
    border-radius: 14px;
    padding: 0 36px;
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-search-form {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 16px;
    }
    .hero-search-input-wrap input {
        height: 50px;
    }
    .hero-search-btn {
        height: 50px;
        width: 100%;
    }
}

/* Hero Search Box (legacy/other pages) */
.hero-search-box {
    background: #ffffff;
    border: 1px solid #111;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    max-width: 700px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.search-input-wrapper i {
    color: #333;
    margin-right: 16px;
    font-size: 18px;
}

.search-input-wrapper input {
    border: 1px solid #111;
    outline: none;
    background: #ffffff;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: #111;
}

.search-input-wrapper input::placeholder {
    color: #666;
}

.hero-search-box .btn {
    width: 100%;
}

@media (min-width: 640px) {
    .hero-search-box .btn {
        width: auto;
        padding: 15px 30px;
    }
}

/* Cookie banner - white bg, black text */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 25px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    z-index: 9999;
    max-width: 800px;
    width: calc(100% - 40px);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cookie-banner-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-soft, #f5f3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cookie-banner-text p {
    font-size: 14px;
    color: #111;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--primary);
    font-weight: 700;
}

/* Search page - professional search bar */
.search-bar-section {
    background: #ffffff;
    border-bottom: 1px solid var(--slate-100);
    padding: 32px 0;
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

.search-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.search-bar-form-wrap {
    flex: 1;
}

.search-page-form {
    display: grid;
    grid-template-columns: 1fr 1fr 180px auto;
    gap: 14px;
    background: #ffffff;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #111;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.12);
}

.search-form-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form-field i {
    position: absolute;
    left: 18px;
    color: #333;
    font-size: 0.95rem;
    pointer-events: none;
}

.search-form-field input {
    width: 100%;
    height: 50px;
    background: #ffffff;
    border: 1px solid #111;
    border-radius: 12px;
    padding: 0 18px 0 46px;
    color: #111;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
}

.search-form-field input::placeholder {
    color: #666;
}

.search-form-select-wrap select {
    width: 100%;
    height: 50px;
    background: #ffffff;
    border: 1px solid #111;
    border-radius: 12px;
    padding: 0 40px 0 18px;
    color: #111;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.search-form-select-wrap i {
    left: auto;
    right: 14px;
}

.search-submit-btn {
    height: 50px;
    padding: 0 28px;
    border-radius: 12px;
    white-space: nowrap;
}

.search-results-count {
    text-align: right;
}

.search-results-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-results-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
}

@media (max-width: 992px) {
    .search-page-form {
        grid-template-columns: 1fr 1fr auto;
    }
    .search-form-select-wrap {
        grid-column: 1 / -1;
    }
    .search-form-select-wrap select {
        padding-left: 18px;
    }
}

@media (max-width: 768px) {
    .search-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .search-page-form {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .search-form-field input,
    .search-form-select-wrap select {
        height: 48px;
    }
    .search-submit-btn {
        height: 48px;
        width: 100%;
    }
    .search-results-count {
        text-align: center;
    }
}

/* Advertising Stats Section */
.ad-section {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.ad-stats-grid {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .ad-stats-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
    }

    .ad-section {
        padding: 0;
    }
}

.ad-stat .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.ad-stat .stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    display: none;
}

@media (min-width: 768px) {
    .divider {
        display: block;
    }
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Features/Cards */
/* General Section Styling */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.section-header p {
    font-size: clamp(18px, 2.5vw, 20px);
    color: var(--text-muted);
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    font-size: 24px;
    border-radius: 50%;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.bg-light {
    background: var(--bg-light);
}

.register-page-main {
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: #F5EFFF;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 20px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

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

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #111 !important;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pricing-card.premium {
    border: 2px solid var(--primary) !important;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border-bottom-left-radius: 12px;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
    color: var(--black);
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card > p {
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pricing-features li i {
    color: var(--primary);
}

.pricing-card .btn {
    margin-top: auto;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: clamp(18px, 2.5vw, 20px);
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* Listing Card */
.listing-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.listing-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.listing-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.listing-content {
    padding: 24px;
}

.listing-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.listing-cat {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Dashboard Styling */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid var(--border-color);
    padding: 40px 20px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: #F5EFFF;
    color: var(--primary);
}

.dash-content {
    flex: 1;
    padding: 40px;
    background: var(--bg-light);
}

/* Footer */
/* Page Header */
.page-header {
    background-color: var(--primary-dark);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    border-bottom: 5px solid var(--primary);
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: clamp(18px, 2.5vw, 20px);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Page Content */
.container-narrow {
    max-width: var(--container-narrow);
}

.page-content {
    font-size: 18px;
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 24px;
}

.page-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 24px 0;
}

.page-content strong {
    font-weight: 600;
    color: var(--black);
}

.page-content em {
    font-style: italic;
    color: var(--text-muted);
}

/* Icon List */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.icon-list i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 5px;
}

.icon-list span {
    flex: 1;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-info .icon-list {
    margin-bottom: 32px;
}

.contact-info .social-links a {
    font-size: 24px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 60px;
    }
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea,
.form-group select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #111 !important;
    background: #ffffff;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    color: #111;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(169, 113, 255, 0.2);
}

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

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 20px;
}

.contact-form .btn {
    width: 100%;
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border-color: #A7F3D0;
}

.alert-danger {
    background-color: #FEE2E2;
    color: #991B1B;
    border-color: #FECACA;
}

/* Auth Layout */
.auth-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--bg-light);
    padding: 40px 0;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin: 0 16px;
}

@media (min-width: 576px) {
    .auth-container {
        padding: 50px;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--black);
    margin-bottom: 16px;
}

.auth-logo {
    height: 56px;
    width: 56px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.auth-form .btn {
    width: 100%;
}

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

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check input[type="checkbox"] {
    width: auto;
    height: 16px;
    width: 16px;
}

.form-check label {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.forgot-password {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

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

.auth-footer {
    text-align: center;
    margin-top: 32px;
}

.auth-footer p {
    font-size: 15px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .form-group-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.main-footer {
    background: #ffffff;
    color: #111;
    padding: 100px 0 60px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    padding-bottom: 0;
}

.footer-brand .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
    color: #111;
}

.footer-brand .footer-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #000;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 300px;
    color: #333;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-light, #f3f4f6);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary, #7C3AED);
    color: white;
    border-color: var(--primary);
}

.footer-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 25px;
}

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

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

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #000;
}

.footer-copyright,
.footer-bottom p {
    font-weight: 700;
    color: #000;
}

.copyright {
    color: #000;
    font-weight: 700;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Scroll-to-top button */
.scroll-to-top-button {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 9998;
    transition: all 0.3s ease;
    text-decoration: none;
}

.scroll-to-top-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {

    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li {
        margin-bottom: 20px;
    }

    .main-nav ul li a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .container-header {
        position: relative;
    }

    .header-actions {
        gap: 12px;
    }

    .header-actions .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .footer-brand .logo-text {
        font-size: 1.1rem;
    }

    .beta-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .main-logo {
        height: 38px;
        width: 38px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 56px) !important;
    }

    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px) !important;
    }

    .hero-search-box {
        flex-direction: column;
        padding: 16px;
    }

    .search-input-wrapper {
        width: 100%;
        padding: 0 12px;
        margin-bottom: 12px;
    }

    .hero-search-box .btn {
        width: 100%;
        margin-top: 8px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .footer-brand {
        margin-bottom: 40px;
    }

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

    .nav-mobile-auth {
        display: list-item !important;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }

    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .ad-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        text-align: center;
    }

    .divider {
        display: none !important;
    }

    /* Form responsiveness */
    .login-form-container,
    .register-form-container {
        padding: 30px 20px 40px 20px !important;
        margin: 20px 16px;
    }

    .register-form-container {
        max-width: 100% !important;
    }

    #register-submit-btn {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }

    /* Pricing cards */
    .pricing-card {
        padding: 30px 20px;
    }

    /* Cookie banner mobile */
    #cookie-banner {
        flex-direction: column;
        padding: 20px;
        max-width: calc(100% - 32px);
    }

    #cookie-banner .btn {
        width: 100%;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px !important;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .pricing-price {
        font-size: 36px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Form Animations */
.login-form-container,
.register-form-container {
    animation: fadeInUp 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.login-form-container {
    animation-delay: 0.1s;
}

.register-form-container {
    animation-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
    .login-form-container,
    .register-form-container {
        animation: none;
        opacity: 1;
    }
}

.login-form input[type="email"],
.login-form input[type="password"],
.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"],
.register-form select,
.register-form textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-form select {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    min-height: 44px;
    cursor: pointer;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus,
.register-form input[type="text"]:focus,
.register-form input[type="email"]:focus,
.register-form input[type="password"]:focus,
.register-form select:focus,
.register-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.login-form input[type="email"]:hover,
.login-form input[type="password"]:hover,
.register-form input[type="text"]:hover,
.register-form input[type="email"]:hover,
.register-form input[type="password"]:hover,
.register-form select:hover,
.register-form textarea:hover {
    border-color: var(--primary-light);
}

