/*
  MODERN & CUTE LANDING PAGE STYLE
  Inspired by Tailwind-like aesthetics, 3D cards, and hover animations.
*/

/* CSS Variables - Cute & Modern Palette */
:root {
    --primary-color: #5A67D8; /* Indigo */
    --primary-light: #7F9CF5;
    --secondary-color: #F56565; /* Red for accents/CTA */
    --accent-color: #4FD1C5; /* Teal */
    --bg-main: #F7FAFC; /* Very light gray */
    --bg-card: #FFFFFF;
    --text-primary: #2D3748; /* Dark gray */
    --text-secondary: #718096; /* Medium gray */
    --border-color: #E2E8F0; /* Light gray for borders */
    --shadow-color: rgba(90, 103, 216, 0.2); /* Soft primary shadow */
    --shadow-hover-color: rgba(90, 103, 216, 0.4);
    --border-radius-sm: 0.375rem; /* 6px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 0.75rem; /* 12px */
}

/* Global Resets & Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1180px; /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 1em; /* Consistent bottom margin */
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
}

h2 {
    font-size: clamp(2em, 4vw, 2.75em);
    text-align: center;
    margin-bottom: 2em;
}

h3 {
    font-size: clamp(1.25em, 2.5vw, 1.6em);
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5em;
    color: var(--text-secondary);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
    padding: 0;
}

section {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background-color: var(--bg-card);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
}

header nav ul {
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

.cta-button,
.cta-button-nav {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 12px 28px;
    font-size: 1em;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.cta-button:hover,
.cta-button-nav:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 7px 14px var(--shadow-hover-color);
    text-decoration: none;
    color: #fff !important;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color) !important;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: var(--accent-color);
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(79, 209, 197, 0.3);
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    text-align: center;
    padding: 100px 0;
    overflow: hidden; /* For any decorative elements */
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 0.6em;
}

.hero-content .subtitle {
    font-size: 1.25em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2em;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-placeholder {
    margin-top: 50px;
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-image-placeholder p {
    color: rgba(255,255,255,0.9);
}

/* Problem Section */
.problem-section {
    background-color: var(--bg-card);
}
.problem-list {
    max-width: 700px;
    margin: 0 auto 1.5em auto;
    text-align: left;
}
.problem-list li {
    margin-bottom: 12px;
    font-size: 1.1em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}
.problem-list li::before {
    content: '⚠️'; /* Using a different emoji for problem */
    margin-right: 10px;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.solution-prompt {
    text-align: center;
    font-weight: 600;
    font-size: 1.3em;
    margin-top: 40px;
    color: var(--primary-color);
}

/* Solution Section */
.solution-section {
    text-align: center;
    background-color: var(--bg-main);
}

/* Card Base Style (for Features, Pricing, Steps) - Foundation for 3D */
.card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -2px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* transform-style: preserve-3d; /* If direct children need 3D transforms */
}

.card:hover {
    transform: translateY(-10px) perspective(1200px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 25px -5px var(--shadow-hover-color), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

.feature-item h3 {
    margin-bottom: 0.5em;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--bg-card);
}
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-item {
    text-align: center;
}

.step-item span {
    display: inline-flex; /* To center content with text */
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(79, 209, 197, 0.3);
}

.how-it-works-image-placeholder {
    text-align: center;
    margin-top: 40px;
    background-color: var(--bg-main);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px dashed var(--border-color);
}

/* Who Is It For Section */
.business-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.business-types li {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: var(--border-radius-lg);
    font-size: 1em;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(79, 209, 197, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.business-types li:hover {
    transform: translateY(-3px);
    background-color: #3dbbab; /* Darker teal */
}

/* Pricing Section */
.pricing-section {
     background-color: var(--bg-main);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 40px;
    align-items: center;
}

/* Base pricing plan styles */
.pricing-plan {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-plan h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.pricing-plan.popular {
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    transform: scale(1.08);
    padding: 50px 35px;
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.2);
    z-index: 2;
}

.pricing-plan.popular:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 15px 35px rgba(245, 101, 101, 0.3);
}

.pricing-plan.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(245, 101, 101, 0.3);
}

.pricing-plan .price {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.pricing-plan .price span {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-plan ul {
    margin-bottom: 30px;
    text-align: left;
    padding-left: 20px;
}

.pricing-plan ul li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    position: relative;
}

.pricing-plan ul li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
    position: absolute;
    left: -20px;
}

.custom-plan-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
}

.custom-plan-note a {
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #fff;
}

.contact-section h2,
.contact-section p {
    color: #fff;
    text-align: center;
}

.contact-form {
    max-width: 650px;
    margin: 40px auto 0;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: #F7FAFC; /* Light input background */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--text-primary);
    color: #A0AEC0; /* Lighter gray for footer text */
    text-align: center;
    padding: 40px 0;
    font-size: 0.95em;
}

footer p {
    color: #A0AEC0;
    margin-bottom: 8px;
}

footer a {
    color: var(--accent-color);
}

footer a:hover {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em; /* Adjusted clamp values earlier */
    }
    h2 {
        font-size: 1.8em;
    }
    header .container {
        flex-direction: column;
        text-align: center;
    }
    .logo {
        margin-bottom: 15px;
    }
    header nav ul {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    header nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    .cta-button-nav {
        display: block; /* Make nav CTA full width on mobile */
    }
    .hero-content .subtitle {
        font-size: 1.1em;
    }
    .pricing-plan.popular {
        transform: scale(1); 
    }
    .pricing-plan.popular:hover {
        transform: translateY(-5px); /* Keep hover lift */
    }
    .steps-container {
        grid-template-columns: 1fr;
    }
    .card:hover {
        /* Tone down 3D effect on mobile if it causes issues or feels too much */
        transform: translateY(-5px);
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Styles */

/* Blog Hero Section */
.blog-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.blog-hero-section h1 {
    color: #fff;
    margin-bottom: 0.5em;
    font-size: clamp(2.5em, 5vw, 3.2em);
}

.blog-hero-section .subtitle {
    font-size: 1.2em;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Listing */
.blog-listing-section {
    padding: 80px 0;
}

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

.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.blog-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.blog-category {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8em;
}

.blog-date {
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    text-align: left;
}

.blog-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.reading-time {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-main);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-light);
}

.coming-soon-badge {
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

/* Blog CTA Section */
.blog-cta-section {
    background: var(--bg-main);
    padding: 60px 0;
    text-align: center;
}

.blog-cta-content h2 {
    margin-bottom: 15px;
}

.blog-cta-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Blog Post Styles */
.blog-post-container {
    padding: 40px 0 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 40px;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-post-header h1 {
    font-size: clamp(2em, 4vw, 2.8em);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.blog-post-header .blog-tags {
    margin-bottom: 30px;
}

.blog-post-content {
    line-height: 1.8;
}

.blog-section {
    margin-bottom: 40px;
}

.blog-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: left;
}

.blog-section h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-section p {
    margin-bottom: 20px;
}

.blog-section ul, .blog-section ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-section li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* Benefit Items */
.benefit-item {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
}

.benefit-item h3 {
    margin-bottom: 15px;
}

.example-box {
    background: var(--bg-main);
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-top: 15px;
    border-left: 3px solid var(--accent-color);
}

/* Timeline */
.timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.timeline-item .time {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    align-self: flex-start;
}

.timeline-item p {
    margin: 0;
    flex: 1;
}

/* Savings List */
.savings-list {
    margin: 30px 0;
}

.savings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

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

.savings-item .savings {
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9em;
}

/* Setup Steps */
.setup-steps {
    background: var(--bg-main);
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin: 30px 0;
}

.setup-steps li {
    margin-bottom: 15px;
    padding-left: 10px;
}

/* Blog CTA Box */
.blog-cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: 40px 0;
}

.blog-cta-box h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.blog-cta-box .cta-button {
    background: white;
    color: var(--primary-color) !important;
    margin: 20px 0;
}

.blog-cta-box .cta-button:hover {
    background: var(--bg-main);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 0.9em;
    opacity: 0.9;
    margin: 10px 0 0 0;
}

/* Blog Footer */
.blog-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.blog-footer p {
    font-size: 0.9em;
    color: var(--text-secondary);
    font-style: italic;
}

/* Related Posts */
.related-posts-section {
    background: var(--bg-main);
    padding: 60px 0;
}

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

.related-post-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.related-post-card h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.related-post-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Active Navigation State */
header nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Mobile Responsiveness for Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        padding: 20px;
    }
    
    .blog-post-container {
        padding: 20px 0 60px 0;
    }
    
    .blog-post-header h1 {
        font-size: 1.8em;
    }
    
    .blog-meta, .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .savings-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .blog-cta-box {
        padding: 30px 20px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
} 