/* Help Me Fund It - Combined Styles */

/* =============================================
   CSS VARIABLES & RESET
   ============================================= */

:root {
    --bg-primary: #FAF7F2;
    --bg-secondary: #F0EBE3;
    --text-primary: #1A1A1A;
    --text-secondary: #5C5C5C;
    --accent: #E85A3C;
    --accent-hover: #D14A2E;
    --accent-light: #FFF0EC;
    --success: #2D8B5F;
    --border: #E0DCD4;
}

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

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(232, 90, 60, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 90, 60, 0.03) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E0DCD4' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: -0.03em;
}

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

h3 {
    font-size: 1.3rem;
}

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

/* =============================================
   LAYOUT
   ============================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.site-header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

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

.main-nav {
    display: flex;
    gap: 1.5rem;
    flex: 1;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* User menu */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--border);
    border-radius: 100px;
    padding: 0.3rem 1rem 0.3rem 0.3rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.user-menu-trigger:hover {
    border-color: var(--text-secondary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-name {
    font-weight: 500;
    color: var(--text-primary);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 0.5rem;
    display: none;
}

.user-menu-dropdown.show {
    display: block;
}

.user-menu-dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.user-menu-dropdown a:hover {
    background: var(--bg-secondary);
}

.user-menu-dropdown hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions .btn-secondary {
        display: none;
    }
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    white-space: nowrap;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

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

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

/* =============================================
   FORMS
   ============================================= */

.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    max-width: 480px;
    margin: 0 auto;
}

.form-card h1 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-group .hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

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

.form-actions {
    margin-top: 1.5rem;
}

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

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

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

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

/* Success/Error messages */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin-bottom: 1rem;
}

.form-success h3 {
    color: var(--success);
    margin-bottom: 0.5rem;
}

.form-fields.hide {
    display: none;
}

.form-error {
    background: #FFF0F0;
    color: #C53030;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.form-error.show {
    display: block;
}

/* =============================================
   FLASH MESSAGES
   ============================================= */

.flash {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.flash-success {
    background: #E8F5E9;
    color: #2E7D32;
}

.flash-error {
    background: #FFEBEE;
    color: #C62828;
}

.flash-info {
    background: #E3F2FD;
    color: #1565C0;
}

/* =============================================
   STYLED CHECKBOXES
   ============================================= */

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group label {
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}

.styled-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
    flex: 0 0 24px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    margin-top: 2px;
    transition: all 0.15s ease;
    position: relative;
}

.styled-checkbox:hover {
    border-color: var(--accent);
}

.styled-checkbox:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.styled-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.styled-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* =============================================
   HOMEPAGE - HERO
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-content {
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    position: relative;
}

.hero h1 em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 0.15em;
    background: var(--accent);
    opacity: 0.3;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Signup form (homepage) */
.signup-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    max-width: 500px;
}

.signup-form h3 {
    margin-bottom: 0.5rem;
}

.signup-form p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* =============================================
   HOMEPAGE - SECTIONS
   ============================================= */

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

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

.step {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

/* Comparison section */
.comparison {
    background: var(--text-primary);
    color: white;
    border-radius: 24px;
    padding: 4rem;
    margin: 2rem 0;
}

.comparison h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.comparison-col h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.comparison-col ul {
    list-style: none;
}

.comparison-col li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.comparison-col li::before {
    content: '✗';
    color: rgba(255, 255, 255, 0.4);
    font-weight: bold;
}

.comparison-col.us li::before {
    content: '✓';
    color: var(--accent);
}

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

/* CTA section */
.cta {
    text-align: center;
    padding: 6rem 0;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta .signup-form {
    margin: 0 auto;
}

/* =============================================
   PAGE HEADER
   ============================================= */

.page-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* =============================================
   IDEA CARDS
   ============================================= */

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

.idea-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.idea-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.idea-card-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

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

.idea-card-body {
    padding: 1.5rem;
}

.idea-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.idea-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.idea-card-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.idea-card-title a:hover {
    color: var(--accent);
}

.idea-card-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.idea-card-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

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

.idea-stat-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.idea-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.idea-card-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.idea-card-creator .user-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
}

/* =============================================
   IDEA DETAIL PAGE
   ============================================= */

.idea-hero {
    padding: 2rem 0;
}

.idea-hero-image {
    aspect-ratio: 21/9;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.idea-hero-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.idea-hero-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

/* Main content grid */
.idea-main {
    padding: 2rem 0 4rem;
}

.idea-main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

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

.idea-creator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.idea-creator .user-avatar {
    width: 40px;
    height: 40px;
}

.idea-creator-info {
    font-size: 0.9rem;
}

.idea-creator-info strong {
    display: block;
    color: var(--text-primary);
}

.idea-creator-info span {
    color: var(--text-secondary);
}

/* Pledge box */
.pledge-box {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.pledge-stats {
    margin-bottom: 2rem;
}

.pledge-stat-large {
    margin-bottom: 1rem;
}

.pledge-stat-large .value {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.pledge-stat-large .label {
    color: var(--text-secondary);
}

.pledge-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pledge-stats-row .value {
    font-weight: 700;
    font-size: 1.2rem;
}

.pledge-stats-row .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.price-point {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-point .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-point .value {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.idea-description {
    line-height: 1.8;
    color: var(--text-secondary);
}

.idea-description h2,
.idea-description h3,
.idea-description h4 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.idea-description h2:first-child,
.idea-description h3:first-child,
.idea-description h4:first-child {
    margin-top: 0;
}

.idea-description p {
    margin-bottom: 1rem;
}

.idea-description strong {
    color: var(--text-primary);
}

.idea-description a {
    color: var(--accent);
    text-decoration: underline;
}

.idea-description a:hover {
    text-decoration: none;
}

.idea-description ul,
.idea-description ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.idea-description li {
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .idea-main-grid {
        grid-template-columns: 1fr;
    }
    
    .idea-sidebar {
        position: static;
    }
    
    .idea-hero-image {
        aspect-ratio: 16/9;
    }
}

/* =============================================
   DASHBOARD
   ============================================= */

.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-sidebar {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.dashboard-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dashboard-nav a.active {
    font-weight: 600;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-main h1 {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-header h1 {
    margin-bottom: 0;
}

.dashboard-header .btn {
    flex-shrink: 0;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.dashboard-card h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-box .value {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-box .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
    }
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-brand .logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

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

/* =============================================
   BROWSE & FILTERS
   ============================================= */

.browse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.browse-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    font-family: inherit;
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--bg-secondary);
}

.pagination .current {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* =============================================
   LEGAL PAGES
   ============================================= */

.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* =============================================
   UTILITIES
   ============================================= */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-family: 'Syne', sans-serif;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state .btn {
    margin-top: 1.5rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */

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

.hero-content > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.hero-label { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.signup-form { animation-delay: 0.4s; }

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

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 640px) {
    html {
        font-size: 16px;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .signup-form {
        padding: 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}
