/* NIODOO UNIFIED DESIGN SYSTEM - Based on Landing Page Aesthetic */

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    font-weight: 200;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */
.logo {
    font-size: 24px;
    font-weight: 200;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.9;
}

.tagline {
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-top: 5px;
}

h1 {
    font-size: 32px;
    font-weight: 200;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 30px;
    opacity: 0.95;
}

h2 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
}

h3 {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.85;
}

p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.lead-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

.meta-text {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.body-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

/* ============================================
   NAVIGATION - CONSISTENT ACROSS ALL PAGES
   ============================================ */
.nav-header {
    position: fixed;
    top: 40px;
    left: 50px;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4a7fff, #ff4a7f);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    width: 100%;
}

/* ============================================
   LAYOUT SYSTEM
   ============================================ */
.container {
    min-height: 100vh;
    padding: 150px 50px 50px;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.narrow-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */
.minimal-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.minimal-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 40px;
}

/* ============================================
   BLOG POST LAYOUT
   ============================================ */
.blog-post-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content p {
    margin-bottom: 30px;
    line-height: 1.9;
}

.blog-post-content h2 {
    margin-top: 60px;
    margin-bottom: 30px;
}

.blog-post-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-left: 30px;
    margin-bottom: 30px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
}

.blog-post-content code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
}

.blog-post-content pre {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
}

/* ============================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================ */
.minimal-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 40px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.minimal-btn:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.minimal-btn.primary {
    border-color: rgba(74, 127, 255, 0.5);
    color: rgba(74, 127, 255, 0.9);
}

.minimal-btn.primary:hover {
    border-color: #4a7fff;
    color: #fff;
    background: rgba(74, 127, 255, 0.1);
}

/* ============================================
   FORMS
   ============================================ */
.minimal-form input,
.minimal-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 30px;
    transition: border-color 0.3s ease;
}

.minimal-form input:focus,
.minimal-form textarea:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.minimal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.minimal-form input::placeholder,
.minimal-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.accent-line {
    height: 1px;
    background: linear-gradient(90deg, #4a7fff 0%, #ff4a7f 100%);
    margin: 60px 0;
    opacity: 0.5;
}

.accent-line-vertical {
    width: 1px;
    background: linear-gradient(180deg, #4a7fff 0%, #ff4a7f 100%);
    opacity: 0.5;
}

.gradient-text {
    background: linear-gradient(90deg, #4a7fff 0%, #ff4a7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* ============================================
   FOOTER
   ============================================ */
.minimal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 50px;
    margin-top: 120px;
    text-align: center;
}

.minimal-footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-bottom: 10px;
}

.minimal-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.minimal-footer a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-header {
        left: 20px;
        top: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .container {
        padding: 120px 20px 40px;
    }

    h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 24px;
    }

    .minimal-card {
        padding: 30px 20px;
    }

    .grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .tagline {
        font-size: 9px;
    }

    h1 {
        font-size: 28px;
    }
}

/* ============================================
   SUBTLE ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
    outline: 2px solid rgba(74, 127, 255, 0.5);
    outline-offset: 4px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    .nav-header,
    .minimal-footer {
        display: none;
    }
}