/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #8B7EC8;
    --primary-light-blue: #E8F4F8;
    --primary-light-purple: #F0E8FF;
    --accent-purple: #8B7EC8;
    --accent-blue: #7EC8E3;
    --secondary-orange: #FFB366;
    --secondary-pink: #FFCCCB;
    --text-dark: #333333;
    --text-medium: #666666;
    --white: #FFFFFF;
    --bg-secondary: #F8F9FA;

    /* Shadows */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(139, 126, 200, 0.3);

    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;

    /* Section Spacing */
    --section-padding-small: 80px;
    --section-padding-medium: 120px;
    --section-padding-large: 160px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-cubic: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Character Type Colors - Subtle and Modern */
    --type-relationships: #6366f1;
    --type-authority: #f59e0b;
    --type-achievement: #10b981;
    --type-tradition: #8b5cf6;
    --type-stimulation: #ec4899;
    --type-hedonism: #f97316;
    --type-self-direction: #06b6d4;
    --type-universalism: #3b82f6;
    --type-benevolence: #14b8a6;
    --type-security: #84cc16;
    --type-conformity: #a855f7;
    --type-power: #ef4444;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header.header-hidden {
    transform: translateY(-100%);
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    position: relative;
}

.lang-select {
    appearance: none;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(139, 126, 200, 0.3);
    border-radius: 20px;
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-select-mobile {
    display: none;
}

.lang-select-desktop {
    display: block;
}

.lang-select:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--accent-purple);
}

.lang-select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 126, 200, 0.2);
}

.language-switcher::after {
    content: '▼';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.7rem;
    color: var(--accent-purple);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 126, 200, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(139, 126, 200, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Hero Section */
.hero {
    padding: var(--section-padding-medium) 0;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-light-purple));
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: white;
    border-radius: 45px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(139, 126, 200, 0.15);
    position: relative;
    overflow: hidden;
    border: 12px solid #1a1a1a;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--primary-light-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.mockup-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.mockup-logo::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-10px, -10px);
}

/* Hero Section Screenshot Slideshow */
.screenshot-slideshow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 1;
}

/* Note: .screenshot-slide definition is consolidated in "How-to-Use Page Screenshot Enhancements" section below (line ~2893)
   The consolidated version includes performance optimizations and works for both hero and guide pages */

.mockup-animal {
    width: 120px;
    height: 120px;
    background: var(--secondary-orange);
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-buttons .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 8px 20px rgba(139, 126, 200, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
}

.btn-secondary:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 60px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.store-btn img {
    width: 170px;
    height: 50px;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.store-btn img[src*="apple"] {
    width: 150px;
    height: 43px;
}

.store-btn:hover {
    transform: translateY(-3px) scale(1.08);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.store-btn:active {
    transform: translateY(-1px) scale(1.03);
}

.store-btn .coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-orange);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Steps Section */
.steps {
    padding: var(--section-padding-medium) 0;
    background: white;
}

.steps h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.steps h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: var(--primary-light-blue);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.step-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 126, 200, 0.25);
}

.step-card:hover::before {
    opacity: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.12), rgba(146, 197, 247, 0.12));
    border-radius: 20px;
    color: var(--accent-purple);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: white;
    transform: scale(1.05);
}

.step-icon svg {
    width: 48px;
    height: 48px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-medium);
}

/* Character Types Section */
.character-types {
    padding: var(--section-padding-medium) 0;
    background: linear-gradient(135deg, var(--primary-light-purple), var(--primary-light-blue));
}

.character-types h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.character-types h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    border-radius: 2px;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.character-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.character-emoji-container {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(139, 126, 200, 0.3);
    background: rgba(255, 255, 255, 1);
}

.character-card:hover::before {
    opacity: 1;
}

.character-card:hover .character-emoji {
    transform: scale(1.1) rotate(5deg);
}

.character-emoji {
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.character-emoji[src*="elephant"],
.character-emoji[src*="lion"],
.character-emoji[src*="rabbit"],
.character-emoji[src*="bear"] {
    max-width: 160px;
    max-height: 140px;
}

.character-emoji[src*="tortoise"],
.character-emoji[src*="honeybees"] {
    max-width: 140px;
    max-height: 160px;
}

.character-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.character-category {
    font-size: 0.85rem;
    color: var(--accent-purple);
    margin-bottom: 0.75rem;
}

.character-description {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding-medium) 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 2rem;
}

.testimonial-card {
    background: var(--primary-light-purple);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-profile {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.testimonial-type {
    font-size: 0.9rem;
    color: var(--accent-purple);
    font-weight: 600;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-purple);
}

.carousel-dot:hover {
    background: var(--accent-blue);
}

.carousel-dot:focus {
    border-color: var(--accent-purple);
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-page header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-page .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-purple);
    text-decoration: none;
}

.legal-page main {
    flex: 1;
    padding: 4rem 2rem 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.legal-page h2 {
    color: var(--text-dark);
    margin: 3rem 0 1.5rem 0;
    font-size: 1.5rem;
}

.legal-page section:first-of-type h2 {
    margin-top: 0;
}

.legal-page h3 {
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.legal-page p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.legal-page ul {
    margin: 1.5rem 0 2rem 2rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.legal-page section {
    margin-bottom: 2.5rem;
}

.legal-page a {
    color: var(--accent-purple);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-page footer {
    text-align: center;
    padding: 2rem 0;
    background: var(--primary-light-purple);
    margin-top: auto;
}

.legal-page footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.legal-page footer nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-page footer nav a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-page footer nav a:hover {
    color: var(--accent-purple);
}

/* Assessment Page */
.assessment-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.assessment-page header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.assessment-page .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-purple);
    text-decoration: none;
}

.assessment-intro {
    padding: 3rem 0;
    text-align: center;
}

.assessment-intro h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.assessment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.coming-soon {
    background: var(--primary-light-purple);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.coming-soon h2 {
    color: var(--accent-purple);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.notify-form {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.notify-form input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--accent-purple);
    border-radius: 10px;
    font-size: 1rem;
    min-width: 250px;
}

.preview-features ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.preview-features li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

/* Contact Page */
.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.contact-method {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-form {
    background: var(--primary-light-blue);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* How to Use Page Styles */
.guide-hero {
    padding: var(--section-padding-small) 0;
    background: linear-gradient(135deg, #f5f0ff 0%, #e8f4f8 100%);
    min-height: auto;
    margin-top: 2rem;
}

.guide-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: block !important;
    grid-template-columns: none !important;
}

.guide-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
    display: block;
    white-space: normal;
}

.guide-hero .hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.35rem);
    color: var(--text-medium);
    line-height: 1.6;
}

/* How-to-Use page specific section spacing */
main#main-content .steps {
    padding: var(--section-padding-large) 0;
    position: relative;
}

/* First section top margin */
main#main-content > .steps:first-of-type {
    margin-top: 2rem;
}

/* Add visual separation between sections */
main#main-content .steps + .steps {
    padding-top: var(--section-padding-large);
}

/* Section Title and Intro Styles */
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.section-intro {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    color: var(--text-medium);
    line-height: 1.7;
    padding: 0 1rem;
}

.guide-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-medium);
    font-size: 1.125rem;
}

.faq-item {
    text-align: left;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

.guide-cta-section h2 {
    margin-bottom: 1rem;
}

.guide-cta-section p {
    color: var(--text-medium);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.guide-cta-section .btn {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

/* Assessment Preview Screenshots */
.assessment-preview {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--primary-light-purple);
    border-radius: 16px;
}

.assessment-preview h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.preview-intro {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.screenshot-item {
    text-align: center;
}

.screenshot-placeholder {
    background: white;
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.screenshot-placeholder .material-symbols-outlined {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.screenshot-placeholder p {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.screenshot-caption {
    font-size: 0.9rem;
    color: var(--text-medium);
}

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

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--primary-light-purple);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-links a[aria-current="page"] {
    color: var(--accent-purple);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-purple);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-purple);
    transform: scale(1.1);
}

.social-links a:hover svg {
    fill: white;
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-purple);
    transition: fill 0.3s ease;
}

.copyright {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Small mobile devices (iPhone SE and similar) */
@media (max-width: 375px) {
    .container {
        padding: 0 0.75rem;
    }

    .header-content {
        gap: 0.25rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .header-actions {
        gap: 0.25rem;
    }

    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .lang-select-mobile {
        padding: 0.375rem 1rem 0.375rem 0.5rem;
        font-size: 0.75rem;
        min-width: 40px;
    }
}

/* Tablet Responsive - 992px */
@media (max-width: 992px) {
    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 700px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-actions {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .lang-select-desktop {
        display: none;
    }

    .lang-select-mobile {
        display: block;
        padding: 0.4rem 1.5rem 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-width: 50px;
    }

    .hero {
        padding: var(--section-padding-small) 0;
        min-height: auto;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .hero-text {
        text-align: center;
        display: contents;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        order: 1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        order: 2;
        margin-bottom: 2rem;
    }

    .mockup-container {
        order: 3;
        margin-bottom: 2.5rem;
    }

    .hero-buttons-container {
        order: 4;
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .store-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 280px;
        height: 570px;
        transform: perspective(1000px) rotateY(0deg);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .characters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .character-card {
        padding: 2rem;
    }

    .character-emoji-container {
        width: 180px;
        height: 180px;
    }

    .character-emoji {
        max-width: 160px;
        max-height: 160px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Fallback for when JavaScript hasn't loaded yet */
.no-js .fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transition: none;
    }
    .carousel-dot, .btn, .character-card, .step-card, .store-btn {
        transition: none;
    }
    .screenshot-slide {
        transition: none;
    }
}

/* Focus Styles */
.btn:focus, .lang-select:focus, .carousel-dot:focus, .character-card:focus {
    outline: 3px solid #4C3A8A;
    outline-offset: 2px;
    box-shadow: 0 0 0 1px #ffffff;
}

.store-btn:focus {
    outline: 3px solid var(--accent-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    .character-card, .step-card, .testimonial-card {
        border: 1px solid var(--text-dark);
    }
}

/* Performance optimizations - only use will-change during transitions */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .screenshot-slide img:hover,
    .character-emoji:hover {
        will-change: transform;
    }

    .fade-in:not(.visible) {
        will-change: opacity, transform;
    }
}

/* Remove will-change after transitions complete */
.fade-in.visible {
    will-change: auto;
}

.screenshot-slide img,
.character-emoji {
    will-change: auto;
}

/* Print styles */
@media print {
    .header, .store-buttons, .testimonials {
        display: none;
    }

    .hero {
        background: white;
        color: black;
    }

    .character-card, .step-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* How-to-Use Guide Enhancements */

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Table of Contents */
.guide-toc {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.guide-toc h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guide-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-toc li {
    margin-bottom: 0.75rem;
}

.guide-toc a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
}

.guide-toc a:hover {
    color: var(--primary);
}

.guide-toc a.active {
    color: var(--primary);
    font-weight: 600;
}

.guide-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-toc {
        position: static;
        margin-bottom: 2rem;
    }

    .guide-hero {
        padding: var(--section-padding-small) 0;
    }

    main#main-content .steps {
        padding: var(--section-padding-medium) 0;
    }

    main#main-content .steps + .steps {
        padding-top: var(--section-padding-medium);
    }

    .steps {
        padding: var(--section-padding-medium) 0;
    }
}

/* Quick Start Box */
.quick-start-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f7 100%);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
}

.quick-start-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-start-box h3 svg {
    flex-shrink: 0;
}

.quick-start-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-start-box li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.quick-start-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Step Number Badges */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 0.75rem;
}

.step-title-with-number {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(139, 126, 200, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(139, 126, 200, 0.4);
}

.back-to-top:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

/* Section Anchors */
.section-anchor {
    scroll-margin-top: 100px;
}

.section-anchor + .section-anchor {
    margin-top: 5rem;
}

/* Enhanced section spacing */
.guide-section {
    padding: 4rem 0;
}

.guide-section:nth-child(even) {
    background: var(--bg-secondary);
}

/* Mobile improvements */
@media (max-width: 640px) {
    .quick-start-box {
        padding: 1.25rem 1.5rem;
    }

    .quick-start-box h3 {
        font-size: 1.125rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
}

/* How-to-Use Page - Additional Styles */

/* Use Cases Grid - 6 cards layout */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.use-case-card {
    background: white;
    padding: 2rem 1.75rem;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(139, 126, 200, 0.1);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139, 126, 200, 0.15);
    border-color: var(--accent-purple);
}

.use-case-card:hover::before {
    transform: scaleX(1);
}

.use-case-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-light-purple));
    border-radius: 16px;
    color: var(--accent-purple);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.use-case-icon .material-symbols-outlined {
    font-size: 32px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.use-case-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-card li {
    padding: 0.6rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.use-case-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: 500;
    font-size: 1rem;
}

/* Features Grid - 2 columns for main features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Note: Main .feature-card definition is in "Feature Cards with Screenshots" section below (line ~3008) */

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(139, 126, 200, 0.3);
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-intro {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.feature-benefits li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.feature-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
    font-size: 1.25rem;
}

.feature-card .btn {
    margin-top: 1rem;
}

/* Tips Grid - 2 columns */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
}

.tip-card {
    background: var(--primary-light-purple);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--accent-purple);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.tip-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-card p {
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

/* Character Types Grid - 12 cards, 3 columns */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.type-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid rgba(139, 126, 200, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--type-color, var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--type-color, var(--accent-purple));
}

.type-card:hover::before {
    opacity: 1;
}

.type-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: transform 0.3s ease, background 0.3s ease;
    /* Fallback for older browsers */
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.1), rgba(139, 126, 200, 0.05));
    border: 2px solid rgba(139, 126, 200, 0.2);
    /* Modern browsers with color-mix support */
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--type-color, var(--accent-purple)) 10%, white),
        color-mix(in srgb, var(--type-color, var(--accent-purple)) 5%, white));
    border-color: color-mix(in srgb, var(--type-color, var(--accent-purple)) 20%, white);
}

.type-icon .material-symbols-outlined {
    font-size: 36px;
    color: var(--type-color, var(--accent-purple));
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
    transition: font-variation-settings 0.3s ease;
}

.type-card:hover .type-icon {
    transform: scale(1.08);
    /* Fallback for older browsers */
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.15), rgba(139, 126, 200, 0.08));
    /* Modern browsers with color-mix support */
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--type-color, var(--accent-purple)) 15%, white),
        color-mix(in srgb, var(--type-color, var(--accent-purple)) 8%, white));
}

.type-card:hover .type-icon .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.type-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.type-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.5;
}

/* Individual Type Colors */
.type-card[data-type="relationships"] { --type-color: var(--type-relationships); }
.type-card[data-type="authority"] { --type-color: var(--type-authority); }
.type-card[data-type="achievement"] { --type-color: var(--type-achievement); }
.type-card[data-type="tradition"] { --type-color: var(--type-tradition); }
.type-card[data-type="stimulation"] { --type-color: var(--type-stimulation); }
.type-card[data-type="hedonism"] { --type-color: var(--type-hedonism); }
.type-card[data-type="self-direction"] { --type-color: var(--type-self-direction); }
.type-card[data-type="universalism"] { --type-color: var(--type-universalism); }
.type-card[data-type="benevolence"] { --type-color: var(--type-benevolence); }
.type-card[data-type="security"] { --type-color: var(--type-security); }
.type-card[data-type="conformity"] { --type-color: var(--type-conformity); }
.type-card[data-type="power"] { --type-color: var(--type-power); }

/* Keyboard Navigation Focus Styles */
.use-case-card:focus-visible,
.type-card:focus-visible {
    outline: 3px solid var(--accent-purple);
    outline-offset: 4px;
    border-color: var(--accent-purple);
}

.type-card:focus-visible::before {
    opacity: 1;
}

/* Touch Device Optimization - Disable hover effects on touch-only devices */
@media (hover: none) {
    .use-case-card:hover,
    .type-card:hover {
        transform: none;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .type-card:hover::before {
        opacity: 0;
    }

    .use-case-card:hover::before {
        transform: scaleX(0);
    }

    .use-case-card:hover .use-case-icon,
    .type-card:hover .type-icon {
        transform: none;
    }
}

/* Better hover for devices that support it */
@media (hover: hover) {
    /* Only enable will-change on hover to avoid performance issues */
    .use-case-card:hover,
    .type-card:hover {
        will-change: transform;
    }

    /* Remove will-change after animation completes */
    .use-case-card,
    .type-card {
        will-change: auto;
    }
}

/* Detailed Use Cases Section */
.use-cases-detailed {
    max-width: 900px;
    margin: 0 auto;
}

.use-case-detailed {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.use-case-detailed:hover {
    box-shadow: var(--shadow-hover);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.use-case-header .use-case-icon {
    font-size: 2.5rem;
    margin: 0;
}

.use-case-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.use-case-desc {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.use-case-detailed ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.use-case-detailed li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
}

.use-case-detailed li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* Conversation Examples */
.example-conversations {
    max-width: 900px;
    margin: 0 auto;
}

.conversation-example {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.conversation-example h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.conversation-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.conversation-level.easy {
    background: #d4edda;
    color: #155724;
}

.conversation-level.medium {
    background: #fff3cd;
    color: #856404;
}

.conversation-level.complex {
    background: #f8d7da;
    color: #721c24;
}

.conversation-bubble {
    padding: 1rem 1.25rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    max-width: 85%;
    line-height: 1.6;
    position: relative;
}

.conversation-bubble.user {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.conversation-bubble.ai {
    background: white;
    color: var(--text-dark);
    margin-right: auto;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.conversation-bubble::before {
    content: attr(data-speaker);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.25rem;
}

.conversation-bubble.user::before {
    color: rgba(255, 255, 255, 0.9);
}

.conversation-bubble.ai::before {
    color: var(--accent-purple);
}

/* Privacy Cards */
.privacy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.privacy-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.privacy-card p {
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

/* Features Comparison */
.features-comparison {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.comparison-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-secondary);
}

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

.comparison-item .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light-purple);
    border-radius: 50%;
    font-size: 1.25rem;
}

.comparison-item .content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.comparison-item .content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* Content Block - General content container */
.content-block {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-block p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-block .inline-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.content-block .inline-link:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.content-block .inline-link:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.content-block li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.content-block li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Legacy inline style replacements */
.layout-max-700 {
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.layout-max-600 {
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.layout-max-500 {
  max-width: 500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.text-center {
  text-align: center;
}

.space-top-lg {
  margin-top: 2rem;
}

.space-top-md {
  margin-top: 1.5rem;
}

.space-bottom-sm {
  margin-bottom: 1rem;
}

.pad-y-xs {
  padding: 0.25rem 0;
}

.text-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.text-lead-sm {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.text-body-muted {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-medium);
}

.text-body-muted-sm {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-medium);
}

.text-body {
  font-size: 0.95rem;
}

.text-body-strong {
  font-size: 0.95rem;
  font-weight: 500;
}

.text-body-strong-lg {
  font-size: 1rem;
  font-weight: 500;
}

.text-small {
  font-size: 0.9rem;
}

.text-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.text-caption {
  font-size: 0.75rem;
  color: var(--text-medium);
  margin-bottom: 0.25rem;
}

.text-caption-soft {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.text-caption-soft-lg {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.text-note {
  color: var(--text-medium);
  font-size: 0.85rem;
}

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

.text-dark {
  color: var(--text-dark);
}

.text-accent {
  color: var(--accent-purple);
}

.card-sample {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sample-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-note {
  background: var(--primary-light-blue);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.card-highlight {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: white;
}

.card-highlight-lg {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border-radius: 12px;
  padding: 1.25rem;
  color: white;
}

.chat-bubble {
  background: white;
  border-radius: 12px;
  padding: 1rem;
}

.chat-bubble-muted {
  background: var(--primary-light-blue);
  border-radius: 12px;
  padding: 1rem;
}

.icon-accent-lg {
  font-size: 48px;
  color: var(--accent-purple);
}

.icon-accent-sm {
  font-size: 24px;
  color: var(--accent-purple);
}

.steps-bg-blue {
  background-color: var(--primary-light-blue);
}

.steps-bg-purple {
  background-color: var(--primary-light-purple);
}

/* Responsive Styles for How-to-Use Components */
@media (max-width: 992px) {
    .section-title {
        font-size: clamp(1.625rem, 3.5vw, 2rem);
    }

    .section-intro {
        font-size: clamp(1.0625rem, 2.25vw, 1.3rem);
        margin-bottom: 3rem;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .guide-hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 1.25rem;
    }

    .guide-hero .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }

    .section-title {
        margin-bottom: 1.25rem;
    }

    .section-intro {
        margin-bottom: 2.5rem;
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }

    main#main-content .steps {
        padding: var(--section-padding-small) 0;
    }

    main#main-content .steps + .steps {
        padding-top: var(--section-padding-medium);
    }

    .steps {
        padding: var(--section-padding-small) 0;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem 0;
    }

    .use-case-card {
        padding: 1.75rem 1.5rem;
    }

    .use-case-card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.875rem;
    }

    .use-case-card li {
        font-size: 0.9375rem;
        padding: 0.5rem 0;
    }

    .use-case-icon {
        width: 52px;
        height: 52px;
    }

    .use-case-icon .material-symbols-outlined {
        font-size: 28px;
    }

    .types-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .type-card {
        padding: 1.75rem 1.5rem;
    }

    .type-icon {
        width: 60px;
        height: 60px;
    }

    .type-icon .material-symbols-outlined {
        font-size: 32px;
    }

    /* Note: .feature-card responsive styles consolidated in "Responsive Styles for Screenshot Showcase" section below */

    .feature-number {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .use-case-detailed {
        padding: 1.5rem;
    }

    .conversation-bubble {
        max-width: 90%;
    }

    .content-block {
        padding: 2rem 1.5rem;
    }

    .privacy-cards {
        grid-template-columns: 1fr;
    }

    .comparison-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    main#main-content .steps {
        padding: var(--section-padding-small) 0;
    }

    main#main-content .steps + .steps {
        padding-top: var(--section-padding-small);
    }


    .guide-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .guide-hero .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .steps {
        padding: var(--section-padding-small) 0;
    }

    .use-cases-grid,
    .features-grid,
    .tips-grid {
        gap: 1.25rem;
    }

    .use-case-card {
        padding: 1.5rem 1.25rem;
    }

    .use-case-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .use-case-icon .material-symbols-outlined {
        font-size: 26px;
    }

    .use-case-card h3 {
        font-size: 1.0625rem;
        margin-bottom: 0.75rem;
    }

    .use-case-card li {
        font-size: 0.875rem;
        padding: 0.4rem 0;
        padding-left: 1.5rem;
    }

    .type-card {
        padding: 1.5rem 1.25rem;
    }

    .type-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .type-icon .material-symbols-outlined {
        font-size: 30px;
    }

    .type-card h3 {
        font-size: 1.0625rem;
    }

    .type-card p {
        font-size: 0.875rem;
    }

    .tip-card {
        padding: 1.5rem;
    }

    .conversation-bubble {
        max-width: 95%;
        padding: 0.875rem 1rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .feature-intro {
        font-size: 1rem;
    }
}

/* ====================================
   How-to-Use Page Screenshot Enhancements
   ==================================== */

/* Hero Section with Screenshot Showcase */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-screenshot-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.screenshot-slideshow-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 19.5;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 126, 200, 0.3);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 9 / 19.5) {
    .screenshot-slideshow-container {
        height: 0;
        padding-bottom: 216.67%; /* 19.5/9 * 100 */
    }

    .screenshot-slideshow-container > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Screenshot Slide - Used in both hero section and guide pages */
.screenshot-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .screenshot-slide {
        transition: none;
    }
}

.screenshot-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Performance optimization - only apply will-change during transition */
.screenshot-slide.transitioning {
    will-change: opacity;
}

.screenshot-slide:not(.transitioning) {
    will-change: auto;
}

.screenshot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden;
}

/* Hero section specific styling */
.phone-mockup .screenshot-slide img {
    object-position: center bottom;
    border-radius: 30px;
}

/* Slideshow Controls */
.slideshow-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.slideshow-play-pause {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.slideshow-play-pause:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slideshow-play-pause:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Slide Indicators */
.slideshow-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.slideshow-indicator {
    /* Increase hit area for accessibility (WCAG 2.5.5 - 44x44px minimum) */
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    cursor: pointer;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(139, 126, 200, 0.3);
    transition: all 0.3s ease;
}

.slideshow-indicator:hover::before {
    background: rgba(139, 126, 200, 0.6);
    transform: scale(1.3);
}

.slideshow-indicator:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.slideshow-indicator.active::before {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ====================================
   Feature Cards with Screenshots
   Used in How-to-Use pages with image showcases
   ==================================== */

/* Main Feature Card Layout */
.feature-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 126, 200, 0.15);
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-screenshot {
    position: relative;
    width: 100%;
    max-width: 400px;
    flex-shrink: 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(139, 126, 200, 0.25);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-screenshot {
    box-shadow: 0 16px 64px rgba(139, 126, 200, 0.35);
    transform: scale(1.02);
}

.feature-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.screenshot-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, #8B7EC8 0%, #92C5F7 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(139, 126, 200, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.feature-card:hover .screenshot-badge {
    box-shadow: 0 6px 20px rgba(139, 126, 200, 0.5);
    transform: translateY(-2px);
}

/* Feature Placeholder Styles - Mobile Screenshot Frame */
.feature-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 220px;
    height: 390px; /* 9:16 aspect ratio approximation */
    flex-shrink: 0;
    background: #ffffff;
    border: 3px solid rgba(139, 126, 200, 0.18);
    border-radius: 28px;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 8px 32px rgba(139, 126, 200, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Smartphone notch simulation */
.feature-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 26px;
    background: linear-gradient(180deg, #e8e8e8 0%, #f4f4f4 100%);
    border-radius: 0 0 18px 18px;
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.feature-card:hover .feature-placeholder {
    border-color: rgba(139, 126, 200, 0.32);
    box-shadow: 0 16px 56px rgba(139, 126, 200, 0.18),
                0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px) scale(1.01);
}

/* Focus state for accessibility */
.feature-placeholder:focus-within {
    outline: 3px solid rgba(139, 126, 200, 0.4);
    outline-offset: 4px;
}

.placeholder-header {
    width: 100%;
    text-align: center;
    margin-top: 1.75rem;
    z-index: 2;
    position: relative;
}

.placeholder-device-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #7c6fb8;
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.1) 0%, rgba(146, 197, 247, 0.08) 100%);
    padding: 0.4rem 0.9rem;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(139, 126, 200, 0.12);
    transition: all 0.25s ease;
}

.feature-card:hover .placeholder-device-label {
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.14) 0%, rgba(146, 197, 247, 0.11) 100%);
    border-color: rgba(139, 126, 200, 0.2);
}

.placeholder-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.25rem;
    padding: 1rem 0;
}

.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.09) 0%, rgba(146, 197, 247, 0.09) 100%);
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(139, 126, 200, 0.08),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 126, 200, 0.08);
}

.feature-card:hover .placeholder-icon {
    box-shadow: 0 8px 24px rgba(139, 126, 200, 0.14),
                inset 0 1px 2px rgba(255, 255, 255, 0.6);
    transform: scale(1.08) translateY(-2px);
    border-color: rgba(139, 126, 200, 0.12);
}

.placeholder-icon svg {
    color: #8B7EC8;
    opacity: 0.85;
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 1px 2px rgba(139, 126, 200, 0.1));
}

.placeholder-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.placeholder-text {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #64748b;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    max-width: 190px;
    letter-spacing: 0.01em;
}

.placeholder-footer {
    width: 100%;
    text-align: center;
    padding-top: 0.625rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid rgba(139, 126, 200, 0.12);
    margin-top: 0.5rem;
}

.placeholder-size-info {
    font-size: 0.6875rem;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

/* ====================================
   Responsive Styles for Screenshot Showcase
   Consolidated media queries for screenshot slideshow and feature cards
   ==================================== */

@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-screenshot-showcase {
        order: -1;
        margin-bottom: 1rem;
    }

    .screenshot-slideshow-container {
        max-width: 280px;
    }

    /* Feature Card Layout - Tablet */
    .feature-card {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }

    .feature-screenshot {
        max-width: 320px;
        margin: 0 auto;
    }

    .feature-placeholder {
        max-width: 210px;
        height: 380px;
        margin: 0 auto;
        padding: 1.5rem 1.125rem;
    }

    .placeholder-icon {
        width: 72px;
        height: 72px;
    }

    .placeholder-icon svg {
        width: 42px;
        height: 42px;
    }

    .placeholder-title {
        font-size: 0.9375rem;
    }

    .placeholder-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .screenshot-slideshow-container {
        max-width: 240px;
    }

    /* Feature Card Layout - Mobile */
    .feature-card {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .feature-screenshot {
        max-width: 280px;
        border-radius: 24px;
    }

    .feature-placeholder {
        max-width: 200px;
        height: 360px;
        border-radius: 28px;
        padding: 1.25rem 1rem;
    }

    .placeholder-icon {
        width: 64px;
        height: 64px;
    }

    .placeholder-icon svg {
        width: 38px;
        height: 38px;
    }

    .placeholder-title {
        font-size: 0.875rem;
    }

    .placeholder-text {
        font-size: 0.6875rem;
        max-width: 160px;
    }

    .placeholder-device-label {
        font-size: 0.625rem;
        padding: 0.3rem 0.75rem;
    }

    .screenshot-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .slideshow-play-pause {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .slideshow-indicator {
        width: 6px;
        height: 6px;
    }

    .slideshow-indicator.active {
        width: 18px;
    }
}

@media (max-width: 480px) {
    .screenshot-slideshow-container {
        max-width: 200px;
    }

    /* Feature Card Layout - Small Mobile */
    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-screenshot {
        max-width: 240px;
        border-radius: 20px;
    }

    .feature-placeholder {
        max-width: 180px;
        height: 320px;
        padding: 1.25rem 0.875rem;
        border-radius: 24px;
        border-width: 2px;
    }

    .feature-placeholder::before {
        width: 100px;
        height: 20px;
    }

    .placeholder-icon {
        width: 56px;
        height: 56px;
    }

    .placeholder-icon svg {
        width: 32px;
        height: 32px;
    }

    .placeholder-title {
        font-size: 0.8125rem;
    }

    .placeholder-text {
        font-size: 0.625rem;
        max-width: 140px;
    }

    .placeholder-device-label {
        font-size: 0.5625rem;
        padding: 0.25rem 0.625rem;
    }

    .placeholder-size-info {
        font-size: 0.625rem;
    }

    .slideshow-controls {
        gap: 0.75rem;
    }

    .slideshow-indicators {
        gap: 0.4rem;
    }
}

/* Reduced motion support for all animations */
@media (prefers-reduced-motion: reduce) {
    .slideshow-play-pause,
    .slideshow-indicator,
    .feature-card {
        transition: none;
    }
}

/* ====================================
   How-to-Use Page Section Backgrounds
   ==================================== */

/* Alternating section backgrounds */
main#main-content .steps:nth-of-type(odd) {
    background: white;
}

main#main-content .steps:nth-of-type(even) {
    background: linear-gradient(180deg, #fafbff 0%, #f0f4ff 100%);
}

/* CTA section with purple gradient */
.guide-cta-section {
    background: linear-gradient(135deg, #8B7EC8 0%, #6B5DAF 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
}

.guide-cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.guide-cta-section p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.guide-cta-section .btn-primary {
    background: white;
    color: var(--accent-purple);
    border: 2px solid white;
}

.guide-cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ====================================
   AI Advisor & Assessment Page Enhancements
   ==================================== */

/* Comparison Cards */
.features-comparison {
    margin: 2rem 0;
}

.comparison-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--accent-purple);
}

.comparison-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.comparison-item {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.05), rgba(146, 197, 247, 0.05));
    border-radius: 12px;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-item strong {
    display: block;
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    margin: 0;
    color: var(--text-medium);
}

/* Content Blocks */
.content-block {
    margin: 2rem 0;
}

.content-block h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.content-block ul {
    list-style: none;
    padding: 0;
}

.content-block li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.content-block li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Guide Intro */
.guide-intro {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    text-align: center;
}

/* Tip Cards */
.tip-card {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--accent-blue);
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 126, 200, 0.15);
}

.tip-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.tip-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.tip-card p:last-child {
    margin-bottom: 0;
}

.tip-card strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Use Case Detailed Cards */
.use-cases-detailed {
    display: grid;
    gap: 2rem;
}

.use-case-detailed {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-detailed:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 126, 200, 0.15);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.use-case-detailed .use-case-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.15), rgba(146, 197, 247, 0.15));
    border-radius: 16px;
}

.use-case-detailed h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.use-case-desc {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.use-case-detailed ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-detailed li {
    padding: 0.6rem 0 0.6rem 1.75rem;
    color: var(--text-medium);
    position: relative;
    line-height: 1.6;
}

.use-case-detailed li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: 600;
}

/* Privacy Cards */
.privacy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.privacy-card {
    background: white;
    padding: 2rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--accent-blue);
}

.privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 126, 200, 0.15);
}

.privacy-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.privacy-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Accordion Enhanced */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(139, 126, 200, 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.05), rgba(146, 197, 247, 0.05));
    color: var(--accent-purple);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--accent-purple);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
    display: none;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    display: block;
}

/* CTA Buttons Group */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    main#main-content > .steps:first-of-type {
        margin-top: 1rem;
    }

    .privacy-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .privacy-card,
    .comparison-card,
    .tip-card,
    .use-case-detailed {
        padding: 1.5rem;
    }

    .use-case-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .use-case-detailed .use-case-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===================================
   Character Type Modal
   =================================== */

.character-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.character-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.character-modal {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.character-modal-overlay.active .character-modal {
    transform: scale(1) translateY(0);
}

.character-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    transition: all 0.2s ease;
    z-index: 10;
}

.character-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.character-modal-close:focus {
    outline: 3px solid var(--accent-purple);
    outline-offset: 2px;
}

.character-modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.character-modal-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 0.75rem;
}

.character-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.character-modal-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.character-modal-category {
    font-size: 0.9rem;
    color: var(--accent-purple);
    font-weight: 600;
}

.character-modal-body {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.character-modal-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
}

.character-modal-section {
    margin-bottom: 1.25rem;
}

.character-modal-section:last-child {
    margin-bottom: 0;
}

.character-modal-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.character-modal-section-title::before {
    content: '◆';
    font-size: 0.7rem;
}

.character-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.character-modal-list li {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.character-modal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* Compatible types */
.character-modal-compatible {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.compatible-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, var(--primary-light-purple), var(--primary-light-blue));
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

.compatible-type-badge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Modal Responsive */
@media (max-width: 600px) {
    .character-modal {
        max-height: 85vh;
        border-radius: 20px;
    }

    .character-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .character-modal-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .character-modal-image {
        width: 80px;
        height: 80px;
    }

    .character-modal-name {
        font-size: 1.25rem;
    }

    .character-modal-description {
        font-size: 0.9rem;
    }

    .character-modal-list li {
        font-size: 0.85rem;
    }
}

/* Reduced motion support for modal */
@media (prefers-reduced-motion: reduce) {
    .character-modal-overlay {
        transition: none;
    }

    .character-modal {
        transition: none;
    }
}

/* Language suggestion banner */
@keyframes lang-banner-slide-down {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes lang-banner-slide-up {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

body.lang-banner-visible {
    padding-top: 60px;
}

#lang-suggestion-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8B7EC8 0%, #92C5F7 100%);
    color: #ffffff;
    padding: 12px 20px;
    font-size: 14px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: lang-banner-slide-down 0.3s ease-out;
}

#lang-suggestion-banner button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

#lang-suggestion-banner button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

#lang-suggestion-banner button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

#lang-suggestion-banner .close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lang-suggestion-banner.slide-up {
    animation: lang-banner-slide-up 0.3s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    #lang-suggestion-banner {
        animation: none;
    }

    #lang-suggestion-banner.slide-up {
        animation: none;
    }
}

/* ===========================================
   WebView Mode (App In-App Browser)
   ?source=app parameter triggers this mode
   =========================================== */
.webview-mode footer {
    display: none !important;
}

/* Adjust content padding when footer is hidden */
.webview-mode .legal-page main {
    padding-bottom: 2rem;
}

.webview-mode .guide-page main {
    padding-bottom: 2rem;
}

/* ===========================================
   LP Top Page Improvement - New Sections
   =========================================== */

/* Hero Lead Text */
.hero-lead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* Mobile: Hero Lead order */
@media (max-width: 768px) {
    .hero-lead {
        order: 0;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .hero-text .hero-lead + h1 {
        margin-top: 0;
    }
}

/* Concerns Section */
.concerns {
    padding: var(--section-padding-medium) 0;
    background: white;
}

.concerns h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.concerns h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.concern-card {
    background: var(--primary-light-purple);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.concern-quote {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.concern-type {
    font-size: 0.9rem;
    color: var(--accent-purple);
    font-weight: 500;
}

/* meCard Introduction Section */
.mecard-intro {
    padding: var(--section-padding-medium) 0;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-light-purple));
}

.mecard-intro h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.mecard-intro h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}

/* Dialogue Example */
.dialogue-example {
    max-width: 600px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    padding: 1rem 1.5rem;
    border-radius: 20px;
    max-width: 85%;
    position: relative;
}

.chat-bubble.user {
    background: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chat-bubble.ai {
    background: var(--accent-purple);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 10px rgba(139, 126, 200, 0.2);
}

.chat-bubble .speaker {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    opacity: 0.8;
}

.chat-bubble.user .speaker {
    color: var(--text-medium);
}

.chat-bubble.ai .speaker {
    color: rgba(255, 255, 255, 0.9);
}

.chat-bubble p:last-child {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.dialogue-ellipsis {
    text-align: center;
    color: var(--text-medium);
    font-size: 1rem;
    margin-top: 1rem;
    font-style: italic;
}

/* meCard Result */
.mecard-result {
    max-width: 500px;
    margin: 0 auto 2rem;
    text-align: center;
}

.mecard-sample {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(139, 126, 200, 0.15);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-purple);
}

.mecard-label {
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mecard-content {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.mecard-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.mecard-benefit {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

.mecard-benefit strong {
    color: var(--accent-purple);
}

/* Testimonial meCard Style */
.testimonial-card-story .testimonial-quote {
    font-size: 1.1rem;
    font-style: normal;
    line-height: 1.8;
}

.testimonial-mecard {
    font-size: 0.95rem;
    color: var(--accent-purple);
    font-weight: 600;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 126, 200, 0.2);
}

/* Responsive Styles for New Sections */
@media (max-width: 768px) {
    .concerns-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .concern-card {
        padding: 2rem 1.5rem;
    }

    .dialogue-example {
        padding: 0 1rem;
    }

    .chat-bubble {
        max-width: 90%;
    }

    .mecard-sample {
        padding: 1.5rem;
    }

    .mecard-content {
        font-size: 1.15rem;
    }

    .mecard-benefit {
        padding: 0 1rem;
        font-size: 1rem;
    }

    .testimonial-card-story .testimonial-quote {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-lead {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .concerns h2,
    .mecard-intro h2 {
        font-size: 1.75rem;
    }

    .concern-quote {
        font-size: 1.05rem;
    }

    .chat-bubble p:last-child {
        font-size: 0.95rem;
    }

    .mecard-content {
        font-size: 1.1rem;
    }
}

/* Extra small devices - hero spacing fix */
@media (max-width: 390px) {
    .hero-lead {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ===========================================
   How-to-Use Page Feature Navigation Cards
   =========================================== */

/* Feature Navigation Grid */
.feature-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.feature-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 126, 200, 0.15);
}

.feature-nav-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin-bottom: 0.75rem;
}

.feature-nav-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-nav-card p {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin: 0;
}

/* Responsive for feature nav cards */
@media (max-width: 480px) {
    .feature-nav-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .feature-nav-card {
        padding: 1.25rem 1rem;
    }
}

/* ===========================================
   Assessment Page - Types Preview Section
   =========================================== */

.types-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.type-preview-card {
    text-align: center;
    padding: 1.25rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.type-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 126, 200, 0.12);
}

.type-preview-card .type-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    object-fit: contain;
}

.type-preview-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.type-preview-card p {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .types-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .type-preview-card {
        padding: 1rem 0.75rem;
    }

    .type-preview-card .type-icon {
        width: 48px;
        height: 48px;
    }

    .type-preview-card h3 {
        font-size: 0.85rem;
    }

    .type-preview-card p {
        font-size: 0.75rem;
    }
}

/* ===========================================
   me-card Page - meCard Visual Preview
   =========================================== */

.mecard-visual {
    max-width: 320px;
    margin: 2rem auto;
}

.mecard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.mecard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mecard-date {
    font-size: 0.75rem;
    opacity: 0.8;
}

.mecard-original {
    font-size: 0.75rem;
    opacity: 0.8;
}

.mecard-original-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.mecard-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 1rem 0;
}

.mecard-insight-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.mecard-insight {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}
