/* Base Styles */
:root {
  --primary-color: #6c63ff;
  --primary-light: #8a84ff;
  --primary-dark: #5046e5;
  --secondary-color: #ff6584;
  --accent-color: #00d9ff;
  --text-light: #f8f9fa;
  --text-dark: #212529;
  --bg-light: #ffffff;
  --bg-dark: #0f1624;
  --card-light: #ffffff;
  --card-dark: #1a2332;
  --border-light: #e9ecef;
  --border-dark: #2a3446;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --gradient-1: linear-gradient(135deg, #6c63ff, #00d9ff);
  --gradient-2: linear-gradient(135deg, #ff6584, #ff8c66);
  --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --radius: 12px;
  --ai-primary: #6c63ff;
  --ai-secondary: #00d9ff;
  --ai-accent: #ff6584;
  --ai-glow: rgba(108, 99, 255, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  transition: var(--transition);
  position: relative;
}

body.dark-mode {
  color: var(--text-light);
  background-color: var(--bg-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}

.gradient-sphere:nth-child(1) {
  width: 600px;
  height: 600px;
  background: var(--primary-color);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.gradient-sphere:nth-child(2) {
  width: 500px;
  height: 500px;
  background: var(--secondary-color);
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

.gradient-sphere:nth-child(3) {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(50px, -50px);
  }
  50% {
    transform: translate(0, -100px);
  }
  75% {
    transform: translate(-50px, -50px);
  }
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/png;base64,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");
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.dark-mode .btn-outline {
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.dark-mode header {
  background: rgba(15, 22, 36, 0.8);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dark-mode header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}


.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

nav ul {
  display: flex;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.dark-mode nav ul li a {
  color: var(--text-light);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1.5rem;
  font-size: 1.2rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.dark-mode .theme-toggle {
  color: var(--text-light);
}

.theme-toggle:hover {
  background: rgba(108, 99, 255, 0.1);
}

.theme-toggle .fa-sun {
  display: none;
}

.dark-mode .theme-toggle .fa-moon {
  display: none;
}

.dark-mode .theme-toggle .fa-sun {
  display: block;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.dark-mode .mobile-menu-toggle span {
  background: var(--text-light);
}

/* Mobile Menu Styles */
nav.active {
  display: block;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--bg-light);
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: slideDown 0.3s ease-in-out;
}

.dark-mode nav.active {
  background: var(--bg-dark);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

nav.active ul {
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.floating-ui {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.floating-ui img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
}

.dark-mode .floating-ui img {
  box-shadow: var(--shadow-dark);
}

.pulse-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--primary-color);
  opacity: 0.1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 2s infinite;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-dark);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.dark-mode .mouse {
  border-color: var(--text-light);
}

.wheel {
  width: 6px;
  height: 6px;
  background: var(--text-dark);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel 1.5s infinite;
}

.dark-mode .wheel {
  background: var(--text-light);
}

@keyframes wheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--text-dark);
  border-right: 2px solid var(--text-dark);
  transform: rotate(45deg);
  margin: -5px;
  animation: arrow 1.5s infinite;
}

.dark-mode .arrow span {
  border-color: var(--text-light);
}

.arrow span:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #6c757d;
}

.dark-mode .section-header p {
  color: #adb5bd;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 2rem;
  scale: 1;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  text-align: center;
}

.dark-mode .feature-card {
  background: var(--card-dark);
  box-shadow: var(--shadow-dark);
}

.feature-card:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 1) !important;
  transform: translateX(10px);
}

.dark-mode .feature-card:hover {
  box-shadow: 0 5px 35px rgba(255, 255, 255, 0.4) !important;

}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* Integrations Section */
.integrations-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.integration-item {
  display: flex;
  align-items: center;
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.dark-mode .integration-item {
  background: var(--card-dark);
  box-shadow: var(--shadow-dark);
}

.integration-item:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 1) !important;
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .integration-item:hover {
  box-shadow: 0 5px 35px rgba(255, 255, 255, 0.4) !important;
}

.integration-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.integration-content h3 {
  margin-bottom: 0.5rem;
}

/* Smart Home Section */
.smart-home-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.smart-home-image {
  flex: 1;
  position: relative;
}

.smart-home-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.dark-mode .smart-home-image img {
  box-shadow: var(--shadow-dark);
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background: var(--primary-color);
  opacity: 0.1;
  filter: blur(30px);
  z-index: -1;
}

.smart-home-info {
  flex: 1;
}

.feature-list {
  margin: 2rem 0;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: var(--success-color);
  margin-right: 1rem;
}

/* Demo Video Section */
.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}
.video-container:hover{
  transform: scale(1.05) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.dark-mode .video-container:hover{
  box-shadow: 0 5px 35px rgba(255, 255, 255, 0.4) !important;
}

.dark-mode .video-container {
  box-shadow: var(--shadow-dark);
}

.video-placeholder {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.5);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Testimonials Section */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  display: none;
  
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.testimonial-content {
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-light);
  position: relative;
}

.dark-mode .testimonial-content {
  background: var(--card-dark);
  box-shadow: var(--shadow-dark);
}

.quote-icon {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.2;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 2rem;
  padding-left: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.author-info h4 {
  margin-bottom: 0.2rem;
}

.author-info p {
  margin: 0;
  padding: 0;
  color: #6c757d;
}

.dark-mode .author-info p {
  color: #adb5bd;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  color: var(--primary-dark);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dark-mode .dot {
  background: #555;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Pricing Section */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dark-mode .pricing-card {
  background: var(--card-dark);
  box-shadow: var(--shadow-dark);
}

.pricing-card.featured {
  transform: scale(1.05);
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dark-mode .pricing-card.featured {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-tag {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 2rem;
  transform: rotate(45deg);
  width: 150px;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 5px 10px rgba(255, 101, 132, 0.3);
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency {
  font-size: 1.5rem;
  margin-right: 0.2rem;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.period {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 400;
  margin-left: 0.2rem;
  align-self: flex-end;
}

.dark-mode .period {
  color: #adb5bd;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-features li i {
  margin-right: 0.5rem;
}

.pricing-features li i.fa-check {
  color: var(--success-color);
}

.pricing-features li i.fa-times {
  color: var(--error-color);
}

/* Download Section */
.download-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.download-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background: var(--card-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.dark-mode .download-option {
  background: var(--card-dark);
  box-shadow: var(--shadow-dark);
}

.download-option:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .download-option:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.download-option i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.download-option span {
  font-weight: 600;
}

/* Contact Section */
.contact-content {
  display: flex;
  gap: 4rem;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.dark-mode .form-group input,
.dark-mode .form-group select,
.dark-mode .form-group textarea {
  background: var(--card-dark);
  border-color: var(--border-dark);
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h3 {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px);
  background: var(--primary-dark);
  color: white;
}

/* Footer */
footer {
  background: var(--card-light);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.dark-mode footer {
  background: var(--card-dark);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: var(--text-dark);
  transition: var(--transition);
}

.dark-mode .footer-column ul li a {
  color: var(--text-light);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.dark-mode .footer-bottom {
  border-color: var(--border-dark);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-dark);
}

.dark-mode .footer-bottom-links a {
  color: var(--text-light);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* Animation Classes */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

.delay-5 {
  transition-delay: 1s;
}

.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal-card.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-from-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-from-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-from-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-from-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .smart-home-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    margin-top: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 4rem 0;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .download-options {
    gap: 1rem;
  }

  .download-option {
    width: 120px;
    height: 120px;
  }
}

/* AI Visualization Styles */
.ai-visualization {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  background: rgba(15, 22, 36, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.dark-mode .ai-visualization {
  background: rgba(15, 22, 36, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Neural Network */
.neural-network {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.network-nodes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.network-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--ai-primary);
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0 0 8px var(--ai-glow);
}

.network-connections {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.network-connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.1), rgba(108, 99, 255, 0.5), rgba(108, 99, 255, 0.1));
  transform-origin: left center;
  opacity: 0.3;
}

/* AI Core */
.ai-core {
  position: relative;
  width: 150px;
  height: 150px;
  z-index: 3;
}

.core-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--ai-primary), var(--ai-secondary));
  border-radius: 50%;
  box-shadow: 0 0 30px var(--ai-glow), 0 0 60px rgba(0, 217, 255, 0.4);
  animation: core-pulse 3s infinite ease-in-out;
}

.core-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(108, 99, 255, 0.5);
  box-shadow: 0 0 15px rgba(108, 99, 255, 0.3);
  animation: core-spin 15s infinite linear;
}

.core-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
  animation: core-spin 20s infinite linear reverse;
}

.core-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, rgba(0, 217, 255, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  animation: core-pulse-glow 4s infinite ease-in-out;
}

@keyframes core-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes core-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes core-pulse-glow {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Data Flow */
.data-flow {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.data-stream {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ai-primary), transparent);
  animation: data-flow 3s infinite linear;
  opacity: 0;
}

.data-stream:nth-child(1) {
  width: 200px;
  top: 40%;
  left: 20%;
  transform: rotate(30deg);
  animation-delay: 0s;
}

.data-stream:nth-child(2) {
  width: 150px;
  top: 60%;
  right: 25%;
  transform: rotate(-45deg);
  animation-delay: 1s;
}

.data-stream:nth-child(3) {
  width: 180px;
  bottom: 30%;
  left: 30%;
  transform: rotate(15deg);
  animation-delay: 2s;
}

@keyframes data-flow {
  0% {
    opacity: 0;
    transform-origin: left center;
    transform: scaleX(0) rotate(var(--rotation, 30deg));
  }
  50% {
    opacity: 0.8;
    transform-origin: left center;
    transform: scaleX(1) rotate(var(--rotation, 30deg));
  }
  50.1% {
    transform-origin: right center;
  }
  100% {
    opacity: 0;
    transform-origin: right center;
    transform: scaleX(0) rotate(var(--rotation, 30deg));
  }
}

/* Binary Ring */
.binary-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: 2;
  overflow: hidden;
}

.binary-text {
  position: absolute;
  width: 100%;
  height: 100%;
  color: rgba(108, 99, 255, 0.3);
  font-family: monospace;
  font-size: 10px;
  animation: binary-rotate 20s linear infinite;
}

@keyframes binary-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Circuit Patterns */
.circuit-patterns {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
  height: 1px;
}

.circuit-line:nth-child(1) {
  width: 80%;
  top: 30%;
  left: 10%;
}

.circuit-line:nth-child(2) {
  width: 60%;
  top: 70%;
  left: 20%;
}

.circuit-line:nth-child(3) {
  width: 40%;
  top: 40%;
  right: 10%;
  transform: rotate(45deg);
}

.circuit-line:nth-child(4) {
  width: 50%;
  bottom: 25%;
  right: 25%;
  transform: rotate(-30deg);
}

/* AI Interface */
.ai-interface {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;
  z-index: 5;
}

.interface-scan {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ai-primary), transparent);
  margin: 0 auto 15px;
  animation: scan-line 2s infinite ease-in-out;
}

.interface-text {
  color: var(--ai-primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
  animation: text-pulse 2s infinite ease-in-out;
}

@keyframes scan-line {
  0%,
  100% {
    transform: scaleX(0.3);
    opacity: 0.5;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes text-pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ai-visualization {
    height: 350px;
  }

  .ai-core {
    transform: scale(0.8);
  }

  .binary-ring {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .ai-visualization {
    height: 300px;
  }

  .ai-core {
    transform: scale(0.7);
  }

  .binary-ring {
    width: 140px;
    height: 140px;
  }

  .interface-text {
    font-size: 0.9rem;
  }
}

/* Premium AI Orb Styles */
.premium-ai-orb {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.orb-core-tilt {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d; /* Enable 3D transforms */
  transition: transform 0.3s ease;
}

.orb-core {
  position: relative;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.9), rgba(0, 217, 255, 0.8));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.6), 0 0 60px rgba(0, 217, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.4);
  animation: float 6s infinite ease-in-out;
  z-index: 2;
}


.core-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.3) 0%, rgba(0, 217, 255, 0.1) 50%, transparent 70%);
  animation: pulse 3s infinite ease-in-out;
}

.orb-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.2);
  animation: spin 30s infinite linear;
}

.service-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  margin-top: -25px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform-origin: center;
  transform: rotate(var(--rotate)) translateX(150px) rotate(calc(-1 * var(--rotate)));
  transition: all 0.3s ease;
  z-index: 1;
}

.service-icon i {
  color: var(--primary-color);
  font-size: 20px;
}

.service-icon:hover {
  transform: rotate(var(--rotate)) translateX(150px) rotate(calc(-1 * var(--rotate))) scale(1.2);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .premium-ai-orb {
    width: 300px;
    height: 300px;
  }

  .orb-core {
    width: 90px;
    height: 90px;
  }

  .core-pulse {
    width: 110px;
    height: 110px;
  }

  .orb-ring {
    width: 220px;
    height: 220px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    transform: rotate(var(--rotate)) translateX(110px) rotate(calc(-1 * var(--rotate)));
  }

  .service-icon:hover {
    transform: rotate(var(--rotate)) translateX(110px) rotate(calc(-1 * var(--rotate))) scale(1.2);
  }
}

@media (max-width: 480px) {
  .premium-ai-orb {
    width: 240px;
    height: 240px;
  }

  .orb-core {
    width: 70px;
    height: 70px;
  }

  .core-pulse {
    width: 90px;
    height: 90px;
  }

  .orb-ring {
    width: 180px;
    height: 180px;
  }

  .service-icon {
    width: 35px;
    height: 35px;
    margin-left: -17.5px;
    margin-top: -17.5px;
    transform: rotate(var(--rotate)) translateX(90px) rotate(calc(-1 * var(--rotate)));
  }

  .service-icon:hover {
    transform: rotate(var(--rotate)) translateX(90px) rotate(calc(-1 * var(--rotate))) scale(1.2);
  }

  .service-icon i {
    font-size: 16px;
  }
}
