/* 
   Koda Remote - Aurora Design System 
   University Project "Praxisbeispiel 1" 
   Style: Airy, Pastel, Modern Clean
*/

:root {
    /* Colors */
    --bg-color: #ffffff;
    --text-main: #111111;
    --text-muted: #555555;
    --primary: #000000;
    --primary-text: #ffffff;
    --accent-blue: #007aff;
    
    /* Aurora Gradients */
    --orb-blue: #E0F2FE;
    --orb-purple: #F3E8FF;
    --orb-pink: #FFE4E6;

    /* Spacing */
    --container-width: 1200px;
    --radius-pill: 100px;
    --radius-card: 24px;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* ------------------------------------------- */
/* Aurora Background Animation                 */
/* ------------------------------------------- */
.aurora-bg {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: -1;
    background: #fff;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: drift 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(0,0,0); /* Hardware accel */
}

.orb-1 { width: 60vw; height: 60vw; top: -10%; right: -10%; background: var(--orb-blue); }
.orb-2 { width: 50vw; height: 50vw; bottom: -10%; left: -10%; background: var(--orb-purple); animation-delay: -5s; }
.orb-3 { width: 40vw; height: 40vw; top: 40%; left: 30%; background: var(--orb-pink); animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* ------------------------------------------- */
/* Layout & Typography                         */
/* ------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-main);
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Helper Utilities */
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* ------------------------------------------- */
/* Navigation                                  */
/* ------------------------------------------- */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.001); /* Super subtle */
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-logo img {
    height: 32px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ------------------------------------------- */
/* Hero Section                                */
/* ------------------------------------------- */
.hero {
    padding-top: 140px; /* More space for navbar */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    min-height: 80vh; /* Full viewport feel */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side by side */
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left; /* Left align text */
    padding-right: 20px;
}

.ios-badge {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.ios-badge:hover {
    transform: scale(1.05);
}

.ios-badge::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.hero-title {
    font-size: 4.5rem; /* Slightly smaller for side-by-side */
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #111 0%, #444 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px; /* Limit width */
}

.hero-visual {
    margin-top: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 100%;
    max-width: 400px;
    /* Removed border-radius as it clips the device frame */
    /* Use drop-shadow to respect transparent pixels (avoids box border effect) */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ------------------------------------------- */
/* Buttons                                     */
/* ------------------------------------------- */
.btn-primary {
    /* Resetting default button styles for image-only link */
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Subtle shadow on hover */
}

.app-store-badge {
    height: 60px; /* Standard visible height */
    width: auto;
    display: block;
}

/* ------------------------------------------- */
/* Social Proof                                */
/* ------------------------------------------- */
.social-proof {
    padding: 40px 0;
    text-align: center;
    background: transparent; /* Cleaner */
    border-bottom: none;
}

.stars {
    color: #e0e0e0; /* Grey stars for placeholder */
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.social-text {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* ------------------------------------------- */
/* Comparison Section (Removed styles)         */
/* ------------------------------------------- */

/* ------------------------------------------- */
/* How It Works (Steps)                        */
/* ------------------------------------------- */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ------------------------------------------- */
/* Legal & Content Pages                       */
/* ------------------------------------------- */
.content-page {
    padding-top: 140px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.content-header {
    text-align: center;
    margin-bottom: 60px;
}

.content-body {
    padding: 0;
}

.content-body section {
    margin-bottom: 40px;
}

.content-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.content-body h2:first-child {
    margin-top: 0;
}

.content-body h3 {
    font-size: 1.3rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-body p {
    margin-bottom: 16px;
}

.content-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.content-body ul li {
    margin-bottom: 8px;
    list-style: disc;
}

.trademark-display {
    display: flex;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,0.02);
    border-radius: 16px;
    margin: 16px 0;
}

.trademark-image {
    max-width: 80px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* ------------------------------------------- */
/* Social Proof                                */
/* ------------------------------------------- */
.social-proof {
    padding: 60px 0;
    text-align: center;
    background: rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.stars {
    color: #FFC107;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.social-text {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ------------------------------------------- */
/* Comparison Section                          */
/* ------------------------------------------- */
.comparison {
    padding: 100px 0;
    background: #fff;
}

.comparison-table {
    margin-top: 60px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.comp-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    align-items: center;
}

.comp-row:last-child { border-bottom: none; }
.comp-row.header-row { background: #f9f9f9; font-weight: 700; }
.comp-row.highlight-row { background: #f0faff; }

.check { color: #10B981; font-weight: bold; }
.cross { color: #EF4444; font-weight: bold; }

/* ------------------------------------------- */
/* How It Works (Steps)                        */
/* ------------------------------------------- */
.steps {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    gap: 40px;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--text-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-card h3 { font-size: 1.25rem; margin-bottom: 12px; }

/* ------------------------------------------- */
/* FAQ Section                                 */
/* ------------------------------------------- */
.faq {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 16px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

details:hover { background: rgba(255,255,255,0.9); }

summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

details[open] summary::after { content: '−'; }

details[open] p {
    margin-top: 16px;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* ------------------------------------------- */
/* Footer                                      */
/* ------------------------------------------- */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 80px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ------------------------------------------- */
/* Mobile Responsiveness                       */
/* ------------------------------------------- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        font-size: 1.5rem;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero .container {
        grid-template-columns: 1fr; /* Stack on mobile */
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title { font-size: 3rem; }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Accessibility Focus States */
a:focus, button:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    z-index: 200;
}
.skip-link:focus { top: 20px; }
