/* Base */
body {
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #cccccc;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Header */
.site-header {
    background-color: #101010;
    border-bottom: 1px solid #333;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f4c542;
    letter-spacing: 1px;
}

.nav-links a {
    color: #cccccc;
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.85rem;
}

.nav-links a:hover {
    color: #40e0d0;
}

/* Footer */
.site-footer {
    background-color: #101010;
    border-top: 1px solid #333;
    text-align: center;
    padding: 10px;
    font-size: 0.75rem;
    color: #666;
}

/* Typography */
h1, h2, h3 {
    color: #f4c542;
    font-weight: 500;
}

.positive {
    color: #00ff00;
}

.negative {
    color: #ff2e2e;
}

.interactive {
    color: #40e0d0;
}

.trust-line {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Main Content */
.main-content {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Layout */
.landing-page {
    padding: 4rem 2rem;
}

.split-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

/* Text Side */
.hero-text {
    flex: 1 1 300px;
    max-width: 500px;
}

.hero-text .headline {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f4c542;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.cta-section h2 {
    font-size: 1.6rem;
    color: #f4c542;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 90%;
}

/* Device Styling */
.device {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device img {
    display: block;
    width: 100%;
    height: auto;
}

.device-ipad {
    max-width: 460px;
}

.device-iphone {
    max-width: 220px;
    transform: translateX(20px);
}

.appstore-badge img {
    margin-top: 1rem;
    width: 160px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* Responsive */
@media (max-width: 900px) {
    .split-flex {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .hero-text,
    .device {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .device-ipad,
    .device-iphone {
        transform: none;
        max-width: 70%;
    }

    .appstore-badge img {
        max-width: 70%;
    }
}

/* features page */

.page-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-block {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-media {
    flex: 1 1 300px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-media img {
    max-width: 220px;
    height: auto;
    display: block;
}

.feature-text {
    flex: 1 1 400px;
}

.feature-text h2 {
    margin-bottom: 1rem;
    color: #f4c542;
    font-size: 1.6rem;
}

.feature-text p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
}

.feature-cta {
    text-align: center;
    margin-top: 5rem;
}

.feature-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.feature-cta img {
    width: 160px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.feature-cta img:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .feature-block {
        flex-direction: column;
        text-align: center;
    }

    .feature-block.reverse {
        flex-direction: column;
    }

    .feature-media {
        justify-content: center;
    }

    .feature-media img {
        max-width: 70%;
    }

    .feature-text {
        max-width: 100%;
    }
}

/* docs page */

.doc-section {
    margin-bottom: 2rem;
    border-top: 1px solid #333;
    padding-top: 1rem;
}

.doc-toggle {
    cursor: pointer;
    background-color: #2a2a2a;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.doc-toggle:hover {
    background-color: #3a3a3a;
}

.doc-toggle h2 {
    margin: 0;
    color: #f4c542;
    font-size: 1.3rem;
}

.doc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 1rem;
}

.doc-content.open {
    max-height: 800px;
    opacity: 1;
    padding-top: 1rem;
}

.doc-content p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* phone settings */

.split-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
}

.hero-text, .device-ipad, .device-iphone {
    flex: 1 1 300px;
    max-width: 100%;
    box-sizing: border-box;
}

.device {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device img {
    width: 100%;
    height: auto;
    display: block;
}

.device-iphone .iphone-img {
    max-width: 280px;
    height: auto;
}

.appstore-badge img {
    max-width: 160px;
    margin-top: 1rem;
}

.policy-page .doc-content {
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 1rem 0;
}

/* Mobile responsive tweaks */
@media (max-width: 768px) {
    .split-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-text, .device-ipad, .device-iphone {
        order: initial; /* Keep desktop order */
    }

    .device-iphone .iphone-img {
        max-width: 220px;
    }

    .headline {
        font-size: 1.8rem;
    }

    .subtitle, .trust-line {
        font-size: 1.2rem;
    }

    .cta-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
}


