/**
 * AIHotelTools Landing Page Styles
 * Premium "Financial Intelligence" Dark Mode Design
 * Bloomberg Terminal meets Stripe aesthetic
 * 
 * @package AIHotelTools
 * @since 1.0.0
 */

/* ==========================================================================
   Custom Fonts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================================
   Landing Page Variables
   ========================================================================== */

.htai-landing {
    /* Dark Theme Colors */
    --landing-bg: #08090C;
    --landing-bg-elevated: #0E1015;
    --landing-bg-card: #13161D;
    --landing-bg-card-hover: #1A1E28;
    --landing-border: rgba(255, 255, 255, 0.06);
    --landing-border-light: rgba(255, 255, 255, 0.03);
    
    /* Text Colors */
    --landing-text: rgba(255, 255, 255, 0.92);
    --landing-text-secondary: rgba(255, 255, 255, 0.64);
    --landing-text-muted: rgba(255, 255, 255, 0.4);
    
    /* Accent Colors */
    --landing-gold: #C9A227;
    --landing-gold-light: #E8C547;
    --landing-gold-glow: rgba(201, 162, 39, 0.15);
    --landing-emerald: #10B981;
    --landing-emerald-glow: rgba(16, 185, 129, 0.15);
    --landing-red: #EF4444;
    --landing-blue: #3B82F6;
    
    /* Gradients */
    --landing-gradient-gold: linear-gradient(135deg, #C9A227 0%, #E8C547 50%, #C9A227 100%);
    --landing-gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 162, 39, 0.15), transparent);
    --landing-gradient-card: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    
    /* Spacing */
    --section-padding: clamp(48px, 8vw, 80px);
    --container-max: 1280px;
    --container-narrow: 900px;
    
    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   Base Landing Styles
   ========================================================================== */

.htai-landing,
body.htai-landing-page {
    background-color: var(--landing-bg);
    color: var(--landing-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

.htai-landing-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .htai-landing-container {
        padding: 0 48px;
    }
}

/* ==========================================================================
   Typography
   ========================================================================== */

.htai-landing h1,
.htai-landing h2,
.htai-landing h3,
body.htai-landing-page h1,
body.htai-landing-page h2,
body.htai-landing-page h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--landing-text);
}

.htai-landing h1,
body.htai-landing-page h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.htai-landing h2,
body.htai-landing-page h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.htai-landing h3,
body.htai-landing-page h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.htai-landing p,
body.htai-landing-page p {
    color: var(--landing-text-secondary);
}

/* ==========================================================================
   Decorative Page Frame
   ========================================================================== */

.htai-page-frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
}

.htai-frame-top,
.htai-frame-right,
.htai-frame-bottom,
.htai-frame-left {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
}

.htai-frame-top {
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
}

.htai-frame-right {
    top: 0;
    right: 0;
    bottom: 0;
    width: 16px;
}

.htai-frame-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 16px;
}

.htai-frame-left {
    top: 0;
    left: 0;
    bottom: 0;
    width: 16px;
}

/* Adjust header position for frame */
body.htai-landing-page .htai-landing-header {
    left: 16px;
    right: 16px;
    top: 16px;
    width: auto;
}

/* Adjust footer for frame */
body.htai-landing-page .htai-landing-footer {
    margin: 0 16px 16px 16px;
}

@media (max-width: 768px) {
    .htai-frame-top,
    .htai-frame-right,
    .htai-frame-bottom,
    .htai-frame-left {
        height: 8px;
        width: 8px;
    }
    
    body.htai-landing-page .htai-landing-header {
        left: 8px;
        right: 8px;
        top: 8px;
    }
    
    body.htai-landing-page .htai-landing-footer {
        margin: 0 8px 8px 8px;
    }
}

/* Section Labels */
.htai-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--landing-gold);
    margin-bottom: 20px;
}

.htai-section-eyebrow::before {
    content: '';
    width: 12px;
    height: 1px;
    background: var(--landing-gold);
}

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

.htai-landing .htai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease-out-quad);
    position: relative;
    overflow: hidden;
}

.htai-landing .htai-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s var(--ease-out-quad);
}

/* Primary Gold Button */
.htai-landing .htai-btn-primary {
    background: var(--landing-gradient-gold);
    color: #0A0B0F;
    box-shadow: 
        0 0 0 1px rgba(201, 162, 39, 0.5),
        0 4px 16px rgba(201, 162, 39, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.htai-landing .htai-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 0 1px rgba(201, 162, 39, 0.6),
        0 8px 32px rgba(201, 162, 39, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.htai-landing .htai-btn-primary:hover svg {
    transform: translateX(4px);
}

/* Secondary Ghost Button */
.htai-landing .htai-btn-secondary {
    background: transparent;
    color: var(--landing-text);
    border: 1px solid var(--landing-border);
    box-shadow: 0 0 0 1px transparent;
}

.htai-landing .htai-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Button Sizes */
.htai-landing .htai-btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.htai-landing .htai-btn-sm {
    padding: 12px 24px;
    font-size: 14px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.htai-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

/* Hero Background Effects */
.htai-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.htai-hero-gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.htai-hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
}

.htai-hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.06) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.htai-hero-glow-2 {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

/* Hero Content Layout */
.htai-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 1024px) {
    .htai-hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* Hero Text Content */
.htai-hero-content {
    max-width: 600px;
}

.htai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--landing-gold-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.htai-hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--landing-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--landing-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.htai-hero-title {
    margin: 0 0 28px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.htai-hero-title .htai-highlight {
    background: var(--landing-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.htai-hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--landing-text-secondary);
    margin: 0 0 40px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

/* Hero CTA Group */
.htai-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

/* Hero Social Proof */
.htai-hero-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

.htai-proof-avatars {
    display: flex;
}

.htai-proof-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--landing-bg);
    background: var(--landing-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--landing-text);
    margin-left: -12px;
}

.htai-proof-avatar:first-child {
    margin-left: 0;
}

.htai-proof-text {
    font-size: 14px;
    color: var(--landing-text-secondary);
}

.htai-proof-rating {
    color: var(--landing-gold);
    font-weight: 600;
}

/* ==========================================================================
   HERO DASHBOARD PREVIEW
   ========================================================================== */

.htai-hero-visual {
    position: relative;
    animation: fadeInUp 1s var(--ease-out-expo) 0.3s both;
}

.htai-dashboard-preview {
    position: relative;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 32px 64px -16px rgba(0, 0, 0, 0.5),
        0 16px 32px -8px rgba(0, 0, 0, 0.3);
}

.htai-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--landing-border);
}

.htai-preview-dots {
    display: flex;
    gap: 6px;
}

.htai-preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.htai-preview-dots span:nth-child(1) { background: #EF4444; }
.htai-preview-dots span:nth-child(2) { background: #F59E0B; }
.htai-preview-dots span:nth-child(3) { background: #10B981; }

.htai-preview-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--landing-text-muted);
}

.htai-preview-body {
    padding: 24px;
}

/* Dashboard Metrics Row */
.htai-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.htai-metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border-light);
    border-radius: 10px;
    padding: 16px;
    animation: metricFadeIn 0.6s var(--ease-out-expo) both;
}

.htai-metric-card:nth-child(1) { animation-delay: 0.5s; }
.htai-metric-card:nth-child(2) { animation-delay: 0.6s; }
.htai-metric-card:nth-child(3) { animation-delay: 0.7s; }

@keyframes metricFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.htai-metric-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-text-muted);
    margin-bottom: 8px;
}

.htai-metric-value {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 500;
    color: var(--landing-text);
}

.htai-metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.htai-metric-trend.up {
    color: var(--landing-emerald);
}

.htai-metric-trend.down {
    color: var(--landing-red);
}

/* Dashboard Chart */
.htai-preview-chart {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border-light);
    border-radius: 10px;
    padding: 20px;
    height: 180px;
    animation: metricFadeIn 0.6s var(--ease-out-expo) 0.8s both;
}

.htai-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.htai-chart-title {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-text-muted);
}

.htai-chart-legend {
    display: flex;
    gap: 16px;
}

.htai-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--landing-text-muted);
}

.htai-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.htai-legend-dot.gold { background: var(--landing-gold); }
.htai-legend-dot.emerald { background: var(--landing-emerald); }

/* Simplified Chart Bars */
.htai-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    gap: 8px;
    padding-top: 16px;
}

.htai-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--landing-gold) 0%, rgba(201, 162, 39, 0.3) 100%);
    border-radius: 4px 4px 0 0;
    animation: barGrow 1s var(--ease-out-expo) both;
    transform-origin: bottom;
}

.htai-chart-bar:nth-child(1) { height: 45%; animation-delay: 0.9s; }
.htai-chart-bar:nth-child(2) { height: 60%; animation-delay: 0.95s; }
.htai-chart-bar:nth-child(3) { height: 40%; animation-delay: 1s; }
.htai-chart-bar:nth-child(4) { height: 75%; animation-delay: 1.05s; }
.htai-chart-bar:nth-child(5) { height: 65%; animation-delay: 1.1s; }
.htai-chart-bar:nth-child(6) { height: 85%; animation-delay: 1.15s; }
.htai-chart-bar:nth-child(7) { height: 95%; animation-delay: 1.2s; background: linear-gradient(180deg, var(--landing-emerald) 0%, rgba(16, 185, 129, 0.3) 100%); }

@keyframes barGrow {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Floating Cards */
.htai-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    box-shadow: 
        0 16px 32px -8px rgba(0, 0, 0, 0.4),
        0 8px 16px -4px rgba(0, 0, 0, 0.2);
    animation: floatIn 1s var(--ease-out-expo) both;
}

.htai-float-card-1 {
    top: 15%;
    left: -40px;
    animation-delay: 1s;
}

.htai-float-card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.2s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.htai-float-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 10px;
}

.htai-float-icon svg {
    width: 20px;
    height: 20px;
    color: var(--landing-gold);
}

.htai-float-icon.success {
    background: var(--landing-emerald-glow);
}

.htai-float-icon.success svg {
    color: var(--landing-emerald);
}

.htai-float-label {
    display: block;
    font-size: 11px;
    color: var(--landing-text-muted);
    margin-bottom: 2px;
}

.htai-float-value {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--landing-text);
}

/* ==========================================================================
   TRUST LOGOS SECTION
   ========================================================================== */

.htai-logos {
    padding: 60px 0;
    border-top: 1px solid var(--landing-border-light);
    border-bottom: 1px solid var(--landing-border-light);
    background: var(--landing-bg-elevated);
}

.htai-logos-label {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--landing-text-muted);
    margin: 0 0 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.htai-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.htai-logo-item {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--landing-text-muted);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.htai-logo-item:hover {
    opacity: 0.8;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.htai-how-it-works {
    padding: var(--section-padding) 0;
    background: var(--landing-bg-elevated);
}

.htai-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.htai-section-header h2 {
    margin: 0 0 16px;
}

.htai-section-header p {
    font-size: 1.125rem;
}

.htai-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .htai-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .htai-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.htai-step-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 28px;
    position: relative;
}

.htai-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--landing-gold-glow);
    color: var(--landing-gold);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 16px;
}

.htai-step-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--landing-text);
}

.htai-step-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: var(--landing-text-secondary);
}

/* ==========================================================================
   AUDIENCES SECTION
   ========================================================================== */

.htai-audiences {
    padding: var(--section-padding) 0;
}

.htai-audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .htai-audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.htai-audience-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s var(--ease-out-quad);
}

.htai-audience-card:hover {
    border-color: var(--landing-gold);
    transform: translateY(-4px);
}

.htai-audience-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--landing-gold);
}

.htai-audience-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--landing-text);
}

.htai-audience-card > p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    color: var(--landing-text-secondary);
}

.htai-audience-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.htai-audience-card ul li {
    font-size: 13px;
    color: var(--landing-text-muted);
    padding: 6px 0;
    border-top: 1px solid var(--landing-border-light);
}

.htai-audience-card ul li:first-child {
    border-top: none;
}

/* ==========================================================================
   HERO PROOF ITEMS (updated style)
   ========================================================================== */

.htai-hero-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--landing-text-secondary);
    padding: 0 16px;
}

.htai-hero-proof-item svg {
    color: var(--landing-emerald);
}

@media (max-width: 767px) {
    .htai-hero-proof {
        flex-direction: column;
        gap: 12px;
    }
    
    .htai-hero-proof-item {
        padding: 0;
    }
}

/* ==========================================================================
   PROBLEM / AGITATION SECTION
   ========================================================================== */

.htai-problem {
    padding: var(--section-padding) 0;
    position: relative;
}

.htai-problem-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.htai-problem-header h2 {
    margin: 0 0 24px;
}

.htai-problem-header p {
    font-size: 1.125rem;
    line-height: 1.7;
}

.htai-problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .htai-problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.htai-problem-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-quad);
}

.htai-problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--landing-red);
    opacity: 0.6;
}

.htai-problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.3);
}

.htai-problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.htai-problem-icon svg {
    width: 24px;
    height: 24px;
    color: var(--landing-red);
}

.htai-problem-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.htai-problem-card p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.htai-problem-stat {
    display: block;
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 500;
    color: var(--landing-red);
    margin-top: 20px;
}

/* ==========================================================================
   LEAD MAGNET / SAMPLE REPORT SECTION
   ========================================================================== */

.htai-lead-magnet {
    padding: var(--section-padding) 0;
    background: var(--landing-bg-elevated);
    position: relative;
    overflow: hidden;
}

.htai-lead-magnet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.htai-lead-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 1024px) {
    .htai-lead-inner {
        grid-template-columns: 1fr 1fr;
    }
}

.htai-lead-content h2 {
    margin: 0 0 24px;
}

.htai-lead-content > p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 0 32px;
}

.htai-lead-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.htai-lead-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--landing-border-light);
}

.htai-lead-benefits li:last-child {
    border-bottom: none;
}

.htai-lead-benefits svg {
    width: 20px;
    height: 20px;
    color: var(--landing-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.htai-lead-benefits span {
    color: var(--landing-text-secondary);
    font-size: 15px;
}

/* Report Preview */
.htai-report-preview {
    position: relative;
}

.htai-report-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 32px 64px -16px rgba(0, 0, 0, 0.5);
}

.htai-report-header {
    padding: 24px;
    border-bottom: 1px solid var(--landing-border);
    background: rgba(0, 0, 0, 0.2);
}

.htai-report-header h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 8px;
}

.htai-report-header p {
    font-size: 13px;
    color: var(--landing-text-muted);
    margin: 0;
}

.htai-report-body {
    padding: 24px;
}

.htai-report-preview-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--landing-border-light);
}

.htai-report-preview-item:last-child {
    border-bottom: none;
}

.htai-report-preview-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 8px;
}

.htai-report-preview-icon svg {
    width: 20px;
    height: 20px;
    color: var(--landing-gold);
}

.htai-report-preview-text {
    flex: 1;
}

.htai-report-preview-text strong {
    display: block;
    font-size: 14px;
    color: var(--landing-text);
    margin-bottom: 4px;
}

.htai-report-preview-text span {
    font-size: 13px;
    color: var(--landing-text-muted);
}

/* Email Capture Form */
.htai-capture-form {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
}

.htai-capture-form h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--landing-text);
}

.htai-form-group {
    margin-bottom: 16px;
}

.htai-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--landing-text-secondary);
    margin-bottom: 8px;
}

.htai-form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--landing-bg);
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    color: var(--landing-text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.2s ease;
}

.htai-form-input::placeholder {
    color: var(--landing-text-muted);
}

.htai-form-input:focus {
    outline: none;
    border-color: var(--landing-gold);
    box-shadow: 0 0 0 3px var(--landing-gold-glow);
}

.htai-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.htai-capture-form .htai-btn {
    width: 100%;
    margin-top: 8px;
}

.htai-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--landing-border-light);
    font-size: 12px;
    color: var(--landing-text-muted);
}

.htai-form-note span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.htai-form-note svg {
    width: 14px;
    height: 14px;
    color: var(--landing-emerald);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.htai-features {
    padding: var(--section-padding) 0;
    position: relative;
}

.htai-features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.htai-features-header h2 {
    margin: 0 0 20px;
}

.htai-features-header p {
    font-size: 1.125rem;
}

/* Feature Row */
.htai-feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--landing-border-light);
}

.htai-feature-row:last-child {
    border-bottom: none;
}

@media (min-width: 1024px) {
    .htai-feature-row {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .htai-feature-row.reverse {
        direction: rtl;
    }
    
    .htai-feature-row.reverse > * {
        direction: ltr;
    }
}

.htai-feature-number {
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 500;
    color: var(--landing-border);
    line-height: 1;
    margin-bottom: 20px;
}

.htai-feature-content h3 {
    margin: 0 0 16px;
}

.htai-feature-content > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0 0 24px;
}

.htai-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.htai-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--landing-text-secondary);
}

.htai-feature-list svg {
    width: 18px;
    height: 18px;
    color: var(--landing-gold);
}

/* Feature Visual Cards */
.htai-feature-visual {
    position: relative;
}

.htai-visual-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 24px 48px -12px rgba(0, 0, 0, 0.4);
}

/* Base Feature Demo */
.htai-feature-demo {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.3);
}

.htai-demo-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-text-muted);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--landing-border);
}

/* Sentiment Demo */
.htai-sentiment-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-sentiment-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.htai-sentiment-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.htai-sentiment-label {
    width: 80px;
    font-size: 13px;
    color: var(--landing-text-muted);
}

.htai-sentiment-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.htai-sentiment-bar div {
    height: 100%;
    border-radius: 4px;
    transition: width 1s var(--ease-out-expo);
}

.htai-sentiment-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--landing-emerald);
    transition: width 1s ease;
}

.htai-sentiment-fill.warning {
    background: var(--landing-gold);
}

.htai-sentiment-fill.danger {
    background: var(--landing-red, #ef4444);
}

.htai-sentiment-item.positive .htai-sentiment-bar div {
    background: var(--landing-emerald);
}

.htai-sentiment-item.neutral .htai-sentiment-bar div {
    background: var(--landing-gold);
}

.htai-sentiment-item.negative .htai-sentiment-bar div {
    background: var(--landing-red);
}

.htai-sentiment-value {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--landing-text);
    width: 40px;
    text-align: right;
}

/* Action Demo */
.htai-action-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-action-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-action-issue,
.htai-action-plan {
    padding: 16px;
    border-radius: 10px;
}

.htai-action-issue {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.htai-action-issue p {
    font-size: 0.875rem;
    color: var(--landing-text);
    margin: 8px 0 0;
}

.htai-action-plan {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.htai-action-plan ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.htai-action-plan li {
    font-size: 0.8125rem;
    color: var(--landing-text);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.htai-action-plan li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--landing-emerald);
}

.htai-action-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.htai-action-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--landing-emerald);
}

.htai-action-arrow {
    display: flex;
    justify-content: center;
    color: var(--landing-text-muted);
}

/* Comp Demo */
.htai-comp-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-comp-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.htai-comp-row {
    display: grid;
    grid-template-columns: 1fr 70px 50px;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    font-size: 0.875rem;
}

.htai-comp-row.htai-comp-header {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-text-muted);
}

.htai-comp-row.htai-comp-you {
    background: var(--landing-gold-glow);
    border-color: rgba(201, 162, 39, 0.3);
}

.htai-comp-row span:first-child {
    color: var(--landing-text);
}

.htai-comp-score {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--landing-text);
    text-align: center;
}

.htai-comp-rank {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--landing-gold);
    text-align: center;
}

/* Report Demo */
.htai-report-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-report-doc {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 20px;
}

.htai-doc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.htai-doc-header svg {
    color: var(--landing-gold);
    flex-shrink: 0;
}

.htai-doc-header > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.htai-doc-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--landing-text);
}

.htai-doc-meta {
    font-size: 0.75rem;
    color: var(--landing-text-muted);
}

.htai-doc-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.htai-doc-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.htai-report-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.htai-report-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--landing-gold-glow);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 100px;
    color: var(--landing-gold);
}

/* Response Demo */
.htai-response-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-response-original,
.htai-response-generated {
    padding: 20px;
    border-radius: 12px;
}

.htai-response-original {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.htai-response-generated {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.htai-response-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--landing-text-muted);
    margin-bottom: 8px;
}

.htai-response-original p,
.htai-response-generated p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: var(--landing-text);
}

.htai-response-arrow {
    display: flex;
    justify-content: center;
}

.htai-response-arrow svg {
    color: var(--landing-text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.htai-response-time {
    display: block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--landing-emerald);
}

/* Compete Demo */
.htai-compete-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.htai-compete-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.htai-compete-item.you {
    background: var(--landing-gold-glow);
    border-color: rgba(201, 162, 39, 0.3);
}

.htai-compete-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-bg);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--landing-text);
}

.htai-compete-item.you .htai-compete-rank {
    background: var(--landing-gold);
    color: var(--landing-bg);
}

.htai-compete-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--landing-text);
}

.htai-compete-rating {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--landing-gold);
}

/* Report Demo */
.htai-report-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-report-doc {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border-light);
    border-radius: 12px;
    padding: 20px;
}

.htai-doc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.htai-doc-icon {
    font-size: 24px;
}

.htai-doc-header div strong {
    display: block;
    font-size: 14px;
    color: var(--landing-text);
    margin-bottom: 2px;
}

.htai-doc-header div span {
    font-size: 12px;
    color: var(--landing-text-muted);
}

.htai-doc-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.htai-doc-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.htai-doc-line.short {
    width: 60%;
}

.htai-doc-line.medium {
    width: 80%;
}

.htai-report-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.htai-report-types span {
    font-size: 11px;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--landing-gold-glow);
    color: var(--landing-gold);
    border-radius: 100px;
}

/* ==========================================================================
   RESULTS / SOCIAL PROOF SECTION
   ========================================================================== */

.htai-results {
    padding: var(--section-padding) 0;
    background: var(--landing-bg-elevated);
    position: relative;
    overflow: hidden;
}

.htai-results::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(201, 162, 39, 0.02) 100%);
    pointer-events: none;
}

.htai-results-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}

.htai-results-header h2 {
    margin: 0 0 16px;
}

.htai-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .htai-results-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.htai-result-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s var(--ease-out-quad);
}

.htai-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.3);
}

.htai-result-value {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--landing-gold);
    line-height: 1;
}

.htai-result-suffix {
    font-size: 0.5em;
    color: var(--landing-text-muted);
}

.htai-result-label {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: var(--landing-text-secondary);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.htai-testimonials {
    padding: var(--section-padding) 0;
}

.htai-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .htai-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .htai-testimonials-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .htai-testimonial-card.htai-testimonial-featured {
        grid-row: span 2;
    }
}

.htai-testimonial-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.htai-testimonial-card.htai-testimonial-featured {
    background: linear-gradient(135deg, var(--landing-bg-card) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-color: rgba(201, 162, 39, 0.2);
}

.htai-testimonial-quote {
    flex: 1;
    position: relative;
}

.htai-quote-mark {
    position: absolute;
    top: -8px;
    left: 0;
    color: var(--landing-gold);
    opacity: 0.3;
}

.htai-testimonial-quote p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--landing-text);
    margin: 0;
    padding-top: 24px;
}

.htai-testimonial-featured .htai-testimonial-quote p {
    font-size: 1.0625rem;
}

.htai-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--landing-border);
}

.htai-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--landing-gold), var(--landing-gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.htai-author-avatar span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--landing-bg);
}

.htai-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.htai-author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--landing-text);
}

.htai-author-role {
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.htai-cta {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.htai-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--landing-bg) 0%, var(--landing-bg-elevated) 100%);
}

.htai-cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.htai-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.htai-cta-inner h2 {
    margin: 0 0 20px;
}

.htai-cta-inner > p {
    font-size: 1.125rem;
    margin: 0 0 40px;
}

.htai-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.htai-cta-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--landing-text-muted);
}

.htai-cta-note span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.htai-cta-note svg {
    width: 16px;
    height: 16px;
    color: var(--landing-emerald);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.htai-faq {
    padding: var(--section-padding) 0;
    background: var(--landing-bg-elevated);
}

.htai-faq-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 1024px) {
    .htai-faq-inner {
        grid-template-columns: 1fr 2fr;
    }
}

.htai-faq-header h2 {
    margin: 0 0 20px;
}

.htai-faq-header p {
    margin: 0 0 24px;
}

.htai-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--landing-gold);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.htai-link-arrow:hover {
    gap: 12px;
}

.htai-link-arrow svg {
    width: 18px;
    height: 18px;
}

.htai-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-faq-item {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.htai-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.htai-faq-item h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 12px;
}

.htai-faq-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Animations */
.htai-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.htai-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.htai-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.htai-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.htai-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.htai-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.htai-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 1023px) {
    .htai-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .htai-hero-visual {
        display: none;
    }
    
    .htai-float-card {
        display: none;
    }
}

@media (max-width: 767px) {
    .htai-hero-cta {
        flex-direction: column;
    }
    
    .htai-hero-cta .htai-btn {
        width: 100%;
    }
    
    .htai-hero-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .htai-cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .htai-cta-buttons .htai-btn {
        width: 100%;
    }
    
    .htai-cta-note {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   LANDING PAGE HEADER
   ========================================================================== */

.htai-landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s var(--ease-out-quad);
}

.htai-landing-header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.htai-landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .htai-landing-header-inner {
        padding: 0 48px;
    }
}

.htai-landing-logo {
    text-decoration: none;
    flex-shrink: 0;
}

.htai-logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: #1E3A5F;
    letter-spacing: -0.02em;
}

.htai-landing-nav {
    display: none;
    align-items: center;
    gap: 28px;
}

@media (min-width: 1024px) {
    .htai-landing-nav {
        display: flex;
    }
}

.htai-landing-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.htai-landing-nav a:hover {
    color: #1E3A5F;
}

.htai-landing-nav a.active {
    color: #1E3A5F;
}

.htai-landing-header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.htai-header-link {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.htai-header-link:hover {
    color: #1E3A5F;
}

/* Header CTA Button - Override for light header */
.htai-landing-header .htai-btn-primary {
    background: #1E3A5F;
    color: #ffffff;
    padding: 10px 18px;
    font-size: 13px;
    white-space: nowrap;
}

.htai-landing-header .htai-btn-primary:hover {
    background: #152942;
}

/* Hide CTA button text on small screens, show icon or shorter text */
@media (max-width: 767px) {
    .htai-landing-header-cta .htai-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .htai-header-link {
        display: none;
    }
}

/* Mobile Menu Toggle */
.htai-landing-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .htai-landing-menu-toggle {
        display: none;
    }
}

.htai-landing-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1E3A5F;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.htai-landing-header.menu-open .htai-landing-menu-toggle span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.htai-landing-header.menu-open .htai-landing-menu-toggle span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.htai-landing-header.menu-open .htai-landing-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.htai-landing-header.menu-open .htai-landing-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.htai-landing-header.menu-open .htai-landing-nav a:last-child {
    border-bottom: none;
}

/* ==========================================================================
   LANDING PAGE FOOTER
   ========================================================================== */

.htai-landing-footer {
    background: var(--landing-bg);
    border-top: 1px solid var(--landing-border);
    padding: 60px 0 40px;
}

.htai-footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .htai-footer-main {
        grid-template-columns: 1.5fr 2fr;
        gap: 64px;
    }
}

.htai-footer-brand {
    max-width: 320px;
}

.htai-footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

.htai-footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--landing-text);
}

.htai-footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--landing-text-muted);
    margin: 0;
}

.htai-footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.htai-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--landing-text-muted);
    transition: all 0.2s ease;
}

.htai-footer-social a:hover {
    background: var(--landing-gold);
    color: var(--landing-bg);
}

.htai-footer-social svg {
    width: 18px;
    height: 18px;
}

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

@media (min-width: 768px) {
    .htai-footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.htai-footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-text);
    margin: 0 0 16px;
}

.htai-footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.htai-footer-col a:hover {
    color: var(--landing-gold);
}

.htai-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--landing-border);
    text-align: center;
}

@media (min-width: 768px) {
    .htai-footer-bottom {
        text-align: left;
    }
}

.htai-footer-bottom p {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    margin: 0;
}

/* Legacy footer classes for backwards compatibility */
.htai-landing-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .htai-landing-footer-grid {
        grid-template-columns: 1.5fr 2fr;
        gap: 64px;
    }
}

.htai-landing-footer-brand {
    max-width: 320px;
}

.htai-landing-footer-brand .htai-logo-text {
    display: block;
    margin-bottom: 16px;
    color: var(--landing-text);
}

.htai-landing-footer-brand > p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--landing-text-secondary);
    margin: 0 0 24px;
}

.htai-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.htai-footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--landing-emerald);
}

.htai-landing-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .htai-landing-footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.htai-footer-col h5 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-text);
    margin: 0 0 20px;
}

.htai-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.htai-footer-col li {
    margin-bottom: 12px;
}

.htai-footer-col a {
    font-size: 14px;
    color: var(--landing-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.htai-footer-col a:hover {
    color: var(--landing-text);
}

.htai-landing-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--landing-border);
}

@media (min-width: 768px) {
    .htai-landing-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.htai-landing-footer-bottom p {
    font-size: 14px;
    color: var(--landing-text-muted);
    margin: 0;
}

.htai-footer-legal {
    display: flex;
    gap: 24px;
}

.htai-footer-legal a {
    font-size: 14px;
    color: var(--landing-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.htai-footer-legal a:hover {
    color: var(--landing-text);
}

/* ==========================================================================
   SKIP LINK
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--landing-gold);
    color: var(--landing-bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .htai-landing *,
    .htai-landing *::before,
    .htai-landing *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   INNER PAGES (ABOUT, CONTACT)
   ========================================================================== */

.htai-inner-page {
    padding-top: 80px;
}

/* Page Hero */
.htai-page-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--landing-bg);
    border-bottom: 1px solid var(--landing-border);
}

.htai-page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.htai-page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    color: var(--landing-text);
    margin: 0 0 16px;
    line-height: 1.2;
}

.htai-page-hero p {
    font-size: 1.125rem;
    color: var(--landing-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* About Sections */
.htai-about-section {
    padding: var(--section-padding) 0;
}

.htai-about-section:nth-child(odd) {
    background: var(--landing-bg);
}

.htai-about-section:nth-child(even) {
    background: var(--landing-bg-elevated);
}

.htai-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .htai-about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.htai-about-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 500;
    color: var(--landing-text);
    margin: 0 0 20px;
}

.htai-about-content p {
    font-size: 1rem;
    color: var(--landing-text-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

.htai-about-content p:last-child {
    margin-bottom: 0;
}

/* About Stats */
.htai-about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.htai-about-stat {
    text-align: center;
    padding: 24px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
}

.htai-stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--landing-gold);
    margin-bottom: 8px;
}

.htai-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--landing-text-muted);
}

/* Values Grid */
.htai-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .htai-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.htai-value-card {
    padding: 32px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.htai-value-card:hover {
    border-color: var(--landing-gold);
}

.htai-value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 12px;
    color: var(--landing-gold);
    margin-bottom: 20px;
}

.htai-value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 12px;
}

.htai-value-card p {
    font-size: 0.9375rem;
    color: var(--landing-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Team Grid */
.htai-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .htai-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.htai-team-card {
    text-align: center;
    padding: 32px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
}

.htai-team-avatar {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--landing-gold), var(--landing-gold-light));
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--landing-bg);
}

.htai-team-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 4px;
}

.htai-team-role {
    display: block;
    font-size: 0.875rem;
    color: var(--landing-gold);
    margin-bottom: 12px;
}

.htai-team-bio {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.htai-contact-section {
    padding: var(--section-padding) 0;
    background: var(--landing-bg);
}

.htai-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .htai-contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Contact Form */
.htai-contact-form-wrapper h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--landing-text);
    margin: 0 0 8px;
}

.htai-contact-form-wrapper > p {
    font-size: 1rem;
    color: var(--landing-text-muted);
    margin: 0 0 32px;
}

.htai-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.htai-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .htai-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.htai-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.htai-form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--landing-text);
}

.htai-form-group label .required {
    color: var(--landing-gold);
}

.htai-form-group input,
.htai-form-group select,
.htai-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--landing-text);
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.htai-form-group input::placeholder,
.htai-form-group textarea::placeholder {
    color: var(--landing-text-muted);
    opacity: 0.6;
}

.htai-form-group input:focus,
.htai-form-group select:focus,
.htai-form-group textarea:focus {
    outline: none;
    border-color: var(--landing-gold);
    box-shadow: 0 0 0 3px var(--landing-gold-glow);
}

.htai-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.htai-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.htai-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    cursor: pointer;
}

.htai-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--landing-gold);
    cursor: pointer;
}

/* Contact Info Cards */
.htai-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.htai-contact-card {
    padding: 24px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
}

.htai-contact-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 10px;
    color: var(--landing-gold);
    margin-bottom: 16px;
}

.htai-contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 4px;
}

.htai-contact-card p {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    margin: 0 0 8px;
}

.htai-contact-card a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--landing-gold);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.htai-contact-card a:hover {
    opacity: 0.8;
}

.htai-contact-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--landing-gold);
}

.htai-contact-card-cta {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
    border-color: var(--landing-gold);
}

.htai-contact-card-cta h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.htai-contact-card-cta p {
    margin-bottom: 16px;
}

.htai-contact-card-cta .htai-btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   AUTH PAGES (LOGIN / REGISTER)
   ========================================================================== */

.htai-auth-section {
    padding: 60px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.htai-auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1024px) {
    .htai-auth-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.htai-auth-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 40px;
}

.htai-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.htai-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--landing-emerald);
    margin-bottom: 20px;
}

.htai-auth-header h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--landing-text);
    margin: 0 0 8px;
}

.htai-auth-header p {
    font-size: 1rem;
    color: var(--landing-text-muted);
    margin: 0;
}

.htai-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.htai-form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.htai-form-hint {
    font-size: 0.75rem;
    color: var(--landing-text-muted);
    margin-top: 4px;
}

.htai-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.htai-auth-divider::before,
.htai-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--landing-border);
}

.htai-auth-divider span {
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
}

.htai-auth-footer-text {
    text-align: center;
}

.htai-auth-footer-text p {
    font-size: 0.9375rem;
    color: var(--landing-text-muted);
    margin: 0;
}

.htai-auth-footer-text a {
    color: var(--landing-gold);
    text-decoration: none;
}

.htai-auth-footer-text a:hover {
    text-decoration: underline;
}

.htai-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.htai-btn-block {
    width: 100%;
    justify-content: center;
}

/* Auth Side */
.htai-auth-side {
    display: none;
}

@media (min-width: 1024px) {
    .htai-auth-side {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
}

.htai-auth-testimonial-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.htai-auth-testimonial-card .htai-quote-mark {
    position: absolute;
    top: 24px;
    left: 28px;
    color: var(--landing-gold);
    opacity: 0.3;
}

.htai-auth-testimonial-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--landing-text);
    margin: 0 0 24px;
    padding-top: 32px;
}

.htai-auth-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.htai-auth-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.htai-auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--landing-text);
}

.htai-auth-feature svg {
    color: var(--landing-emerald);
    flex-shrink: 0;
}

/* Auth Value Props (Register) */
.htai-auth-value-props h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 20px;
}

.htai-auth-value-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htai-auth-value-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
}

.htai-auth-value-item .htai-value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 10px;
    color: var(--landing-gold);
    flex-shrink: 0;
}

.htai-auth-value-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--landing-text);
    margin-bottom: 4px;
}

.htai-auth-value-item p {
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   PORTAL PAGES
   ========================================================================== */

.htai-portal-layout {
    display: flex;
    min-height: 100vh;
    background: var(--landing-bg);
}

/* Portal Sidebar */
.htai-portal-sidebar {
    width: 260px;
    background: var(--landing-bg-elevated);
    border-right: 1px solid var(--landing-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.htai-portal-sidebar.open {
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .htai-portal-sidebar {
        position: relative;
        transform: translateX(0);
    }
}

.htai-portal-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--landing-border);
}

.htai-portal-logo {
    text-decoration: none;
}

.htai-portal-logo span {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--landing-text);
}

.htai-portal-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.htai-portal-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--landing-text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.htai-portal-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--landing-text);
}

.htai-portal-nav-item.active {
    background: var(--landing-gold-glow);
    color: var(--landing-gold);
}

.htai-portal-nav-item svg {
    flex-shrink: 0;
}

.htai-portal-nav-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--landing-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Portal Main */
.htai-portal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (min-width: 1024px) {
    .htai-portal-main {
        margin-left: 0;
    }
}

.htai-portal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--landing-bg);
    border-bottom: 1px solid var(--landing-border);
}

.htai-portal-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    color: var(--landing-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.htai-portal-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
    .htai-portal-menu-toggle {
        display: none;
    }
}

.htai-portal-header-title {
    flex: 1;
}

.htai-portal-header-title h1 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--landing-text);
    margin: 0 0 4px;
}

.htai-portal-header-title p {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    margin: 0;
}

.htai-portal-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.htai-portal-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--landing-gold), var(--landing-gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.htai-portal-user-avatar span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--landing-bg);
}

.htai-portal-user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--landing-text);
    display: none;
}

@media (min-width: 640px) {
    .htai-portal-user-name {
        display: block;
    }
}

/* Portal Content */
.htai-portal-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .htai-portal-content {
        padding: 32px;
    }
}

.htai-portal-section {
    margin-bottom: 32px;
}

.htai-portal-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 16px;
}

.htai-portal-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.htai-portal-section-header h2 {
    margin: 0;
}

.htai-portal-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 24px;
}

.htai-portal-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 16px;
}

.htai-portal-placeholder {
    text-align: center;
    padding: 32px 16px;
    color: var(--landing-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Portal Metrics */
.htai-portal-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .htai-portal-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .htai-portal-metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

.htai-portal-metric-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
}

.htai-metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 10px;
    color: var(--landing-gold);
    flex-shrink: 0;
}

.htai-metric-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.htai-metric-label {
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
}

.htai-metric-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--landing-text);
}

.htai-metric-change {
    font-size: 0.75rem;
}

.htai-metric-change.positive {
    color: var(--landing-emerald);
}

.htai-metric-change.negative {
    color: var(--landing-red);
}

.htai-metric-change.neutral {
    color: var(--landing-text-muted);
}

/* Portal Actions */
.htai-portal-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.htai-portal-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.htai-portal-action-card:hover {
    border-color: var(--landing-gold);
    transform: translateY(-2px);
}

.htai-action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 10px;
    color: var(--landing-gold);
}

.htai-portal-action-card span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--landing-text);
}

/* Portal Settings Forms */
.htai-settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.htai-settings-form .htai-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .htai-settings-form .htai-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Portal Team */
.htai-team-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.htai-team-member {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
}

.htai-team-member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--landing-gold), var(--landing-gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.htai-team-member-avatar span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--landing-bg);
}

.htai-team-member-info {
    flex: 1;
    min-width: 0;
}

.htai-team-member-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--landing-text);
}

.htai-team-member-email {
    display: block;
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
}

.htai-team-member-role {
    font-size: 0.8125rem;
    color: var(--landing-gold);
}

.htai-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--landing-text-muted);
}

.htai-badge-gold {
    background: var(--landing-gold-glow);
    color: var(--landing-gold);
}

/* Portal Billing */
.htai-billing-plan-card {
    background: linear-gradient(135deg, var(--landing-bg-card) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-color: rgba(201, 162, 39, 0.2);
}

.htai-billing-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 24px;
}

.htai-billing-plan-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-text-muted);
    margin-bottom: 4px;
}

.htai-billing-plan-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--landing-text);
    margin: 0;
}

.htai-billing-plan-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.htai-billing-detail-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
    margin-bottom: 4px;
}

.htai-billing-detail-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--landing-text);
}

/* Portal Reports */
.htai-report-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.htai-report-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.htai-report-option:hover {
    border-color: var(--landing-gold);
}

.htai-report-option-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 12px;
    color: var(--landing-gold);
    flex-shrink: 0;
}

.htai-report-option-content {
    flex: 1;
}

.htai-report-option-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 4px;
}

.htai-report-option-content p {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Portal Chat */
.htai-chat-section {
    height: calc(100vh - 200px);
    min-height: 400px;
}

.htai-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    overflow: hidden;
}

.htai-chat-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.htai-chat-welcome {
    text-align: center;
    padding: 40px 20px;
}

.htai-chat-welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold-glow);
    border-radius: 50%;
    color: var(--landing-gold);
}

.htai-chat-welcome h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0 0 8px;
}

.htai-chat-welcome p {
    font-size: 0.9375rem;
    color: var(--landing-text-muted);
    margin: 0 0 32px;
}

.htai-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.htai-chat-suggestion {
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--landing-border);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.htai-chat-suggestion:hover {
    border-color: var(--landing-gold);
    color: var(--landing-gold);
}

.htai-chat-input-container {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--landing-border);
}

.htai-chat-form {
    display: flex;
    gap: 12px;
}

.htai-chat-input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--landing-text);
    transition: border-color 0.2s ease;
}

.htai-chat-input::placeholder {
    color: var(--landing-text-muted);
}

.htai-chat-input:focus {
    outline: none;
    border-color: var(--landing-gold);
}

.htai-chat-send {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--landing-gold);
    border: none;
    border-radius: 10px;
    color: var(--landing-bg);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.htai-chat-send:hover {
    opacity: 0.9;
}

.htai-chat-disclaimer {
    font-size: 0.75rem;
    color: var(--landing-text-muted);
    text-align: center;
    margin: 12px 0 0;
}

/* Portal Property Sources */
.htai-source-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.htai-source-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
}

.htai-source-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--landing-text);
    flex-shrink: 0;
}

.htai-source-info {
    flex: 1;
}

.htai-source-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--landing-text);
}

.htai-source-status {
    display: block;
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
}
