/* 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;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1, .logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

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

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

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #ee5a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 90, 90, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Main content sections */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Features grid */
.features {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Tool sections */
.top-pick {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 3rem 0;
    border-radius: 15px;
    margin: 2rem 0;
}

.tool-highlight {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.tool-highlight h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.tool-highlight ul {
    list-style: none;
    margin: 1.5rem 0;
}

.tool-highlight li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Preview tools */
.comparison-preview {
    text-align: center;
    padding: 3rem 0;
    background: #f8f9fa;
}

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

.tool-preview {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.badge {
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: 8px;
}

/* Article styles */
.article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ecf0f1;
}

.article-meta {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-description {
    font-size: 1.15rem;
    color: #2c3e50;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.table-of-contents {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.table-of-contents ol {
    margin-left: 1.5rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #3498db;
    text-decoration: none;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Tool sections in article */
.tool-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #ffffff;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
}

.tool-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.tool-screenshot {
    margin: 2rem 0;
    text-align: center;
}

.tool-screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tool-screenshot caption {
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.use-cases {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.use-case h4 {
    color: #2980b9;
    margin-bottom: 0.5rem;
}

.pricing-section, .tool-link {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

/* Comparison table */
.comparison-table {
    margin: 3rem 0;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

tr.highlight {
    background: #fff3cd;
    border-left: 4px solid #ff6b6b;
}

tr.highlight td:first-child {
    font-weight: 700;
    color: #e74c3c;
}

/* FAQ */
.faq {
    background: #f8f9fa;
    padding: 3rem 0;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: #2980b9;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

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

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-nav a:hover {
    color: #3498db;
}

footer p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-tools {
        grid-template-columns: repeat(2, 1fr);
    }
    
    header nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .breadcrumb {
        order: -1;
    }
    
    .article {
        padding: 1rem;
    }
    
    .tool-section {
        padding: 1.5rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .preview-tools {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
} 