/* Base Reset and Variables */
:root {
  --primary-color: #00c6ff;
  --secondary-color: #ff7eee;
  --dark-bg: #161616;
  --light-bg: #f8f9fa;
  --text-dark: #333;
  --text-light: #fff;
  --gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header and Navigation */
header {
  position: relative;
}

.wave-container {
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
  height: 80px;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--light-bg);
  clip-path: polygon(
    0% 100%,
    5% 95%,
    10% 85%,
    15% 90%,
    20% 95%,
    25% 100%,
    30% 98%,
    35% 95%,
    40% 90%,
    45% 95%,
    50% 100%,
    55% 95%,
    60% 90%,
    65% 95%,
    70% 100%,
    75% 95%,
    80% 90%,
    85% 95%,
    90% 100%,
    95% 95%,
    100% 90%
  );
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 10;
}

.logo {
  max-width: 200px;
}

.logo-svg {
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient);
  transition: var(--transition);
}

.menu li a:hover {
  color: var(--secondary-color);
}

.menu li a:hover::after {
  width: 100%;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-icon span {
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, #010b14, #06253a);
  color: var(--text-light);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.primary-btn {
  background: var(--gradient);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

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

.secondary-btn:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Technology Section */
.tech-section {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.tech-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.tech-section h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tech-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

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

/* Features Section */
.features-section {
  padding: 6rem 0;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.features-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.features-section h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  width: 50px;
  flex-shrink: 0;
}

.feature-content h3 {
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

/* Examples Section */
.examples-section {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.examples-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.examples-section h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

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

.step {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.testimonials h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.user {
  color: var(--secondary-color);
  font-weight: 500;
  text-align: right;
}

/* Footer */
footer {
  background-color: #0a0a0a;
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  max-width: 180px;
}

.footer-logo-svg {
  width: 100%;
  height: auto;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-links h4,
.footer-legal h4 {
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-legal a {
  color: var(--text-light);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-brand {
  display: flex;
  justify-content: flex-end;
}

.footer-icon {
  width: 100px;
  height: 100px;
}

.brand-icon {
  width: 100%;
  height: 100%;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.copyright p {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-info {
    order: 1;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }
  
  .menu {
    position: absolute;
    flex-direction: column;
    background: var(--dark-bg);
    top: 80px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
  }
  
  .menu li {
    width: 100%;
    text-align: center;
  }
  
  .menu li a {
    padding: 1rem;
    display: block;
    width: 100%;
  }
  
  #menu-toggle:checked ~ .menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  #menu-toggle:checked ~ .menu-icon span:first-child {
    transform: translateY(9px) rotate(45deg);
  }
  
  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .menu-icon span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .tech-grid,
  .testimonial-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}
