/* Narrav AI Prompt Launcher */

.ai-prompt-page {
    color: #202534;
    background: #fbfcff;
}

.ai-prompt-page .header-contact {
    white-space: nowrap;
}

.ai-prompt-page .logo-word {
    color: #1c2033;
}

.ai-prompt-page .nav-overlay {
    padding: 0;
    border: 0;
    appearance: none;
}

.script-required {
    padding: .8rem 1rem;
    color: #7b241c;
    background: #fff0ed;
    text-align: center;
    font-size: .85rem;
}

.ai-prompt-page .ai-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.2rem, 8vw, 7rem) 0 4.5rem;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(34, 211, 238, .16), transparent 36%),
        radial-gradient(ellipse at 85% 3%, rgba(124, 58, 237, .14), transparent 37%),
        linear-gradient(180deg, #f5f7ff 0%, #fff 100%);
}

.ai-hero-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    right: -130px;
    bottom: -200px;
    border-radius: 50%;
    background: rgba(34, 211, 238, .13);
    filter: blur(12px);
    pointer-events: none;
}

.ai-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ai-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.2rem;
    color: #5747c8;
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: .16em;
    font-size: .76rem;
}

.ai-kicker span { font-size: 1rem; }

.ai-hero h1 {
    color: #15254a;
    font-family: var(--font-head);
    font-size: clamp(2.1rem, 5.5vw, 3.85rem);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: .02em;
}

.ai-hero h1 span {
    color: #543fc2;
    background: linear-gradient(100deg, #4338ca, #087ec4 78%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-hero-lead {
    margin: 1.3rem auto 1.5rem;
    max-width: 680px;
    color: #58647a;
    font-size: clamp(.98rem, 2vw, 1.1rem);
    line-height: 1.9;
}

.ai-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .65rem 1.2rem;
    color: #495873;
    font-size: .86rem;
}

.ai-benefits span { display: inline-flex; align-items: center; gap: .35rem; }
.ai-benefits b { color: #367d73; }

.ai-tool-section {
    position: relative;
    z-index: 2;
    padding: 0 0 4.2rem;
    margin-top: -1.5rem;
}

.prompt-panel {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2.4rem);
    border: 1px solid rgba(36, 52, 90, .1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(31, 45, 85, .11);
}

.prompt-panel-heading,
.provider-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.step-label {
    color: #6a59d3;
    font-family: var(--font-en);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.prompt-panel-heading h2,
.provider-heading h2 {
    margin-top: .2rem;
    color: #202943;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    line-height: 1.5;
}

.free-label {
    padding: .35rem .7rem;
    border: 1px solid #d9d3ff;
    border-radius: 999px;
    color: #5747c8;
    background: #f6f4ff;
    font-family: var(--font-en);
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .1em;
    white-space: nowrap;
}

.prompt-label {
    display: block;
    margin: 1.55rem 0 .55rem;
    color: #273550;
    font-size: .9rem;
    font-weight: 700;
}

.prompt-panel textarea {
    display: block;
    width: 100%;
    min-height: 210px;
    padding: 1rem 1.1rem;
    border: 1px solid #d8deea;
    border-radius: 12px;
    outline: none;
    color: #2d374b;
    background: #fcfdff;
    font: inherit;
    font-size: .95rem;
    line-height: 1.8;
    resize: vertical;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.prompt-panel textarea:focus {
    border-color: #7164d9;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(113, 100, 217, .12);
}

.prompt-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-top: .45rem;
    color: #7b8495;
    font-size: .76rem;
}

.prompt-meta output { flex-shrink: 0; font-variant-numeric: tabular-nums; }

.prompt-examples { margin-top: 1.35rem; }
.prompt-examples-label { margin-bottom: .55rem; color: #536078; font-size: .8rem; font-weight: 700; }
.example-buttons { display: flex; flex-wrap: wrap; gap: .55rem; }

.example-button {
    padding: .5rem .85rem;
    border: 1px solid #dfe3ec;
    border-radius: 999px;
    color: #4c5670;
    background: #fff;
    font: inherit;
    font-size: .77rem;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.example-button:hover,
.example-button:focus-visible { border-color: #8d81e4; color: #5141bf; background: #f8f7ff; }

.provider-heading {
    margin-top: 2.1rem;
    padding-top: 1.4rem;
    border-top: 1px solid #edf0f5;
}

.provider-hint { color: #7b8495; font-size: .75rem; text-align: right; }

.provider-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

.provider-card {
    display: flex;
    flex-direction: column;
    min-height: 148px;
    padding: 1.1rem 1rem .95rem;
    overflow: hidden;
    border: 1px solid #e1e5ee;
    border-radius: 14px;
    color: #242b3d;
    background: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.provider-card:hover,
.provider-card:focus-visible {
    transform: translateY(-3px);
    border-color: #aaa0ee;
    box-shadow: 0 10px 28px rgba(54, 61, 112, .1);
}

.provider-card:disabled { opacity: .5; cursor: not-allowed; }
.provider-brand { color: #8a91a1; font-family: var(--font-en); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.provider-name { margin-top: .25rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.provider-action { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .8rem; color: #4d48ba; font-size: .76rem; font-weight: 700; }
.provider-claude .provider-action { color: #a35b32; }
.provider-perplexity .provider-action { color: #087e8b; }

.privacy-note {
    margin-top: 1.1rem;
    padding: .8rem .9rem;
    border-radius: 9px;
    color: #58647a;
    background: #f5f7fb;
    font-size: .76rem;
    line-height: 1.7;
}

.ai-status { min-height: 1.4rem; margin-top: .5rem; color: #495873; font-size: .78rem; }
.account-note { margin: .9rem auto 0; color: #7b8495; font-size: .74rem; text-align: center; }

.how-section { padding: 4.2rem 0 5rem; background: #f2f4f9; }
.how-heading { margin-bottom: 2rem; text-align: center; }
.how-heading h2 { margin-top: .45rem; color: #202943; font-size: clamp(1.45rem, 3.5vw, 2rem); line-height: 1.45; }
.how-heading h2 span { color: #5544c2; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 980px; margin: 0 auto; }
.how-card { min-height: 180px; padding: 1.35rem; border: 1px solid #e1e5ee; border-radius: 14px; background: #fff; }
.how-number { color: #6a59d3; font-family: var(--font-en); font-size: .85rem; font-weight: 700; letter-spacing: .12em; }
.how-card h3 { margin-top: .55rem; color: #25314b; font-size: 1.05rem; }
.how-card p { margin-top: .45rem; color: #69748a; font-size: .83rem; line-height: 1.8; }

.ai-contact-section { padding: 4rem 0; background: linear-gradient(110deg, #f9f7ff, #f3fbff); }
.ai-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 980px; }
.ai-contact-inner h2 { margin-top: .4rem; color: #1d2c50; font-size: clamp(1.45rem, 3.3vw, 2rem); line-height: 1.5; }
.ai-contact-inner p:not(.step-label) { margin-top: .65rem; color: #5c6880; font-size: .9rem; }
.ai-contact-inner .btn { flex-shrink: 0; white-space: nowrap; }
.ai-contact-inner .btn span { font-size: 1.2em; }

.ai-prompt-page .footer { padding: 2.8rem 0 1.4rem; }
.ai-prompt-page .footer-inner { grid-template-columns: 1fr 1fr; padding-bottom: 2rem; }
.ai-prompt-page .footer-logo { display: inline-flex; align-items: center; gap: .6rem; }
.ai-prompt-page .footer-logo .logo-mark { width: 30px; height: 30px; }
.ai-prompt-page .footer-logo .logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.ai-prompt-page .footer-copy { padding-top: 1.2rem; color: rgba(255, 255, 255, .68); font-size: .75rem; text-align: center; }

@media (max-width: 768px) {
    .ai-prompt-page .header-inner { min-height: 60px; }
    .ai-prompt-page .header-cta-note { display: none; }
    .ai-prompt-page .nav-list > li > a .en { display: inline; }
    .ai-tool-section { padding-bottom: 3.2rem; }
    .prompt-panel { border-radius: 16px; }
    .prompt-panel textarea { min-height: 190px; }
    .provider-grid { grid-template-columns: 1fr; gap: .65rem; }
    .provider-card { min-height: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 .8rem; padding: .85rem 1rem; }
    .provider-brand { grid-column: 1; }
    .provider-name { grid-column: 1; margin-top: .1rem; font-size: 1.05rem; }
    .provider-action { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; text-align: right; }
    .how-section { padding: 3.4rem 0; }
    .how-grid { grid-template-columns: 1fr; gap: .7rem; }
    .how-card { min-height: 0; padding: 1.1rem 1.2rem; }
    .ai-contact-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
    .ai-contact-inner .btn { width: 100%; }
    .ai-prompt-page .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .ai-prompt-page .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .ai-benefits { flex-direction: column; align-items: center; gap: .35rem; }
    .provider-hint { max-width: 120px; }
    .prompt-meta { font-size: .69rem; }
    .example-buttons { gap: .4rem; }
    .example-button { padding: .46rem .68rem; font-size: .71rem; }
}
