:root {
  --primary: #EC4899;
  --primary-foreground: #FFFFFF;
  --secondary: #8B5CF6;
  --secondary-foreground: #FFFFFF;
  --accent: #F472B6;
  --accent-foreground: #1E1B4B;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #EC4899;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Inter', sans-serif;
  --radius: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Typography */
.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
  border-bottom: 3px solid var(--primary);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-outline:hover {
  border-bottom-width: 5px;
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.velorantix-top_mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 24px;
  height: 24px;
}

.velorantix-top_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.velorantix-top_mobile-menu-content {
  text-align: center;
}

.velorantix-top_mobile-menu-link {
  display: block;
  color: var(--foreground);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.velorantix-top_mobile-menu-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Header */
.page-header {
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  padding: 3rem 0;
}

.cta-box {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Cards */
.feature-card,
.service-card,
.approach-card,
.benefit-card,
.value-card,
.expertise-card,
.pricing-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-40px);
}

.feature-card:nth-child(even),
.service-card:nth-child(even),
.approach-card:nth-child(even),
.benefit-card:nth-child(even),
.value-card:nth-child(even),
.expertise-card:nth-child(even),
.pricing-card:nth-child(even) {
  transform: translateX(40px);
}

.feature-card.animate-in,
.service-card.animate-in,
.approach-card.animate-in,
.benefit-card.animate-in,
.value-card.animate-in,
.expertise-card.animate-in,
.pricing-card.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.feature-card:hover,
.service-card:hover,
.approach-card:hover,
.benefit-card:hover,
.value-card:hover,
.expertise-card:hover,
.pricing-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.feature-title,
.service-title,
.approach-title,
.benefit-title,
.value-title,
.expertise-title,
.pricing-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-text,
.service-description,
.approach-text,
.benefit-text,
.value-text,
.expertise-text,
.pricing-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "→";
  color: var(--primary);
  position: absolute;
  left: 0;
}

/* Icons */
.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(236, 72, 153, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* Stats Section */
.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease-out;
}

.stat-item:nth-child(even) {
  transform: translateX(40px);
}

.stat-item.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.stat-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-text {
  color: var(--muted-foreground);
}

/* Process Steps */
.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease-out;
}

.process-step:nth-child(even) {
  transform: translateX(40px);
}

.process-step.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--muted-foreground);
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem;
  background: var(--input);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}

.success-icon {
  color: #22c55e;
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
  padding: 3rem 0;
}

.form-title,
.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-content {
  flex: 1;
}

.detail-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.detail-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.contact-icon {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.additional-contacts {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.additional-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.additional-contact {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.contact-cta {
  margin-top: 2rem;
}

/* About Page */
.mission-section {
  text-align: center;
}

.mission-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.mission-statement {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted-foreground);
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-text {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.image-responsive {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.company-details,
.contact-info {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.detail-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Newsletter */
.newsletter-section {
  padding: 3rem 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-text {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.newsletter-form {
  margin-bottom: 1rem;
}

.newsletter-input-group {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
}

.newsletter-btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .newsletter-input-group {
    flex-direction: column;
  }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--card);
  color: var(--card-foreground);
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(236, 72, 153, 0.1);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  background: var(--muted);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 1.125rem;
  font-weight: 500;
}

.footer-contact {
  text-align: center;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-links,
.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Legal Pages */
.legal-content {
  padding: 2rem 0;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.legal-intro {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  font-style: italic;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.legal-section ul {
  margin: 1rem 0 1rem 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-section a:hover {
  text-decoration: none;
}

/* Cookie Table */
.cookie-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--muted);
  font-weight: 600;
  color: var(--foreground);
}

.cookie-table td {
  color: var(--muted-foreground);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

/* Cookie Consent */
.velorantix-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--primary);
  z-index: 1001;
  padding: 1rem 0;
}

.velorantix-top_cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.velorantix-top_cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.velorantix-top_cookie-banner-text p {
  margin: 0;
  color: var(--card-foreground);
}

.velorantix-top_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.velorantix-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
}

.velorantix-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}

.velorantix-top_cookie-modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-toggles {
  margin-bottom: 2rem;
}

.velorantix-top_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.velorantix-top_cookie-toggle-row:last-child {
  border-bottom: none;
}

.velorantix-top_cookie-toggle-row div {
  flex: 1;
  margin-right: 1rem;
}

.velorantix-top_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .velorantix-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .velorantix-top_cookie-banner-actions {
    justify-content: center;
  }
  
  .velorantix-top_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    max-width: 300px;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 1rem;
  }
  
  .footer-links,
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animation Classes */
.animate-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Utility Classes */
.image-responsive {
  max-width: 100%;
  height: auto;
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#velorantix-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#velorantix-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#velorantix-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
