@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-hover: rgba(255, 255, 255, 0.06);
    --accent: #ffffff;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
.glow-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

.glow-blob.right {
    top: auto;
    bottom: -200px;
    left: auto;
    right: -200px;
}

header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    min-height: 80vh;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #777777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* Screenshots Gallery */
.screenshots {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 1rem 4rem 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.screenshots::-webkit-scrollbar {
    display: none;
}

.screenshots img {
    flex: 0 0 auto;
    height: 560px;
    width: auto;
    border-radius: 32px; /* iOS style corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-hover);
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshots img:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Document Styles */
.document-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.document-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.document-container p.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.document-container h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    font-weight: 600;
}

.document-container h3 {
    font-size: 1.1rem;
    color: #cccccc;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.document-container p {
    color: #aaaaaa;
    margin-bottom: 1rem;
}

.document-container ul {
    color: #aaaaaa;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.document-container li {
    margin-bottom: 0.5rem;
}

.document-container a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

footer {
    text-align: center;
    padding: 4rem 5%;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

@media (max-width: 768px) {
    .document-container {
        padding: 2rem;
        border-radius: 16px;
    }
    .nav-links {
        display: none;
    }
}
