:root {
    --bg-color: #0d0d12;
    --text-main: #FFFFFF;
    --text-muted: #8b8f98;
    --accent: #007AFF;
    --accent-glow: rgba(0, 122, 255, 0.12);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.06);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-glow {
    position: absolute;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 60vh;
    background: radial-gradient(ellipse at top, var(--accent-glow), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.top-nav .nav-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.top-nav .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.top-nav .nav-links a:hover {
    color: var(--text-main);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.home-main {
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.legal-main {
    padding: 4rem 2rem;
    width: 100%;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 4rem;
    max-width: 580px;
}

.apps-section {
    width: 100%;
    max-width: 520px;
    text-align: left;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    color: #B5CEE0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding-left: 4px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 26, 46, 0.5);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card:hover {
    border-color: rgba(181, 206, 224, 0.3);
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 13px;
    flex-shrink: 0;
    display: block;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-name {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.app-desc {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.5;
}

.app-arrow {
    color: #94A3B8;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.app-card:hover .app-arrow {
    color: #B5CEE0;
    transform: translateX(2px);
}

.contact-wrap {
    margin-top: 4rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #000000;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-btn:hover {
    transform: scale(1.04);
    background: #f0f0f0;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
    width: 100%;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    font-weight: 500;
}

.legal-content p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 1.25rem;
    margin-left: 1.5rem;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: #e2e2e2;
}

footer {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

@media (max-width: 600px) {
    .top-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .home-main {
        padding: 1.5rem;
    }

    .legal-main {
        padding: 2rem 1.5rem;
    }

    .app-card {
        padding: 16px;
    }

    .legal-content {
        padding: 2rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .bg-glow {
        height: 40vh;
    }
}
