/**
 * Instagram AI Assistant Module Stylesheet
 * Location: app/code/instagramai/v1/frontend/assets/css/instagramai.css
 */

/* ── Page Body ─────────────────────────────────────────────── */
body.instagramai-page-body {
    background-color: var(--color-bg-light, #f8fafc);
    color: #1e293b;
}

/* ── Hero Section ──────────────────────────────────────────── */
.igai-hero-wrapper {
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #fdf4f8 50%, #f8fafc 100%);
    color: #0f172a;
    position: relative;
    overflow: hidden;
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;
    border-bottom: 1px solid var(--color-border-light, #e2e8f0);
}
.igai-hero-glow {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 500px;
    height: 450px;
    background: radial-gradient(circle, rgba(220, 39, 67, 0.08) 0%, rgba(188, 24, 136, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}
.igai-hero-container {
    position: relative;
    z-index: 1;
}
.igai-breadcrumb {
    font-size: 0.85rem;
}
.igai-pill-badge {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: #be185d;
    padding: 5px 15px;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.igai-hero-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #0f172a;
}
.igai-text-gradient {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 20%, #dc2743 45%, #cc2366 70%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.igai-hero-subtitle {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 600px;
}

/* ── Hero Search / Connect Form ────────────────────────────── */
.igai-connect-box {
    background: #ffffff;
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 16px;
    padding: 0.6rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
    max-width: 580px;
}
.igai-connect-input {
    border: none;
    box-shadow: none;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
}
.igai-connect-input:focus {
    box-shadow: none;
    outline: none;
}
.igai-connect-btn {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.igai-connect-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35);
    color: #ffffff;
}

/* ── Hero Mock Device Card ─────────────────────────────────── */
.igai-preview-card {
    background: #ffffff;
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}
.igai-preview-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border-light, #e2e8f0);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.igai-avatar-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}
.igai-preview-body {
    padding: 1.25rem;
}
.igai-ai-prompt-box {
    background: #fdf4f8;
    border: 1px dashed #f472b6;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 1rem;
}
.igai-caption-result {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #334155;
}
.igai-tag-pill {
    background: #eff6ff;
    color: #2563eb;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

/* ── Feature Cards ─────────────────────────────────────────── */
.igai-feature-card {
    background: #ffffff;
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.igai-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -10px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
.igai-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}
.igai-feature-icon.icon-magenta {
    background: #fdf2f8;
    color: #db2777;
}
.igai-feature-icon.icon-purple {
    background: #f5f3ff;
    color: #7c3aed;
}
.igai-feature-icon.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}
.igai-feature-icon.icon-emerald {
    background: #ecfdf5;
    color: #059669;
}
.igai-feature-icon.icon-amber {
    background: #fffbeb;
    color: #d97706;
}
.igai-feature-icon.icon-indigo {
    background: #eef2ff;
    color: #4f46e5;
}

/* ── Interactive Demo Widget ───────────────────────────────── */
.igai-demo-wrapper {
    background: #ffffff;
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.igai-demo-input {
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.925rem;
}
.igai-demo-tone-btn {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.igai-demo-tone-btn.active {
    background: #f43f5e;
    color: #ffffff;
    border-color: #f43f5e;
}
.igai-demo-generate-btn {
    background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.85rem 1.75rem;
    transition: all 0.2s;
}
.igai-demo-generate-btn:hover {
    opacity: 0.95;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.3);
}

/* ── Step Workflow Cards ───────────────────────────────────── */
.igai-step-card {
    background: #ffffff;
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 18px;
    padding: 1.85rem;
    height: 100%;
    position: relative;
}
.igai-step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ── Dashboard (Logged-in view) ────────────────────────────── */
.igai-stat-card {
    background: #ffffff;
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 16px;
    padding: 1.5rem;
}
.igai-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
}
.igai-account-card {
    background: #ffffff;
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}
.igai-account-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

/* ── Typography & Banner Helpers ───────────────────────────── */
.igai-sub-label {
    font-size: 0.75rem;
}
.igai-tone-badge {
    font-size: 0.7rem;
}
.igai-caption-text {
    white-space: pre-line;
}
.igai-bottom-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #31102f 100%);
}
.igai-caps-heading {
    letter-spacing: 0.05em;
}

