:root {
  --bg-color: #0c0c14;
  --text-color: #e8e8e8;
  --accent-primary: #4dabf7;
  --accent-secondary: #ff6b9d;
  --accent-gold: #ffd43b;
  --card-bg: #18181f;
  --border-color: rgba(77, 171, 247, 0.2);
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

header {
  padding: 1.2rem 6%;
  background: rgba(12, 12, 20, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.logo .ai {
  color: var(--accent-secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s;
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--accent-gold);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at top, #1a1a2e 0%, #0c0c14 50%);
  padding: 120px 6% 60px;
  position: relative;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  max-width: 900px;
}

.hero > p {
  font-size: 1.4rem;
  opacity: 0.85;
  margin-bottom: 3rem;
  max-width: 700px;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
}

.label {
  font-size: 1rem;
  opacity: 0.7;
}

.info-section {
  padding: 100px 8%;
}

.alt-bg {
  background-color: #0f0f17;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

h2 {
  font-size: 3.2rem;
  margin-bottom: 3rem;
  color: var(--accent-primary);
  font-weight: 700;
}

h3 {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.text p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
}

.ai-demo {
  position: relative;
  width: 100%;
  height: 350px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow: hidden;
}

.okr-demo {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 2px solid var(--border-color);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.okr-level {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.company-level {
  flex-direction: column;
}

.team-level {
  gap: 0.8rem;
}

.level-label {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.objective-box {
  background: rgba(77, 171, 247, 0.1);
  border: 2px solid var(--accent-primary);
  border-radius: 12px;
  padding: 1.2rem;
  animation: okr-pulse 3s ease-in-out infinite;
  width: 100%;
  max-width: 450px;
}

.objective-box.small {
  padding: 0.8rem;
  font-size: 0.85rem;
  max-width: 150px;
}

.obj-title {
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.small .obj-title {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.kr-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kr-item {
  background: rgba(255, 212, 59, 0.1);
  border-left: 3px solid var(--accent-gold);
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.9;
}

.kr-mini {
  font-size: 0.7rem;
  opacity: 0.7;
  font-style: italic;
}

.team-okr {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.alignment-arrows {
  display: flex;
  justify-content: space-around;
  padding: 0 2rem;
  height: 40px;
  position: relative;
}

.arrow {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  position: relative;
  animation: arrow-flow 2s ease-in-out infinite;
}

.arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--accent-primary);
}

.arrow:nth-child(2) {
  animation-delay: 0.4s;
}

.arrow:nth-child(3) {
  animation-delay: 0.8s;
}

.progress-indicator {
  margin-top: 1rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-gold));
  border-radius: 10px;
  animation: progress-grow 2s ease-out;
}

.progress-label {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

@keyframes okr-pulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(77, 171, 247, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(77, 171, 247, 0.5);
    transform: scale(1.02);
  }
}

@keyframes arrow-flow {
  0% {
    opacity: 0.3;
    transform: translateY(-10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
}

@keyframes progress-grow {
  0% {
    width: 0%;
  }
  100% {
    width: 72%;
  }
}

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

.reason-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.reason-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(77, 171, 247, 0.2);
}

.reason-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.llm-comparison {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
}

.llm-bar {
  padding: 1.5rem;
  border-radius: 10px;
  position: relative;
}

.gpu-bar {
  background: linear-gradient(
    to right,
    rgba(255, 107, 157, 0.2),
    rgba(255, 107, 157, 0.05)
  );
  border-left: 4px solid var(--accent-secondary);
}

.photonic-bar {
  background: linear-gradient(
    to right,
    rgba(77, 171, 247, 0.2),
    rgba(77, 171, 247, 0.05)
  );
  border-left: 4px solid var(--accent-primary);
}

.bar-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bar-time {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
}

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

.replacement-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.replacement-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.impact-section {
  padding: 80px 8%;
  background: var(--card-bg);
  text-align: center;
}

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

.impact-item {
  padding: 2rem;
  background: var(--bg-color);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.impact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.impact-item h4 {
  font-size: 1.3rem;
  color: var(--accent-primary);
  margin-bottom: 0.8rem;
}

.technology-section {
  padding: 80px 8%;
  text-align: center;
}

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

.company {
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-weight: 600;
  color: var(--accent-primary);
  transition: all 0.3s;
}

.company:hover {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

footer {
  padding: 3rem 6%;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-note {
  font-size: 0.9rem;
  opacity: 0.5;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .ai-reasons,
  .replacement-grid {
    grid-template-columns: 1fr;
  }
  .impacts {
    grid-template-columns: repeat(2, 1fr);
  }
  .companies-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  nav ul {
    display: none;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  .impacts,
  .companies-list {
    grid-template-columns: 1fr;
  }
  .team-level {
    flex-direction: column;
  }
  .objective-box.small {
    max-width: 100%;
  }
  .okr-demo {
    min-height: 600px;
  }
}

.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(ellipse at top, #1a1424 0%, #0a0a10 50%);
  padding: 150px 5% 80px;
}
.page-hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.content-section {
  padding: 80px 10%;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  color: var(--text-color);
}
.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent-primary);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: var(--text-color);
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  opacity: 0.6;
}
