/*
Theme Name: N8N Templates Landing
Description: Professional landing page theme for N8N templates sales with dark and orange design
Version: 1.0
Author: Your Name
*/

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

:root {
    /* Base colors - Dark theme with vibrant orange */
    --background: hsl(220, 13%, 8%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(220, 13%, 12%);
    --card-foreground: hsl(0, 0%, 98%);
    --primary: hsl(24, 95%, 58%);
    --primary-foreground: hsl(0, 0%, 2%);
    --secondary: hsl(220, 13%, 16%);
    --secondary-foreground: hsl(0, 0%, 95%);
    --muted: hsl(220, 13%, 20%);
    --muted-foreground: hsl(0, 0%, 70%);
    --border: hsl(220, 13%, 24%);
    --radius: 0.75rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Promo Header */
.promo-header {
    background: linear-gradient(135deg, var(--primary), hsl(24, 95%, 68%));
    text-align: center;
    padding: 12px;
    color: var(--primary-foreground);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, hsl(220, 13%, 8%) 0%, hsl(220, 13%, 12%) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

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

.hero-logo {
    height: 80px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), hsl(24, 95%, 68%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    aspect-ratio: 16/9;
    max-width: 800px;
    margin: 3rem auto;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.features-text {
    background: rgba(var(--card), 0.5);
    backdrop-filter: blur(10px);
    border-radius: calc(var(--radius) * 2);
    padding: 2rem;
    border: 1px solid var(--border);
    margin: 3rem 0;
}

.features-text p {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary), hsl(24, 95%, 68%));
    color: var(--primary-foreground);
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px hsla(24, 95%, 58%, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

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

/* Templates Section */
.templates-section {
    padding: 5rem 1rem;
    background: var(--secondary);
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 1rem;
    background: var(--background);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
}

.testimonial-card {
    flex: 0 0 300px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    height: 400px;
    position: relative;
}

.testimonial-image {
    width: 100%;
    height: 200px;
    background: var(--muted);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, hsl(220, 13%, 8%) 0%, hsl(220, 13%, 12%) 100%);
    text-align: center;
}

.pricing-card {
    background: var(--card);
    border-radius: calc(var(--radius) * 2);
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.feature-check {
    background: var(--primary);
    border-radius: 50%;
    padding: 0.25rem;
    flex-shrink: 0;
}

.price-container {
    background: linear-gradient(135deg, var(--background), var(--secondary));
    border-radius: calc(var(--radius) * 1.5);
    padding: 2rem;
    margin: 2rem 0;
}

.price-old {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), hsl(24, 95%, 68%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1rem;
    background: var(--secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    border: none;
    background: none;
    color: var(--foreground);
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted-foreground);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Footer */
.site-footer {
    background: var(--background);
    padding: 3rem 1rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-scroll {
        padding-left: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

.animate-fade-in-delay {
    animation: fade-in 0.6s ease-out 0.3s both;
}