:root {
    --main-bg: #1b1d24;
    --block-bg: #232634;
    --accent: #f76a0c;
    --accent-light: #f76a0c;
    --text-main: #f3f4f6;
    --text-secondary: #a1a1aa;
    --input-bg: #181a20;
    --border: #343746;
    --error: #ff3d00;
}

/* Fonts */
h1, h2, h3, h4, h5, h6, .logo, .cta-title, .faq-question {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}
body, p, li, ul, ol, label, input, textarea, button, .cta-text, .faq-answer, .about, .cta-btn {
    font-family: 'Montserrat', Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background: var(--main-bg);
    color: var(--text-main);
    font-size: 1rem;
    margin: 0;
    min-height: 100vh;
    letter-spacing: 0;
}
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    padding: 2.2rem 1.2rem;
}
.main {
    flex: 1 1 auto;
}

/* Header & Footer are styled equally */
.header {
    background: var(--block-bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 14px #191b232a;
}
.header .container {
    text-align: center;
    padding-top: 2.5rem;
    padding-bottom: 2.2rem;
}
.logo {
    display: inline-block;
    font-size: 2.3rem;
    margin: 0 auto;
    color: var(--accent);
    font-weight: 700;
}
.tagline {
    margin-top: 0.4rem;
    color: var(--text-secondary);
    font-size: 1.18rem;
    font-weight: 500;
}
.footer {
    background: var(--block-bg);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 1.2rem 1.1rem 1.6rem 1.1rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
    margin-top: 2.2rem;
}

@media (max-width: 900px) {
    .container {
        padding: 1.1rem 0.8rem;
    }
    .footer {
        padding: 1.1rem 0.4rem 1.3rem 0.4rem;
        margin-top: 1.1rem;
    }
    .header .container {
        padding-top: 1.4rem;
        padding-bottom: 1.2rem;
    }
}
@media (max-width: 600px) {
    .container {
        padding: 0.7rem 0.5rem;
    }
    .header .container {
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }
}

/* External links styled as .chatgpt-link everywhere */
.chatgpt-link {
    color: #50a37f;
    text-decoration: underline;
    margin-left: 0.4em;
    transition: color 0.2s;
}
.chatgpt-link:hover,
.chatgpt-link:focus {
    color: #ff9900;
}

/* Generator input below label, button below */
.generator .input-group {
    margin-bottom: 1rem;
}
.generator input[type="url"] {
    display: block;
    width: 100%;
    margin-bottom: 0.6rem;
    border-radius: 6px;
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    color: var(--text-main);
    font-size: 1.08rem;
    padding: 0.65rem 0.95rem;
    transition: border 0.2s;
}
.generator input[type="url"]:focus {
    border-color: var(--accent);
    outline: none;
}
.generator .primary-btn {
    width: 100%;
    margin: 0 0 1rem 0;
    border-radius: 6px;
    padding: 0.72rem 0;
    font-size: 1.13rem;
    font-weight: 600;
    background: var(--accent);
    color: #181a20;
    border: none;
    box-shadow: 0 2px 10px #ff990025;
    cursor: pointer;
    transition: background 0.19s, color 0.19s, box-shadow 0.19s;
    display: block;
}
.generator .primary-btn:hover,
.generator .primary-btn:focus {
    background: var(--accent-light);
    color: #232634;
}

/* Disclaimer */
.generator-disclaimer {
    background: #291f08;
    color: #f76a0c;
    border-left: 4px solid #f76a0c;
    padding: 0.75em 1em 0.75em 1.5em;
    border-radius: 7px;
    margin-bottom: 1.25rem;
    margin-top: -0.2rem;
    font-size: 0.99rem;
    font-weight: 500;
    box-shadow: 0 2px 10px #ff990015;
    position: relative;
    line-height: 1.5;
    max-width: 99vw;
}
.disclaimer-star {
    color: #ff4d1d;
    font-size: 1.12em;
    margin-right: 0.5em;
    position: absolute;
    left: 0.7em;
    top: 0.93em;
}
@media (max-width: 600px) {
    .generator {
        padding: 1.1rem 0.6rem;
    }
    .generator-disclaimer {
        font-size: 0.97rem;
        padding: 0.6em 0.7em 0.6em 1.4em;
    }
    .disclaimer-star {
        left: 0.5em;
        top: 0.89em;
    }
}

/* About, FAQ, CTA: slightly reduced padding on mobile */
.about, .faq, .cta {
    margin: 2.7rem 0;
    padding: 1.7rem 1.3rem;
}
@media (max-width: 600px) {
    .about, .faq, .cta {
        margin: 1.1rem 0;
        padding: 1.1rem 0.6rem;
    }
}

/* Modern CTA — personal variant */
.cta {
    background: linear-gradient(110deg, #232634 75%, #252842 100%);
    border-radius: 16px;
    box-shadow: 0 6px 32px #191b237a;
    padding: 1.6rem 2rem 1.6rem 2rem;
    margin: 2.7rem 0;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.cta-personal.horizontal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2.3rem;
}
.cta-photo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.cta-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 16px #191b2352;
    border: 3px solid #232634;
    background: #222;
}
.cta-info {
    flex: 1 1 0%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.cta-title {
    color: #50a37f;
    font-size: 1.3rem;
    font-family: 'Merriweather', serif;
    margin-top: 0;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
    font-weight: 700;
}
.cta-text {
    color: var(--text-main);
    font-size: 1.11rem;
    margin: 0;
    line-height: 1.55;
    font-family: 'Montserrat', Arial, sans-serif;
}
.cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff9900 65%, #ffbb3b 100%);
    color: #232634;
    border-radius: 8px;
    font-size: 1.09rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.88em 2.1em 0.88em 2.1em;
    box-shadow: 0 2px 14px #ff990028;
    transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.13s;
    border: none;
    cursor: pointer;
    margin-top: 0.8rem;
}
.cta-btn:hover, .cta-btn:focus {
    background: linear-gradient(90deg, #ffbb3b 80%, #ff9900 100%);
    color: #181a20;
    box-shadow: 0 4px 20px #ff990038;
    transform: translateY(-2px) scale(1.03);
}
.cta-btn i {
    margin-right: 0.7em;
    font-size: 1.17em;
    vertical-align: -2px;
}
@media (max-width: 700px) {
    .cta {
        padding: 1.1rem 0.6rem 1.3rem 0.6rem;
        margin: 1.1rem 0;
        max-width: 99vw;
    }
    .cta-personal.horizontal {
        flex-direction: column;
        gap: 1.3rem;
        align-items: center;
        text-align: center;
    }
    .cta-photo {
        margin-bottom: 0.8rem;
    }
}

.ai-quote-carousel {
    position: relative;
    max-width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}
.ai-quote-carousel .ai-quote {
    min-width: 0;
    word-break: break-word;
    white-space: normal;
    display: none;
    width: 100%;
    background: linear-gradient(90deg, #232634 70%, #181a20 100%);
    color: var(--accent);
    border-left: 5px solid var(--accent);
    padding: 1.4rem 2.2rem 1.1rem 1.4rem;
    font-size: 1.19rem;
    font-style: italic;
    border-radius: 10px;
    box-shadow: 0 2px 14px #191b2370;
    opacity: 0;
    transition: opacity 0.4s;
    margin: 0 1.3rem;
}
.ai-quote-carousel .ai-quote.active {
    display: block;
    opacity: 1;
    position: relative;
    animation: fadeInQuote 0.5s;
}
@keyframes fadeInQuote {
    from { opacity: 0; transform: translateY(15px);}
    to { opacity: 1; transform: translateY(0);}
}
.ai-quote-author {
    display: block;
    margin-top: 0.8rem;
    color: var(--text-main);
    font-size: 0.99rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.ai-quote-carousel .carousel-prev,
.ai-quote-carousel .carousel-next {
    background: #232634;
    border: none;
    color: var(--accent);
    font-size: 1.7rem;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, transform 0.1s;
    box-shadow: 0 2px 6px #191b2355;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.ai-quote-carousel .carousel-prev:hover,
.ai-quote-carousel .carousel-next:hover {
    background: var(--accent);
    color: #232634;
    transform: scale(1.07);
}

@media (max-width: 900px) {
    .ai-quote-carousel {
        max-width: 99vw;
        min-height: 0;
    }
    .ai-quote-carousel .ai-quote {
        padding: 1.1rem 0.6rem 0.9rem 0.9rem;
        font-size: 1rem;
        margin: 0 0.6rem;
    }
    .about {
        margin: 1.1rem 0 1.4rem 0;
    }
    .faq {
        margin: 1.1rem 0 1.4rem 0;
    }
    .cta {
        margin-bottom: 1.2rem;
    }
}

.faq-list, .result-container, .result-header, .about ul, .faq-answer, .cta, .generator {
    max-width: 100%;
    overflow-wrap: break-word;
}

.faq {
    margin: 2.5rem 0 2.5rem 0;
}
.faq h2 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0;
}
.faq-list {
    margin-top: 1.3rem;
}
.faq-item {
    background: var(--block-bg);
    border-radius: 8px;
    box-shadow: 0 2px 16px #191b2357;
    margin-bottom: 1.18rem;
    overflow: hidden;
    border: 1.5px solid var(--border);
}
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--accent);
    font-size: 1.06rem;
    font-weight: 700;
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.17s, color 0.17s;
    font-family: 'Merriweather', serif;
}
.faq-question:hover,
.faq-item.open .faq-question {
    background: #181a20;
    color: var(--accent-light);
}
.faq-answer {
    display: none;
    padding: 1rem 1.35rem 1rem 1.3rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.63;
}
.faq-item.open .faq-answer {
    display: block;
    animation: fadeInFAQ 0.44s;
}
@keyframes fadeInFAQ {
    from { opacity: 0; transform: translateY(12px);}
    to { opacity: 1; transform: translateY(0);}
}
.faq-question i {
    transition: transform 0.22s;
}
.faq-item.open .faq-question i {
    transform: rotate(-180deg);
}

/* FAQ links look like .chatgpt-link */
.faq-answer a {
    color: #50a37f;
    text-decoration: underline;
    transition: color 0.2s;
}
.faq-answer a:hover,
.faq-answer a:focus {
    color: #ff9900;
}

.result-container {
    display: none;
    margin-top: 1.2rem;
}
.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.result-header h3 {
    font-size: 1.12rem;
    color: var(--accent);
    margin: 0;
    font-weight: 600;
}
.result-actions {
    display: flex;
    gap: 0.6rem;
}
.icon-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.19rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.3em 0.5em;
    border-radius: 4px;
}
.icon-btn:hover, .icon-btn:focus {
    color: var(--accent-light);
    background: #26282f;
}
textarea#result-content {
    width: 100%;
    min-height: 210px;
    background: var(--input-bg);
    color: var(--text-main);
    border: 1.5px solid var(--border);
    border-radius: 7px;
    font-size: 1.04rem;
    padding: 1.07rem 0.8rem;
    resize: vertical;
    margin-top: 0.6rem;
    box-sizing: border-box;
}
.loading {
    display: none;
    margin: 1.3rem 0;
    text-align: center;
    color: var(--text-secondary);
}
.spinner {
    width: 34px;
    height: 34px;
    border: 4px solid #232634;
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 0.7em auto;
    display: block;
}
@keyframes spin {
    100% { transform: rotate(360deg);}
}
.error-message {
    background: #310e08;
    color: var(--error);
    padding: 0.7rem 1.1rem;
    border-left: 3px solid var(--error);
    border-radius: 4px;
    margin-top: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.98rem;
}
code {
    background: #232634;
    color: var(--accent);
    border-radius: 4px;
    padding: 0.08em 0.44em;
    font-size: 0.98em;
    font-family: "JetBrains Mono", "Fira Mono", monospace;
}
.about ul {
    margin-top: 0.8rem;
    margin-bottom: 0;
    padding-left: 1.35rem;
}
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    border: 0; white-space: nowrap;
}
.llms-example-block {
    margin: 2.2rem 0 2.4rem 0;
}
.llms-txt-example {
    background: #232634;
    border: 1.5px solid #343746;
    border-radius: 8px;
    box-shadow: 0 3px 18px #191b2335;
    padding: 1.3rem 1.1rem 1.3rem 1.2rem;
    font-family: "JetBrains Mono", "Fira Mono", monospace;
    font-size: 1.06rem;
    color: #f3f4f6;
    overflow-x: auto;
    margin-top: 0.7em;
}
.llms-txt-example pre {
    margin: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}
.llms-txt-example .llms-comment {
    color: #ffbb3b;
    font-weight: 700;
}
.llms-txt-example .llms-desc {
    color: #50a37f;
}
.llms-txt-example .llms-info {
    color: #b2c0d2;
}
.llms-txt-example .llms-heading {
    color: #ff9900;
    font-weight: 700;
}
h2, h3, h4 {
    color: #50a37f;
}
.primary-btn::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.primary-btn {
    position: relative;
    overflow: hidden;
}

.primary-btn:hover::after {
    left: 100%;
}




