:root {
  --bg: #0a0f1a;
  --bg-light: #111726;
  --text: #e8eef7;
  --text-muted: #9ba6bd;

  --primary: #00aaff;
  --primary-glow: 0 0 12px rgba(0, 170, 255, 0.8);

  --card-bg: #131b2d;
  --border-color: #1d273d;

  --radius: 14px;
  --transition: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.header {
  width: 100%;
  padding: 18px 60px;
  background: rgba(10, 15, 26, 0.9);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary);
  text-shadow: var(--primary-glow);
}

.header nav a {
  color: var(--text);
  margin: 0 14px;
  text-decoration: none;
  transition: var(--transition);
}

.header nav a:hover {
  color: var(--primary);
  text-shadow: var(--primary-glow);
}

.lang-switch a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.lang-switch a:hover {
  text-shadow: var(--primary-glow);
}

.hero {
  padding: 180px 10px 120px;
  text-align: center;
  background: linear-gradient(
    to bottom,
    #0a0f1a 0%,
    #0d1322 50%,
    #111726 100%
  );
}

.cookies {
  padding: 1px 10px 1px;
  text-align: center;
  background: linear-gradient(
    to bottom,
    #0a0f1a 0%,
    #3b5f6a 50%,
    #111726 100%
  );
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  text-shadow: var(--primary-glow);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.section {
  padding: 80px 60px;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-shadow: var(--primary-glow);
}

.section p,
.section ul li {
  color: var(--text-muted);
  max-width: 900px;
}

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

.tech-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--primary-glow);
}

.tech-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.tech-card p {
  color: var(--text-muted);
}

.project-list {
  list-style: none;
  margin-top: 20px;
}

.project-list li {
  margin-bottom: 10px;
  padding-left: 10px;
}

.contact form {
  max-width: 600px;
  margin-top: 20px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text);
  resize: vertical;
  transition: var(--transition);
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--primary-glow);
}

button {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 14px 26px;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

button:hover {
  filter: brightness(1.2);
  box-shadow: var(--primary-glow);
}

#responseMsg {
  margin-top: 10px;
  font-weight: bold;
}

.footer {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

.footer a {
  color: var(--primary);
  margin: 0 8px;
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  text-shadow: var(--primary-glow);
}

.divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
      rgba(80,160,255,0) 0%,
      rgba(80,160,255,1) 50%,
      rgba(80,160,255,0) 100%);
  box-shadow: 0 0 25px rgba(80,160,255,0.9),
              0 0 60px rgba(80,160,255,0.6);
  margin: 60px 0;
  padding:1.5rem;
}

.top-banner{
  background:none;
  color: #88ccff;
  text-shadow: 
    0 0 10px rgba(80,160,255,0.6),            
    0 0 25px rgba(80,160,255,0.4);;
  text-align:center;
  padding:0.1rem;
  font-size:1rem;
}

.top-banner u{
  text-decoration:underline;
}

@media (max-width: 900px) {
  .header {
    padding: 14px 30px;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 160px 30px 100px;
  }

  .section {
    padding: 60px 30px;
  }
}
