:root {
  --bg: #ffffff;
  --card: #f5f5f5;
  --muted: rgba(0, 0, 0, 0.6);
  --primary: #ff6600;
  --secondary: #e65c00;
  --radius: 12px;
  --text: #0d0d10;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Arial, sans-serif;
  overflow-x: hidden
}

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

.muted {
  color: var(--muted)
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease
}

a:hover {
  color: var(--primary)
}

a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 2px
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  background: rgba(255, 255, 255, 0.8);
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05)
}

@media(max-width:1024px) {
  header {
    padding: 12px 24px
  }
}

.logo-text {
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 6px 18px rgba(255, 102, 0, 0.2);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.1rem
}

nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0
}

nav a {
  color: var(--text);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center
}

nav a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary)
}

nav a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px
}

nav a.active {
  box-shadow: inset 0 -3px 0 0 var(--primary);
  background: rgba(255, 102, 0, 0.05);
  border: 1px solid rgba(255, 102, 0, 0.1)
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--text);
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  z-index: 70;
  position: relative;
  transition: opacity 0.2s ease;
  border-radius: 8px;
  background: transparent;
  border: none;
  align-items: center;
  justify-content: center
}

.menu-toggle:hover {
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.05)
}

.menu-toggle:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 4px
}

.menu-toggle:active {
  background: rgba(255, 255, 255, 0.1)
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent
}

.btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px
}

.btn:active {
  transform: scale(0.98)
}

.btn-primary {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: #ffffff;
  box-shadow: none
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3)
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: var(--text)
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--secondary);
  color: var(--secondary)
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: var(--muted)
}

.btn-ghost:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: var(--secondary);
  color: var(--secondary)
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important
}

.btn:disabled:hover {
  opacity: 0.6
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05)
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(6px)
}

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

@media(max-width:768px) {
  .container {
    padding: 0 16px
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 12px
  }
}

.section-title {
  font-weight: 900;
  color: transparent;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none
}

main {
  position: relative;
  z-index: 2
}

.hero {
  padding: 60px 0
}

@media(max-width:980px) {
  .menu-toggle {
    display: flex
  }

  .logo-text {
    font-size: 1rem
  }

  nav ul {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 20px 24px;
    gap: 8px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 65;
    overflow-y: auto;
    overscroll-behavior: contain
  }

  nav ul.active {
    display: flex
  }

  nav ul li {
    width: 100%
  }

  nav ul a {
    display: block;
    padding: 14px 16px;
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 0.95rem
  }

  nav ul a:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(4px)
  }

  nav ul a:active {
    background: rgba(0, 0, 0, 0.08);
    transform: translateX(2px)
  }

  header {
    padding: 12px 20px
  }
}

@media(max-width:768px) {
  header {
    padding: 10px 16px
  }

  .logo-text {
    font-size: 0.9rem;
    padding: 4px 8px
  }

  nav ul {
    width: min(300px, 90vw);
    padding: 70px 16px 20px
  }
}

@media(max-width:480px) {
  header {
    padding: 10px 12px
  }

  .logo-text {
    font-size: 0.85rem
  }

  nav ul {
    width: 100%;
    right: 0;
    padding: 60px 16px 20px
  }

  nav ul a {
    padding: 12px 14px;
    font-size: 0.9rem
  }
}