/* ETHRAEON Systems — Site Stylesheet */
/* Clean, minimal, professional design matching Proof Pack aesthetic */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #333;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background: #f5f5f5;
}

.section-cta {
    background: #1a1a1a;
    color: #ffffff;
}

.section-cta h2,
.section-cta p {
    color: #ffffff;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   HERO
   ======================================== */

.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: 4rem 0 2rem;
    border-bottom: 3px solid #1a1a1a;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #666;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-primary:hover {
    background: #333;
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #ffffff;
    opacity: 1;
}

.btn-primary-inverse {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
}

.btn-primary-inverse:hover {
    background: transparent;
    color: #ffffff;
    opacity: 1;
}

.btn-secondary-inverse {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary-inverse:hover {
    background: #ffffff;
    color: #1a1a1a;
    opacity: 1;
}

/* ========================================
   GRIDS
   ======================================== */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

/* ========================================
   CARDS
   ======================================== */

.metric-card {
    background: #f5f5f5;
    padding: 2rem;
    border-left: 4px solid #1a1a1a;
    text-align: center;
}

.metric-value {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* ========================================
   HIGHLIGHT BOX
   ======================================== */

.highlight-box {
    background: #fffbea;
    padding: 2rem;
    border-left: 4px solid #f59e0b;
    margin: 2rem 0;
}

.highlight-text {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ========================================
   ARCHITECTURE DIAGRAM
   ======================================== */

.architecture-diagram {
    max-width: 900px;
    margin: 0 auto;
}

.arch-layer {
    background: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.arch-layer-constitutional {
    background: #fffbea;
    border-color: #f59e0b;
    border-width: 4px;
}

.arch-layer-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.arch-layer-subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
}

.arch-layer-content p {
    margin-bottom: 0;
}

.arch-arrow {
    text-align: center;
    font-size: 3rem;
    color: #1a1a1a;
    margin: 1rem 0;
}

.arch-components {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.arch-component {
    background: #ffffff;
    padding: 1rem;
    border-radius: 4px;
    border: 2px solid #f59e0b;
}

.arch-component-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.arch-component-desc {
    font-size: 0.875rem;
    color: #666;
}

/* ========================================
   COMPONENT DETAILS
   ======================================== */

.component-detail {
    margin: 2rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-left: 4px solid #1a1a1a;
}

.component-detail h3 {
    margin-bottom: 0.5rem;
}

.component-detail p {
    margin-bottom: 0;
    color: #333;
}

/* ========================================
   STATUS GRID
   ======================================== */

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.status-card {
    background: #ffffff;
    padding: 2rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
}

.status-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.status-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.status-desc {
    font-size: 0.875rem;
    color: #666;
}

/* ========================================
   DEMO CARDS
   ======================================== */

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.demo-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.demo-card:hover {
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.demo-header h3 {
    margin-bottom: 0;
}

.demo-badge {
    background: #10b981;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-desc {
    color: #333;
    margin-bottom: 0.875rem;
    line-height: 1.5;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.demo-feature {
    background: #f5f5f5;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    text-align: center;
}

.demo-actions {
    margin-top: 1.5rem;
}

.demo-status {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

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

.about-content h2 {
    margin-top: 2rem;
}

.founder-section {
    max-width: 900px;
    margin: 0 auto;
}

.founder-card {
    background: #f9f9f9;
    padding: 3rem;
    border-left: 4px solid #1a1a1a;
    margin-top: 2rem;
}

.founder-card h3 {
    margin-bottom: 0.25rem;
}

.founder-title {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.founder-title.founder-subtitle {
    font-weight: 400;
    margin-top: 0.5rem;
}

.founder-bio p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-block {
    margin-bottom: 2rem;
}

.contact-block h3 {
    margin-bottom: 0.5rem;
}

.contact-block p {
    margin-bottom: 0.25rem;
}

.contact-link {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 600;
}

.contact-link:hover {
    opacity: 0.7;
}

.contact-type-card {
    background: #ffffff;
    padding: 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-type-card h3 {
    margin-bottom: 0.5rem;
}

.contact-type-card p {
    color: #666;
    margin-bottom: 0;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.expectation-card {
    text-align: center;
}

.expectation-card h3 {
    margin-bottom: 0.5rem;
}

.expectation-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   LISTS
   ======================================== */

.status-list {
    max-width: 800px;
    margin: 2rem auto;
    padding-left: 2rem;
}

.status-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ========================================
   ACTIONS
   ======================================== */

.section-actions,
.cta-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.page-header .section-actions {
    margin-top: 1.5rem;
}

.download-section h2 {
    margin-top: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer a {
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #999;
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col a {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.875rem;
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .grid-2,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .arch-components {
        grid-template-columns: 1fr;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

    .expectations-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2rem 0;
    }

    .hero-actions,
    .section-actions,
    .cta-actions {
        flex-direction: column;
    }
}
