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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #fafafa;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Floating Background Shapes - Minimal */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        /* Just a few subtle circles */
        radial-gradient(circle at 15% 25%, transparent 40px, rgba(200, 200, 200, 0.3) 40px, rgba(200, 200, 200, 0.3) 42px, transparent 42px),
        radial-gradient(circle at 85% 75%, transparent 30px, rgba(180, 180, 180, 0.25) 30px, rgba(180, 180, 180, 0.25) 32px, transparent 32px),
        radial-gradient(circle at 70% 20%, transparent 25px, rgba(190, 190, 190, 0.2) 25px, rgba(190, 190, 190, 0.2) 27px, transparent 27px);
    
    background-size: 
        400px 400px,
        350px 350px,
        300px 300px;
    
    background-position:
        15% 25%,
        85% 75%,
        70% 20%;
    
    animation: floatShapes 45s ease-in-out infinite;
}

/* Floating shapes animations */
@keyframes floatShapes {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.8;
    }
}

/* Ensure content is above floating shapes */
main, header, footer, .container {
    position: relative;
    z-index: 1;
}

/* Header */
body > header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8e8e8;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#logo {
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

#logo-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

#nav {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

#nav-item a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

#nav-item a:hover {
    color: #1a1a1a;
}

/* Typography */
h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Landing Section */
#landing-content {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

#landing-content-cta {
    margin-bottom: 24px;
}

#landing-content-cta-description {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 32px;
    font-weight: 400;
}

#download {
    margin-top: 32px;
}

#download a {
    display: inline-block;
    transition: transform 0.15s ease;
}

#download a:hover {
    transform: translateY(-1px);
}

#landing-content-right {
    display: flex;
    justify-content: center;
}

#landing-content-right-img {
    max-width: 75%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.12));
}

/* Reviews Section */
.reviews-section {
    background: #f8f8f8;
    padding: 80px 24px;
}

#landing-reviews-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#review-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

#review-card {
    background: white;
    padding: 32px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

#review-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.checked {
    color: #ff9500;
    font-size: 14px;
    margin-right: 2px;
}

#review-description {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-top: 16px;
}

/* Blog Styles */
.blog-header {
    padding-top: 120px;
    padding-bottom: 64px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.blog-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.blog-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.blog-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.blog-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.blog-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    height: 200px;
    background: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #666;
}

.blog-card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.blog-card-link {
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 1px;
    transition: border-color 0.2s ease;
}

.blog-card-link:hover {
    border-color: #1a1a1a;
}

.blog-cta {
    padding: 64px 24px;
    text-align: center;
}

.blog-cta h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta p {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Article Banner */
.article-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #f0f0f0; /* Fallback color if image doesn't load */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* Account for fixed header */
    width: 100%;
    overflow: hidden;
}

/* Ensure the banner always fills the container */
.article-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

.article-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-banner-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 24px;
}

.article-banner .article-meta {
    margin-bottom: 16px;
}

.article-banner .article-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.article-banner .article-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 16px 0;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.article-banner .article-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Article Styles */
.article-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 80px 24px 80px;
}

.article-header {
    text-align: center;
    margin-bottom: 64px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e8e8e8;
}

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

.article-date {
    font-size: 14px;
    color: #999;
}

.article-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 16px 0;
    color: #1a1a1a;
}

.article-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.4;
}

.article-body {
    font-size: 16px;
    line-height: 1.7;
    color: #2c2c2c;
}

.article-intro {
    font-size: 18px;
    color: #1a1a1a;
    line-height: 1.6;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 48px;
    border-left: 3px solid #1a1a1a;
}

.article-body h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 24px;
}

.article-body h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 20px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.cta-box {
    background: #1a1a1a;
    color: white;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    margin: 48px 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 12px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.testimonial-box {
    background: #f8f8f8;
    padding: 32px;
    border-radius: 8px;
    margin: 48px 0;
    border-left: 3px solid #1a1a1a;
}

.testimonial-box blockquote {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: #2c2c2c;
}

.final-cta {
    background: #f8f8f8;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    margin: 48px 0;
}

.final-cta h3 {
    margin-bottom: 12px;
}

.final-cta p {
    color: #666;
    margin-bottom: 24px;
}

.related-articles {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #e8e8e8;
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 20px;
}

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

.related-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.related-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.related-card h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.related-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 24px;
    font-size: 14px;
    color: #999;
    border-top: 1px solid #e8e8e8;
    margin-top: 80px;
}

/* Container */
.container {
    /* max-width: 680px; */
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px 24px;
    }
    
    #nav {
        gap: 24px;
    }
    
    #landing-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding-top: 140px;
    }
    
    #review-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .article-container,
    .container {
        padding-top: 140px;
    }
    
    /* Mobile banner adjustments */
    .article-banner {
        height: 50vh;
        min-height: 300px;
        margin-top: 70px;
        width: 100%;
        background-size: cover;
    }
    
    .article-banner::before {
        background-size: cover;
    }
    
    .article-banner .article-title {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .article-banner .article-subtitle {
        font-size: clamp(14px, 4vw, 16px);
    }
}