/*
Theme Name: IrisAI Child
Template: iris-ai-homepage-chatbot-site-assistant
Version: 1.0
*/

/* =========================================================
   Additional custom Styles
   ========================================================= */

   @import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
   /* Reset and Base */
.wp-block-post-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

:root {
        --wp--preset--font-family--body: "Jost", sans-serif;
        --wp--preset--font-family--heading: "Jost", sans-serif;
}

/* Hero Section Styling */
.wp-block-post-content > h1:first-child {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0;
    padding: 4rem 2rem 1rem;
 
    line-height: 1.2;
}

.wp-block-post-content > h1:first-child + p {
    font-size: 1.5rem;
    text-align: center;
 
    margin: 0;
    padding: 0 2rem 4rem;
    line-height: 1.6;
}

/* Section Containers */
.wp-block-post-content > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Full-Width Sections */
.wp-block-post-content > h2 {
    max-width: 100%;
    margin: 0;
    padding: 4rem 2rem 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
    margin-top: 4rem;
}

 
.wp-block-post-content > h2 + div,
.wp-block-post-content > h2 + ul {
    background-color: #f9fafb;
    max-width: 1200px;
    padding-bottom: 4rem;
}

/* Alternate Section Backgrounds */
.wp-block-post-content > h2:nth-of-type(even) {
    background-color: white;
}

.wp-block-post-content > h2:nth-of-type(even) + p,
.wp-block-post-content > h2:nth-of-type(even) + div,
.wp-block-post-content > h2:nth-of-type(even) + ul {
    background-color: white;
}

/* Typography */
h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

/* Remove background from nested content */
h3 + p,
h4 + p,
h3 + ul,
h4 + ul {
    background: none !important;
}

/* Lists */
ul, ol {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    background: none !important;
}

li {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

ul.checklist li {
    list-style: none;
    padding-left: 2rem;
    position: relative;
    background: none !important;
}

ul.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Buttons */
.button, a.button {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: .5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    margin-right: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.button:hover, a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.button-secondary {
    background: white;
    color: #2563eb !important;
    border: 2px solid #2563eb;
    box-shadow: none;
}

.button-secondary:hover {
    background: #2563eb;
    color: white !important;
}

.button-large {
    padding: 1.25rem 3rem;
    font-size: 1.375rem;
}

/* Button Container */
.buttons,
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    background: none !important;
    padding: 0 !important;
}

/* Grid Layouts */
.features-grid,
.capabilities-grid,
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    background: none !important;
}

.feature,
.capability,
.use-case {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.feature:hover,
.capability:hover,
.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature h3,
.capability h3,
.use-case h3 {
    margin-top: 0;
    color: #2563eb;
    font-size: 1.5rem;
}

/* Two Columns */
.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    background: none !important;
}

.column {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.column:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.column h3 {
    margin-top: 0;
    color: #1f2937;
}

/* Steps/Stages */
.steps,
.stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    background: none !important;
}

.step,
.stage {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step h3,
.stage h3 {
    color: white;
    margin-top: 0;
    font-size: 1.5rem;
}

.step p,
.stage p {
    color: rgba(255, 255, 255, 0.95);
}

/* Info Boxes */
.info-box,
.success-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 5px solid #3b82f6;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.1);
}

.info-box h4,
.success-box h4 {
    margin-top: 0;
    color: #1e40af;
    font-size: 1.375rem;
}

.success-box {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left-color: #10b981;
}

.success-box h4 {
    color: #065f46;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.pricing-card h3 {
    margin-top: 0;
    color: #1f2937;
    font-size: 2rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 1rem;
}

.flow-step {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.flow-step strong {
    display: block;
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: #2563eb;
    font-weight: 700;
}

/* Code Blocks */
code {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 0.3rem 0.6rem;
    border-radius: 0.375rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: #dc2626;
    border: 1px solid #d1d5db;
}

pre {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
}

/* Support Options */
.support-option {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border-left: 5px solid #2563eb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.support-option h4 {
    margin-top: 0;
    color: #2563eb;
    font-size: 1.375rem;
}

/* Comparison */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    background: none !important;
}

.comparison-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Interface Sections */
.interface-section {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Links Container */
.links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    background: none !important;
}

.links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #2563eb;
}

.links a:hover {
    background: #f3f4f6;
    color: #10b981;
    border-color: #10b981;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

table th,
table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

table th {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    font-weight: 700;
    color: white;
    font-size: 1.125rem;
}

table tr:hover {
    background: #f9fafb;
}

/* HR Styling */
hr {
    border: none;
    border-top: 3px solid #e5e7eb;
    margin: 4rem 0;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* Example Styling */
.example {
    font-style: italic;
    color: #2563eb;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    border-left: 4px solid #2563eb;
    font-weight: 500;
}

/* Utility Classes */
.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.bg-gray-50 {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
    padding: 1.5rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e5e7eb;
}

.rounded-lg {
    border-radius: 0.75rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

/* CTA Section at Bottom */
.wp-block-post-content > h2:last-of-type {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    color: white;
    margin-bottom: 0;
}

.wp-block-post-content > h2:last-of-type + p {
 
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .wp-block-post-content > h1:first-child {
        font-size: 2.25rem;
        padding: 3rem 1.5rem 1rem;
    }
    
    .wp-block-post-content > h1:first-child + p {
        font-size: 1.125rem;
        padding: 0 1.5rem 3rem;
    }
    
    .wp-block-post-content > h2 {
        font-size: 1.875rem;
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .features-grid,
    .capabilities-grid,
    .two-columns,
    .steps,
    .stages,
    .comparison {
        grid-template-columns: 1fr;
    }
    
    .button, a.button {
        display: block;
        text-align: center;
        margin-right: 0;
        width: 100%;
    }
    
    .buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .column,
    .pricing-card,
    .interface-section {
        padding: 1.5rem;
    }
}

/* Smooth Animations */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.text-center {
    text-align: center;
}   