/*
Theme Name: AI Readiness Theme
Theme URI: https://www.aireadychecklist.com/
Author: Your Name
Author URI: https://www.yourwebsite.com/
Description: A custom theme created from static HTML files for the AI Readiness Checklist website.
Version: 1.1
*/

/* --- Global Styles --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
}

/* --- General Component Styles --- */
.gradient-bg {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
}

.cta-button {
    background-color: #F59E0B; /* Amber-500 */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    background-color: #D97706; /* Amber-600 */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.content-card {
    background-color: white;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    padding: 1.5rem; /* 24px */
}

.section-icon {
    font-size: 1.5rem; /* 24px */
    margin-right: 0.5rem; /* 8px */
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background-color: #4F46E5; /* Default Indigo */
    color: white;
    border-radius: 0.375rem; /* 6px */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #4338CA; /* Darker Indigo */
}

/* --- Page Specific & Unique Styles --- */

/* Homepage */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pain-point-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    color: #4F46E5;
}

.blog-card a:hover h3 {
    color: #4F46E5;
}

#errorMessage {
    display: none;
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Blog Post Styles */
.blog-content h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-content h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4f46e5; /* Indigo-600 */
}

.blog-content p, .blog-content ul {
    margin-bottom: 1.5rem;
    color: #374151; /* Gray-700 */
}

.blog-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content strong {
    color: #1f2937; /* Gray-800 */
}

/* Checklist Page Styles */
.checklist-item label {
    cursor: pointer;
    position: relative;
}

.checklist-item input[type="checkbox"] {
    accent-color: #4F46E5; /* Indigo */
}

.section-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
}

.section-card:hover {
    transform: translateY(-5px);
}

.section-card .section-icon {
    font-size: 1.875rem; /* 30px */
    margin-right: 0.75rem; /* 12px */
}

.progress-bar-container {
    height: 10px;
    background-color: #E5E7EB; /* gray-200 */
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.progress-bar {
    height: 100%;
    background-color: #4ADE80; /* green-400 */
    width: 0%;
    transition: width 0.5s ease-in-out;
    border-radius: 9999px;
}

.lead-gen-placeholder {
    border: 2px dashed #D1D5DB; /* gray-300 */
    padding: 2rem;
    text-align: center;
    color: #6B7280; /* gray-500 */
}

/* Tooltip Styles */
.tooltip-trigger {
    position: relative;
    display: inline-block;
}

.tooltip-trigger .tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #374151; /* gray-700 */
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 0.875rem;
    line-height: 1.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.tooltip-trigger .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #374151 transparent transparent transparent;
}

.tooltip-trigger:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.info-icon {
    margin-left: 8px;
    color: #9CA3AF; /* gray-400 */
    cursor: help;
    font-size: 0.9em;
}

/* AI Checker Page Styles */
.quiz-option {
    border: 2px solid #D1D5DB;
    transition: border-color 0.3s, background-color 0.3s;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.5rem;
}

.quiz-option:hover {
    border-color: #4F46E5;
}

.quiz-option.selected {
    border-color: #4F46E5;
    background-color: #EEF2FF;
}

/* Full Service Page Styles */
.testimonial-card {
    background-color: #ffffff;
    border-left: 5px solid #4F46E5;
}

.faq-item summary {
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

/* --- WordPress Core Styles --- */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
