/* Hero Section with Black Leopard Background */
.page-hero {
  background-color: var(--dark);
  color: white;
  padding: 7rem 0;
  text-align: center;
  /* Black Leopard Background Image with Dark Overlay */
  background-image: linear-gradient(rgba(17, 24, 39, 0.50), rgba(17, 24, 39, 0.50)), url('/images/background3.png');
  background-size: cover;
  background-position: center;
}
.page-hero h1 { font-size: 3.75rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.page-hero.highlight {
  background: -webkit-linear-gradient(45deg, var(--primary), var(--secondary-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p { font-size: 1.25rem; opacity: 0.8; max-width: 800px; margin: 0 auto; }
.hero-buttons { margin-top: 2.5rem; display: flex; justify-content: center; gap: 1.5rem; }

#platform-overview {
    background-color: #fff;
    padding: 10px 0;
}

/* Trusted By Section */
.trusted-by { padding: 3rem 0; background-color: var(--light-gray); }
.trusted-by.container { text-align: center; }
.trusted-by h4 { color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; margin-bottom: 2rem; }
.logos { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 2rem; }
.logos img { height: 35px; opacity: 0.6; filter: grayscale(100%); transition: all 0.3s ease; }
.logos img:hover { opacity: 1; filter: grayscale(0%); }

/* Section Header */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--gray); max-width: 800px; margin: 0 auto; }
.section-header.highlight { color: var(--primary); }

/* Card Styles */
.card {
  background: white; border-radius: 8px; padding: 2.5rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease; text-align: center; height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.card.icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.card p { color: var(--gray); flex-grow: 1; }
.card.btn { margin-top: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* Solutions Section (Tabs) */
.tabs-container { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.75rem 1.5rem; border: 1px solid var(--light-gray); background: white; cursor: pointer;
  border-radius: 30px; font-weight: 600; transition: all 0.3s ease;
}
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.solution-content { display: flex; align-items: center; gap: 4rem; text-align: left; }
.solution-content.text { flex: 1; }
.solution-content.text h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.solution-content.text p { margin-bottom: 1.5rem; }
.solution-content.visual { flex: 1; background-color: var(--light-gray); border-radius: 8px; padding: 3rem; text-align: center; }
.solution-content.visual i { font-size: 6rem; color: var(--primary); }

/* About Us Section */
.about-content { display: flex; align-items: center; gap: 4rem; text-align: left; }

/* Team Section */
.team-member.title { color: var(--primary); font-weight: 600; }
.team-member img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid #eef2ff; }

/* Careers Section */
.job-listing {
  background: white; border-radius: 8px; padding: 1.5rem 2rem; margin-bottom: 1rem;
  display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}
.job-listing:hover { transform: translateX(5px); box-shadow: 0 4px 8px rgba(0,0,0,0.08); }
.job-listing h3 { margin: 0; font-size: 1.25rem; }
.job-listing.location { color: var(--gray); }

/* Pricing Section */
.price { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.price.period { font-size: 1rem; color: var(--gray); font-weight: 400; }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.pricing-card ul li { margin-bottom: 0.75rem; display: flex; align-items: center; }
.pricing-card ul li i { color: var(--accent); margin-right: 0.5rem; }
.pricing-card.popular { border: 2px solid var(--primary); transform: scale(1.05); }

/* Blog Section */
.blog-card {
  background: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden; text-align: left; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.blog-card-image { height: 200px; background-size: cover; background-position: center; }
.blog-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-content.tag {
  display: inline-block; background-color: #eef2ff; color: var(--primary); padding: 0.25rem 0.75rem;
  border-radius: 12px; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.75rem; align-self: flex-start;
}
.blog-card-content h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 1rem; }
.blog-card-content p { color: var(--gray); margin-bottom: 1.5rem; flex-grow: 1; }
.blog-card-content a { font-weight: 600; color: var(--primary); text-decoration: none; }
.blog-card-content a:hover { text-decoration: underline; }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; align-items: flex-start;}
.contact-form { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input,.form-group textarea {
  width: 100%; padding: 0.75rem; border: 1px solid var(--light-gray); border-radius: 6px; box-sizing: border-box;
}
.contact-info p { display: flex; align-items: center; margin-bottom: 1rem; }
.contact-info i { margin-right: 1rem; color: var(--primary); width: 20px; text-align: center; }

/* Спинер анимация */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Състояние при изпращане */
.loading .btn-text { display: none; }
.loading .spinner { display: block; }
.loading button { cursor: not-allowed; opacity: 0.8; }

/* Анимация на успеха */
.success-message {
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon { font-size: 60px; margin-bottom: 20px; }

/* Styling the buttons to match your image */
.btn-secondary {
  background-color: #6c19be; /* The vibrant purple from your image */
  color: #ffffff;
  font-family: 'Inter', sans-serif; /* Clean sans-serif */
  font-size: 18px;
  font-weight: 600;
  padding: 16px 32px;
  border: none;
  border-radius: 15px; /* Smooth rounded corners */
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Full width for the form, or auto if preferred */
}

.btn-secondary:hover {
  background-color: #5a14a1; /* Slightly darker on hover */
}

.btn-secondary:active {
  transform: scale(0.98); /* Tactile feedback when pressed */
}

/* Specific styling for the success button to look exactly the same */
.btn-secondary {
  margin-top: 20px;
  text-decoration: none;
}