/* Reset & 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: #fff;
}

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

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: #4CAF50;
    color: #fff;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #667eea;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.btn-outline:hover {
    background: #4CAF50;
    color: #fff;
}

.hero-code {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
}

.hero-code pre {
    margin: 0;
}

.hero-code code {
    color: #e0e0e0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #f9f9f9;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

/* Capabilities Section */
.capabilities {
    padding: 5rem 0;
}

.capabilities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.capability-column h3 {
    margin-bottom: 1rem;
    color: #667eea;
    font-size: 1.5rem;
}

.capability-column ul {
    list-style: none;
}

.capability-column li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Comparison Section */
.comparison {
    padding: 5rem 0;
    background: #f9f9f9;
}

.comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.comparison-table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

.comparison-table .highlight {
    background: #f0f7ff;
    font-weight: 600;
}

.comparison-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* Documentation Section */
.documentation {
    padding: 5rem 0;
}

.documentation h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.doc-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.doc-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.doc-card h3 {
    margin-bottom: 0.5rem;
    color: #667eea;
}

/* Licensing Section */
.licensing {
    padding: 5rem 0;
    background: #f9f9f9;
}

.licensing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.license-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.license-card.featured {
    border: 3px solid #4CAF50;
    transform: scale(1.05);
}

.license-header {
    padding: 2rem;
    text-align: center;
}

.license-header.free {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.license-header.commercial {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.price span {
    font-size: 1rem;
    opacity: 0.8;
}

.license-features {
    list-style: none;
    padding: 2rem;
}

.license-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.license-features li:last-child {
    border-bottom: none;
}

.license-card .btn {
    display: block;
    margin: 0 2rem 2rem;
}

/* Use Cases Section */
.use-cases {
    padding: 5rem 0;
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.use-case {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.use-case h3 {
    margin-bottom: 0.5rem;
    color: #667eea;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.cta-note {
    opacity: 0.9;
    font-style: italic;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #4CAF50;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

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

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

    .nav-links {
        gap: 1rem;
    }

    .feature-grid,
    .capability-columns {
        grid-template-columns: 1fr;
    }
}
