/* ===== PROFESSIONAL CSS FOR DIGITALLYFUTURE ===== */

:root {
  --primary: #6C63FF;
  --primary-dark: #554fd8;
  --secondary: #FF6584;
  --accent: #36D1DC;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --success: #28a745;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== 3D BACKGROUND ELEMENTS ===== */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(40px);
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -300px;
  left: -200px;
  animation: float 20s infinite ease-in-out;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -250px;
  right: -150px;
  animation: float 25s infinite ease-in-out reverse;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 30s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--darker);
  color: white;
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .links a {
  margin-right: 20px;
  transition: var(--transition);
}

.top-bar .links a:hover {
  color: var(--accent);
}

.top-bar .phone {
  display: flex;
  align-items: center;
}

.top-bar .phone i {
  margin-right: 8px;
  color: var(--accent);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(15, 15, 26, 0.9)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
  color: white;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.8s;
}

.hero .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 1.1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 1.4s;
}

.hero-highlights li {
  margin-right: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.hero-highlights i {
  color: var(--accent);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* ===== 3D FLOATING ELEMENTS ===== */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  animation: floatElement 20s infinite linear;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background: rgba(108, 99, 255, 0.2);
}

.floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 5%;
  animation-delay: -5s;
  background: rgba(255, 101, 132, 0.2);
}

.floating-element:nth-child(3) {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 10%;
  animation-delay: -10s;
  background: rgba(54, 209, 220, 0.2);
}

.floating-element:nth-child(4) {
  width: 70px;
  height: 70px;
  top: 70%;
  right: 15%;
  animation-delay: -15s;
  background: rgba(108, 99, 255, 0.2);
}

.floating-element:nth-child(5) {
  width: 90px;
  height: 90px;
  top: 50%;
  left: 20%;
  animation-delay: -7s;
  background: rgba(255, 101, 132, 0.2);
}

@keyframes floatElement {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 0) rotate(180deg);
  }
  75% {
    transform: translate(20px, -40px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: white;
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.stat i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.stat h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.stat p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
.services {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  position: relative;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transition: var(--transition);
  z-index: -1;
}

.service:hover::before {
  height: 100%;
}

.service:hover {
  transform: translateY(-10px);
  color: white;
}

.service:hover i {
  color: white;
  transform: scale(1.2);
}

.service i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service p {
  color: var(--gray);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.service .btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.service:hover .btn {
  background: white;
  color: var(--primary);
}

/* ===== AI SERVICES SECTION ===== */
.ai-services {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
  position: relative;
  overflow: hidden;
}

.ai-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(108,99,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.ai-services .section-title h2 {
  color: white;
}

.ai-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.ai-service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 99, 255, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ai-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.ai-service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.ai-service-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: var(--transition);
}

.ai-service-card:hover i {
  transform: scale(1.2);
}

.ai-service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.ai-service-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.ai-service-card .features {
  margin-top: 20px;
}

.ai-service-card .features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.ai-service-card .features li i {
  font-size: 1rem;
  margin-right: 10px;
  color: var(--success);
  margin-bottom: 0;
}

.ai-service-card .btn {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.ai-service-card:hover .btn {
  background: white;
  color: var(--primary);
}

/* ===== AI AUTOMATION SECTION ===== */
.ai-automation {
  background: white;
}

.automation-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.automation-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.automation-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.automation-features {
  margin-top: 30px;
}

.automation-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.automation-feature i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.automation-feature h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.automation-feature p {
  margin-bottom: 0;
}

.automation-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.automation-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  animation: pulse 3s infinite;
  box-shadow: 0 0 50px rgba(108, 99, 255, 0.3);
}

/* ===== AI AGENTS SECTION ===== */
.ai-agents {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.agent-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.agent-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.agent-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.agent-card:hover .agent-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.agent-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.agent-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
  background: white;
}

.why-us-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transition: var(--transition);
}

.card:hover::before {
  width: 100%;
  opacity: 0.1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card p {
  color: var(--gray);
}

/* ===== CASE STUDIES ===== */
.case-studies {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: white;
}

.case-studies .section-title h2 {
  color: white;
}

.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.case {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.case h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.case p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.case .btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.case:hover .btn {
  background: white;
  color: var(--primary);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: white;
  overflow: hidden;
}

.testimonial-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  flex: 0 0 100%;
  padding: 40px;
  text-align: center;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin: 0 15px;
}

.testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

.testimonial h4 {
  color: var(--primary);
  font-weight: 600;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  font-size: 1.2rem;
}

.prev:hover, .next:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* ===== PRICING ===== */
.pricing {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.plan {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.plan h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.plan p {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.plan ul {
  margin-bottom: 30px;
}

.plan li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--gray);
}

.plan li:last-child {
  border-bottom: none;
}

/* ===== FAQ ===== */
.faq {
  background: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

details:hover {
  box-shadow: var(--shadow-lg);
}

summary {
  padding: 20px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
  list-style: none;
}

summary:hover {
  background: rgba(108, 99, 255, 0.05);
}

summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

details[open] summary::after {
  content: '-';
}

details[open] summary {
  background: rgba(108, 99, 255, 0.1);
}

details p {
  padding: 0 20px 20px;
  color: var(--gray);
}

/* ===== BLOG ===== */
.blog {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.post:hover img {
  transform: scale(1.05);
}

.post-content {
  padding: 25px;
}

.post h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.post p {
  color: var(--gray);
  margin-bottom: 15px;
}

.post a {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.post a:hover {
  color: var(--primary-dark);
}

.post a i {
  margin-left: 5px;
  transition: var(--transition);
}

.post a:hover i {
  transform: translateX(5px);
}

/* ===== CTA CONTACT ===== */
.cta-contact {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.cta-contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact form {
  display: grid;
  gap: 20px;
}

.contact input,
.contact select,
.contact textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.contact input::placeholder,
.contact textarea::placeholder,
.contact select {
  color: rgba(255, 255, 255, 0.984);
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  outline: none;
  background: rgba(13, 9, 9, 0.2);
}

.contact button {
    
  background: white;
  color: var(--primary);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.contact button:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-5px);
}

/* ===== ANIMATION CLASSES ===== */
.animate-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.rotate-y {
  animation: rotateY 10s infinite linear;
}

@keyframes rotateY {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .automation-container {
    grid-template-columns: 1fr;
  }
  
  .automation-visual {
    order: -1;
    height: 300px;
  }
  
  .cta-contact-container {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-highlights li {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .prev, .next {
    width: 40px;
    height: 40px;
  }
  
  .automation-circle {
    width: 250px;
    height: 250px;
    font-size: 1.2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .testimonial {
    padding: 30px 20px;
  }
  
  .plan {
    padding: 30px 20px;
  }
  
  .service, .card, .ai-service-card, .agent-card {
    padding: 30px 20px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ===== PRINT STYLES ===== */
@media print {
  .floating-elements,
  .bg-shapes,
  .btn::before,
  .service::before,
  .card::before,
  .ai-service-card::before,
  .agent-card::before,
  .plan::before {
    display: none;
  }
  
  .hero {
    background: white !important;
    color: black !important;
  }
  
  .btn {
    background: #f0f0f0 !important;
    color: black !important;
    box-shadow: none !important;
  }
}
/* ===== FIX STRAY COLOR BAR ===== */
html, body {
  overflow-x: hidden !important;
  background-color: #ffffff !important;
}

.bg-shapes {
  left: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

.shape {
  opacity: 0.08; /* reduced for less visible blur spill */
}

/* ===== MOBILE RESPONSIVE FIX ===== */
@media (max-width: 768px) {
  /* General layout adjustments */
  .container {
    padding: 0 15px;
  }

  .hero {
    min-height: auto;
    padding: 80px 0;
    background-position: center;
    background-size: cover;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  /* Fix grid-based sections */
  .about-content,
  .automation-container,
  .cta-contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Prevent horizontal scroll */
  .floating-elements {
    overflow: hidden;
    max-width: 100vw;
  }

  /* Reduce background animation area */
  .shape-1, .shape-2, .shape-3 {
    width: 300px;
    height: 300px;
  }
}

/* ===== EXTRA SAFETY FIX ===== */
body::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: transparent;
  z-index: -2;
}
