/* Font Imports */
html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    /* Color Palette - Premium & Trustworthy */
    --primary-color: #0f172a;
    /* Deep Slate Blue - Authority */
    --primary-light: #334155;
    /* Lighter Slate */
    --accent-color: #cca43b;
    /* Muted Gold - Premium */
    --accent-hover: #e5c155;

    --text-main: #1e293b;
    /* Slate 800 - Readable Text */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #f8fafc;
    /* Slate 50 */

    --bg-body: #f1f5f9;
    /* Very Light Blue-Grey */
    --bg-surface: #ffffff;

    /* Shadows */
    --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-glow: 0 0 15px rgba(204, 164, 59, 0.3);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    line-height: 1.25;
    font-weight: 700;
}

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

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

/* Layout */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

/* Components: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Components: Cards */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
    height: 70px;
    /* Compress slightly on scroll */
}

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

.navbar-fullwidth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2.5rem;
}

.menu-toggle {
    display: none;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.025em;
    transition: var(--transition);
}

header.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

header.scrolled .nav-links li a {
    color: var(--primary-color);
}

.btn-dashboard-nav,
.btn-logout-nav {
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-dashboard-nav {
    background: var(--accent-color);
    color: var(--primary-color) !important;
}

.btn-dashboard-nav:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-glow);
}

.btn-logout-nav {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.btn-logout-nav:hover {
    background: #dc2626;
    color: white !important;
    border-color: #dc2626;
}

header.scrolled .btn-logout-nav {
    background: rgba(220, 38, 38, 0.05);
}

header.scrolled .btn-logout-nav:hover {
    background: #dc2626;
    color: white !important;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 50px;
}

header.scrolled .lang-switch {
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background-color: var(--bg-surface);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

header.scrolled .lang-btn {
    color: var(--primary-color);
}

header.scrolled .lang-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.65)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 900px;
    color: var(--text-light);
    z-index: 1;
}

/* Hero badge pill */
.hero-badge {
    display: inline-block;
    background: rgba(204, 164, 59, 0.2);
    border: 1px solid rgba(204, 164, 59, 0.5);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero dual CTA buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
    letter-spacing: 0.025em;
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Scroll down chevron indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
    transition: color 0.2s;
    z-index: 2;
}

.scroll-indicator:hover {
    color: var(--accent-color);
}

@keyframes bounce {

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

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

/* Page Headers (Specific Images) */
.page-header {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--text-light);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
    z-index: 0;
}

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

.page-header h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.header-contact {
    background-image: url('https://images.unsplash.com/photo-1596524430615-b46475ddff6e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.header-producers {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.header-buyers {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.header-calendar {
    background-image: url('https://images.unsplash.com/photo-1540575467063-17e6fc8c62d8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.header-about {
    background-image: url('../images/about_hero.webp');
}

/* Forms */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info,
.contact-form {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    background-color: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

/* Tables (Calendar) */
.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.calendar-table th {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
}

.calendar-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.calendar-table tr:hover td {
    background-color: #f8fafc;
}

.calendar-table tr:last-child td {
    border-bottom: none;
}

/* ── Homepage: Expo Preview Section ── */
.expo-preview-section {
    background: #f8fafc;
}

.expo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.expo-preview-card {
    background: var(--bg-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    border: 1px solid #e8edf4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.expo-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.11);
}

.expo-preview-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    flex-shrink: 0;
}

.expo-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.expo-preview-card:hover .expo-preview-img img {
    transform: scale(1.05);
}

.expo-preview-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expo-preview-img-placeholder i {
    font-size: 2.5rem;
    color: rgba(204, 164, 59, 0.35);
}

.expo-preview-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.expo-preview-badge.open {
    background: rgba(34, 197, 94, 0.85);
    color: #fff;
}

.expo-preview-badge.closed {
    background: rgba(100, 116, 139, 0.8);
    color: #fff;
}

.expo-preview-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.expo-preview-body h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.expo-preview-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.expo-preview-meta span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.expo-preview-meta i {
    color: var(--accent-color);
    width: 14px;
    flex-shrink: 0;
}

.expo-preview-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-top: 0.25rem;
    flex: 1;
}

.expo-preview-deadline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.expo-preview-deadline i {
    color: var(--accent-color);
    flex-shrink: 0;
}

.expo-preview-deadline strong {
    color: var(--text-main);
    font-weight: 600;
}

.expo-preview-footer {
    text-align: center;
    padding-top: 1rem;
}

.expo-preview-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.expo-preview-empty i {
    font-size: 2.5rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 0.75rem;
}

.expo-preview-empty p {
    font-size: 0.95rem;
}

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


/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    color: var(--text-light) !important;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #4ade80;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    width: fit-content;
    transition: var(--transition);
}

.footer-whatsapp:hover {
    background: rgba(37, 211, 102, 0.25);
    color: #4ade80;
}

.footer-whatsapp .fab {
    font-size: 1.1rem;
}

.footer-heading {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color 0.2s;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Page Specific: About */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-img {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-text {
    flex: 1;
}

/* Page Specific: Buyers (Industry Grid) */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.industry-item {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.industry-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.industry-item h4 {
    margin-top: 1rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

/* Page Specific: Producers (Form Box) */
.form-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Utils & Animations */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

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

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

/* IntersectionObserver-triggered fade-in */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Title Component */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-title-bar {
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: 4px;
    margin: 0 auto 1.25rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Stats Bar */
.stats-bar {
    background: var(--primary-color);
    padding: 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 2rem 3rem;
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .stats-grid {
        flex-direction: column;
        gap: 0;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .stat-item {
        padding: 1.5rem 2rem;
        width: 100%;
    }
}

/* Card Feature (homepage service cards) */
.card-feature {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.card-icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.card-icon-gold {
    background: rgba(204, 164, 59, 0.12);
    color: var(--accent-color);
}

.card-icon-green {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.card-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.card-feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 0.5rem;
    transition: gap 0.2s, opacity 0.2s;
    gap: 0.25rem;
}

.card-link:hover {
    gap: 0.5rem;
    opacity: 0.85;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 4rem 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.cta-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    letter-spacing: 0.025em;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-actions {
        justify-content: center;
    }

    .cta-banner-text h2 {
        font-size: 1.6rem;
    }
}

/* btn-login-nav (Giriş in navbar, unauthenticated) */
.btn-login-nav {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    padding: 0.4rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: background 0.2s, box-shadow 0.2s !important;
}

.btn-login-nav:hover {
    background: var(--accent-hover) !important;
    box-shadow: var(--shadow-glow) !important;
    color: var(--primary-color) !important;
}

header.scrolled .btn-login-nav {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

/* btn-signup-nav (Kayıt Ol in navbar) */
.btn-signup-nav {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    padding: 0.4rem 1.1rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: background 0.2s, color 0.2s !important;
}

.btn-signup-nav:hover {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

header.scrolled .btn-signup-nav {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
}

/* btn-subscription-nav (Abonelik in navbar) */
.btn-subscription-nav {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(204, 164, 59, 0.15), rgba(204, 164, 59, 0.08)) !important;
    border: 1.5px solid rgba(204, 164, 59, 0.55) !important;
    color: var(--accent-color) !important;
    padding: 0.4rem 1rem !important;
    border-radius: 50px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s !important;
}

.btn-subscription-nav i {
    font-size: 0.78rem;
}

.btn-subscription-nav:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 0 12px rgba(204, 164, 59, 0.4) !important;
}

.btn-subscription-nav::after {
    display: none !important;
}

header.scrolled .btn-subscription-nav {
    background: linear-gradient(135deg, rgba(204, 164, 59, 0.12), rgba(204, 164, 59, 0.05)) !important;
    border-color: rgba(204, 164, 59, 0.6) !important;
    color: var(--accent-color) !important;
}

header.scrolled .btn-subscription-nav:hover {
    background: var(--accent-color) !important;
    color: #fff !important;
}

/* Mobile drawer: subscription button */
.nav-links .btn-subscription-nav {
    border-color: rgba(204, 164, 59, 0.5) !important;
}

/* ── User Dropdown ── */
.nav-user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 5px 12px 5px 5px;
    cursor: pointer;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    vertical-align: middle;
    transition: background 0.2s, border-color 0.2s;
}

.nav-user-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(204,164,59,0.5);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cca43b, #b8922e);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.nav-user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-caret {
    font-size: 0.65rem;
    transition: transform 0.2s;
    opacity: 0.7;
}

.nav-user-btn[aria-expanded="true"] .nav-user-caret {
    transform: rotate(180deg);
}

.nav-user-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    min-width: 160px;
    list-style: none;
    padding: 6px;
    z-index: 999;
    animation: dropdownFadeIn 0.15s ease;
}

.nav-user-menu.open {
    display: block;
}

.nav-user-menu li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.nav-user-menu li a::after { display: none; }

.nav-user-menu li a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.nav-user-menu li a i {
    color: #cca43b;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

header.scrolled .nav-user-btn {
    background: rgba(15, 23, 42, 0.07);
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--primary-color);
}

header.scrolled .nav-user-btn:hover {
    background: rgba(15, 23, 42, 0.12);
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile: flatten dropdown */
@media (max-width: 768px) {
    .nav-user-dropdown {
        display: flex;
        flex-direction: column;
    }

    .nav-user-btn {
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 0;
        padding: 0.85rem 1.5rem;
        color: rgba(255, 255, 255, 0.78);
        width: 100%;
        justify-content: flex-start;
        font-size: 0.95rem;
    }

    .nav-user-btn:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.04);
    }

    .nav-user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .nav-user-menu {
        position: static;
        display: none;
        flex-direction: column;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        padding: 0;
        animation: none;
        width: 100%;
    }

    .nav-user-menu.open {
        display: flex;
    }

    .nav-user-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        margin: 0;
    }

    .nav-user-menu li a {
        color: rgba(255, 255, 255, 0.7);
        padding: 0.75rem 1.5rem 0.75rem 2.5rem;
        font-size: 0.9rem;
        border-bottom: none;
    }

    .nav-user-menu li a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        padding-left: 3rem;
    }

    .nav-user-menu li a i {
        color: #cca43b;
        width: 16px;
    }
}

/* nav-right: wraps lang-switch + hamburger cleanly */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ── Mobile drawer overlay (hidden on desktop) ── */
.nav-overlay {
    display: none;
}

@media (max-width: 768px) {

    /* ── Navbar bar ── */
    header {
        background: var(--primary-color);
        height: 64px;
    }

    header.scrolled {
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(12px);
        height: 64px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }

    /* ── Mobile: re-invert scrolled colours (dark header, not white) ── */
    header.scrolled .logo {
        color: var(--text-light);
    }

    header.scrolled .nav-links li a {
        color: rgba(255, 255, 255, 0.78);
    }

    header.scrolled .lang-switch {
        background: rgba(255, 255, 255, 0.1);
    }

    header.scrolled .lang-btn {
        color: rgba(255, 255, 255, 0.8);
    }

    header.scrolled .lang-btn.active {
        background-color: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

    header.scrolled .nav-user-btn {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.18);
        color: var(--text-light);
    }

    header.scrolled .nav-user-btn:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    /* ── Hamburger button ── */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        cursor: pointer;
        color: rgba(255, 255, 255, 0.9);
        z-index: 1100;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        transition: var(--transition);
        flex-shrink: 0;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.18);
    }

    .nav-right {
        gap: 0.5rem;
    }

    /* ── Dim overlay ── */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        top: 64px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 1049;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

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

    /* ── Drawer panel ── */
    .nav-links {
        position: fixed;
        top: 64px;
        right: -100%;
        width: min(300px, 82vw);
        height: calc(100dvh - 64px);
        background: #0d1526;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        box-shadow: -6px 0 32px rgba(0, 0, 0, 0.5);
        padding: 0.5rem 0 2rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

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

    /* ── Nav items ── */
    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.78);
        letter-spacing: 0.01em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        transition: background 0.15s, color 0.15s, padding-left 0.15s;
    }

    .nav-links li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        padding-left: 2rem;
    }

    .nav-links li a::after {
        display: none;
    }

    /* ── Keep link colour white on scroll ── */
    header.scrolled .nav-links li a {
        color: rgba(255, 255, 255, 0.78);
    }

    /* ── Subscription pill ── */
    .nav-links li:has(.btn-subscription-nav) {
        padding: 0.75rem 1.25rem;
        border-bottom: none;
        overflow: visible;
    }

    .nav-links .btn-subscription-nav {
        display: flex !important;
        justify-content: center;
        padding: 0.7rem 1.25rem !important;
        border-radius: 10px !important;
        border: 1px solid rgba(204, 164, 59, 0.4) !important;
        background: rgba(204, 164, 59, 0.08) !important;
        color: var(--accent-color) !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        box-shadow: none !important;
    }

    .nav-links .btn-subscription-nav::after {
        display: none !important;
    }

    .nav-links .btn-subscription-nav:hover {
        background: var(--accent-color) !important;
        color: var(--primary-color) !important;
        padding-left: 1.25rem !important;
    }

    /* ── Login / Dashboard CTA ── */
    .nav-links li:has(.btn-login-nav),
    .nav-links li:has(.btn-dashboard-nav) {
        padding: 0 1.25rem 0.75rem;
        border-bottom: none;
        overflow: visible;
    }

    .nav-links .btn-login-nav,
    .nav-links .btn-dashboard-nav {
        display: flex !important;
        justify-content: center;
        padding: 0.7rem 1.25rem !important;
        border-radius: 10px !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        border: none !important;
        box-shadow: none !important;
        background: var(--accent-color) !important;
        color: var(--primary-color) !important;
    }

    .nav-links .btn-login-nav::after,
    .nav-links .btn-dashboard-nav::after {
        display: none !important;
    }

    .nav-links .btn-login-nav:hover,
    .nav-links .btn-dashboard-nav:hover {
        background: var(--accent-hover) !important;
        padding-left: 1.25rem !important;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .hero-cta-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .page-header {
        height: 50vh;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }
}

/* Auth Pages (Login & Signup) */
.auth-page {
    background: linear-gradient(rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.62)),
        url('../images/izmir_port.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-page header:not(.scrolled) {
    background: transparent;
}

.auth-page header:not(.scrolled) .logo,
.auth-page header:not(.scrolled) .nav-links li a,
.auth-page header:not(.scrolled) .menu-toggle {
    color: var(--text-light);
}

.auth-page .login-container,
.auth-page .signup-container,
.auth-page .profile-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 1rem 60px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: 0 32px 72px -12px rgba(0, 0, 0, 0.55);
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeUp 0.5s ease-out;
}

.signup-container .auth-card {
    max-width: 800px;
}

/* Card heading */
.auth-card h2 {
    margin-bottom: 1.75rem;
    text-align: center;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: none !important;
    letter-spacing: -0.02em;
}

/* Auth subtitle */
.auth-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
    margin-top: -1rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

/* Alerts */
.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.alert-error,
.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.alert-info,
.alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

/* Error & success inline messages */
.error-message {
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.error-message::before {
    content: '⚠';
    font-size: 0.72rem;
}

.non-field-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Form layout */
.auth-card .form-group {
    margin-bottom: 1.2rem;
}

.auth-card .form-group label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

/* Two-column form row */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 520px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Input with eye-toggle wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .form-control {
    padding-right: 3rem;
}

.btn-eye {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    font-size: 1rem;
    line-height: 1;
}

.btn-eye:hover {
    color: var(--accent-color);
}

/* Base input */
.auth-card .form-control {
    background: rgba(248, 250, 252, 0.9);
    border: 1.5px solid #e2e8f0;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-card .form-control:focus {
    background: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(204, 164, 59, 0.14);
}

.auth-card .form-control.is-invalid {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

/* Submit button - accent gradient with shimmer on hover */
.auth-card .btn-auth {
    width: 100%;
    margin-top: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--accent-color, #cca43b) 0%, #a87d20 100%);
    color: #fff;
    border-radius: var(--radius-md) !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
    box-shadow: 0 4px 16px rgba(204, 164, 59, 0.35);
    position: relative;
    overflow: hidden;
}

.auth-card .btn-auth::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.auth-card .btn-auth:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204, 164, 59, 0.45);
}

.auth-card .btn-auth:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(204, 164, 59, 0.3);
}

.auth-card .btn-auth:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading spinner inside button */
.auth-card .btn-auth.loading {
    color: transparent;
    pointer-events: none;
}

.auth-card .btn-auth.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Divider / link-text */
.auth-card .link-text {
    text-align: center;
    margin-top: 1.75rem;
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.auth-card .link-text a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.18s;
}

.auth-card .link-text a:hover {
    border-bottom-color: var(--accent-color);
}

/* Forgot password row */
.forgot-password-link {
    text-align: right;
    margin-top: 0.35rem;
}

.forgot-password-link a {
    font-size: 0.82rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password-link a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-card h2 {
        font-size: 1.6rem;
    }
}

/* Conditional Fields for Signup */
.conditional-fields {
    display: none;
    margin-top: 1.25rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.03);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.conditional-fields.active {
    display: block;
    margin-bottom: 1.5rem;
    animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(204, 164, 59, 0.2);
    letter-spacing: 0.01em;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.04);
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    margin-bottom: 0.75rem;
}

.form-check:hover {
    background: rgba(15, 23, 42, 0.07);
}

.form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
}

/* Required asterisk */
.required {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-left: 1px;
}

/* ══════════════════════════════════════════════
   HOMEPAGE EXPANDED SECTIONS
   ══════════════════════════════════════════════ */

/* Background utility */
.bg-light-surface {
    background: var(--bg-body);
}

/* ── How It Works ── */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.how-it-works-grid::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    opacity: 0.35;
    z-index: 0;
}

.how-step {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(204, 164, 59, 0.1);
    transition: var(--transition);
}

.how-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(204, 164, 59, 0.3);
}

.how-step-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    opacity: 0.85;
    line-height: 1;
}

.how-step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.how-step-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid::before {
        display: none;
    }
}

/* ── Feature List (buyer/producer sections) ── */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.25rem 0 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.feature-list li .fas.fa-check-circle {
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

/* ── Feature Split Layout ── */
.feature-split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.feature-split-reverse .feature-split-inner {
    direction: rtl;
}

.feature-split-reverse .feature-split-inner>* {
    direction: ltr;
}

.feature-split-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.feature-split-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .feature-split-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-split-text h2 {
        font-size: 1.6rem;
    }
}

/* ── Mockup Card (browser-style UI preview) ── */
.mockup-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mockup-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 32px 80px -16px rgba(15, 23, 42, 0.22);
}

.mockup-header {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-dot.red {
    background: #f87171;
}

.mockup-dot.yellow {
    background: #fbbf24;
}

.mockup-dot.green {
    background: #4ade80;
}

.mockup-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
}

.mockup-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Buyer mockup – search bar */
.mockup-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.mockup-search .fas {
    font-size: 0.75rem;
    color: #cbd5e1;
}

/* Buyer mockup – producer rows */
.mockup-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-producer-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.mockup-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.mockup-avatar.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.mockup-avatar.gold {
    background: linear-gradient(135deg, #cca43b, #a07a1e);
}

.mockup-avatar.green {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.mockup-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-name {
    height: 10px;
    background: #cbd5e1;
    border-radius: 4px;
    width: 70%;
}

.mockup-name.wide {
    width: 85%;
}

.mockup-meta {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    width: 50%;
}

.mockup-meta.short {
    width: 35%;
}

.mockup-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    border-radius: 50px;
    padding: 0.15rem 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Producer mockup – mini stats */
.mockup-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.mockup-stat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mockup-stat-num {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.mockup-stat-lbl {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Producer mockup – product list */
.mockup-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-product-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.mockup-product-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    flex-shrink: 0;
}

.mockup-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-status {
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.15rem 0.5rem;
    flex-shrink: 0;
}

.mockup-status.active {
    color: #16a34a;
    background: #dcfce7;
}

/* ── Storefront Section ── */
.storefront-showcase {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* URL bar demo */
.url-bar {
    background: #f1f5f9;
    border-radius: 10px 10px 0 0;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.url-bar-dots {
    display: flex;
    gap: 5px;
}

.url-bar-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.url-bar-dots span:nth-child(1) {
    background: #f87171;
}

.url-bar-dots span:nth-child(2) {
    background: #fbbf24;
}

.url-bar-dots span:nth-child(3) {
    background: #4ade80;
}

.url-bar-input {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
    color: #64748b;
    flex: 1;
    font-family: 'Inter', monospace;
}

.url-text {
    color: #475569;
}

.url-highlight {
    color: var(--accent-color);
    font-weight: 700;
    transition: opacity 0.3s ease;
}

/* Storefront preview card */
.storefront-preview {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.14);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sp-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.sp-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    flex-shrink: 0;
}

.sp-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sp-brand-name {
    height: 11px;
    width: 65%;
    background: #1e293b;
    border-radius: 4px;
}

.sp-brand-meta {
    height: 8px;
    width: 45%;
    background: #cbd5e1;
    border-radius: 4px;
}

.sp-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    border-radius: 50px;
    padding: 0.2rem 0.6rem;
    flex-shrink: 0;
}

.sp-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.sp-product-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sp-product-img {
    aspect-ratio: 1;
    border-radius: 6px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.sp-product-img.img1 {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.sp-product-img.img2 {
    background: linear-gradient(135deg, #fef9c3, #fde68a);
}

.sp-product-img.img3 {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.sp-product-caption {
    height: 8px;
    width: 80%;
    background: #cbd5e1;
    border-radius: 3px;
}

.sp-product-caption.short {
    width: 55%;
}

/* Storefront benefits list */
.storefront-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 1rem;
}

.storebenefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.storebenefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(204, 164, 59, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.storebenefit-item h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.storebenefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.storebenefit-item p strong {
    color: var(--accent-color);
}

@media (max-width: 960px) {
    .storefront-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

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