/* Respaid Design System — Preview Pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f7;
  --text-primary: #1a1a2e;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --accent-purple: #6C47FF;
  --accent-purple-light: #6C47FF;
  --accent-blue: #3b82f6;
  --accent-green: #16a34a;
  --accent-red: #dc2626;
  --accent-orange: #ea580c;
  --microsoft-blue: #00a4ef;
  --border: #e4e4e7;
  --border-light: #d4d4d8;
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { transition: color 0.2s, opacity 0.2s; }
img { transition: transform 0.3s; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  background: var(--accent-purple) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #5a38e0 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(108, 71, 255, 0.3); }

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Sections */
section {
  padding: 80px 0;
}

/* Hero */
.hero {
  padding-top: 140px;
  padding-bottom: 48px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 71, 255, 0.08);
  color: var(--accent-purple);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-microsoft {
  background: rgba(0, 164, 239, 0.08);
  color: var(--microsoft-blue);
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-detail {
  font-size: 13px;
  color: var(--text-muted);
}

/* Speaker Card */
.speaker-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 580px;
  margin: 40px auto;
}

.speaker-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-purple);
}

.speaker-info { text-align: left; }
.speaker-name { font-size: 18px; font-weight: 700; }
.speaker-title { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
.speaker-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Quote */
.quote-block {
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 40px;
  margin: 48px 0;
  max-width: 800px;
}

.quote-block.centered { margin: 48px auto; }

.quote-text {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.quote-attribution {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
}

/* Large Quote (Hero-style) */
.quote-hero {
  text-align: center;
  padding: 80px 0;
}

.quote-hero .quote-text {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

/* Content Section */
.content-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-purple-light);
  margin-bottom: 16px;
}

.body-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
}

.body-text + .body-text { margin-top: 20px; }

/* Before/After Comparison */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0;
}

.comparison-col {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.comparison-col.before { border-top: 3px solid var(--accent-red); }
.comparison-col.after { border-top: 3px solid var(--accent-green); }

.comparison-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.comparison-col.before .comparison-title { color: var(--accent-red); }
.comparison-col.after .comparison-title { color: var(--accent-green); }

.comparison-list {
  list-style: none;
}

.comparison-list li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-list li:last-child { border-bottom: none; }

.comparison-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comparison-col.before .comparison-list li::before { background: var(--accent-red); }
.comparison-col.after .comparison-list li::before { background: var(--accent-green); }

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 71, 255, 0.08);
}

.feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.feature-stat {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(108, 71, 255, 0.06);
  color: var(--accent-purple);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
  margin: 48px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-blue));
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 16px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-purple);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--accent-purple);
}

.timeline-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-purple-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* Badge Row */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  justify-content: center;
}

.badge-item {
  padding: 8px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Philosophy Cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.philosophy-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 71, 255, 0.08);
}

.philosophy-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-purple-light);
  margin-bottom: 16px;
}

.philosophy-card blockquote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  border-left: 2px solid var(--accent-purple);
  padding-left: 16px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-purple);
  color: white;
  box-shadow: 0 2px 8px rgba(108, 71, 255, 0.25);
}
.btn-primary:hover { background: #5a38e0; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(108, 71, 255, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Trust Row */
.trust-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
}

/* Testimonial Featured Card */
.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--microsoft-blue);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 164, 239, 0.1);
}

.featured-quote {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  color: var(--text-primary);
}

.featured-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--microsoft-blue);
}

.featured-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--microsoft-blue);
  text-decoration: none;
  font-weight: 600;
  margin-top: 24px;
  transition: gap 0.2s;
}
.featured-link:hover { gap: 12px; }

/* Case Study Cards (Testimonial Page) */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.case-study-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.case-study-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.case-study-header {
  padding: 24px 28px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-study-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.case-study-tag {
  font-size: 12px;
  padding: 3px 10px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple-light);
  border-radius: 100px;
  font-weight: 500;
}

.case-study-body {
  padding: 0 28px 24px;
}

.case-study-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-study-metrics {
  display: flex;
  gap: 20px;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
}

.case-study-metric {
  font-size: 13px;
}

.case-study-metric strong {
  color: var(--accent-green);
  display: block;
  font-size: 16px;
}

/* Dispute Resolution Table */
.dispute-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dispute-table th, .dispute-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
}

.dispute-table th {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.dispute-table td {
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

.dispute-table tr:hover td { background: var(--bg-card-hover); }

/* About Company */
.about-company {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 48px 0;
  transition: box-shadow 0.3s;
}
.about-company:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.about-logo {
  font-size: 32px;
  font-weight: 700;
  color: var(--microsoft-blue);
  flex-shrink: 0;
}

.about-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Evolution Timeline (horizontal) */
.evolution {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 48px 0;
  position: relative;
}

.evolution::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue), var(--accent-green));
}

.evo-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.evo-node:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 71, 255, 0.1);
}

.evo-node.future {
  border-style: dashed;
  opacity: 0.7;
}

.evo-multiplier {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-purple-light);
  margin-bottom: 8px;
}

.evo-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.evo-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Profile Hero */
.profile-hero {
  padding-top: 160px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.profile-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-purple);
  flex-shrink: 0;
}

.profile-info h1 {
  text-align: left;
  margin-bottom: 8px;
}

.profile-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.profile-tagline {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Achievements Table */
.achievements-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.achievements-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

.achievements-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 280px;
}

/* Connect Card (link to case study) */
.connect-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s;
  margin: 48px 0;
}
.connect-card:hover {
  border-color: var(--microsoft-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 164, 239, 0.08);
}

.connect-card h3 { font-size: 22px; margin-bottom: 8px; }
.connect-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }
.connect-card .read-more {
  color: var(--microsoft-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer a {
  color: var(--accent-purple-light);
  text-decoration: none;
}

/* Large stat */
.large-stat {
  text-align: center;
  padding: 60px 0;
}

.large-stat-number {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -4px;
  color: var(--accent-purple);
}

.large-stat-label {
  font-size: 20px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Proof points */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.proof-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 71, 255, 0.08);
}

.proof-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-purple-light);
  margin-bottom: 12px;
}

.proof-card p, .proof-card blockquote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.proof-card blockquote {
  font-style: italic;
  border-left: 2px solid var(--accent-purple);
  padding-left: 14px;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .hero { padding-top: 120px; }
  .comparison { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; padding: 32px; }
  .profile-hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .profile-info h1 { text-align: center; }
  .profile-photo { width: 180px; height: 180px; }
  .evolution { grid-template-columns: 1fr 1fr; }
  .speaker-card { flex-direction: column; text-align: center; }
}
