:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --accent-color: #17a2b8;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --section-spacing: 120px;
  --content-max-width: 1400px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

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

/* Header and Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-container {
  width: 200px;
  height: 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.logo {
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
  background-color: rgba(0, 123, 255, 0.1);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('main_device_image.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 12rem 5%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  animation: fadeInUp 1s ease;
}

.hero .tagline {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 2;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 15px;
  position: relative;
  margin-bottom: 10px;
}

.mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background-color: var(--white);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

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

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

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

/* Sections */
section {
  padding: var(--section-spacing) 5%;
  margin: 0 auto;
  max-width: var(--content-max-width);
  position: relative;
}

section:not(.hero) {
  margin-top: var(--section-spacing);
}

section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  position: relative;
  padding-bottom: 1.5rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Grids */
.advantages-grid, .solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 2rem 0;
}

.advantage-item, .solution-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.advantage-item:hover, .solution-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.advantage-item i, .solution-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.advantage-item h3, .solution-item h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.solution-features {
  list-style: none;
  margin-top: 1.5rem;
  text-align: left;
}

.solution-features li {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  position: relative;
  padding-left: 1.5rem;
}

.solution-features li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Product Showcase */
.products-section {
  background-color: var(--white);
}

.product-showcase {
  margin-top: 4rem;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: var(--transition);
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-list i {
  color: var(--primary-color);
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text .highlight {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

/* Timeline */
.timeline {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--light-gray);
}

.timeline h3 {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 50%;
  padding-left: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 50%;
  padding-right: 3rem;
  text-align: right;
}

.timeline-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -10px;
}

.year {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-item h4 {
  margin-bottom: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: var(--white);
  padding: 4rem 5% 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.05);
}

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

.link-group h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.link-group a {
  display: block;
  margin-bottom: 1rem;
  opacity: 0.8;
  transition: var(--transition);
}

.link-group a:hover {
  opacity: 1;
  color: var(--primary-color);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 80px;
  }
  
  section h2 {
    font-size: 2.4rem;
  }
  
  .product-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .timeline-container::before {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0 0 2rem;
    padding: 1.5rem;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .tagline {
    font-size: 1.2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  :root {
    --section-spacing: 40px;
  }
  
  section {
    padding: var(--section-spacing) 3%;
  }
  
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .tagline {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}
