
/* Base Styles */
:root {
  --primary-color: #33C3F0;
  --secondary-color: #1A1F2C;
  --accent-color: #8E9196;
  --text-color: #403E43;
  --background-color: #FFFFFF;
  --light-bg: #F6F6F7;
  --border-color: #E1E4E8;
  --gradient-start: #33C3F0;
  --gradient-end: #6610f2;
  --heading-font: 'Rajdhani', sans-serif;
  --body-font: 'Roboto', sans-serif;
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 0.5em;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--accent-color);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo h1 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary-color);
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 8px;
  position: relative;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  background-color: white;
  transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  position: relative;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.btn-docs {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white !important;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-docs:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 195, 240, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 2px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: var(--heading-font);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(51, 195, 240, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.hero-image {
  width: 40%;
  display: flex;
  justify-content: flex-end;
}

.circuit-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.circuit {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-color) 2px, transparent 2px),
                    linear-gradient(to right, var(--primary-color) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--primary-color) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 20px 20px;
  background-position: 0 0, 10px 10px, 10px 10px;
  opacity: 0.2;
  border-radius: 50%;
  animation: pulse 4s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.2; }
  100% { transform: scale(1.1); opacity: 0.3; }
}

.robot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 180px;
}

.robot-head {
  width: 80px;
  height: 100px;
  background: linear-gradient(145deg, var(--secondary-color), #2a3446);
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.robot-eye {
  width: 30px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 4px;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(51, 195, 240, 0.7);
  animation: blink 3s infinite;
}

@keyframes blink {
  0%, 90%, 100% { height: 8px; }
  95% { height: 1px; }
}

.robot-antenna {
  width: 8px;
  height: 25px;
  background: linear-gradient(var(--primary-color), var(--secondary-color));
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -80%);
  border-radius: 4px;
}

.robot-antenna::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse-antenna 2s infinite alternate;
}

@keyframes pulse-antenna {
  0% { box-shadow: 0 0 5px 2px rgba(51, 195, 240, 0.5); }
  100% { box-shadow: 0 0 10px 4px rgba(51, 195, 240, 0.8); }
}

.circuit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--primary-color) 1px, transparent 1px),
    radial-gradient(var(--primary-color) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  opacity: 0.05;
  pointer-events: none;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--light-bg);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
  transition: height 0.3s ease;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(51, 195, 240, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.8;
}

.feature-icon.speech::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2333C3F0' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z' /%3E%3C/svg%3E");
}

.feature-icon.vision::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2333C3F0' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z' /%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z' /%3E%3C/svg%3E");
}

.feature-icon.learning::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2333C3F0' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z' /%3E%3C/svg%3E");
}

.feature-icon.hardware::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2333C3F0' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z' /%3E%3C/svg%3E");
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--accent-color);
  line-height: 1.6;
}

/* Code Example Section */
.code-example {
  padding: 5rem 0;
}

.code-container {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  max-width: 800px;
  margin: 0 auto;
}

.code-header {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: #151a24;
  border-bottom: 1px solid #2c3347;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.code-dot:nth-child(1) {
  background-color: #ff5f56;
}

.code-dot:nth-child(2) {
  background-color: #ffbd2e;
}

.code-dot:nth-child(3) {
  background-color: #27c93f;
}

.filename {
  margin-left: 1rem;
  color: #9da5b4;
  font-size: 0.9rem;
  font-family: monospace;
}

pre {
  margin: 0;
  padding: 1.5rem;
  overflow-x: auto;
}

code {
  color: #e6e6e6;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Getting Started Section */
.getting-started {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  width: 50px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--heading-font);
  border-radius: 15px;
}

.step h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: var(--secondary-color);
}

.step p {
  color: var(--accent-color);
  margin-top: 0.5rem;
}

.terminal {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
}

.terminal-header {
  display: flex;
  gap: 6px;
  padding: 0.5rem 1rem;
  background-color: #333;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ff5f56;
}

.terminal-dot:nth-child(2) {
  background-color: #ffbd2e;
}

.terminal-dot:nth-child(3) {
  background-color: #27c93f;
}

.terminal-content {
  padding: 1rem;
}

.terminal-content p {
  color: #eee;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  margin: 0;
}

/* SKI Section */
.ski-section {
  padding: 5rem 0;
  background: linear-gradient(rgba(26, 31, 44, 0.97), rgba(26, 31, 44, 0.97)),
              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='%2333C3F0' fill-opacity='0.1'%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");
  color: white;
}

.ski-section .section-title {
  color: white;
}

.ski-section .section-description {
  color: #b7b9bd;
}

.ski-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ski-feature {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ski-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ski-feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.highlight {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.ski-feature p {
  color: #b7b9bd;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-logo h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-col p {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  position: relative;
}

.social-icon:hover {
  background-color: var(--primary-color);
}

.social-icon::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.social-icon.github::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22'/%3E%3C/svg%3E");
}

.social-icon.twitter::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E");
}

.social-icon.discord::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'/%3E%3Cpath d='M16 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'/%3E%3Cpath d='M8.5 17C11 20 13 20 15.5 17'/%3E%3Cpath d='M6.5 8C6 9.5 6 14 6 16c0 2 1 3 3 3h6c2 0 3-1 3-3 0-2 0-6.5-0.5-8C17 6 15 5 12 5S7 6 6.5 8Z'/%3E%3Cpath d='M6 8c0-1 .5-3 3-3'/%3E%3Cpath d='M18 8c0-1-0.5-3-3-3'/%3E%3C/svg%3E");
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--accent-color);
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-col ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 3rem;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
    z-index: 100;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-card, .step, .ski-feature {
    padding: 1.5rem;
  }
}