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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

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

.nav-logo:hover {
    text-decoration: none;
}

.nav-logo i {
    font-size: 28px;
}

.churchflow-brand {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Buttons */
.primary-button, .secondary-button, .cta-button {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.primary-button {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secondary-button {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.cta-button {
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    padding: 10px 20px;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 20px;
    max-width: 400px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.preview-dots span:first-child { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #10b981; }

.preview-header span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.preview-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.preview-card {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.preview-card:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
}

.preview-card i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.preview-card span {
    font-size: 12px;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.benefits-text h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.benefit-list {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 2px;
}

.benefit-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.benefits-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.growth-chart {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 200px;
}

.chart-bar {
    width: 40px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    animation: grow 2s ease-out forwards;
    opacity: 0;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes grow {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

.cta .primary-button {
    background: white;
    color: var(--primary-color);
}

.cta .primary-button:hover {
    background: var(--bg-secondary);
}

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

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

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.link-group a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
}

.powered-by {
    font-weight: 500;
}

.powered-by strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-message {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius-lg);
    margin: 30px 0;
    text-align: center;
}

.pricing-message p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.church-size {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

.setup-fee {
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    margin: 15px 0;
    text-align: center;
}

.setup-fee small {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Onboarding Section */
.onboarding-section {
    margin-top: 80px;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.onboarding-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.onboarding-section p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}

.onboarding-includes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.onboarding-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
}

.onboarding-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.onboarding-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.payment-strategy {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
}

.payment-strategy h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.payment-strategy p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.payment-strategy ul {
    list-style: none;
    padding: 0;
}

.payment-strategy li {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

/* All Plans Include Section */
.all-plans-include {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.all-plans-include h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.include-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
}

.include-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.include-item span {
    color: var(--text-primary);
    font-weight: 500;
}

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

.pricing-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.pricing-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 120px;
    white-space: nowrap;
}

.period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 14px;
}

.pricing-features i.fa-check {
    color: #10b981;
    font-size: 16px;
}

.pricing-features i.fa-times {
    color: #ef4444;
    font-size: 16px;
}

/* Help Center Section */
.help-center {
    padding: 100px 0;
    background: var(--bg-primary);
}

.help-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

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

.help-category {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

.help-category h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.help-category p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.help-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.help-link:hover {
    gap: 12px;
}

.help-search {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
}

.help-search h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.help-search p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.support-link:hover {
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.about-intro {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    background: var(--gradient-primary);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    animation: float 6s ease-in-out infinite;
}

.about-image-placeholder span {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.mission-values h3 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

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

.value-item {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.value-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}


/* Get Started Section */
.get-started {
    padding: 100px 0;
    background: var(--bg-primary);
}

.get-started-content {
    max-width: 800px;
    margin: 0 auto;
}

.get-started-header {
    text-align: center;
    margin-bottom: 60px;
}

.get-started-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.get-started-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.get-started-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.get-started-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-top: 20px;
}

.form-message {
    padding: 16px 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    font-weight: 500;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Articles Section */
.articles {
    padding: 100px 0;
    background: var(--bg-primary);
}

.articles-header {
    text-align: center;
    margin-bottom: 60px;
}

.articles-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.articles-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.articles-search {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.articles-search input {
    width: 100%;
    max-width: 400px;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--bg-primary);
}

.articles-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-button {
    margin-left: -50px;
    background: var(--primary-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 14px 20px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    background: #5558e3;
}

.articles-content {
    max-width: 1200px;
    margin: 0 auto;
}

.article-category {
    margin-bottom: 60px;
}

.article-category h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.article-list {
    display: grid;
    gap: 24px;
}

.article-item {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.article-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.article-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.read-time {
    font-size: 14px;
    color: var(--text-secondary);
}

.difficulty {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.difficulty.Beginner {
    background: #dcfce7;
    color: #166534;
}

.difficulty.Intermediate {
    background: #fef3c7;
    color: #92400e;
}

.difficulty.Advanced {
    background: #fee2e2;
    color: #dc2626;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.article-link:hover {
    gap: 12px;
}

.articles-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.articles-footer p {
    color: var(--text-secondary);
    font-size: 16px;
}

.articles-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.articles-footer a:hover {
    text-decoration: underline;
}

/* Contact Page Styles */
.contact-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.contact-details small {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-cta {
    text-align: center;
    padding: 60px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

.contact-cta h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* M-Pesa Modal Styles */
.mpesa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in;
}

.mpesa-modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

.mpesa-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #00C853 0%, #00A846 100%);
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.mpesa-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.mpesa-logo i {
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mpesa-modal-body {
    padding: 30px;
}

.package-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.package-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.package-price .currency {
    font-size: 18px;
    color: var(--text-secondary);
}

.package-price .amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.package-price .period {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.mpesa-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.mpesa-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.mpesa-form input:focus {
    outline: none;
    border-color: #00C853;
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.mpesa-form small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.payment-summary {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.payment-summary h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-item span:first-child {
    color: var(--text-secondary);
}

.summary-item span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.mpesa-form .form-actions {
    display: flex;
    gap: 16px;
}

/* Privacy & Terms Sections */
.privacy, .terms {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.privacy-content, .terms-content {
    max-width: 800px;
    margin: 60px auto 0;
}

.privacy-text h3, .terms-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.privacy-text p, .terms-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.privacy-section, .terms-section {
    margin-bottom: 60px;
}

.privacy-section h2, .terms-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.privacy-section h3, .terms-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 30px;
    color: var(--text-primary);
}

.privacy-section p, .terms-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.privacy-section ul, .terms-section ul {
    margin-bottom: 30px;
    padding-left: 30px;
}

.privacy-section li, .terms-section li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-contact, .terms-contact {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}

.privacy-contact h4, .terms-contact h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.privacy-contact p, .terms-contact p {
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .benefits-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .benefits-text h2 {
        font-size: 36px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* New sections responsive styles */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .help-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .help-categories {
        grid-template-columns: 1fr;
    }

    .search-box {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .about-image-placeholder {
        width: 250px;
        height: 250px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* New pricing section responsive styles */
    .onboarding-includes {
        grid-template-columns: 1fr;
    }

    .include-grid {
        grid-template-columns: 1fr;
    }

    .pricing-message {
        padding: 16px;
    }

    .pricing-message p {
        font-size: 16px;
    }

    .onboarding-section,
    .all-plans-include {
        padding: 30px 20px;
    }

    /* Get Started form responsive styles */
    .get-started-form-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .get-started-header h2 {
        font-size: 36px;
    }

    }

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .feature-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
