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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo h1 {
    font-size: 1.2rem;
    color: #E60023;
}

.logo img {
    border-radius: 8px;
}

/* Buttons */
.cta-button {
    background: #E60023;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: #c4001a;
}

.cta-button-large {
    background: #E60023;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(230, 0, 35, 0.3);
}

.cta-button-large:hover {
    background: #c4001a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 35, 0.4);
}

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

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero .small-text {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #E60023;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.step {
    text-align: center;
}

.step-number {
    background: #E60023;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.step p {
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #7928CA 0%, #FF0080 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .features h2,
    .how-it-works h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo {
        justify-content: center;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .cta-button-large {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* Add these new sections: */

/* Showcase Section */
.showcase {
    padding: 80px 0;
    background: white;
}

.showcase h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

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

.showcase-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.showcase-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

.showcase-video video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.showcase-item .caption {
    padding: 15px;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
}

/* Button Fixes */
.cta-button,
.cta-button-large {
    white-space: nowrap;
}

header .cta-button {
    flex-shrink: 0;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo {
        justify-content: center;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .showcase {
        padding: 50px 0;
    }
    
    .showcase h2 {
        font-size: 1.8rem;
    }
}

/* Visual Steps */
.visual-steps {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #f0f0f0;
}

.visual-steps h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #333;
}

.step-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: start;
}

.step-img {
    text-align: center;
    position: relative;
}

.step-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #E60023;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(230, 0, 35, 0.3);
    z-index: 10;
}

.step-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.step-img .download-icon {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.step-img p {
    color: #555;
    font-weight: 500;
}

/* Responsive for visual steps */
@media (max-width: 768px) {
    .step-images {
        grid-template-columns: 1fr;
    }
    
    .visual-steps {
        margin-top: 40px;
        padding-top: 40px;
    }
}

/* NEW: Settings Tip Styles - IMPROVED */
.settings-tip {
    margin-top: 60px;
    padding: 40px;
    background: #ffffff; /* White background */
    border: 2px solid #E60023; /* Stronger Pinterest red border */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(230, 0, 35, 0.2); /* Stronger shadow */
    text-align: center; /* Center the container content */
}

.settings-tip h3 {
    font-size: 1.7rem; /* Slightly larger heading */
    color: #E60023;
    margin-bottom: 15px;
    font-weight: 700;
}

.settings-tip p {
    font-size: 1.1rem;
    color: #333;
    margin: 0 auto 15px;
    max-width: 600px; /* Limit width of main text for readability */
}

.tip-instructions {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* IMPORTANT: Left align instructions */
    gap: 15px; /* Increased gap */
    font-size: 1.1rem; /* Slightly larger text */
    font-weight: 500;
    color: #444;
    margin: 20px auto; /* Center the block and add vertical spacing */
    max-width: 450px; /* Increase width limit for instructions */
    text-align: left; /* Ensure text is left-aligned within the block */
    padding: 15px 20px;
    background-color: #fcfcfc; /* Subtle background for the instruction block */
    border-left: 4px solid #E60023;
    border-radius: 6px;
}

.tip-instructions code {
    background: #ffe3e8; /* Lighter red/pink background for code */
    padding: 4px 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1rem;
    color: #E60023;
    font-weight: bold;
    display: inline-block;
}

.tip-step {
    font-weight: 600; /* Bold the entire step line */
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-step span {
    font-weight: 700;
    color: #E60023; /* Ensure step number color is visible */
}

.tip-note {
    font-style: italic;
    font-size: 1rem !important; /* Standard size */
    color: #888 !important;
    margin-top: 20px;
    font-weight: 500;
}

/* Ensure mobile layout is still clean */
@media (max-width: 768px) {
    .settings-tip {
        margin-top: 40px;
        padding: 25px;
    }
    
    .settings-tip h3 {
        font-size: 1.5rem;
    }
    
    .tip-instructions {
        max-width: 100%; /* Use full width on mobile */
    }
}
