@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
    --primary-color: #1E90FF; /* Dodger Blue */
    --primary-dark: #104E8B;
    --primary-light: #63B8FF;
    --secondary-color: #8A2BE2; /* A complementary color for gradients, e.g. BlueViolet */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s ease;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    gap: 30px;
}

/* Typography */
h1, h2, h3, h4 {
    color: #111;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(30, 144, 255, 0.39);
}

.btn-primary:hover {
    background-color: #187bcd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-sm {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 15px;
    font-size: 14px;
    border-radius: 4px;
}

.btn-outline-sm:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 30px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Particles / Dynamic Elements Placeholder */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.particles::before, .particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}
.particles::before {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 10%;
    left: 10%;
}
.particles::after {
    width: 400px;
    height: 400px;
    background: rgba(138, 43, 226, 0.2);
    bottom: 10%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Features Section */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Tutorial Section */
.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.step-card {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(30,144,255,0.4);
}

.step-card h3 {
    margin-top: 10px;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Pricing Section - Matching user screenshot styling closely */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    width: 320px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 2px solid #8c52ff; /* purple-ish from screenshot */
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

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

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #8c52ff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header h3 {
    color: #8c52ff; /* Title color matching screenshot somewhat */
    font-size: 20px;
    margin-bottom: 20px;
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price span:first-child {
    font-size: 24px;
    margin-right: 2px;
}

.price span:last-child {
    font-size: 16px;
    color: var(--text-light);
    font-weight: normal;
}

.pricing-features {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
}

.pricing-features li strong {
    color: #333;
}

.pricing-card .btn {
    background-color: #8c52ff; /* Match screenshot button */
    border-radius: 30px;
    padding: 12px 0;
    font-size: 16px;
}
.pricing-card .btn:hover {
    background-color: #7a42eb;
}

/* Knowledge Base (Blog) */
.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.blog-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
    transition: color 0.2s;
}

.blog-card:hover h3 {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-light);
    font-size: 14px;
    flex-grow: 1;
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Reviews */
.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
}

.review-stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.review-content {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
    color: #333;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    margin: 0;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eef2f5;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: #111;
    color: white;
    padding: 60px 0 30px;
}

.footer-cta {
    text-align: center;
    margin-bottom: 40px;
}

.footer-cta h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.seo-keywords {
    margin-bottom: 30px;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.footer-bottom a {
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile menu hiding for now */
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .pricing-card {
        width: 100%;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: scale(1) translateY(-5px);
    }
}
