/* ========================================
   VARIABLES & RESET
   ======================================== */
:root {
    --primary: #1e293b;
    --primary-dark: #0f172a;
    --primary-darker: #020617;
    --primary-light: #334155;
    --primary-lighter: #475569;
    --secondary: #64748b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --border: #e2e8f0;
    --shadow: rgba(30, 41, 59, 0.15);
    --shadow-hover: rgba(30, 41, 59, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    position: relative;
    overflow-x: hidden;
}

/* ========================================
   PARALLAX BACKGROUND
   ======================================== */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(59, 130, 246, 0.1));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 64, 175, 0.1));
    top: 30%;
    right: -150px;
    animation-delay: 5s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 58, 138, 0.05));
    bottom: -200px;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px var(--shadow), 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--primary);
    padding: 12px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header.scrolled .logo h1 {
    font-size: 1.25rem;
}

.logo:hover h1 {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--shadow-hover));
}

.logo-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: inline-block;
    animation: rotate 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.header.scrolled .logo-icon {
    font-size: 1.5rem;
}

.logo:hover .logo-icon {
    animation: rotate 0.6s ease-in-out;
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 2px;
    transition: all 0.3s ease;
}

.header.scrolled .tagline {
    font-size: 0.75rem;
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
    transition: gap 0.3s ease;
}

.header.scrolled .nav {
    gap: 25px;
}

.header.scrolled .nav-link.btn-primary {
    background: linear-gradient(135deg, rgba(30, 41, 59, 1), rgba(15, 23, 42, 1));
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    color: white;
}

.header.scrolled .nav-link.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.6), 0 0 40px rgba(96, 165, 250, 0.3);
    color: white;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    position: relative;
}

.nav-link.btn-primary {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    color: white;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    transform: none !important;
}

.nav-link.btn-primary:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 1), rgba(15, 23, 42, 1));
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.6), 0 0 40px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.4);
    color: white;
    transform: none !important;
}

.nav-link.btn-primary::after {
    display: none;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 2px 20px rgba(96, 165, 250, 0.4), 0 0 30px rgba(96, 165, 250, 0.2);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: 0.3s;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    color: white;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 1), rgba(15, 23, 42, 1));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.4);
    border-color: rgba(96, 165, 250, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    color: white;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 1), rgba(15, 23, 42, 1));
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.4);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Hero Background Image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Bilder/Hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(8px);
    z-index: 0;
}

/* Dark Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.highlight {
    color: #60a5fa;
    position: relative;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--primary-light);
    opacity: 0.3;
    z-index: -1;
    animation: highlightGrow 1s ease-out forwards;
}

@keyframes highlightGrow {
    from { width: 0%; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 160px 0;
}

.section-gray {
    background: var(--bg-light);
    position: relative;
}

.section-gray::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
    opacity: 1;
    border-radius: 50%;
}

.parallax-layer {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-text h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.about-text ul {
    list-style: none;
    margin: 15px 0 20px 0;
    padding: 0;
}

.about-text ul li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.about-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.about-image {
    text-align: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 5px solid var(--primary);
    box-shadow: 0 10px 30px var(--shadow-hover);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.placeholder-image {
    width: 250px;
    height: 250px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin: 0 auto 15px;
    border: 5px solid var(--primary);
}

.image-caption {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.project-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

.project-image.white-bg {
    background: #ffffff;
}

.project-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-50%, -50%); opacity: 0.3; }
    50% { transform: translate(0%, 0%); opacity: 0.5; }
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: var(--bg-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text);
    border: 1px solid var(--border);
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
    margin-right: 15px;
}

.project-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.skill-list {
    list-style: none;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-list li {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    margin: 0 -12px;
    border-radius: 8px;
}

.skill-header:hover {
    background: var(--bg-lighter);
    transform: translateX(3px);
}

.skill-header:hover .skill-name {
    color: var(--primary);
}

.skill-toggle {
    font-size: 0.85rem;
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
    user-select: none;
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
}

.skill-header:hover .skill-toggle {
    color: var(--primary-dark);
}

.skill-item.active .skill-header {
    background: var(--bg-lighter);
}

.skill-item.active .skill-toggle {
    transform: rotate(90deg);
    color: var(--primary-dark);
}

.skill-name {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.skill-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 6px 0 0 0;
    line-height: 1.5;
}

.skill-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0 12px;
}

.skill-item.active .skill-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
    padding: 12px;
    background: var(--bg-light);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
}

.skill-description .inline-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.skill-description .inline-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.skill-bar {
    height: 10px;
    background: var(--bg-gray);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    border-radius: 5px;
    transition: width 1s ease;
    box-shadow: 0 0 15px var(--shadow-hover);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: skillShine 2s ease-in-out infinite;
}

@keyframes skillShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    animation: fadeOut 0.3s forwards;
}

.scroll-indicator span {
    font-size: 1.5rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.contact-item .icon svg {
    width: 24px;
    height: 24px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--text);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.footer-left p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    color: white;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 50px 0;
    }
}

/* Navbar collapse (Bootstrap) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--border);
        padding: 10px 0;
        margin: 0 -20px;
        padding: 10px 20px;
    }

    .navbar-collapse .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .navbar-collapse .nav-link {
        padding: 10px 0;
        width: 100%;
    }

    .navbar-collapse .nav-link.btn-primary {
        margin-top: 8px;
        text-align: center;
        border-radius: 8px;
        display: block;
    }
}

/* ========================================
   LEGAL PAGES (IMPRESSUM & DATENSCHUTZ)
   ======================================== */
.legal-page {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.legal-content h1 {
    color: var(--primary-darker);
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 700;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.legal-content h3 {
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text);
}

.legal-content ul {
    margin-bottom: 15px;
    line-height: 1.8;
    padding-left: 25px;
    color: var(--text);
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}
