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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    background: #1a1a1a;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-logo h1 {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b35;
}

/* Main content */
main {
    margin-top: 80px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Product hero */
.product-hero {
    padding: 5rem 0;
}

.product-intro {
    max-width: 800px;
    margin: 0 auto;
}

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

.product-tagline {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.sponsor-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sponsor-note {
    font-size: 0.9rem;
    color: #999;
}

.sponsor-link {
    display: inline-block;
}

.sponsor-logo {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.sponsor-logo:hover {
    opacity: 0.8;
}

/* Enhanced sponsor logo with border */
.sponsor-link-enhanced {
    display: inline-block;
    padding: 15px 20px;
    background: #ffffff;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sponsor-link-enhanced:hover {
    border-color: #ff6b35;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
    transform: translateY(-2px);
}

.sponsor-logo-enhanced {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.sponsor-link-enhanced:hover .sponsor-logo-enhanced {
    filter: brightness(1.1);
}

/* Compliance section styling */
.compliance-overview {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
}

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

.compliance-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid #ff6b35;
}

.compliance-section h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.compliance-features h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.compliance-features ul {
    list-style: none;
    padding: 0;
}

.compliance-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.compliance-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.compliance-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.compliance-warning h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.compliance-warning p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.btn-primary:hover {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #333;
    border-color: #333;
}

.btn-outline:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a1a;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.product-card,
.feature-card,
.overview-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-card h3,
.feature-card h3,
.overview-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.25rem 0;
    color: #666;
}

/* Feature categories */
.feature-category {
    margin-bottom: 3rem;
}

.feature-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 0.5rem;
}

/* Feature status indicators */
.feature-card.working {
    border-left: 4px solid #28a745;
}

.feature-card.development {
    border-left: 4px solid #ffc107;
}

.feature-card.removed {
    border-left: 4px solid #dc3545;
    opacity: 0.7;
}

/* Architecture */
.architecture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ascii-diagram {
    background: #1a1a1a;
    color: #00ff00;
    padding: 2rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-x: auto;
}

.core-components ul {
    list-style: none;
    padding-left: 0;
}

.core-components li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.core-components li:last-child {
    border-bottom: none;
}

.core-components strong {
    color: #ff6b35;
}

/* Requirements grid */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.requirement-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.requirement-item h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.requirement-item ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.requirement-item li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Quick start */
.quick-start-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.quick-start-method h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Code blocks */
.code-block {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.code-block pre {
    padding: 1.5rem;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

.code-block code {
    color: #ffffff;
}

/* Config example */
.config-example {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.config-example h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

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

.management-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.management-item h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

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

.workflow-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.workflow-step h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

/* Roadmap */
.roadmap {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.roadmap-phase {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #ccc;
}

.roadmap-phase.current {
    border-left-color: #ff6b35;
}

.roadmap-phase.future {
    border-left-color: #28a745;
}

.roadmap-phase h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.roadmap-phase ul {
    list-style: none;
    padding-left: 0;
}

.roadmap-phase li {
    padding: 0.5rem 0;
    color: #666;
}

/* Legal notice */
.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.warning h2 {
    color: #856404;
}

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

.warning-box {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.warning-box h3 {
    color: #721c24;
    margin-bottom: 1rem;
}

.warning-box p {
    color: #721c24;
    font-weight: 500;
}

.regulatory-info,
.professional-services {
    margin-bottom: 2rem;
}

.regulatory-info h4,
.professional-services h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.regulatory-info ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.regulatory-info li {
    margin-bottom: 0.5rem;
    color: #856404;
}

/* Work in progress */
.wip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wip-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #ffc107;
}

.wip-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* CTA section */
.cta {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: #ff6b35;
    border-color: white;
}

.cta .btn-primary:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta .btn-secondary:hover {
    background: white;
    color: #ff6b35;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b35;
}

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

.footer-bottom a {
    color: #ff6b35;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-intro h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .architecture-content {
        grid-template-columns: 1fr;
    }
    
    .quick-start-content {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .ascii-diagram {
        font-size: 0.7rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .product-intro h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}