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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-small {
  padding: 60px 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

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

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

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 80px 0;
}

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
}

/* Tech Stack */
.tech-stack {
  margin: 80px 0;
  text-align: center;
}

.tech-stack h2 {
  margin-bottom: 24px;
  font-size: 1.75rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tag {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* About Page */
.about-content {
  margin: 60px 0;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 24px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--gray);
}

.info-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  margin: 60px 0;
}

.info-box h3 {
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.info-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.info-box li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-box li:last-child {
  border-bottom: none;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--gray);
  text-align: center;
  padding: 32px;
  margin-top: auto;
}

footer strong {
  color: var(--white);
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: 60px 0;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .info-box ul {
    grid-template-columns: 1fr;
  }
}