/*
 * @COPYRIGHT: Agile Automation 2025 - All Rights Reserved
 * @PROPRIETARY: Advanced CSS Framework and Design System - CONFIDENTIAL
 * @INTELLECTUAL_PROPERTY: Custom responsive design patterns and visual algorithms
 * @TRADE_SECRETS: Proprietary color schemes, animation systems, and layout methodologies
 * @DESIGN_IP: Unique visual identity and user experience implementations
 * @SECURITY_NOTICE: This stylesheet contains competitive design advantages
 * @LEGAL_WARNING: Unauthorized copying, modification, or distribution is strictly prohibited
 * @PENALTIES: Design theft will result in immediate legal action and monetary damages
 * @CONTACT: For licensing inquiries: legal@agileautomate.co.za
 * 
 * CONFIDENTIAL DESIGN SYSTEM: This CSS represents significant creative and technical investment.
 * Any unauthorized use, reproduction, or adaptation constitutes theft of intellectual property.
 */

/* ========================================
   @COPYRIGHT: Agile Automation 2025 - PROPRIETARY DESIGN SYSTEM
   Agile Automate - Main Stylesheet - CONFIDENTIAL IMPLEMENTATION
   ======================================== */

/* @COPYRIGHT: Agile Automation 2025 - TRADE SECRET: Advanced CSS Variable System */
/* CSS Custom Properties (Variables) - PROPRIETARY COLOR SCIENCE */
:root {
  --primary: #0f0f23;        /* @COPYRIGHT: Agile Automation 2025 - Brand primary */
  --primary-light: #1a1a2e;  /* @COPYRIGHT: Agile Automation 2025 - Proprietary shade */
  --accent: #00d4ff;         /* @COPYRIGHT: Agile Automation 2025 - Signature accent */
  --accent-dark: #0099cc;    /* @COPYRIGHT: Agile Automation 2025 - Custom variant */
  --secondary: #ff6b6b;      /* @COPYRIGHT: Agile Automation 2025 - Design element */
  --success: #4ecdc4;        /* @COPYRIGHT: Agile Automation 2025 - UI feedback */
  --warning: #ffe66d;        /* @COPYRIGHT: Agile Automation 2025 - Alert system */
  --light: #ffffff;          /* @COPYRIGHT: Agile Automation 2025 - Clean base */
  --gray-light: #f8f9fa;     /* @COPYRIGHT: Agile Automation 2025 - Subtle contrast */
  --gray-medium: #6c757d;    /* @COPYRIGHT: Agile Automation 2025 - Text hierarchy */
  --gray-dark: #343a40;      /* @COPYRIGHT: Agile Automation 2025 - Deep contrast */
  
  /* @COPYRIGHT: Agile Automation 2025 - PROPRIETARY: Advanced gradient algorithms */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Base Styles
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient-dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header & Navigation
   ======================================== */

header {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: auto;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 2rem;
}

/* Responsive navigation adjustments */
@media (max-width: 1200px) {
  nav {
    gap: 1.5rem;
  }
  
  nav a {
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
  }
  
  nav a.admin-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.7em;
  }
}

@media (max-width: 1024px) {
  nav {
    gap: 1rem;
  }
  
  nav a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  nav a.admin-link {
    padding: 0.45rem 0.7rem;
    font-size: 0.65em;
  }
}

@media (max-width: 900px) {
  nav {
    gap: 0.8rem;
  }
  
  nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
  
  nav a.admin-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.6em;
  }
}

nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

nav a:hover::before,
nav a.active::before {
  left: 0;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Admin link styling */
nav a.admin-link,
.mobile-nav a.admin-link {
  font-size: 0.75em;
  opacity: 0.8;
  font-weight: 400;
  padding: 0.6rem 1rem;
}

nav a.admin-link:hover,
.mobile-nav a.admin-link:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 12px;
  background: none;
  border: none;
  outline: none;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 1001;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu-toggle:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--light);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

/* Hamburger animation when active */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced hamburger icon */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--light);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav, #mobileNav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
}

.mobile-nav a, #mobileNav a {
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
}

.mobile-nav a:last-child, #mobileNav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover, #mobileNav a:hover,
.mobile-nav a:focus, #mobileNav a:focus {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  transform: translateX(10px);
}

.mobile-nav a.active, #mobileNav a.active {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--primary);
}

.mobile-nav.show, #mobileNav.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced mobile navigation animations */
.mobile-nav.show a, #mobileNav.show a {
  animation: slideInFromLeft 0.3s ease forwards;
}

.mobile-nav.show a:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav.show a:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav.show a:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav.show a:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav.show a:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav.show a:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav.show a:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Add padding to account for fixed header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://agileautomate.co.za/Documents/page1.png') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--light);
  margin-bottom: 3rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.hero-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0.05;
  border-radius: 20px;
}

.hero-description::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.hero-description strong {
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.hero-description em {
  color: var(--warning);
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(135deg, #ffe66d 0%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-primary {
  background: var(--gradient-accent);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.cta-secondary {
  background: transparent;
  color: var(--light);
  padding: 1rem 2rem;
  border: 2px solid var(--accent);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-secondary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.cta-admin {
  background: var(--gradient-secondary);
  color: var(--light);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.cta-admin:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--light);
  text-decoration: none;
}

/* ========================================
   Animations
   ======================================== */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Features Section
   ======================================== */

.features {
  padding: 6rem 0;
  background: var(--primary-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.feature-card > * {
  position: relative;
  z-index: 2;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light);
}

.feature-description {
  color: var(--gray-medium);
  line-height: 1.6;
}

/* ========================================
   Support Ticket Section
   ======================================== */

.support-section {
  padding: 6rem 0;
  background: var(--gradient-dark);
}

.support-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.support-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--light);
}

.support-description {
  color: var(--gray-medium);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.support-trigger {
  background: var(--gradient-secondary);
  color: var(--light);
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.support-trigger:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* ========================================
   Video Section
   ======================================== */

.video-section {
  padding: 6rem 0;
  background: var(--primary-light);
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
  padding: 6rem 0;
  background: var(--gradient-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.contact-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--light);
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--light);
}

.contact-info {
  color: var(--gray-medium);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Contact Details Section */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-detail-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.3);
}

.contact-detail-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-detail-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 0.75rem;
}

.contact-detail-text {
  color: var(--gray-medium);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */

footer {
  background: linear-gradient(180deg, var(--primary) 0%, rgba(15, 15, 35, 0.98) 100%);
  color: var(--gray-medium);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: var(--gray-medium);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-medium);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.footer-contact-item a {
  color: var(--gray-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-contact-item span {
  color: var(--gray-medium);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--gray-medium);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2rem 0;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-medium);
}

.footer-powered {
  margin-top: 0.25rem !important;
}

.footer-powered a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-powered a:hover {
  color: var(--light);
}

.footer-bottom-right {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-right a {
  color: var(--gray-medium);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
  color: var(--accent);
}

/* ========================================
   Chatbot Styles
   ======================================== */

.chatbot-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-secondary);
  color: var(--light);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-heavy);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

.chatbot-trigger:hover {
  transform: scale(1.1);
}

.chatbot-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.chatbot-content {
  background: var(--primary-light);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--gray-medium);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.chatbot-close:hover {
  color: var(--light);
}

.chatbot-messages {
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.message {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 15px;
  max-width: 80%;
}

.message.bot {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  margin-right: auto;
}

.message.user {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  margin-left: auto;
}

.chatbot-input {
  display: flex;
  gap: 1rem;
}

.chatbot-input input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
  font-size: 1rem;
}

.chatbot-input input::placeholder {
  color: var(--gray-medium);
}

.chatbot-input button {
  padding: 0.75rem 1.5rem;
  background: var(--gradient-accent);
  color: #0f0f23;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chatbot-input button:hover {
  transform: translateY(-2px);
}

/* ========================================
   Cookies Disclaimer
   ======================================== */

.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 35, 0.98);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  z-index: 3000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookies-banner.show {
  transform: translateY(0);
}

.cookies-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookies-text {
  flex: 1;
  min-width: 300px;
}

.cookies-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookies-description {
  color: var(--gray-medium);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookies-description a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cookies-description a:hover {
  color: var(--light);
}

.cookies-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookies-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.cookies-btn.accept {
  background: var(--gradient-accent);
  color: var(--primary);
}

.cookies-btn.accept:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.cookies-btn.decline {
  background: transparent;
  color: var(--gray-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookies-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

.cookies-btn.settings {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.cookies-btn.settings:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  padding: 2rem;
}

.cookie-settings-content {
  background: var(--primary-light);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-close {
  background: none;
  border: none;
  color: var(--gray-medium);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.cookie-close:hover {
  color: var(--light);
  background: rgba(255, 255, 255, 0.1);
}

.cookie-category {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 24px;
  background: var(--gray-dark);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle.active {
  background: var(--accent);
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--light);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cookie-toggle.active::before {
  transform: translateX(26px);
}

.cookie-category-description {
  color: var(--gray-medium);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-settings-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-settings-btn.save {
  background: var(--gradient-accent);
  color: var(--primary);
}

.cookie-settings-btn.save:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.cookie-settings-btn.cancel {
  background: transparent;
  color: var(--gray-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-settings-btn.cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

/* ========================================
   Admin Login Modal
   ======================================== */

.admin-login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.admin-login-content {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.admin-login-content h2 {
  color: #00d4ff;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.admin-login-content label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 600;
}

.admin-login-content input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.admin-login-content button {
  flex: 1;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #0f0f23;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-login-content button:hover {
  transform: translateY(-2px);
}

.admin-login-error {
  color: #ff6b6b;
  margin-bottom: 1rem;
  display: none;
  text-align: center;
  font-size: 0.9rem;
}

/* ========================================
   Responsive Design
   ======================================== */

/* ========================================
   Enhanced Mobile Responsiveness
   ======================================== */

/* Mobile First - Base mobile styles */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .cta-primary,
  .cta-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .mobile-nav a, #mobileNav a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card,
  .contact-card {
    padding: 1.5rem;
  }
}

/* Tablet and small desktop */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    padding-top: 2rem;
  }
  
  .cta-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    text-align: center;
  }
  
  /* Hide desktop navigation */
  nav {
    display: none;
  }
  
  /* Show mobile menu toggle */
  .menu-toggle {
    display: flex;
  }
  
  /* Improve mobile header */
  header {
    padding: 0.5rem 0;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
  
  /* Footer mobile optimization */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-bottom-right {
    justify-content: center;
  }
  
  .video-container iframe {
    height: 300px;
  }
  
  /* Improve touch targets */
  button,
  .cta-primary,
  .cta-secondary,
  .mobile-nav a,
  #mobileNav a {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better spacing for mobile */
  .hero {
    padding: 2rem 0;
    min-height: 90vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  /* Improve form elements for mobile */
  input,
  textarea,
  select {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 0.8rem;
  }
}
  
  /* Responsive Design for Cookies */
  .cookies-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .cookies-text {
    min-width: auto;
  }
  
  .cookies-actions {
    justify-content: center;
    width: 100%;
  }
  
  .cookies-btn {
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }
  
  .cookie-settings-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .cookie-settings-actions {
    flex-direction: column;
  }
  
  .cookie-settings-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .feature-card,
  .support-card,
  .contact-card {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .video-container iframe {
    height: 250px;
  }
  
  .cookies-banner {
    padding: 1rem 0;
  }
  
  .cookies-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cookies-btn {
    width: 100%;
  }
  
  .cookie-settings-title {
    font-size: 1.4rem;
  }
}

/* ========================================
   Password Toggle Styles
   ======================================== */

.password-field-container {
  position: relative;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
  width: 100%;
  padding-right: 45px; /* Space for the eye icon */
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray-medium);
  font-size: 1.1rem;
  z-index: 10;
  padding: 5px;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--accent);
}

.password-toggle i {
  pointer-events: none;
}

/* Ensure compatibility with different form styles */
.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-wrapper .form-input {
  padding-right: 45px !important;
}

.form-input-wrapper .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray-medium);
  font-size: 1.1rem;
  z-index: 10;
  padding: 5px;
  transition: color 0.3s ease;
}

.form-input-wrapper .password-toggle:hover {
  color: var(--accent);
}

/* @COPYRIGHT: Agile Automation 2025 - Calendar Icon Styling System */
/* Calendar Icon Styling - Make all calendar icons white for visibility */
.fas.fa-calendar-alt,
.fas.fa-calendar,
.fas.fa-calendar-check,
.fas.fa-calendar-times,
.fas.fa-calendar-plus,
.fas.fa-calendar-week,
.fas.fa-calendar-day,
.fa-calendar-alt,
.fa-calendar,
.fa-calendar-check,
.fa-calendar-times,
.fa-calendar-plus,
.fa-calendar-week,
.fa-calendar-day {
  color: var(--light) !important;
}
