/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: #000000;
    background-color: #ffffff;
    min-height: 100vh;
}

body.home {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Layout */
.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    margin: 0 auto;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

/* Animation Container */
.animation-container {
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-container {
    width: 500px;
    height: 500px;
}

.machine-boundary {
    position: relative;
    width: 240px;
    height: 160px;
    border: 2px solid #000000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.code-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(11, 27, 43, 0.6), transparent);
    border-radius: 1px;
    opacity: 0;
}

.line-1 {
    top: 20%;
    left: 0;
    width: 60%;
    animation: flow-1 3s ease-in-out infinite;
}

.line-2 {
    top: 35%;
    right: 0;
    width: 45%;
    animation: flow-2 3s ease-in-out infinite 0.5s;
}

.line-3 {
    top: 50%;
    left: 0;
    width: 70%;
    animation: flow-3 3s ease-in-out infinite 1s;
}

.line-4 {
    top: 65%;
    right: 0;
    width: 55%;
    animation: flow-4 3s ease-in-out infinite 1.5s;
}

.line-5 {
    top: 80%;
    left: 0;
    width: 40%;
    animation: flow-5 3s ease-in-out infinite 2s;
}

.processing-core {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 27, 43, 0.1), rgba(11, 27, 43, 0.05), transparent);
    animation: pulse 2s ease-in-out infinite;
}

/* Typography */
.headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.1;
}

.sub-headline {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: #333333;
    margin: 0;
    max-width: 600px;
}

/* CTA Button */
.cta-button {
    background-color: #0b1b2b;
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(11, 27, 43, 0.15);
}

.cta-button:hover {
    background-color: #081521;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 27, 43, 0.25);
}

.cta-button:active {
    background-color: #061018;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(11, 27, 43, 0.3);
}

.cta-button:focus {
    outline: 2px solid #0b1b2b;
    outline-offset: 2px;
}

/* Animations */
@keyframes flow-1 {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: translateX(100%); }
}

@keyframes flow-2 {
    0% { opacity: 0; transform: translateX(100%); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: translateX(-100%); }
}

@keyframes flow-3 {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: translateX(100%); }
}

@keyframes flow-4 {
    0% { opacity: 0; transform: translateX(100%); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: translateX(-100%); }
}

@keyframes flow-5 {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.1);
    }
}

/* Navigation Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.main-nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0b1b2b;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #0b1b2b;
}

/* Page Layout */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

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

.page-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.page-sub-headline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #333333;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: #0b1b2b;
    transform: scale(1.05);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.plan-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
}

.period {
    color: #666666;
    font-size: 1rem;
}

.plan-description {
    color: #666666;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0b1b2b;
    font-weight: 600;
}

.cta-button.secondary {
    background: transparent;
    color: #0b1b2b;
    border: 1px solid #0b1b2b;
}

.cta-button.secondary:hover {
    background: #0b1b2b;
    color: #ffffff;
}

/* Features Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.feature-description {
    color: #666666;
    line-height: 1.6;
}

/* Icon Styles */
.icon-local, .icon-shield, .icon-security, .icon-platform, .icon-offline, .icon-api,
.icon-compliance, .icon-deployment, .icon-integration, .icon-support {
    width: 40px;
    height: 40px;
    background: #0b1b2b;
    border-radius: 50%;
    opacity: 0.1;
}

/* Sections */
.technical-specs, .comparison-section, .cta-section {
    margin-bottom: 4rem;
}

.specs-headline, .comparison-headline, .cta-headline {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-category {
    padding: 2rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.spec-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    padding: 0.5rem 0;
    color: #666666;
}

/* Blog Styles */
.blog-categories {
    margin-bottom: 3rem;
    text-align: center;
}

.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-filter {
    background: transparent;
    border: 1px solid #e5e5e5;
    color: #666666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-filter.active,
.category-filter:hover {
    border-color: #0b1b2b;
    color: #0b1b2b;
}

.featured-post {
    margin-bottom: 3rem;
}

.post-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.post-card.featured {
    border-color: #0b1b2b;
    padding: 3rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #666666;
}

.post-category {
    color: #0b1b2b;
    font-weight: 500;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.featured .post-title {
    font-size: 2rem;
}

.post-excerpt {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #0b1b2b;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Enterprise & Careers Styles */
.enterprise-benefits, .company-values, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card, .value-card {
    text-align: center;
    padding: 2rem;
}


.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.benefit-title, .value-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-description, .value-description {
    color: #666666;
    line-height: 1.6;
}

/* Job Listings */
.job-listing {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.job-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666666;
}

.apply-button {
    background: #0b1b2b;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 1rem;
}

.apply-button:hover {
    background: #081521;
}

/* Forum Styles */
.forum-stats {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}


.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #0b1b2b;
}

.stat-label {
    color: #666666;
    font-size: 0.875rem;
}

.section-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-stats {
    font-size: 0.875rem;
    color: #666666;
}

.recent-post {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post:last-child {
    border-bottom: none;
}

.post-title {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.post-meta {
    font-size: 0.75rem;
    color: #999999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .hero {
        gap: 2rem;
    }
    
    .animation-container {
        width: 250px;
        height: 150px;
    }
    
    .machine-boundary {
        width: 200px;
        height: 120px;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .animation-container {
        width: 200px;
        height: 120px;
    }
    
    .machine-boundary {
        width: 160px;
        height: 100px;
    }
    
    .processing-core {
        width: 30px;
        height: 30px;
    }
}