/* AaskMe Marketing Website Styles */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    --secondary: #1e293b;
    --accent: #8b5cf6;
    --success: #22c55e;
    --warning: #f59e0b;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

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

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--bg-muted);
    color: var(--text);
}

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

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

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.nav-links {
    display: flex;
    gap: 32px;
}

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

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

/* Gradient Text */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Chat Preview */
.hero-visual {
    position: relative;
}

.chat-preview {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.chat-header-preview {
    background: var(--primary);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-name {
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
}

.chat-messages-preview {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.user-msg {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-msg {
    align-self: flex-start;
    background: var(--bg-muted);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

/* Trusted By */
.trusted-by {
    padding: 60px 0;
    background: var(--bg-subtle);
}

.trusted-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trusted-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

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

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.use-cases-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.use-case-tab {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.use-case-tab:hover {
    border-color: var(--primary);
}

.use-case-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.use-case-panel {
    display: none;
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow);
}

.use-case-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.use-case-tagline {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.use-case-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.use-case-benefits li {
    padding: 8px 0;
    font-size: 15px;
}

.use-case-quote {
    background: var(--bg-subtle);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.use-case-quote p {
    font-style: italic;
    margin-bottom: 12px;
}

.use-case-quote span {
    color: var(--text-muted);
    font-size: 14px;
}

.use-case-chat {
    background: var(--bg-muted);
    border-radius: 20px;
    padding: 24px;
}

.uc-msg {
    max-width: 90%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.uc-msg.user {
    background: var(--primary);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.uc-msg.bot {
    background: white;
    border-bottom-left-radius: 4px;
}

.uc-msg a {
    color: var(--primary);
}

/* Comparison */
.comparison {
    padding: 100px 0;
}

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 48px;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.comparison-header {
    background: var(--secondary);
    color: white;
}

.comparison-cell {
    padding: 20px 24px;
    font-size: 15px;
}

.header-without,
.header-with {
    text-align: center;
    font-weight: 600;
}

.comparison-row {
    border-bottom: 1px solid var(--border);
}

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

.row-label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.without {
    background: #fef2f2;
    color: #b91c1c;
    text-align: center;
}

.with {
    text-align: center;
}

.with.highlight {
    background: #f0fdf4;
    color: #15803d;
    font-weight: 600;
}

.comparison-cta {
    text-align: center;
    background: var(--bg-subtle);
    padding: 48px;
    border-radius: 20px;
}

.comparison-cta h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.comparison-cta p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--secondary);
    color: white;
}

.how-it-works .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 60px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 220px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -8px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 60px;
}

.code-example {
    max-width: 600px;
    margin: 0 auto;
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
}

.code-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.code-title {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.code-example pre {
    padding: 20px;
    overflow-x: auto;
}

.code-example code {
    color: #a5f3fc;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.pricing-price {
    margin-bottom: 24px;
}

.currency {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 800;
}

.period {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--bg-muted);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-card .btn {
    width: 100%;
}

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

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-card>p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content>p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.cta-input {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    width: 300px;
}

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

.cta-form .btn:hover {
    background: var(--bg-muted);
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--secondary);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    font-size: 14px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .use-case-panel.active {
        grid-template-columns: 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header {
        display: none;
    }

    .comparison-cell {
        display: block;
        text-align: left;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-input {
        width: 100%;
    }
}

/* Live Demo Section */
.live-demo {
    padding: 100px 0;
    background: white;
}

.demo-card {
    background: var(--bg-subtle);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
}

.demo-content {
    padding: 48px;
}

.demo-header {
    margin-bottom: 32px;
}

.demo-badge {
    display: inline-block;
    background: #e0e7ff;
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.demo-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.demo-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.demo-form {
    margin-bottom: 32px;
}

.url-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.input-group {
    position: relative;
}

.demo-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}

.demo-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 24px;
}

.btn-text:hover {
    text-decoration: underline;
}

.demo-visual {
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.demo-chat-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.demo-status {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.status-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.step-icon {
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.step-item.processing {
    color: var(--primary);
    font-weight: 600;
}

.step-item.completed {
    color: var(--success);
}

.step-item.processing .step-icon {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.hidden {
    display: none;
}

.btn.loading .btn-text-content {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .demo-card {
        grid-template-columns: 1fr;
    }

    .demo-visual {
        min-height: 200px;
    }
}