html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    letter-spacing: 0.3px;
    scroll-behavior: smooth;
}

main {
    flex: 1;
}

footer {
    flex-shrink: 0;
    margin-top: auto;
}

.custom-footer {
    opacity: 1;
    pointer-events: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── VISION SECTION ── */
.vision-section {
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    text-align: center;
    padding: 1.5rem 0.75rem;
    margin: 0 auto;
    width: 100%;
}

.vision-section p {
    font-size: 13px;
    font-weight: 500;
    color: #0a0a0a;
    max-width: 1050px;
    margin: 0 auto;
}

.vision-section b {
    color: #060606;
}

/* ── HERO SECTION ── */
.hero-section {
    position: relative;
    text-align: left;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    padding: 10px 10px;
    color: #1c2530;
    overflow: hidden;
        padding: 10px 0;
    width: 100%;
}

/* ── HERO WRAPPER (FIXED SPACING) ── */
.hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    /* max-width: 1400px; */
    width: 100%;
    /* width: 100%;
    max-width: 100%;  */
    margin: 0 auto;

    padding: 0 40px;
    gap: 10px;

    flex-wrap: nowrap;
}

/* ── LEFT CONTENT ── */
.hero-content {
    flex: 0 0 50%;
    /* max-width: 520px; */
    animation: fadeInLeft 0.8s ease forwards;
    margin-left: 45px;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── HEADING ── */
.hero-section h1 {
    font-size: 20px;
    font-weight: 500;
    color: #060606;
    line-height: 1.2;
    margin: 0.75rem;
    font-family: 'Poppins', system-ui, sans-serif;
}

.hero-section h1 span {
    font-family: 'Poppins', system-ui, sans-serif;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* ── TEXT ── */
.hero-section p {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    /* margin: 0.75rem 0; */
}

.hero-section p span {
    font-family: 'Poppins', system-ui, sans-serif;
    color: #060606;
    line-height: 1.5;
    font-size: 14px;
}

/* ── BADGE ── */
.hero-badge {
    font-family: 'Poppins', system-ui, sans-serif;
    display: inline-block;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    color: #060606;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 15px;
    /* margin-bottom: 16px; */
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* ── SUBTEXT ── */
.hero-subtext {
    margin-top: 14px;
    max-width: 100%;
    /* padding-left: 11px;
    border-left: 3px solid rgba(37, 99, 235, 0.3); */
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.hero-subtext  b{
    font-family: 'Poppins', system-ui, sans-serif;
    color: #2563eb;
    font-weight: 600;
}

/* ── STATS ── */
 .hero-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* ✅ LEFT ALIGN */
    width: 80%;
    gap: 0.5rem;
    padding: 0.75rem;
    text-align: left;          /* ✅ LEFT TEXT */
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    color: #060606;

    margin-left: 0;            /* optional */
}

.hero-note-text {
    width: 100%;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    margin-left: -10px;
}

.hero-note-stats {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    margin-left: 40px;
}

.count-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.count-badge {
    font-size: 22px;
    font-weight: 800;
    color: #2563eb;
}

.label {
    font-size: 11px;
    color: #666;
}

/* ── BUTTON ── */
.hero-button {
    font-family: 'Poppins', system-ui, sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 5px 11px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.hero-button.primary {
    background-color: #2563eb;
    color: #fff;
}

.hero-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
/* ── RIGHT HERO IMAGE ── */
.image-section {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;

    animation: fadeInRight 0.8s ease 0.2s forwards;
    opacity: 0;
    position: relative;
}
.hero-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

/* Demo button below image */
.demo-video-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', system-ui, sans-serif;
    background: #3561a3;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

.demo-video-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
.demo-video-section {
    width: 100%;
    padding: 120px 0 20px;
    background: #fff;
}

.demo-video-wrapper {
    width: 90%;
    max-width: 1000px;
    position: relative;
    margin: 0 auto;
}

.demo-video-box {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.demo-video-box video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* close button */
.close-demo-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #2563eb;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.close-demo-btn:hover {
    background: #1d4ed8;
}
/* ── RIGHT VIDEO SECTION (SHIFT RIGHT) ── */
.image-section {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    animation: fadeInRight 0.8s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}





.prompts-include {
    text-align: center;
}
/* CHANGE 1: increased font size for "Our Prompts Include" heading */
.prompts-include h2 {
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 700;
    /* margin: 1.5rem auto; */
    margin: 1.5rem auto 0 auto;

    color: #2563eb;

    padding: 10px 20px;
    border-radius: 8px;

    display: inline-block;
    letter-spacing: 2px;
}

/* ── SECTION HEADER  ── */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #060606;
}

/* ── INFO CARDS GRID ── */
/* CHANGE 2: 3 columns × 2 rows layout */
.information-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
    justify-items: center;
}

.info-card {
    font-family: 'Poppins', system-ui, sans-serif;
    color: #060606;
    margin-top: 0;
    border-radius: 16px;
    padding: 28px 20px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.info-card.healthcare,
.info-card.education,
.info-card.content,
.info-card.low-code,
.info-card.beyond,
.info-card.detailed {
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
}

.icon-box {
    width: 56px;
    height: 56px;
    background-color: rgba(205, 201, 237, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.icon-box svg {
    width: 34px;
    height: 34px;
}

.info-card h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #060606;
    margin: 10px 0;
}

.info-card p {
    font-family: 'Poppins', system-ui, sans-serif;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    line-height: 1.7;
}

/* ── WHY CHOOSE SECTION ── */
.why-choose-section {
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    padding: 30px 20px;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 1200px;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.text-content {
    flex: 1 1 225px;
    padding: 15px;
}

.text-content h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 16px;
}


.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 13px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-family: 'Poppins', system-ui, sans-serif;
}

.image-content {
    flex: 1 1 225px;
    display: flex;
    justify-content: center;
}

.image-content img {
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

/* ── WHY FEATURE CARDS ── */
/* CHANGE 5: all 4 tags in a single line with nowrap */
.why-features {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.why-card {
    font-family: 'Poppins', system-ui, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
    border: none;
    flex-shrink: 0;
}

.why-card i { font-size: 14px; }

.why-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.why-card.curated  { color: #1e3a8a; }
.why-card.curated i { color: #2563eb; }
.why-card.ai       { color: #0f6e56; }
.why-card.ai i     { color: #1d9e75; }
.why-card.compatible  { color: #166534; }
.why-card.compatible i{ color: #22c55e; }
.why-card.guidelines  { color: #9a3412; }
.why-card.guidelines i{ color: #f97316; }

/* ── SHARE / SUBMIT SECTION ── */
.main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    margin: 0.75rem auto;
    padding: 0.375rem 1%;
    flex-direction: column;
}

#toggle-share-btn {
    padding: 14px 32px;
    text-transform: uppercase;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    margin: 8px auto;
    scroll-margin-top: 100px; 
    transition: background 0.2s, transform 0.2s;
    font-family: 'Poppins', system-ui, sans-serif;
}

#toggle-share-btn:hover {
    background: #1d4ed8;
    transform: scale(1.03);
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.75rem;
}

.form-title {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2563eb;
    margin: 4px auto;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.back-btn {
    position: absolute;
    top: 0;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e81c1c;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    margin-left: 38px;
}

.close-icon { font-size: 14px; font-weight: bold; }
.close-text  { font-size: 11px; }

.back-btn:hover {
    background: #c81e1e;
    transform: scale(1.05);
}

/* ── SHARE FORM CARD ── */
.share {
    display: none;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

    width: 65%;
    max-width: 1350px;
    margin: 0 auto;

    padding: 2rem 0;
    min-height: 70vh;
}



#share-section:target {
    display: block;
}

/* ── CONTAINER ── */
.share-container {
    display: flex;
    gap: 3rem;

    padding: 1.5rem 80px;
    align-items: flex-start;
}

/* ── LEFT CARD ── */
.share-left {
    flex: 1;
    height: 270px;
    align-self: flex-start;

    padding: 18px 20px;
    border-radius: 16px;

    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
}

/* ── RIGHT CARD ── */
.share-right {
    flex: 1.2;

    padding: 18px 20px;
    border-radius: 16px;

    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
}


/* ── HEADER ── */
.pro-tips-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pro-tips-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: #060606;
}

.tip-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(205, 201, 237, 0.8), rgba(191, 228, 245, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ── TIPS LIST ── */
.pro-tips-list {
    list-style: none;
    padding: 0;
}

.pro-tips-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.6;
    color: #334155;
}

.pro-tips-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #2563eb;
    font-weight: bold;
}

.pro-tips-list li strong {
    font-weight: 700;
    color: #060606;
}

/* ── FORM ── */
.share .form-group {
    margin-bottom: 10px;
}

.share .form-group label {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 3px;
    display: block;
    color: #060606;
}

.share .form-group textarea,
.share .form-group select,
.share .form-group input {
    width: 100%;
    padding: 6px 10px;          /* ⭐ smaller inputs */
    border-radius: 6px;
    border: 1px solid #464545;
    background: #fff;
    font-size: 11px;
    font-family: 'Poppins', system-ui, sans-serif;

    transition: border-color 0.2s, box-shadow 0.2s;
}

/* ⭐ Smaller textarea */
.share textarea {
    min-height: 50px;
}

/* ── FOCUS ── */
.share .form-group textarea:focus,
.share .form-group select:focus,
.share .form-group input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* ── BUTTON ── */
.share-btn {
    background: #2563eb;
    color: #fff;

    padding: 10px 22px;
    border-radius: 18px;
    border: none;

    cursor: pointer;
    display: block;
    margin: 1rem auto 0;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: background 0.2s, transform 0.2s;
}

.share-btn:hover {
    background: #1d4ed8;
    transform: scale(1.03);
}

/* ── MESSAGES ── */
.error-message {
    color: red;
    font-size: 10px;
    margin-top: 3px;
}

#success-message {
    display: none;
    margin: 0.75rem auto;
    padding: 0.6rem 1rem;
    background-color: #d4edda;
    color: #155724;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    text-align: center;
    max-width: 400px;
}

/* ── SEARCH BAR ── */

  .search-bar {
    font-family: inherit;
    margin: 0;              
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 5px 20px;
    justify-content: center;
    width: 100%;
    position: sticky;
    top: 80px;              
    background: #a3c8f311;
    z-index: 9999;
    border-bottom: 1px solid #e5e7eb;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;       
}

.search-wrapper {
    position: relative;
    flex: 2;
    min-width: 0;
}

#search-input {
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 36px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    background-color: #fff;
    font-family: 'Poppins', system-ui, sans-serif;
}

#search-message {
    font-family: 'Poppins', system-ui, sans-serif;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    white-space: nowrap;
}

#type-dropdown,
#subtype-dropdown {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 36px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
    flex: 1;
    background-color: #fff;
    min-width: 120px;
    cursor: pointer;
}

#search-input:focus,
#type-dropdown:focus,
#subtype-dropdown:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

mark {
    background-color: rgba(37, 99, 235, 0.15);
    padding: 0 2px;
    border-radius: 3px;
}

/* ── PROMPT GRID ── */
.prompt-grid-container {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin: 15px 0px;
}

.prompt-row {
    display: contents;
}

.no-results-card {
    display: none;

    grid-column: 1 / -1;

    text-align: center;

    padding: 60px 20px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);

    margin: 20px auto;

    width: 100%;
}

.no-results-card h2 {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 700;
}

.no-results-card p {
    font-size: 15px;
    color: #666;
}



/* ── PROMPT CARDS ── */
.prompt-card {
    height: 500px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.prompt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.prompt-card:nth-child(4n+1) { border-left: 3px solid rgba(37, 100, 235, 0.35); }
.prompt-card:nth-child(4n+2) { border-left: 3px solid rgba(37, 100, 235, 0.3);  }
.prompt-card:nth-child(4n+3) { border-left: 3px solid rgba(37, 100, 235, 0.25); }
.prompt-card:nth-child(4n+4) { border-left: 3px solid rgba(37, 100, 235, 0.2);  }

.card-content1 {
    padding: 10px 12px;
    text-align: center;
     background: linear-gradient(87deg, rgb(211 208 235), rgb(168 209 228 / 93%));
 
}

.prompt-type-title {
    font-family: 'Poppins', system-ui, sans-serif;
    color: #060606;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
}

.media-wrapper {
    height: 128px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    min-height: 130px;
    overflow: hidden;
}

.media-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.4s ease;
}

.card-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 8px 0;
    height: 100%;
}

.prompt-title {
    font-family: 'Poppins', system-ui, sans-serif;
    width: 100%;
    margin: 0;
    line-height: 1.4;
    padding: 8px 12px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: #060606;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.4), rgba(191, 228, 245, 0.35));

}

.prompt-text {
    font-family: 'Poppins', system-ui, sans-serif;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    font-size: 11px;
    font-weight: 400;
    color: #060606;
    line-height: 1.7;
    margin-bottom: 45px;
    padding: 0 10px;
    scrollbar-width: thin;
    display: block;
}

.prompt-text::-webkit-scrollbar { width: 4px; }
.prompt-text::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.2);
    border-radius: 8px;
}

.prompt-type {
    font-size: 10px;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
    color: #1e3a8a;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
    align-self: flex-start;
}

/* ── CARD ACTIONS ── */
.card-actions {
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid #e5e7eb;
    box-sizing: border-box;
    background: #ffffff;
}

.like-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    color: #2563eb;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.3), rgba(191, 228, 245, 0.3));
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', system-ui, sans-serif;
    margin-left: 10px;
    max-width: 220px;
}



.like-button:hover {
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.6), rgba(191, 228, 245, 0.6));
    border-color: #2563eb;
}

/* ── AI LINKS ── */
/* CHANGE 3: increased gap and padding for more spacing between links */
.ai-links {
    display: flex;
    justify-content: center;   /* center everything */
    align-items: center;
    /* gap: 18px;                proper spacing between items */
    
    /* max-width: 300px; */
    margin: 0 auto;

    background: linear-gradient(87deg, rgba(205, 201, 237, 0.35), rgba(191, 228, 245, 0.35));
    border: 1px solid rgba(37, 99, 235, 0.2);
    /* border-radius: 25px; */

    /* padding: 6px 16px; */

        max-width: 220px;   /* reduce from 300px */
    padding: 4px 10px;  /* reduce padding */
    gap: 10px;          /* reduce spacing between items */
    border-radius: 18px;

}

.ai-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* font-size: 11px; */
    font-weight: 600;
    color: #1e3a8a;

    text-decoration: none;
    transition: all 0.2s ease;

    /* padding: 4px 8px;    gives breathing space */

    font-size: 9px;     /* reduce text size */
    padding: 2px 6px;  

}


.ai-links a i {
    /* font-size: 13px;
    margin-bottom: 2px; */
    color: #2563eb;
    font-size: 11px;   /* smaller icons */
    margin-bottom: 1px;
}

.ai-links a:hover {
    color: #2563eb;
    transform: scale(1.05);
}

#scrollTopBtn {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 10000;

    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;

    background: #2563eb;
    color: #fff;

    font-size: 20px;
    cursor: pointer;
    display: none;

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#scrollTopBtn:hover {
    background: #1d4ed8;
}


/* ── FEEDBACK ── */
#feedback-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.9), rgba(191, 228, 245, 0.9));
    color: #1e3a8a;
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    gap: 0.375em;
    display: flex;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    animation: pulse 2s infinite ease-in-out;
    font-family: 'Poppins', system-ui, sans-serif;
}

#feedback-button span { font-size: 14px; }

#feedback-button:hover {
    background: #2563eb;
    color: #fff;
    transform: scale(1.05);
}

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

#hide-feedback-button {
    position: absolute;
    background: none;
    top: 10px;
    right: 10px;
    color: #2563eb;
    border: none;
    padding: 5px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#hide-feedback-button:hover {
    background: linear-gradient(87deg, rgba(205, 201, 237, 0.5), rgba(191, 228, 245, 0.45));
}

#feedback-form {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 375px;
    z-index: 10000;
}

#feedback-form.show {
    display: block;
    animation: bounceIn 0.4s ease;
}

@keyframes bounceIn {
    0%   { transform: scale(0.95); opacity: 0; }
    50%  { transform: scale(1.02); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

#feedback-form h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    /* color: #1e3a8a; */
    color: #060606;
    text-align: center;
    margin-bottom: 10px;
}

textarea,
input[type="email"] {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', system-ui, sans-serif;
}

textarea {
    font-family: 'Poppins', system-ui, sans-serif;
    max-height: 120px;
    border-radius: 8px;
    resize: vertical;
    /* margin: 4px auto; */
}

input::placeholder,
textarea::placeholder { color: #888; }

textarea:focus,
input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#char-count {
    display: block;
    text-align: right;
    font-size: 10px;
    color: #888;
}

.feedback-submit {
    padding: 10px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin: 8px auto 0;
    transition: background 0.2s, transform 0.2s;
    display: block;
    font-family: 'Poppins', system-ui, sans-serif;
}

.feedback-submit:hover {
    background: #1d4ed8;
    transform: scale(1.03);
}

.error   { font-size: 11px; color: #e74c3c; margin-top: -6px; }
.success { font-size: 11px; color: #2ecc71; margin-top: -6px; }
.fade-out { opacity: 0; transition: opacity 0.5s ease; }

/* ══════════════════════════════════════════════════════════════
   UPDATED RESPONSIVE / MEDIA QUERIES
   Replace the existing @media blocks at the bottom of styles.css
   with these.
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   UPDATED RESPONSIVE / MEDIA QUERIES
   ══════════════════════════════════════════════════════════════ */

/* ── TABLET ≤ 1400px ── */
@media (max-width: 1024px) {
    .prompt-grid-container { grid-template-columns: repeat(3, 1fr); }

    .search-wrapper {
        min-width: 0;   /* ✅ FIX */
    }
}
/* ── TABLET ≤ 1000px ── */
@media (max-width: 1000px) {
    .prompt-grid-container { grid-template-columns: repeat(2, 1fr); }

        .search-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 16px;
        gap: 8px;
    }

    .search-wrapper {
        flex: 100%;
        min-width: 0;   /* ✅ ADD THIS */
    }
    #type-dropdown,
    #subtype-dropdown     { flex: 1 1 48%; min-width: unset; }

    .information-section  { grid-template-columns: repeat(2, 1fr); }

    /* Cards – no scroll, auto height */
    .prompt-card          { height: auto; }
    .prompt-text          { overflow-y: visible; max-height: none; margin-bottom: 0; }
    .card-actions         { position: static; }
    .card-content         { overflow: visible; }

    /* ── HERO NOTE FIX ── */
    .hero-note {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .hero-note-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .count-group {
        flex: 1;
        max-width: 160px;
        margin: 0;
        padding: 10px 14px;
    }
}

/* ── TABLET ≤ 900px ── */
@media (max-width: 900px) {
    .hero-wrapper    { flex-direction: column; gap: 30px; margin-left: 0; }
    .hero-content    { max-width: 100%; flex: 1 1 100%; margin-left: 0; margin-top: -30px; }
    .image-section   { max-width: 100%; flex: 1 1 100%; justify-content: center; align-items: flex-end; }
    .cards-grid      { grid-template-columns: 1fr; }
     .share {
        width: 90%;
        min-height: 0px;
    }

    .share-container {
        flex-direction: row;       /* still side by side on iPad */
        padding: 1.5rem 20px;
        gap: 1rem;
    }

    .share-left {
        flex: 1;
        height: auto;
        padding: 14px;
    }

    .share-right {
        flex: 1.2;
        padding: 14px;
    }

    /* ── HERO NOTE FIX ── */
    .hero-note {
        width: 95%;
        flex-direction: column;
        align-items: center;
    }

    .hero-note-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .count-group {
        flex: 1;
        max-width: 150px;
        margin: 0;
        padding: 10px 12px;
    }
}

/* ── TABLET ≤ 768px ── */
@media (max-width: 768px) {
    .hero-section   { padding: 30px 0; }
    .hero-wrapper   { padding: 0 16px; }

    /* 1-column grid */
    .prompt-grid-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    /* ── SEARCH BAR ── */
/* ── KEY FIX FOR IPAD ── */
    .prompt-container {
        width: 100%;
        overflow-x: hidden;
    }

    #type-dropdown,
    #subtype-dropdown {
        width: 100%;
        max-width: 100%;
        min-width: 0;            /* ← KEY: allow shrinking */
        height: 40px;
        font-size: 13px;
        flex: none;
        border-radius: 10px;
        border: 1.5px solid rgba(37, 99, 235, 0.25);
        padding: 0 12px;
        background-color: #fff;
        cursor: pointer;
        box-sizing: border-box;
    }
    /* Cards – no scroll, auto height */
    .prompt-card          { height: auto; min-height: unset; }
    .prompt-text          { max-height: none; overflow-y: visible; margin-bottom: 0; }
    .card-actions         { position: static; border-top: 1px solid #e5e7eb; margin-top: 8px; }
    .card-content         { overflow: visible; height: auto; }

    .hero-badge           { position: static; display: inline-block; margin-bottom: 10px; }
    .hero-subtext         { max-width: 100%; }

    /* ── HERO NOTE FIX ── */
    .hero-note {
        width: 380px;
        flex-direction: column;
        align-items: center;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .hero-note-text {
        width: 100%;
        text-align: center;
        font-size: 13px;
        font-weight: 500;
    }

    .hero-note-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
    }

    .count-group {
        flex: 1;
        max-width: 140px;
        margin: 0;
        padding: 10px 12px;
    }

    .count-badge { font-size: 20px; }
    .label       { font-size: 10px; }

    /* ── WHY-FEATURES: 2×2 grid ── */
    .why-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        flex-wrap: unset;
        overflow-x: unset;
    }
    .why-card {
        flex-shrink: unset;
        width: 100%;
        justify-content: center;
    }

    .information-section { grid-template-columns: 1fr; }

    .share {
        width: 92%;
        padding: 1.5rem 0;
    }

    .share-container {
        flex-direction: column;    /* stack on smaller tablets */
        padding: 1rem 16px;
        gap: 1rem;
    }

    .share-left,
    .share-right {
        width: 100%;
        flex: none;
        height: auto;
        padding: 16px;
    }

    .back-btn {
        position: static;
        margin: 0 auto 8px;
        margin-left: 15px;
    }

    .form-header {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }



}

/* ── MOBILE ≤ 600px ── */
@media (max-width: 600px) {
    .prompt-grid-container { grid-template-columns: 1fr; padding: 0 8px; }

    /* Cards */
    .prompt-card  { height: auto; min-height: unset; }
    .prompt-text  { max-height: none; overflow-y: visible; margin-bottom: 0; }
    .card-actions { position: static; margin-top: 8px; }
    .card-content { overflow: visible; height: auto; }

    /* Form */
    .form-title   { font-size: 13px; }
    .share        { border-radius: 16px; padding: 0.75rem; width: 95%; }
    .share .form-group label { font-size: 11px; }
    .share .form-group input,
    .share .form-group textarea,
    .share .form-group select { font-size: 11px; padding: 6px 8px; }
    .share-btn    { font-size: 11px; padding: 8px 18px; }
    .back-btn     { position: static; margin: 0 260px 0 0px; }

    /* ── HERO NOTE FIX ── */
    .hero-note {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 0.5rem;
        gap: 0.5rem;
    }

    .hero-note-text {
        font-size: 12px;
        text-align: center;
    }

    .hero-note-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
    }

    .count-group {
        flex: 1;
        max-width: 130px;
        margin: 0;
        padding: 8px 10px;
    }

    .count-badge { font-size: 18px; }
    .label       { font-size: 10px; }

    /* WHY-FEATURES */
    .why-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        overflow-x: unset;
    }
    .why-card {
        flex-shrink: unset;
        width: 100%;
        justify-content: center;
    }

    .prompt-grid-container { margin-bottom: 8px; }
    .prompt-container      { padding-bottom: 0; }
    main.main              { margin-bottom: 0; }
}

/* ── MOBILE ≤ 480px ── */
@media (max-width: 480px) {
    .hero-section h1      { font-size: 26px; }
    .hero-section h1 span { font-size: 26px; }
    .hero-button          { font-size: 13px; padding: 10px 24px; }
    .hero-badge           { font-size: 11px; }
    .hero-subtext         { font-size: 12px; border-left: none; padding-left: 0; }

    /* ── HERO NOTE FIX ── */
    .hero-note {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .hero-note-text {
        font-size: 12px;
        text-align: center;
    }

    .hero-note-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }

    .count-group {
        flex: 1;
        max-width: 120px;
        margin: 0;
        padding: 8px 8px;
    }

    .count-badge { font-size: 18px; }
    .label       { font-size: 10px; }

    /* WHY-FEATURES */
    .why-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        flex-wrap: unset;
        overflow-x: unset;
    }
    .why-card {
        width: 100%;
        justify-content: center;
        font-size: 11px;
        flex-shrink: unset;
    }

    .info-card h2         { font-size: 13px; }
    .info-card p          { font-size: 11px; }
    #toggle-share-btn     { font-size: 11px; padding: 10px 24px; }
    #feedback-button      { padding: 8px 12px; font-size: 12px; }
    #feedback-form        { max-width: 260px; }

    /* Cards */
    .prompt-card          { height: auto; min-height: unset; }
    .prompt-text          { max-height: none; overflow-y: visible; margin-bottom: 0; }
    .card-actions         { position: static; margin-top: 8px; }
    .card-content         { overflow: visible; height: auto; }

    .prompt-grid-container { margin-bottom: 4px; }
    footer, .custom-footer { margin-top: 12px; }

    /* ── SHARE SECTION ── */
    .share-section        { padding: 12px 10px; }
    .share-container      { width: 100%; padding: 14px; border-radius: 12px; }
    .best-practices       { padding: 12px; font-size: 12px; }

    .share-form           { display: flex; flex-direction: column; gap: 10px; }
    .share-form label     { font-size: 12px; margin-bottom: 4px; }
    .share-form input,
    .share-form textarea,
    .share-form select    { width: 100%; padding: 8px 10px; font-size: 12px; border-radius: 8px; }
    .share-form textarea  { height: 70px; resize: none; }
    .share-form input[type="file"] { font-size: 11px; }
    .share-form button    { width: 100%; padding: 10px; font-size: 13px; border-radius: 20px; }
    .share-close          { font-size: 12px; padding: 6px 12px; }
    .share-container h2   { font-size: 14px; text-align: center; margin-bottom: 10px; }
}

