/* ============================================================
   AI-Powered Web Application Development - Compact SaaS Styles
   Theme: Light, Enterprise-level, Modern, High-performance
   Brand Colors: Slate Navy (#1a2e44), Magenta-rose (#B5246A)
   ============================================================ */

:root {
  --aiweb-primary: #1a2e44;
  --aiweb-accent: #B5246A;
  --aiweb-accent-light: #C94985;
  --aiweb-accent-pale: #FAE8F1;
  --aiweb-surface: #ffffff;
  --aiweb-surface-alt: #f8f7f4;
  --aiweb-text: #1c1c1e;
  --aiweb-text-muted: #4a4a58;
  --aiweb-text-light: #666676;
  --aiweb-border: #e8e4dc;
  --aiweb-radius-sm: 8px;
  --aiweb-radius-md: 12px;
  --aiweb-radius-lg: 20px;
  --aiweb-transition: all 0.25s ease;
}

/* --- GLOBAL LAYOUT --- */
.aiweb-page {
  background: var(--aiweb-surface);
  color: var(--aiweb-text);
  overflow-x: hidden;
  font-family: var(--font-sans, 'Inter', sans-serif);
}

.aiweb-container {
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.aiweb-section {
  padding: 4rem 0;
  position: relative;
}

.aiweb-title-font {
  font-family: var(--font-headings, 'Outfit', sans-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* --- COMMON TYPOGRAPHY --- */
.aiweb-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aiweb-accent);
  margin-bottom: 0.8rem;
}

.aiweb-sec-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--aiweb-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.aiweb-section-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

/* --- 1. STATIC HERO --- */
.aiweb-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  background: var(--aiweb-surface);
  border-bottom: 1px solid var(--aiweb-border);
  text-align: center;
  position: relative;
}

.aiweb-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26, 46, 68, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.aiweb-hero-content {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.aiweb-hero-label {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--aiweb-primary);
  background: var(--aiweb-surface-alt);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--aiweb-border);
  margin-bottom: 1.5rem;
}

.aiweb-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.15;
  color: var(--aiweb-primary);
  margin-bottom: 1.2rem;
}

.aiweb-hero-desc {
  font-size: 1.1rem;
  color: var(--aiweb-text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* --- 2. CORE CAPABILITIES BENTO GRID --- */
.aiweb-features-section {
  background: var(--aiweb-surface-alt);
  border-bottom: 1px solid var(--aiweb-border);
}

.aiweb-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

/* Card sizes */
.aiweb-bento-grid .col-6 { grid-column: span 6; }
.aiweb-bento-grid .col-4 { grid-column: span 4; }

.aiweb-bento-card {
  background: var(--aiweb-surface);
  border: 1px solid var(--aiweb-border);
  border-radius: var(--aiweb-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--aiweb-transition);
}

.aiweb-bento-card:hover {
  border-color: rgba(181, 36, 106, 0.3);
  box-shadow: 0 4px 12px rgba(26, 46, 68, 0.03);
}

.aiweb-card-title {
  font-size: 1.2rem;
  color: var(--aiweb-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aiweb-card-title i {
  color: var(--aiweb-accent);
  font-size: 1.4rem;
}

.aiweb-card-desc {
  font-size: 0.95rem;
  color: var(--aiweb-text-muted);
  line-height: 1.55;
}

/* --- 3. INTELLIGENT EXPERIENCE SHOWCASE --- */
.aiweb-showcase-section {
  background: var(--aiweb-surface);
}

.aiweb-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.aiweb-feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.aiweb-feature-list li {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--aiweb-text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.aiweb-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--aiweb-accent);
  border-radius: 50%;
}

.aiweb-feature-list strong {
  color: var(--aiweb-primary);
  font-weight: 600;
}

/* Abstract AI UI Graphic */
.aiweb-abstract-ui {
  background: var(--aiweb-surface-alt);
  border: 1px solid var(--aiweb-border);
  border-radius: var(--aiweb-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aiweb-ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--aiweb-border);
}

.aiweb-ui-dots {
  display: flex;
  gap: 6px;
}

.aiweb-ui-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d6d0;
}

.aiweb-ui-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--aiweb-accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aiweb-ui-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aiweb-ui-block {
  background: var(--aiweb-surface);
  border: 1px solid var(--aiweb-border);
  border-radius: var(--aiweb-radius-sm);
}

.aiweb-ui-block.primary {
  height: 80px;
}

.aiweb-ui-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.aiweb-ui-block.small {
  height: 60px;
}

.aiweb-ui-chat {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.aiweb-chat-bubble {
  padding: 10px 14px;
  border-radius: var(--aiweb-radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  max-width: 80%;
}

.aiweb-chat-bubble.user {
  background: var(--aiweb-surface);
  border: 1px solid var(--aiweb-border);
  color: var(--aiweb-text);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.aiweb-chat-bubble.ai {
  background: var(--aiweb-accent-pale);
  color: var(--aiweb-accent);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- 4. FINAL CTA --- */
.aiweb-cta-section {
  padding: 3rem 0;
  background: var(--aiweb-surface-alt);
  border-top: 1px solid var(--aiweb-border);
}

.aiweb-cta-box {
  background: var(--aiweb-primary);
  border-radius: var(--aiweb-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.aiweb-cta-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
  .aiweb-split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .aiweb-bento-grid .col-6,
  .aiweb-bento-grid .col-4 {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .aiweb-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
  
  .aiweb-bento-grid .col-6,
  .aiweb-bento-grid .col-4 {
    grid-column: span 12;
  }
  
  .aiweb-section {
    padding: 3rem 0;
  }
}
