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

:root {
    --color-bg: #000000;
    --color-bg-secondary: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-accent: #ff6b00;
    --color-accent-hover: #ff8533;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--color-text);
    text-decoration: none;
}

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

.nav-link:hover {
    color: var(--color-text);
}

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

.hero-content {
    text-align: center;
    max-width: 600px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 15vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-text p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.hero-highlight {
    color: var(--color-text) !important;
    font-weight: 600 !important;
}

.hero-subtitle {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* App Store Button */
.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--color-text);
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: default;
    opacity: 0.9;
}

.app-store-button:hover {
    transform: scale(1.02);
    opacity: 1;
}

.app-store-button svg {
    flex-shrink: 0;
}

.app-store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-store-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.app-store-text {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Hero Background Gradient */
.hero-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Blog Page Styles */
.page {
    padding: 6rem 2rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* Blog List */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    display: block;
    background: var(--color-bg-secondary);
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    border-color: #333;
    transform: translateY(-2px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Blog Post Styles */
.post {
    padding: 6rem 2rem 4rem;
    max-width: 720px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-date {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.post-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

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

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #ccc;
}

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

.post-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-bg-secondary);
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--color-text);
}

/* Utility */
.hidden {
    display: none !important;
}
