/* ================================================
   LEISURE APPS LLC - Modern Light Theme
   ================================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Brand Colors */
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #22c55e;
  --primary-glow: rgba(22, 163, 74, 0.2);

  /* Light Theme */
  --bg-main: #ffffff;
  --bg-section: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Spacing */
  --section-padding: 100px 5%;
  --card-padding: 28px;
  --border-radius: 16px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 100px;
  width: auto;
}

.navbar-brand span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.navbar-links a {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.navbar-links a:hover {
  color: var(--primary);
  background: var(--bg-section);
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

/* Decorative gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* Gradient text effect */
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 50%, var(--primary-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out 0.3s both;
  box-shadow: var(--shadow-md);
}

.hero-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--primary-glow);
}

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

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

/* --- Section Styles --- */
.section {
  padding: var(--section-padding);
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 120px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

/* --- Apps Grid --- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.app-card {
  display: flex;
  flex-direction: column;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--bg-section);
  padding: 8px;
  border: 1px solid var(--border-light);
}

.app-icon-large {
  width: 80px;
  height: 56px;
}

.app-title {
  flex: 1;
}

.app-title h3 {
  color: var(--text-primary);
  margin-bottom: 4px;
}

.app-status {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 500;
}

.status-live {
  background: #dcfce7;
  color: var(--primary-dark);
}

.status-awarded {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-released {
  background: #f3e8ff;
  color: #7c3aed;
}

.app-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

.app-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.app-card a::after {
  content: '→';
  transition: var(--transition-fast);
}

.app-card a:hover::after {
  transform: translateX(4px);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* --- About Section --- */
#about {
  background: var(--bg-section);
}

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

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Contact Section --- */
.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border-top: 1px solid var(--border-light);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--bg-card);
}

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

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  display: none;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  margin-top: 16px;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  background: #dcfce7;
  color: var(--primary-dark);
  border: 1px solid #bbf7d0;
}

.form-status.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* --- Footer --- */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  padding: 60px 5% 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand img {
  height: 90px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 5%;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .navbar-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 100px 5% 60px;
    min-height: auto;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    text-align: center;
    white-space: normal;
    max-width: 90%;
  }

  .apps-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form {
    padding: 24px;
  }
}

/* --- Animations for scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   APP ARCHITECT - AI Cost Estimator Chat
   ================================================ */

/* --- Architect Section --- */
#architect {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

#architect .section-header {
  margin-bottom: 1rem;
}

.architect-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.architect-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* --- Chat Container --- */
#architect-chat {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* --- Chat Header --- */
.architect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
}

.architect-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.architect-header-title span {
  font-size: 1.5rem;
}

.architect-header h4 {
  color: white;
  margin: 0;
  font-size: 1rem;
}

.architect-complexity {
  display: none;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
}

.architect-complexity-simple {
  background: #dcfce7;
  color: #15803d;
}

.architect-complexity-standard {
  background: #dbeafe;
  color: #1d4ed8;
}

.architect-complexity-complex {
  background: #f3e8ff;
  color: #7c3aed;
}

/* --- Messages Container --- */
.architect-messages {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-section);
}

/* --- Welcome Message --- */
.architect-welcome {
  display: flex;
  gap: 12px;
  animation: fadeInUp 0.4s ease-out;
}

.architect-welcome-content {
  flex: 1;
}

.architect-welcome-content p {
  margin: 0 0 12px;
  color: var(--text-primary);
}

.architect-tips {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  padding: 16px;
}

.architect-tips p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.architect-tips ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.architect-tips li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.architect-privacy {
  margin-top: 12px !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

/* --- Message Bubbles --- */
.architect-message {
  display: flex;
  gap: 10px;
  animation: fadeInUp 0.3s ease-out;
}

.architect-message-user {
  flex-direction: row-reverse;
}

.architect-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.architect-message-user .architect-avatar {
  display: none;
}

.architect-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.architect-message-assistant .architect-bubble {
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.architect-message-user .architect-bubble {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.architect-bubble strong {
  color: inherit;
}

/* --- Tables in Messages --- */
.architect-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.85rem;
}

.architect-table td {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.architect-table tr:first-child td {
  font-weight: 600;
  background: var(--bg-section);
}

/* --- Typing Indicator --- */
.architect-typing {
  display: flex;
  gap: 10px;
  align-items: center;
}

.architect-typing-dots {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}

.architect-typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.architect-typing-dots span:nth-child(1) {
  animation-delay: 0s;
}

.architect-typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.architect-typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {

  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- Input Area --- */
.architect-input-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  background: white;
}

.architect-input {
  width: 100%;
  min-height: 50px;
  max-height: 200px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  resize: none;
  overflow-y: auto;
  transition: var(--transition-fast);
}

.architect-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.architect-input:disabled {
  background: var(--bg-section);
  cursor: not-allowed;
}

.architect-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.architect-char-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.architect-char-warning {
  color: #dc2626;
}

.architect-send-btn {
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.architect-send-btn:hover:not(:disabled) {
  background: var(--primary-dark);
}

.architect-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Action Buttons --- */
.architect-actions {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-section);
  flex-wrap: wrap;
}

.architect-actions button {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid var(--border-light);
  background: white;
  color: var(--text-secondary);
}

.architect-actions button:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

.architect-submit-btn {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.architect-submit-btn:hover {
  background: var(--primary-dark) !important;
}

/* --- Modal --- */
.architect-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.architect-modal-content {
  background: white;
  border-radius: var(--border-radius);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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

.architect-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.architect-modal h3 {
  margin: 0 0 8px;
}

.architect-modal p {
  margin: 0 0 20px;
  font-size: 0.95rem;
}

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

.architect-modal-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.architect-modal-submit:hover:not(:disabled) {
  background: var(--primary-dark);
}

.architect-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.architect-modal-disclaimer {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* --- Success State --- */
.architect-success {
  text-align: center;
  padding: 20px 0;
}

.architect-success-icon {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* --- Preview Modal --- */
.architect-preview-content {
  max-width: 700px;
}

.architect-preview-loading {
  text-align: center;
  padding: 40px 20px;
}

.architect-preview-loading p {
  margin-top: 20px;
  color: var(--text-secondary);
}

.architect-preview-disclaimer {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 16px !important;
}

.architect-preview-frame-container {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.architect-preview-frame {
  width: 100%;
  height: 400px;
  border: none;
  background: white;
}

.architect-preview-actions {
  text-align: center;
}

.architect-preview-btn {
  background: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
  color: white !important;
}

.architect-preview-btn:hover {
  background: #7c3aed !important;
}

/* --- Hero CTA Secondary Button --- */
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  transition: var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out 0.4s both;
  text-decoration: none;
}

.hero-cta-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .architect-messages {
    height: 50vh;
    min-height: 300px;
  }

  .architect-bubble {
    max-width: 90%;
  }

  .architect-input-area {
    flex-wrap: wrap;
  }

  .architect-input {
    width: 100%;
  }

  .architect-send-btn {
    width: 100%;
  }

  .architect-actions {
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}