/**
 * CrocoPrompt - Landing Page Styles
 */

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

:root {
    --text-primary: #37352f;
    --text-secondary: #787774;
    --text-muted: #9b9a97;
    --bg-white: #ffffff;
    --bg-light: #fbfbfa;
    --bg-hover: rgba(55, 53, 47, 0.04);
    --accent: #2383e2;
    --accent-hover: #1a6bc4;
    --border: rgba(55, 53, 47, 0.09);
    --shadow: rgba(15, 15, 15, 0.04) 0px 0px 0px 1px, rgba(15, 15, 15, 0.03) 0px 3px 6px;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 24px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    background: #1f1f1f;
}

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

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

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero */
.hero {
    padding: 160px 40px 100px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, #2383e2 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 60px;
    margin-bottom: 40px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.problem-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How it works - Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 24px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Preview / CTA */
.pricing-preview {
    background: linear-gradient(135deg, #37352f 0%, #1f1f1f 100%);
    border-radius: 20px;
    padding: 80px 60px;
    text-align: center;
    color: white;
}

.pricing-preview h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-preview p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-preview .btn-primary {
    background: white;
    color: var(--text-primary);
}

.pricing-preview .btn-primary:hover {
    background: #f0f0f0;
}

/* Examples */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.example-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.example-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(35, 131, 226, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 14px;
}

.example-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.example-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 40px;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 40px;
    }

    .problem-grid,
    .features-grid,
    .steps,
    .examples-grid {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }

    .section {
        padding: 60px 24px;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .header-inner {
        padding: 16px 24px;
    }

    .nav {
        display: none;
    }

    .problem {
        padding: 40px 24px;
    }

    .pricing-preview {
        padding: 50px 24px;
    }
}

