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

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #232f3e;
    font-size: 28px;
    font-weight: 700;
}

.logo .tagline {
    color: #ff9900;
    font-size: 14px;
    display: block;
}

.nav a {
    margin-left: 25px;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #ff9900;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #ff9900;
    color: #232f3e;
}

.btn-primary:hover {
    background: #e88b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,153,0,0.3);
}

.btn-secondary {
    background: #232f3e;
    color: #fff;
}

.btn-secondary:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #232f3e 0%, #1a252f 100%);
    color: #fff;
    padding: 80px 0;
}

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

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .features {
    list-style: none;
    margin-bottom: 30px;
}

.hero-content .features li {
    font-size: 18px;
    margin-bottom: 12px;
    color: #ddd;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Featured Products */
.featured {
    padding: 80px 0;
    background: #fff;
}

.featured h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #232f3e;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #232f3e;
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.products-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #232f3e;
}

.section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 18px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-detail:nth-child(even) {
    direction: rtl;
}

.product-detail:nth-child(even) > * {
    direction: ltr;
}

.product-detail img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.product-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #232f3e;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

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

.usage-scenario {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.usage-scenario h4 {
    color: #232f3e;
    margin-bottom: 10px;
}

.usage-scenario p {
    color: #666;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
}

.blog-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #232f3e;
}

.blog-post {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.blog-post h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #232f3e;
}

.post-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.post-content h4 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #232f3e;
}

.post-content p {
    margin-bottom: 15px;
    color: #555;
}

.post-content ul,
.post-content ol {
    margin: 15px 0;
    padding-left: 25px;
    color: #555;
}

.post-content li {
    margin-bottom: 10px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
}

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

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

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    border: 2px solid #ff9900;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.cta-box h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #232f3e;
}

.cta-box p {
    margin-bottom: 20px;
    color: #555;
}

/* Footer */
.footer {
    background: #232f3e;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer .disclaimer {
    font-size: 12px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav a {
        margin: 0 10px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .product-detail:nth-child(even) {
        direction: ltr;
    }

    .blog-post {
        padding: 25px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}
