/* -----------------------------------------------------------
   style.css - StitchSend Landing Page
   ----------------------------------------------------------- */

/* 1. STANDARD (LIGHT MODE) */
:root {
    --primary: #6c63ff;          /* Lila aus dem Icon */
    --primary-hover: #5a52d5;
    --secondary: #2a9d8f;        /* Petrol aus dem Icon */
    
    --bg-gradient-start: #f8f9fa;
    --bg-gradient-end: #e9ecef;
    --card-bg: #ffffff;
    
    --text-main: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --btn-bg-hover: rgba(0, 0, 0, 0.05);
}

/* 2. AUTOMATISCH: SYSTEM DARK MODE */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #8ca0ff;
        --primary-hover: #a3b3ff;
        --secondary: #4db6ac;
        
        --bg-gradient-start: #1a202c;
        --bg-gradient-end: #2d3748;
        --card-bg: #2d3748;
        
        --text-main: #f7fafc;
        --text-muted: #a0aec0;
        --border-color: #4a5568;
        
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        --btn-bg-hover: rgba(255, 255, 255, 0.1);
    }
}

/* 3. MANUELL: FORCE LIGHT MODE (Überschreibt System) */
[data-theme="light"] {
    --primary: #6c63ff;
    --primary-hover: #5a52d5;
    --secondary: #2a9d8f;
    --bg-gradient-start: #f8f9fa;
    --bg-gradient-end: #e9ecef;
    --card-bg: #ffffff;
    --text-main: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --btn-bg-hover: rgba(0, 0, 0, 0.05);
}

/* 4. MANUELL: FORCE DARK MODE (Überschreibt System) */
[data-theme="dark"] {
    --primary: #8ca0ff;
    --primary-hover: #a3b3ff;
    --secondary: #4db6ac;
    --bg-gradient-start: #1a202c;
    --bg-gradient-end: #2d3748;
    --card-bg: #2d3748;
    --text-main: #f7fafc;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --btn-bg-hover: rgba(255, 255, 255, 0.1);
}

/* --- GLOBALE STYLES --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.status-badge {
    background: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

/* Buttons (Theme & Lang) */
/* Buttons (Theme & Lang) */
.nav-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    
  
    display: inline-flex;       
    align-items: center;        
    justify-content: center;    
    height: 42px;              
    padding: 0 1.2rem;          
    
   
    width: auto;                
    min-width: 0;               
    white-space: nowrap;       
}

.nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--btn-bg-hover);
}

/* Main Content Wrapper */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin-bottom: 2rem;
    /* Schatten für bessere Sichtbarkeit */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

h1 {
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    /* Gradient Text */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.3);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

/* Intro Text */
.intro {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto;
    padding: 0 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 3rem;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-logo { width: 100px; }
    .controls { gap: 0.5rem; }
    header { padding: 1rem; }
    .nav-btn { min-width: auto; padding: 0.4rem 0.8rem; }
}