/* ===== eXODA KI Website – Styles ===== */
/* Color palette derived from app logo:
   Dark:    #0A0F1C, #111827
   Blue:    #007BFF (app primary)
   Cyan:    #00A0E0, #60C0E0
   Light:   #E0E8F0, #FFFFFF
*/

:root {
    --bg-dark: #0A0F1C;
    --bg-card: #111827;
    --bg-card-hover: #1A2335;
    --blue: #007BFF;
    --cyan: #00A0E0;
    --cyan-light: #60C0E0;
    --text: #E0E8F0;
    --text-muted: #8899AA;
    --text-heading: #FFFFFF;
    --gradient-start: #007BFF;
    --gradient-end: #00A0E0;
    --radius: 12px;
    --max-width: 1100px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--cyan-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.15);
    padding: 0 2rem;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-heading);
}

.navbar-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-heading);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 160, 224, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 700px;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    margin-bottom: 2rem;
    box-shadow: 0 0 60px rgba(0, 160, 224, 0.25);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 123, 255, 0.45);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(0, 160, 224, 0.3);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--text-heading);
    transform: translateY(-2px);
}

/* ===== Section commons ===== */
section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 160, 224, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 160, 224, 0.25);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-heading);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== How it works ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Platforms ===== */
.platforms {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.platform-icon {
    font-size: 2.5rem;
}

.platform span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(0, 123, 255, 0.05));
    border-top: 1px solid rgba(0, 160, 224, 0.1);
}

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

.cta p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 160, 224, 0.1);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

/* ===== Legal pages ===== */
.legal-page {
    padding-top: 100px;
    padding-bottom: 4rem;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 2.2rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.legal-content .legal-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 160, 224, 0.15);
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--cyan-light);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--text);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}

.legal-content th,
.legal-content td {
    text-align: left;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(0, 160, 224, 0.1);
    font-size: 0.95rem;
}

.legal-content th {
    color: var(--cyan-light);
    font-weight: 600;
}

.legal-content strong {
    color: var(--text-heading);
}

.legal-content a {
    word-break: break-all;
}

.legal-content hr {
    border: none;
    border-top: 1px solid rgba(0, 160, 224, 0.1);
    margin: 2rem 0;
}

/* ===== macOS Paste Flow ===== */
.paste-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.paste-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 160, 224, 0.1);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    transition: all 0.3s;
}

.paste-step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 160, 224, 0.25);
    transform: translateX(4px);
}

.paste-step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paste-step-content h3 {
    color: var(--text-heading);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.paste-step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

kbd {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text-heading);
    background: rgba(0, 160, 224, 0.12);
    border: 1px solid rgba(0, 160, 224, 0.25);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.paste-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.paste-info-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 160, 224, 0.1);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: all 0.3s;
}

.paste-info-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 160, 224, 0.25);
}

.paste-info-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.paste-info-card h4 {
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.paste-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Hilfe / Troubleshooting ===== */
.help-section {
    margin-bottom: 3rem;
}

.help-section h2 {
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 160, 224, 0.15);
}

.help-steps {
    counter-reset: helpstep;
}

.help-step {
    counter-increment: helpstep;
    position: relative;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 160, 224, 0.1);
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    transition: all 0.3s;
}

.help-step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 160, 224, 0.25);
}

.help-step::before {
    content: counter(helpstep);
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-step p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

.help-step strong {
    color: var(--text-heading);
}

.help-shortcut-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}

.help-shortcut-table th,
.help-shortcut-table td {
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 160, 224, 0.1);
    font-size: 0.95rem;
}

.help-shortcut-table th {
    color: var(--cyan-light);
    font-weight: 600;
}

.help-shortcut-table td {
    color: var(--text);
}

.help-terminal {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 160, 224, 0.15);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--cyan-light);
    margin: 1rem 0;
    overflow-x: auto;
}

.help-tip {
    background: rgba(0, 123, 255, 0.08);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.help-tip p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

.help-tip strong {
    color: var(--cyan-light);
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--cyan-light);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.faq-item p {
    color: var(--text);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.05rem;
    }

    .hero-logo {
        width: 110px;
        height: 110px;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 28, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(0, 123, 255, 0.15);
    }

    .navbar-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .paste-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}