:root {
  --primary: #FFD700;
  --primary-dark: #FFC000;
  --primary-light: #FFF4CC;
  --secondary: #003366;
  --dark: #121212;
  --light: #F8F9FA;
  --gray: #6C757D;
  --light-gray: #E9ECEF;
  --white: #FFFFFF;
  --black: #000000;
}

/* Modern Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 200, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #002244;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 51, 102, 0.2);
}

.btn-light {
  background-color: var(--white);
  color: var(--secondary);
}

.btn-light:hover {
  background-color: var(--light-gray);
  transform: translateY(-2px);
}

.btn-icon {
  gap: 8px;
}

.btn-icon i {
  transition: transform 0.3s ease;
}

.btn-icon:hover i {
  transform: translateX(3px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary) 0%, #001F3F 100%);
  color: var(--white);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  z-index: 2;
}

.hero-image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.hero-title-main {
  display: block;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-chip i {
  color: var(--primary);
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-10deg);
  transition: transform 0.5s ease;
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(-5deg);
}

.image-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
}

.stats-card {
  position: absolute;
  bottom: -40px;
  right: 40px;
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  margin-top: 10px;
  position: relative;
}

.scroll-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 10px); }
  60% { transform: translate(-50%, 5px); }
}

/* Solar Background Animation */
.solar-bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #001F3F 0%, #000814 100%);
}

.solar-particle {
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float linear infinite;
}

.solar-particle:nth-child(1) {
  width: 5px;
  height: 5px;
  top: 20%;
  left: 10%;
  animation-duration: 15s;
}

.solar-particle:nth-child(2) {
  width: 8px;
  height: 8px;
  top: 60%;
  left: 80%;
  animation-duration: 20s;
}

.solar-particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 40%;
  left: 30%;
  animation-duration: 12s;
}

.solar-particle:nth-child(4) {
  width: 6px;
  height: 6px;
  top: 70%;
  left: 50%;
  animation-duration: 18s;
}

.solar-particle:nth-child(5) {
  width: 4px;
  height: 4px;
  top: 30%;
  left: 70%;
  animation-duration: 14s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-100px) translateX(50px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Section Styles */
.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.text-highlight {
  color: var(--primary);
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
}

.feature-icon {
  margin-bottom: 20px;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-text {
  color: var(--gray);
  margin-bottom: 20px;
}

.feature-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-arrow {
  background: var(--primary);
  color: var(--dark);
  transform: translateX(5px);
}

/* Components Section */
.components-section {
  padding: 100px 0;
  background: var(--light);
}

.components-tabs {
  max-width: 1200px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-button {
  padding: 12px 24px;
  background: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tab-button:hover {
  color: var(--dark);
}

.tab-button.active {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.tab-content {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.component-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.component-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.component-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.card-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--gray);
}

.spec-item i {
  color: var(--primary);
}

.card-description {
  color: var(--gray);
  margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #002244 100%);
  color: var(--white);
}

.cta-card {
  display: flex;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  margin: 0 auto;
}

.cta-content {
  flex: 1;
  padding: 60px;
  color: var(--dark);
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.cta-image {
  flex: 1;
  position: relative;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-content {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .image-wrapper {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .stats-card {
    position: static;
    margin-top: 30px;
    justify-content: center;
  }
  
  .cta-card {
    flex-direction: column;
  }
  
  .cta-content {
    order: 2;
  }
  
  .cta-image {
    order: 1;
    height: 300px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title-line {
    font-size: 1.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .tab-buttons {
    gap: 5px;
  }
  
  .tab-button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .cta-content {
    padding: 40px 30px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .component-slider {
    grid-template-columns: 1fr;
  }
}