/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

/* CSS Variables (Design System) */
:root {
  /* Colors */
  --primary: #0066ff;
  --primary-glow: #4d94ff;
  --primary-dark: #0052cc;
  --accent: #ffb700;
  --success: #22c55e;
  --warning: #f59e0b;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0066ff 0%, #ffb700 100%);
  --gradient-primary: linear-gradient(135deg, #0066ff, #4d94ff);

  /* Shadows */
  --shadow-soft: 0 4px 20px -4px rgba(0, 102, 255, 0.15);
  --shadow-medium: 0 8px 30px -8px rgba(0, 102, 255, 0.2);
  --shadow-card: 0 10px 40px -10px rgba(0, 102, 255, 0.1);

  /* Border Radius */
  --radius: 0.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--neutral-700);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-success {
  background-color: var(--success);
  color: white;
}

.badge-warning {
  background-color: var(--warning);
  color: white;
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--neutral-300);
  color: var(--neutral-700);
}
/* Header */
.header {
  background: #1f2937;
  color: white;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: #3b82f6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo h1 {
    color: whitesmoke;
  font-size: 1.25rem;
  font-weight: bold;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navigation a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: #3b82f6;
}

.github-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.github-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-text h1 {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    max-width: 60rem;
    margin: 0 auto;
    line-height: 1.7;
}


/* Project Info */
.project-info {
  padding: 3rem 0;
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.demo-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.demo-placeholder {
  aspect-ratio: 16/9;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.play-icon {
  width: 4rem;
  height: 4rem;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.demo-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}
.btn a {
  text-decoration: none;
  color: black;
}
.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-outline {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #1f2937;
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost a {
  color: white;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.875rem;
}

.team-member .label,
.project-meta .label {
  color: #3b82f6;
  font-weight: 600;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.project-description {
  color: #6b7280;
  line-height: 1.7;
}

/* Table of Contents */
.toc-section {
  background: rgba(59, 130, 246, 0.1);
  padding: 3rem 0;
}

.toc-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.3s ease;
}

.toc-item:hover {
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.toc-number {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.toc-item:hover .toc-number {
  background: #3b82f6;
  color: white;
}

/* Main Content */
.main-content {
  padding: 4rem 0;
}

.content-section {
  margin-bottom: 4rem;
  scroll-margin-top: 5rem;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #4b5563;
}

.content-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.stat-item h3 {
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.solution-item {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-align: center;
}

.solution-item i {
  width: 3rem;
  height: 3rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.solution-item h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card,
.feature-card:hover,
.tech-category-card:hover,
.scenario-card:hover,
.flow-step-card:hover,
.team-member-card:hover {
  box-shadow: var(--shadow-medium);
}
/* Sections */
.features-section,
.demo-section {
  padding: 5rem 0;
  background-color: var(--neutral-50);
}

.architecture-section,
.team-section {
  padding: 5rem 0;
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--neutral-700);
}

.section-description {
  font-size: 1.25rem;
  color: var(--neutral-700);
  opacity: 0.8;
  max-width: 48rem;
  margin: 0 auto;
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--neutral-700);
}

/* Cards */
.feature-card,
.tech-category-card,
.scenario-card,
.metric-card,
.flow-step-card,
.team-member-card,
.project-info-card,
.cta-card,
.technologies-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.feature-card:hover,
.tech-category-card:hover,
.scenario-card:hover,
.flow-step-card:hover,
.team-member-card:hover {
  box-shadow: var(--shadow-medium);
}

.card-header {
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.card-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--neutral-700);
  opacity: 0.8;
}

/* Feature Showcase */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .feature-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

.showcase-item {
  text-align: center;
}

.showcase-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
}

.showcase-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.showcase-description {
  color: var(--neutral-700);
  opacity: 0.8;
}

.showcase-description {
  color: var(--neutral-700);
  opacity: 0.8;
}
.tech-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.tech-category h3 {
  color: #3b82f6;
  margin-bottom: 1rem;
  text-align: center;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* Use Cases Styling */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.case-study {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.case-study:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.case-study-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border-radius: 8px;
}

.case-study-header i {
  width: 24px;
  height: 24px;
}

.case-study-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.case-study-content > div {
  margin-bottom: 1.5rem;
}

.case-study-content h4 {
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.case-study-content h4 i {
  width: 18px;
  height: 18px;
  color: #3b82f6;
}

.profile-details p {
  margin: 0.5rem 0;
  color: #4b5563;
}

.case-study-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-content li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
  position: relative;
  padding-left: 1.5rem;
}

.case-study-content li:before {
  content: "•";
  color: #3b82f6;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.case-study-content li:last-child {
  border-bottom: none;
}

.without-app {
  background: #fef2f2;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ef4444;
}

.without-app p {
  margin: 0;
  color: #7f1d1d;
  font-style: italic;
}

.why-needed {
  background: #fffbeb;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
}

.app-usage {
  background: #f0f9ff;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #0ea5e9;
}

.tech-item {
  background: #3b82f6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
  background: #f9fafb;
}

.team-section h2 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-2px);
}

.team-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  color: #3b82f6;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.team-email {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.team-contributions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.contribution {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.social-btn {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  padding: 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: #f3f4f6;
  color: #3b82f6;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
}

.footer-content h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .toc-grid {
    grid-template-columns: 1fr;
  }

  .overview-stats,
  .solution-grid,
  .features-grid,
  .tech-stack,
  .team-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .team-info {
    grid-template-columns: 1fr;
  }

  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
