/* CSS Variables - Modern Dark Theme with Purple/Blue Gradients */
:root {
  --bg-color: #0b0c10;
  --bg-secondary: #1f2833;
  --text-primary: #ffffff;
  --text-secondary: #c5c6c7;
  --accent-color: #45a29e;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.grid {
  display: grid;
  gap: 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(118, 75, 162, 0.6);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #667eea;
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-3px);
}

/* Header (Floating Glassmorphism) */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  background: rgba(11, 12, 16, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  animation: slideDownFade 0.8s ease forwards;
}

.header.scrolled {
  top: 10px;
  background: rgba(11, 12, 16, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes slideDownFade {
  from { top: -100px; opacity: 0; }
  to { top: 20px; opacity: 1; }
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 15px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  opacity: 0.85;
  transition: var(--transition);
  padding: 5px 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  opacity: 1;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}


.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section - Redesigned */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  padding-top: 80px;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(118, 75, 162, 0.1), transparent 50%),
              radial-gradient(circle at bottom left, rgba(102, 126, 234, 0.1), transparent 50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 12, 16, 0.95);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease-out;
}

.main-content {
  position: relative;
  z-index: 10;
  background: var(--bg-color);
  box-shadow: 0 -20px 50px rgba(0,0,0,0.5);
}

/* =========================================
   FAQ Section Styles
   ========================================= */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-color); border-radius: 12px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(102,126,234,0.3); }
.faq-question { padding: 20px 25px; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover, .faq-item.active .faq-question { background: rgba(255,255,255,0.02); color: var(--accent-color); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-secondary); opacity: 0; }
.faq-answer p { padding-bottom: 20px; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 500px; opacity: 1; margin-top: 10px; }
.faq-question i { transition: transform 0.3s ease; color: var(--text-secondary); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent-color); }

/* =========================================
   Contact Section Styles
   ========================================= */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info-card { background: var(--bg-secondary); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.contact-info-card h3 { font-size: 1.8rem; margin-bottom: 30px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.contact-item i { font-size: 1.5rem; color: var(--accent-color); margin-top: 5px; }
.contact-item h4 { margin-bottom: 5px; font-size: 1.1rem; }
.contact-item p { color: var(--text-secondary); }

.contact-form-wrapper { background: rgba(255,255,255,0.02); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.contact-form-wrapper h3 { font-size: 1.8rem; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.95rem; }
.form-control { width: 100%; padding: 15px; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; font-family: 'Inter', sans-serif; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 10px rgba(69,162,158,0.2); }
textarea.form-control { resize: vertical; min-height: 150px; }

@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-floating p {
    display: none;
  }
  .whatsapp-floating a.wa-btn:nth-of-type(2) {
    display: none;
  }
  .whatsapp-floating a.wa-btn:nth-of-type(1) {
    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 0; /* hides text */
    gap: 0;
  }
  .whatsapp-floating a.wa-btn:nth-of-type(1) i {
    font-size: 1.8rem;
    margin: 0;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.typing-container {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.cursor {
  display: inline-block;
  width: 3px;
  animation: blink 1s step-end infinite;
  margin-left: 5px;
  color: var(--accent-color);
}

.cursor.typing {
  animation: none;
  opacity: 1;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(118, 75, 162, 0.6);
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.btn-glow:hover::after {
  left: 100%;
  opacity: 1;
}

/* Visual Mockup Area */
.hero-visual {
  position: relative;
}

.tech-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.mockup-screen {
  background: rgba(20, 25, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.tech-mockup:hover .mockup-screen {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.screen-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.screen-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.code-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.code-line.w-80 { width: 80%; }
.code-line.w-60 { width: 60%; }
.code-line.w-90 { width: 90%; }
.code-line.w-50 { width: 50%; }

.ui-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin: 10px 0;
}

.ui-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.ui-line {
  height: 10px;
  width: 60%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(30, 35, 45, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(5px);
}

.icon-1 { top: -20px; left: -30px; animation-delay: 0s; color: #667eea; }
.icon-2 { bottom: 50px; right: -40px; animation-delay: 2s; color: #ff5f56; }
.icon-3 { top: 50%; right: -20px; animation-delay: 4s; color: #fed330; }

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Animated Video Showcase */
.video-showcase {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 12, 16, 0.6) 0%, rgba(11, 12, 16, 0.2) 100%);
  pointer-events: none;
}

/* Animated Background Elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  animation: moveShapes 15s infinite alternate ease-in-out;
  opacity: 0.4;
}

.shape-1 { width: 300px; height: 300px; background: #764ba2; top: -10%; left: -10%; animation-delay: 0s; }
.shape-2 { width: 400px; height: 400px; background: #667eea; bottom: -20%; right: -10%; animation-delay: -5s; }
.shape-3 { width: 250px; height: 250px; background: #45a29e; top: 40%; left: 50%; animation-delay: -10s; opacity: 0.2; }

@keyframes moveShapes {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0.7;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  position: relative;
  margin-bottom: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

.arrow-down {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  animation: scrollArrow 2s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes scrollArrow {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(5px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Animations for new hero */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-secondary);
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(102, 126, 234, 0.3);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #667eea;
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background: var(--gradient-primary);
  color: #fff;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Disabled/Coming Soon */
.service-card.disabled {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(80%);
}

.service-card .badge {
  position: absolute;
  top: 15px;
  right: -25px;
  background: #ff4757;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 5px 30px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

/* CTA */
.cta {
  background: var(--gradient-primary);
  text-align: center;
}

.cta-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: white;
}

.cta-wrapper p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-wrapper .btn-primary {
  background: white;
  color: #764ba2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-wrapper .btn-primary:hover {
  background: #f1f2f6;
}

/* Floating WhatsApp */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-floating p {
  background: white;
  color: #333;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: var(--shadow);
}

.wa-btn {
  background: #25d366;
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  box-shadow: var(--shadow);
}

.wa-btn:hover {
  background: #128c7e;
  color: white;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: #06070a;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 40px;
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p {
  color: var(--text-secondary);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
}

.footer-col ul li a:hover {
  color: #667eea;
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
}

.contact-info li i {
  color: #667eea;
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .d-none-mobile {
    display: none;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .typing-container {
    justify-content: center;
  }
  .hero p {
    margin: 0 auto 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .section-padding {
    padding: 60px 0;
  }
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}