
:root {
  --primary: linear-gradient(135deg, #0d47a1, #6a1b9a);
  --secondary: #1a237e;
  --accent: #ff9800;
  --text: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --highlight: #4caf50;
}

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

body {
  background: var(--primary);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 71, 161, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header h1 {
  font-size: 1.5rem;
  background: linear-gradient(to right, #ff9800, #4caf50);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero {
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.hero h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.notice {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid var(--accent);
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--accent), var(--highlight));
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.card p {
  margin-bottom: 15px;
}

.features {
  list-style: none;
}

.features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--highlight);
  font-weight: bold;
}

article {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

article h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent);
  position: relative;
  padding-bottom: 10px;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--highlight));
}

article h3 {
  font-size: 1.5rem;
  margin: 25px 0 15px;
  color: var(--text);
}

article h4 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--text);
}

article p {
  margin-bottom: 15px;
  font-size: 1rem;
}

pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  border-left: 4px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.9rem;
}

.footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 15px;
  }
  
  .nav {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  article {
    padding: 20px;
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

