/**
 * AI-Rated Design System - Component Styles
 * 
 * This stylesheet implements the AI-Rated certification website design
 * based on Figma mockups. It follows BEM naming conventions and uses
 * CSS custom properties for maintainability.
 * 
 * @package     WSTTheme-Child
 * @subpackage  AI-Rated
 * @author      JLB Works
 * @version     1.0.0
 * @requires    airated-variables.css (design tokens - must load first)
 * 
 * Table of Contents:
 * ------------------
 * 1. Legacy Variable Aliases
 * 2. Base Styles & Utilities
 * 3. Section Layouts
 * 4. Hero Section
 * 5. About Section
 * 6. Features Section
 * 7. Process Section
 * 8. Power Section
 * 9. Logo Grid & Cards
 * 10. Buttons
 * 11. Newsletter
 * 12. Footer
 * 13. Animations
 * 14. Container Overrides
 * 15. Responsive Breakpoints
 * 
 * Breakpoints Used:
 * - 320px  - Small mobile
 * - 375px  - iPhone
 * - 480px  - Large mobile
 * - 768px  - Tablet
 * - 992px  - Small desktop
 * - 1024px - Desktop
 * - 1200px - Large desktop
 * - 1440px - XL desktop
 */

/* ==========================================================================
   Legacy Variable Aliases (for backwards compatibility)
   These map to the canonical tokens in airated-variables.css
   ========================================================================== */

:root {
    /* Shorthand aliases - map to canonical token names */
    --airated-purple: var(--airated-color-brand-purple);
    --airated-purple-deep: var(--airated-color-brand-purple-deep);
    --airated-blue: var(--airated-color-brand-blue);
    --airated-cyan: var(--airated-color-brand-cyan);
    --airated-pink: var(--airated-color-brand-pink);
    --airated-pink-hover: var(--airated-color-brand-pink-hover);
    --airated-dark: var(--airated-color-bg-dark);
    --airated-dark-light: var(--airated-color-bg-dark-light);
    --airated-gray: var(--airated-color-bg-gray);
    
    /* Gradient aliases */
    --airated-gradient: var(--airated-gradient-brand);
    --airated-dark-gradient: var(--airated-gradient-dark);
    --airated-badge-gradient: var(--airated-gradient-badge);
}

/* ==========================================================================
   AI-Rated Page Base Styles
   ========================================================================== */

body.airated-page {
    margin: 0;
    padding: 0;
}

body.airated-page .wst-header,
body.airated-page .header,
body.airated-page header.wst-header {
    display: none !important;
}

.airated-site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.airated-main {
    flex: 1;
}

/* Screen reader only text */
.screen-reader-text {
    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:focus {
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 100000;
    padding: 15px 23px 14px;
    background-color: #f1f1f1;
    color: #21759b;
    text-decoration: none;
    clip: auto;
    width: auto;
    height: auto;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.airated-section {
    padding: 80px 0;
}

@media (width <= 768px) {
    .airated-section {
        padding: 48px 0;
    }
}

.airated-section--gradient {
    background: var(--airated-gradient);
}

.airated-section--dark {
    background: linear-gradient(180deg, #1A1A2E 0%, #16162A 100%);
    color: #fff;
}

.airated-section--white {
    background: #fff;
}

.airated-section--gray {
    background: var(--airated-gray);
}

/* ==========================================================================
   Section Header
   ========================================================================== */

.airated-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.airated-section-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--airated-color-text-primary, #1A1A2E);
    font-family: var(--airated-font-heading, inherit);
    line-height: 1.25;
}

@media (width <= 992px) {
    .airated-section-header__title {
        font-size: 2rem;
    }
}

@media (width <= 768px) {
    .airated-section-header__title {
        font-size: 1.75rem;
    }
    
    .airated-section-header {
        margin-bottom: 40px;
    }
}

.airated-section-header__description {
    font-size: 1rem;
    line-height: 1.75;
    font-family: var(--airated-font-body, inherit);
}

.text-muted {
    color: var(--airated-color-text-muted, #6B7280);
}

.text-muted-light {
    color: var(--airated-color-text-muted-light, rgb(255, 255, 255, 0.7));
}

.text-white {
    color: #fff !important;
}

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

/* ==========================================================================
   Hero Section - Homepage
   ========================================================================== */

.airated-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0 80px;
    position: relative;
    background: var(--airated-gradient);
}

.airated-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--airated-gradient);
    z-index: 0;
}

.airated-hero .xl-con {
    position: relative;
    z-index: 1;
    width: 100%;
}

@media (width <= 768px) {
    .airated-hero {
        min-height: auto;
        padding: 60px 0 50px;
    }
    
    .airated-hero__tagline {
        font-size: 0.875rem;
        max-width: 90%;
        margin-bottom: 32px;
    }
}

@media (width <= 480px) {
    .airated-hero {
        padding: 50px 0 40px;
    }
    
    .airated-hero__tagline {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
}

/* Hero Logo - Increased size to match Figma prominence */
.airated-hero__logo {
    max-width: 450px;
    margin: 0 auto 32px;
}

.airated-hero__logo img,
.airated-hero__logo-svg {
    width: 100%;
    height: auto;
    display: block;
}

@media (width <= 992px) {
    .airated-hero__logo {
        max-width: 380px;
    }
}

@media (width <= 768px) {
    .airated-hero__logo {
        max-width: 300px;
        margin-bottom: 32px;
    }
}

/* Hero Tagline - Increased size for better readability */
.airated-hero__tagline {
    color: #fff;
    font-size: 0.9375rem;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-family: var(--airated-font-body, inherit);
    opacity: 0.95;
}

/* AI Tool Icons - Slightly larger for prominence */
.airated-hero__icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.airated-hero__icon {
    width: 60px;
    height: 60px;
    background: rgb(255, 255, 255, 0.12);
    border: 1px solid rgb(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(4px);
}

.airated-hero__icon:hover {
    background: rgb(255, 255, 255, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgb(0, 0, 0, 0.15);
}

.airated-hero__icon svg {
    width: 28px;
    height: 28px;
}

.airated-hero__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Icon wrapper with label */
.airated-hero__icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.airated-hero__icon-label {
    color: rgb(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

@media (width <= 768px) {
    .airated-hero__icons {
        gap: 12px;
    }
    
    .airated-hero__icon {
        width: 50px;
        height: 50px;
    }
    
    .airated-hero__icon svg,
    .airated-hero__icon img {
        width: 22px;
        height: 22px;
    }
    
    .airated-hero__icon-label {
        font-size: 0.625rem;
    }
}

@media (width <= 480px) {
    .airated-hero__icons {
        gap: 8px;
        justify-content: center;
    }
    
    .airated-hero__icon {
        width: 44px;
        height: 44px;
    }
    
    .airated-hero__icon svg,
    .airated-hero__icon img {
        width: 20px;
        height: 20px;
    }
    
    .airated-hero__icon-label {
        font-size: 0.5625rem;
    }
    
    .airated-hero__icon-wrapper {
        gap: 4px;
    }
}

@media (width <= 320px) {
    .airated-hero__icons {
        gap: 6px;
    }
    
    .airated-hero__icon {
        width: 40px;
        height: 40px;
    }
    
    .airated-hero__icon-label {
        font-size: 0.5rem;
    }
}

/* Hero Mockup */
.airated-hero__mockup {
    max-width: 900px;
    margin: 0 auto;
}

.airated-hero__mockup img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgb(0, 0, 0, 0.3);
}

/* SVG Laptop Mockup */
.airated-laptop-mockup {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgb(0, 0, 0, 0.25));
}

@media (width <= 768px) {
    .airated-laptop-mockup {
        max-width: 100%;
    }
}

/* SVG Phone Mockup */
.airated-phone-mockup-svg {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (width <= 992px) {
    .airated-phone-mockup-svg {
        max-width: 220px;
    }
}

/* Placeholder Laptop Mockup (legacy) */
.airated-hero__mockup-placeholder {
    max-width: 700px;
    margin: 0 auto;
}

.mockup-screen {
    background: linear-gradient(180deg, #2D2D2D 0%, #1A1A1A 100%);
    border-radius: 8px 8px 0 0;
    padding: 20px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-content {
    background: #fff;
    border-radius: 8px;
    padding: 60px 80px;
    color: #333;
    font-size: 1.25rem;
    text-align: center;
}

.mockup-base {
    background: linear-gradient(180deg, #C0C0C0 0%, #A0A0A0 100%);
    height: 15px;
    border-radius: 0 0 4px 4px;
    margin: 0 10%;
}

/* ==========================================================================
   Page Header (Agencies Page)
   ========================================================================== */

.airated-page-header {
    background: var(--airated-gradient);
    padding: 30px 0 70px;
    text-align: center;
    overflow: visible;
}

.airated-page-header__badge-container {
    display: flex;
    justify-content: center;
}

.airated-page-header__badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px 28px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgb(0, 0, 0, 0.2);
}

.airated-page-header__badge-icon {
    width: 60px;
    height: auto;
    margin-bottom: 12px;
}

.airated-page-header__badge-icon svg {
    width: 100%;
    height: auto;
    display: block;
}

.airated-page-header__badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--airated-color-text-primary, #1A1A2E);
    text-transform: uppercase;
    margin: 0;
}

/* ==========================================================================
   About Section (Two Column with Badge)
   ========================================================================== */

.airated-about {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

@media (width <= 768px) {
    .airated-about {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.airated-about__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--airated-color-text-primary, #1A1A2E);
    font-family: var(--airated-font-heading, inherit);
    line-height: 1.2;
}

@media (width <= 992px) {
    .airated-about__title {
        font-size: 2rem;
    }
}

@media (width <= 768px) {
    .airated-about__title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
}

.airated-about__text {
    color: var(--airated-color-text-muted, #6B7280);
    margin-bottom: 20px;
    line-height: 1.75;
    font-size: 0.9375rem;
    font-family: var(--airated-font-body, inherit);
}

.airated-about__highlight {
    color: var(--airated-pink);
    font-weight: 600;
    text-decoration: none;
}

.airated-about__highlight:hover {
    text-decoration: underline;
}

.airated-about__badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.airated-about__badge img,
.airated-badge-svg {
    max-width: 200px;
    height: auto;
}

@media (width <= 768px) {
    .airated-about__badge {
        order: -1;
    }
    
    .airated-about__badge img,
    .airated-badge-svg {
        max-width: 160px;
    }
}

/* ==========================================================================
   Feature Cards Grid
   ========================================================================== */

.airated-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (width <= 768px) {
    .airated-features-grid {
        grid-template-columns: 1fr;
    }
}

.airated-feature-card {
    background: #fff;
    border: 1px solid var(--airated-color-border-light, #E5E7EB);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 24px rgb(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.airated-feature-card:hover {
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.airated-feature-card:focus-within {
    box-shadow: 0 0 0 3px rgb(147, 51, 234, 0.4), 0 8px 32px rgb(0, 0, 0, 0.1);
}

.airated-feature-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
}

.airated-feature-card__icon svg {
    width: 52px;
    height: 52px;
    stroke: var(--airated-purple);
    stroke-width: 1.5;
}

.airated-feature-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--airated-color-text-primary, #1A1A2E);
    font-family: var(--airated-font-heading, inherit);
}

.airated-feature-card__description {
    font-size: 0.9375rem;
    color: var(--airated-color-text-muted, #6B7280);
    margin-bottom: 24px;
    line-height: 1.65;
    font-family: var(--airated-font-body, inherit);
}

.airated-feature-card__benefits-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--airated-color-text-primary, #1A1A2E);
    font-family: var(--airated-font-heading, inherit);
}

.airated-feature-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.airated-feature-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    margin-bottom: 12px;
    color: var(--airated-color-text-secondary, #4B5563);
    font-family: var(--airated-font-body, inherit);
}

.airated-feature-card__list li::before {
    content: "✓";
    color: var(--airated-color-status-success, #10B981);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1rem;
}

/* ==========================================================================
   Process Section (How to Become AI-Rated)
   ========================================================================== */

.airated-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (width <= 768px) {
    .airated-process {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.airated-process__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 36px;
    font-family: var(--airated-font-heading, inherit);
    line-height: 1.2;
}

@media (width <= 992px) {
    .airated-process__title {
        font-size: 2rem;
    }
}

@media (width <= 768px) {
    .airated-process__title {
        font-size: 1.75rem;
        text-align: center;
    }
}

.airated-process__left {
    display: flex;
    flex-direction: column;
}

@media (width <= 768px) {
    .airated-process__left {
        order: 1;
    }
    
    .airated-process__content {
        order: 2;
    }
}

.airated-process__mockup {
    max-width: 300px;
}

@media (width <= 768px) {
    .airated-process__mockup {
        margin: 0 auto;
    }
}

.airated-process__mockup img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgb(0, 0, 0, 0.3);
}

/* Phone Mockup Placeholder */
.airated-phone-mockup {
    background: #1A1A2E;
    border-radius: 32px;
    padding: 12px;
    max-width: 280px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgb(0, 0, 0, 0.3);
}

.phone-notch {
    background: #000;
    width: 100px;
    height: 24px;
    border-radius: 12px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.phone-app {
    padding: 16px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 0.75rem;
    margin-bottom: 24px;
}

.phone-icons {
    opacity: 0.7;
}

.phone-content {
    padding: 16px 0;
}

.chat-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2D2D2D;
    padding: 8px 12px;
    border-radius: 16px;
    color: #fff;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

.chat-icon {
    color: var(--airated-color-status-success, #10B981);
}

.chat-message {
    background: #F3F4F6;
    color: var(--airated-color-text-primary, #1A1A2E);
    padding: 16px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Process Steps */
.airated-process__steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.airated-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.airated-step__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--airated-pink);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgb(233, 30, 140, 0.3);
}

.airated-step__icon svg {
    width: 24px;
    height: 24px;
}

.airated-step__content {
    flex: 1;
}

.airated-step__title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: var(--airated-font-heading, inherit);
}

.airated-step__description {
    color: var(--airated-text-muted);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.65;
    font-family: var(--airated-font-body, inherit);
}

/* ==========================================================================
   Power Section
   ========================================================================== */

.airated-power {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
}

@media (width <= 768px) {
    .airated-power {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.airated-power__badge {
    width: 180px;
}

@media (width <= 768px) {
    .airated-power__badge {
        margin: 0 auto;
        width: 150px;
    }
}

.airated-power__badge img,
.airated-power__badge svg {
    width: 100%;
    height: auto;
}

.airated-power__title {
    color: var(--airated-pink);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 18px;
    font-family: var(--airated-font-heading, inherit);
}

.airated-power__text {
    color: var(--airated-color-text-muted, #6B7280);
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 1rem;
    font-family: var(--airated-font-body, inherit);
}

/* ==========================================================================
   Logo Grid (Companies)
   ========================================================================== */

.airated-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (width <= 768px) {
    .airated-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (width <= 480px) {
    .airated-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .airated-logo-card {
        border-radius: 20px;
        padding: 20px;
    }
}

@media (width <= 360px) {
    .airated-logo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.airated-logo-grid--businesses {
    max-width: 100%;
}

.airated-logo-card {
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgb(0, 0, 0, 0.08);
}

.airated-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgb(0, 0, 0, 0.18);
}

.airated-logo-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgb(147, 51, 234, 0.5), 0 16px 40px rgb(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

/* Colored cards (Agencies section) */
.airated-logo-card--colored {
    background: var(--airated-purple);
}

/* White cards (Businesses section on dark bg) */
.airated-logo-card--white {
    background: #fff;
    border: 1px solid rgb(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.12);
}

.airated-logo-card--white:hover {
    border-color: rgb(0, 0, 0, 0.1);
    box-shadow: 0 16px 48px rgb(0, 0, 0, 0.18);
}

.airated-logo-card__image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.airated-logo-card__text {
    color: #fff;
    font-weight: 700;
    font-size: 1.75rem;
    text-align: center;
    line-height: 1.2;
}

.airated-logo-card__text small {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    margin-top: 4px;
}

.airated-logo-card__text--dark {
    color: var(--airated-color-text-primary, #1A1A2E);
}

/* Company-specific card gradients - removes need for inline styles */
.airated-logo-card--jlb {
    background: linear-gradient(145deg, #F97316 0%, #DC2626 100%);
}

.airated-logo-card--bluchip {
    background: linear-gradient(145deg, #3B82F6 0%, #0891B2 100%);
}

.airated-logo-card--fisk {
    background: linear-gradient(145deg, #1E3A8A 0%, #7C3AED 100%);
}

.airated-logo-card--lifeway {
    background: linear-gradient(145deg, #0D9488 0%, #22C55E 100%);
}

.airated-logo-card--franklinis {
    background: linear-gradient(145deg, #6366F1 0%, #475569 100%);
}

.airated-logo-card--corvette {
    background: linear-gradient(145deg, #1E3A5F 0%, #7F1D1D 100%);
}

/* Card text size variants */
.airated-logo-card__text--xl {
    font-size: 3.5rem;
    font-weight: 800;
}

.airated-logo-card__text--lg {
    font-size: 2rem;
    font-weight: 900;
}

.airated-logo-card__text--md {
    font-size: 1.75rem;
}

.airated-logo-card__text--sm {
    font-size: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.airated-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-family: var(--airated-font-body, inherit);
}

.airated-btn--primary {
    background-color: var(--airated-pink);
    color: #fff;
    border-color: var(--airated-pink);
    box-shadow: 0 2px 8px rgb(233, 30, 140, 0.25);
}

.airated-btn--primary:hover {
    background-color: var(--airated-pink-hover);
    border-color: var(--airated-pink-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgb(233, 30, 140, 0.35);
}

.airated-btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgb(233, 30, 140, 0.2);
}

.airated-btn--primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgb(233, 30, 140, 0.4), 0 4px 16px rgb(233, 30, 140, 0.35);
}

.airated-btn--outline {
    background-color: transparent;
    color: var(--airated-pink);
    border-color: var(--airated-pink);
}

.airated-btn--outline:hover {
    background-color: var(--airated-pink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgb(233, 30, 140, 0.25);
}

.airated-btn--outline:active {
    transform: translateY(0);
}

.airated-btn--outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgb(233, 30, 140, 0.4);
}

.airated-btn--secondary {
    background-color: transparent;
    color: var(--airated-pink);
    border-color: var(--airated-pink);
}

.airated-btn--secondary:hover {
    background-color: var(--airated-pink);
    color: #fff;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.airated-newsletter {
    text-align: center;
    border-top: 1px solid var(--airated-color-border-light, #E5E7EB);
}

.airated-newsletter__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--airated-color-text-primary, #1A1A2E);
    font-family: var(--airated-font-heading, inherit);
}

.airated-newsletter__subtitle {
    color: var(--airated-pink);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 36px;
    font-family: var(--airated-font-body, inherit);
}

.airated-newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

@media (width <= 480px) {
    .airated-newsletter__form {
        flex-direction: column;
    }
}

.airated-newsletter__input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 0.9375rem;
    background: #fff;
    min-width: 280px;
}

.airated-newsletter__input:focus {
    outline: none;
    border-color: var(--airated-pink);
    box-shadow: 0 0 0 3px rgb(233, 30, 140, 0.1);
}

.airated-newsletter__input::placeholder {
    color: #9CA3AF;
}

/* ==========================================================================
   Animations
   ========================================================================== */

/* Typing indicator animation (for CSS fallback) */
@keyframes typingPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.typing-dot {
    animation: typingPulse 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.25s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.5s;
}

/* Smooth fade-in for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.airated-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.airated-footer {
    background: #fff;
    padding: 24px 0;
    border-top: 1px solid var(--airated-color-border-light, #E5E7EB);
}

.airated-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (width <= 768px) {
    .airated-footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

.airated-footer__legal {
    flex: 1;
}

.airated-footer__legal p {
    font-size: 0.6875rem;
    color: var(--airated-color-text-muted, #6B7280);
    margin: 0 0 4px;
    line-height: 1.5;
}

.airated-footer__legal a {
    color: var(--airated-color-text-muted, #6B7280);
    text-decoration: underline;
}

.airated-footer__legal a:hover {
    color: var(--airated-pink);
}

.airated-footer__logo {
    flex-shrink: 0;
}

.airated-footer__logo a {
    display: block;
}

.airated-footer__logo svg {
    display: block;
}

/* ==========================================================================
   Container Override for AI-Rated Pages
   ========================================================================== */

body.airated-page .xl-con {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (width <= 768px) {
    body.airated-page .xl-con {
        padding: 0 16px;
    }
}

/* Full-width container for hero */
body.airated-page .airated-hero .xl-con {
    max-width: 100%;
    padding: 0 48px;
}

@media (width <= 768px) {
    body.airated-page .airated-hero .xl-con {
        padding: 0 24px;
    }
}

/* ==========================================================================
   Additional Responsive Breakpoints
   ========================================================================== */

/* Large Desktop (1440px+) - Wider container */
@media (width >= 1440px) {
    body.airated-page .xl-con {
        max-width: 1320px;
    }
    
    .airated-hero__logo {
        max-width: 520px;
    }
    
    .airated-section {
        padding: 100px 0;
    }
}

/* Desktop (1200px) */
@media (width <= 1200px) {
    .airated-hero__logo {
        max-width: 420px;
    }
    
    .airated-about {
        gap: 60px;
    }
    
    .airated-process {
        gap: 50px;
    }
}

/* Small Desktop / Large Tablet (1024px) */
@media (width <= 1024px) {
    .airated-hero__logo {
        max-width: 380px;
    }
    
    .airated-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .airated-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .airated-about {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .airated-power {
        gap: 40px;
    }
}

/* iPhone / Small Mobile (375px) */
@media (width <= 375px) {
    .airated-hero__tagline {
        font-size: 0.75rem;
    }
    
    .airated-section-header__title {
        font-size: 1.5rem;
    }
    
    .airated-newsletter__title {
        font-size: 1.5rem;
    }
    
    .airated-btn {
        padding: 12px 20px;
        font-size: 0.8125rem;
    }
}
