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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
:root {
    --primary-color: #6c5ce7;
    --primary-hover: #5849c4;
    --secondary-color: #a29bfe;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
}

.btn-secondary:hover {
    background-color: #8f86e6;
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-link {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-description p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-features li {
    font-size: 1.1rem;
    color: #2c3e50;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

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

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* How It Works Section */
.steps {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-width: 250px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

.step-card h3 {
    margin-bottom: 15px;
    color: #1e293b;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Workflow Section Styles */
.workflow {
    background-color: #f8fafc;
    padding: 80px 0;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.workflow-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.workflow-item:hover {
    transform: translateY(-5px);
}

.workflow-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.workflow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.workflow-arrows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.arrow-right, .arrow-left {
    padding: 4px;
}

.arrow-left {
    color: #818cf8;
}

.workflow-arrow {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.workflow-item h3 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.workflow-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .workflow-diagram {
        flex-direction: column;
        gap: 20px;
    }
    
    .workflow-arrows {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .arrow-right {
        transform: rotate(90deg);
    }
    
    .arrow-left {
        transform: rotate(90deg);
    }
    
    .workflow-item {
        min-width: 200px;
    }
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.section-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price .duration {
    color: #64748b;
    font-size: 0.9rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.features li i {
    color: var(--primary-color);
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

/* Responsive pricing grid */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* Section Spacing */
.section {
    padding: 5rem 0;
}

.section + .section {
    padding-top: 8rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* About Page Styles */
.about-hero {
    background-color: #f8fafc;
    padding: 100px 0 60px;
}

.about-section {
    padding: 80px 0;
}

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

.about-content p {
    margin-bottom: 1.5rem;
    color: #475569;
}

.values-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

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

.value-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.value-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
}

/* Contact Page Styles */
.contact-hero {
    background-color: #f8fafc;
    padding: 100px 0 60px;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 40px;
}

.contact-methods {
    margin-top: 40px;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-method h3 {
    margin-bottom: 10px;
    color: #1e293b;
}

.contact-method p {
    color: #64748b;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.faq-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

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

.faq-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #1e293b;
    margin-bottom: 15px;
}

.faq-item p {
    color: #64748b;
}

/* Blog Page Styles */
.blog-hero {
    background-color: #f8fafc;
    padding: 100px 0 60px;
}

.featured-post {
    padding: 80px 0;
}

.featured-post-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.post-image {
    position: relative;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 40px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

.category {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-grid {
    padding: 80px 0;
    background-color: #f8fafc;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.post-card .post-image {
    height: 200px;
}

.post-card .post-content {
    padding: 25px;
}

.post-card h3 {
    margin-bottom: 15px;
    color: #1e293b;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

.newsletter {
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
}

.newsletter p {
    color: #64748b;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding-right: 0;
    }

    .featured-post-card {
        grid-template-columns: 1fr;
    }

    .featured-post-card .post-image {
        height: 300px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

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

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
