/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

body.projectstudenten-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

/* ==================== BUTTONS ==================== */
.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.ps-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow);
}

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

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

.ps-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.ps-btn-full {
    width: 100%;
}

/* ==================== HEADER ==================== */
.ps-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.ps-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.ps-logo-img {
    height: 2.5rem;
    width: auto;
}

.ps-nav {
    display: flex;
    gap: 2rem;
}

.ps-nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.ps-nav-link:hover {
    color: var(--primary);
}

.ps-header-actions {
    display: flex;
    gap: 0.75rem;
}

/* ==================== HERO ==================== */
.ps-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.ps-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.ps-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.ps-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.ps-hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.ps-stat {
    display: flex;
    flex-direction: column;
}

.ps-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.ps-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.ps-hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ==================== PROJECT CARDS ==================== */
.ps-projects-section {
    padding: 5rem 0;
    background: var(--background);
}

.ps-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ps-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ps-section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.ps-project-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ps-card-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ps-card-content {
    padding: 1.5rem;
}

.ps-card-company {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.ps-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.ps-card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ps-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.ps-tag {
    background: var(--background);
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.ps-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.ps-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success);
}

.ps-hours {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==================== SWIPE INTERFACE ==================== */
.ps-swipe-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 0;
}

.ps-swipe-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    cursor: grab;
}

.ps-swipe-card:active {
    cursor: grabbing;
}

.ps-swipe-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.ps-swipe-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.2s ease;
}

.ps-swipe-btn:hover {
    transform: scale(1.1);
}

.ps-swipe-btn-pass {
    background: var(--surface);
    border: 3px solid var(--danger);
    color: var(--danger);
}

.ps-swipe-btn-like {
    background: var(--surface);
    border: 3px solid var(--success);
    color: var(--success);
}

/* ==================== MATCHES ==================== */
.ps-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ps-match-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

/* ==================== PROFILE ==================== */
.ps-profile-section {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.ps-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ps-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ps-profile-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

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

.ps-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

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

/* ==================== AUTH FORMS ==================== */
.ps-auth-container {
    max-width: 450px;
    margin: 3rem auto;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.ps-auth-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .ps-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ps-hero-title {
        font-size: 2.5rem;
    }
    
    .ps-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .ps-hero-buttons {
        flex-direction: column;
    }
    
    .ps-nav {
        display: none;
    }
    
    .ps-matches-grid {
        grid-template-columns: 1fr;
    }
}