/* Teamurai Design System - Light Purple Theme */
:root {
  /* Purple Color Scheme */
  --primary: #8b5cf6;
  --primary-foreground: #fff;
  --primary-hover: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #6d28d9;
  --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);

  /* Gray Scale */
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --input: #f1f5f9;
  --ring: #8b5cf6;

  /* Text Colors */
  --text-heading: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-purple: 0 4px 14px 0 rgba(139, 92, 246, 0.25);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

/* Cards */
.card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
}

.nav-menu a {
  color: var(--text-muted);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-heading);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(180deg, #faf5ff 0%, var(--background) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-body);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Benefits Section */
.benefits-section {
  padding: 6rem 0;
  background: var(--muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Features Section */
.features-section {
  padding: 6rem 0;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.feature-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* How It Works */
.how-section {
  background: var(--muted);
  padding: 6rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-item {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--border);
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-purple);
}

.step-title {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 500px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
}

.faq-grid {
  max-width: 700px;
  margin: 3rem auto 0;
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: white;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.faq-item p:not(.faq-question) {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Section Headings */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 0.75rem;
}

.section-subheader {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: var(--primary-gradient);
  padding: 5rem 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--foreground);
  color: white;
  padding: 3rem 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

.footer-links a:hover {
  color: white;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.company-info {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
    text-align: center;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero {
    padding: 7rem 0 3rem;
    min-height: auto;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    padding: 0 1rem;
  }

  .footer-links {
    gap: 1.5rem;
  }
}

/* Contact Page */
.contact-section {
  padding-top: 8rem;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a {
  color: var(--primary);
}

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

/* Legal Pages */
.legal-content {
  padding-top: 8rem;
}

.legal-content .card {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-content .date {
  color: var(--text-subtle);
  margin-bottom: 2rem;
  display: block;
  font-size: 0.9rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}