/* Blueprint Labs - Main Stylesheet */

/* CSS Variables */
:root {
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --secondary: #764ba2;
    --accent: #f093fb;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #6b6b8a;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    
    --border: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    
    --radius: 8px;
    --radius-lg: 12px;
    
    --container: 1200px;
    --container-narrow: 900px;
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
}

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

/* Container */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: white;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-gray);
}

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 8px 0;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-xlarge {
    padding: 20px 48px;
    font-size: 1.2rem;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.hero-cta .btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* Section Headers */
section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--bg-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.product-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-note {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-note {
    margin-top: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    opacity: 0.7;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
}

/* Product Page Styles */
.product-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-badge-large {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.meta-item {
    opacity: 0.9;
}

.product-price-large {
    margin-bottom: 2rem;
}

.product-price-large .price {
    color: white;
    font-size: 3rem;
}

.product-price-large .price-note {
    color: rgba(255,255,255,0.8);
}

.payment-note {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Product Preview */
.product-preview {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.preview-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.preview-card.wide {
    max-width: 500px;
}

.preview-header {
    background: var(--bg-gray);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

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

.preview-content {
    padding: 24px;
}

.preview-line {
    height: 12px;
    background: var(--bg-gray);
    border-radius: 4px;
    margin-bottom: 12px;
}

.preview-line.highlight {
    width: 60%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.preview-prompt {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius);
    margin-top: 16px;
}

.prompt-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-prompt p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
    font-family: monospace;
}

/* Analyzer Preview */
.analyzer-preview {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    color: var(--text-secondary);
}

.metric-value {
    font-weight: 600;
    color: var(--text-primary);
}

.metric-value.positive {
    color: var(--success);
}

.metric-value.score {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
}

/* Content Flow Preview */
.content-flow {
    text-align: center;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.flow-item.source {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    justify-content: center;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 8px 0;
}

.flow-outputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.flow-item.output {
    background: var(--bg-light);
    font-size: 0.9rem;
}

/* Categories Grid */
.whats-inside {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 0.5rem;
}

.category-count {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-card ul {
    list-style: none;
}

.category-card li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.category-card li::before {
    content: "•";
    color: var(--primary);
    margin-right: 8px;
}

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

.steps-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    max-width: 200px;
}

.step-item .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-item h3 {
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

/* Problem/Solution */
.problem-solution {
    padding: 60px 0;
    background: var(--bg-light);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.ps-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.ps-card h3 {
    margin-bottom: 1.5rem;
}

.ps-card ul {
    list-style: none;
}

.ps-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.ps-card.problem li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--error);
}

.ps-card.solution li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-secondary);
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
}

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

.use-case {
    text-align: center;
    padding: 2rem;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    margin-bottom: 0.75rem;
}

.use-case p {
    color: var(--text-secondary);
}

/* Example Output */
.example-output {
    padding: 80px 0;
    background: var(--bg-light);
}

.example-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 800px;
    margin: 3rem auto 0;
    box-shadow: var(--shadow);
}

.example-box.large {
    max-width: 900px;
}

.example-input h4,
.example-outputs h4 {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.example-content {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.example-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.example-arrow {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    margin: 1.5rem 0;
}

.output-item {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.output-item .platform {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.output-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Analysis Results */
.analysis-results {
    text-align: left;
}

.result-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.result-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-section h5 {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.result-metric {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-metric .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.result-metric .value {
    font-weight: 700;
    color: var(--text-primary);
}

.result-metric .value.positive {
    color: var(--success);
}

.summary-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.flags {
    list-style: none;
}

.flags li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.flags li.caution::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--warning);
}

.flags li.ok::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Target Audience */
.target-audience {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.audience-card h3 {
    margin-bottom: 0.75rem;
}

.audience-card p {
    color: var(--text-secondary);
}

/* Analysis Types */
.analysis-types {
    padding: 80px 0;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.analysis-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.analysis-card h4 {
    margin-bottom: 0.5rem;
}

.analysis-card .time {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.analysis-card ul {
    list-style: none;
    text-align: left;
}

.analysis-card li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.analysis-card li::before {
    content: "•";
    color: var(--primary);
    margin-right: 8px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.final-cta > p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-box {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.cta-price {
    margin-bottom: 2rem;
}

.cta-price .price {
    font-size: 4rem;
}

.guarantee {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .steps-horizontal {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .ps-grid {
        grid-template-columns: 1fr;
    }
    
    .result-metrics {
        grid-template-columns: 1fr;
    }
}
