/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #EC4699;
  --secondary-foreground: #111827;
  --accent: #DC2626;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #000000;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Poppins', sans-serif;
  --radius: 0.75rem;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

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

.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;
}

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

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

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

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.form-input:invalid {
  border-color: var(--accent);
}

/* Button Styles - Underline Only */
.btn-primary,
.btn-outline,
.btn-hero,
.btn-cta,
.btn-cta-outline,
.btn-submit,
.btn-newsletter,
.pricing-btn,
.service-cta,
.method-link {
  display: inline-block;
  padding: 0.75rem 0;
  font-weight: 700;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1rem;
  border-bottom: 3px solid var(--primary);
  transition: all 0.3s ease;
  color: var(--primary);
}

.btn-primary:hover,
.btn-outline:hover,
.btn-hero:hover,
.btn-cta:hover,
.btn-submit:hover,
.btn-newsletter:hover,
.pricing-btn:hover,
.service-cta:hover {
  border-bottom-color: var(--secondary);
  color: var(--secondary);
}

.btn-cta-outline,
.method-link {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.btn-cta-outline:hover,
.method-link:hover {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

/* Icon Styles */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--muted);
  margin-bottom: 1rem;
}

/* Header and Navigation - Hamburger Always */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.navbar {
  padding: 1rem 0;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-img,
.footer-logo {
  height: 2.5rem;
  width: auto;
}

.cryptonexa_mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--foreground);
}

.cryptonexa_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.cryptonexa_mobile-menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cryptonexa_mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.cryptonexa_mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--foreground);
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  padding: 1rem 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Hero Section - Light Clean */
.hero {
  background: var(--background);
  color: var(--foreground);
  padding: 4rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.last-updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* Section Styles - Compact Spacing */
section {
  padding: 3rem 0;
}

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

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

/* Cards - Side Accent */
.feature-card,
.service-card,
.benefit-card,
.pricing-card,
.portfolio-card,
.testimonial-card,
.team-card,
.achievement-card,
.stat-card,
.faq-card,
.contact-method {
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  padding: 1rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover,
.service-card:hover,
.benefit-card:hover,
.pricing-card:hover,
.portfolio-card:hover,
.testimonial-card:hover,
.team-card:hover,
.achievement-card:hover,
.stat-card:hover,
.faq-card:hover,
.contact-method:hover {
  border-left-color: var(--secondary);
  transform: translateY(-2px);
}

.feature-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  border-radius: var(--radius) 0 0 var(--radius);
}

/* Team Section */
.team-preview {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.team-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.team-role {
  font-size: 0.875rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Process Steps */
.process-steps {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary);
  color: var(--primary-foreground);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.step-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

/* Gallery Preview */
.gallery-preview {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.newsletter-form {
  max-width: 400px;
}

.form-group {
  display: flex;
  gap: 0.5rem;
}

.form-group .form-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .newsletter-form {
    margin: 0 auto;
  }
}

/* CTA Section - Primary Background */
.cta {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

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

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  .9;
}

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

.cta .btn-cta {
  color: var(--primary-foreground);
  border-bottom-color: var(--primary-foreground);
}

.cta .btn-cta:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.cta .btn-cta-outline {
  color: var(--primary-foreground);
  border-bottom-color: var(--primary-foreground);
}

.cta .btn-cta-outline:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

/* Services Page */
.services-grid {
  display: grid;
  gap: 3rem;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

.service-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  display: flex;
  flex-direction: column;
}

.service-icon {
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

.service-features li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
}

.service-features li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .service-card {
    grid-template-columns: 1fr;
  }
}

/* About Page - Timeline */
.company-story {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.story-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.timeline-year {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-icon {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

@media (max-width: 768px) {
  .story-timeline::before {
    left: 1rem;
  }
  
  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }
}

/* Mission and Values */
.mission-values {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.mission-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.mission-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.mission-text {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

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

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.value-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .mission-card {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Section */
.team-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.team-member {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.member-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon {
  width: 3rem;
  height: 3rem;
  color: var(--muted-foreground);
}

.member-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.member-role {
  font-size: 0.875rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.member-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Achievements */
.achievements {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.achievement-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

.achievement-icon {
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-info-bar {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.contact-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.contact-bar-icon {
  flex-shrink: 0;
}

.contact-bar-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.contact-bar-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-bar-text a {
  color: var(--primary);
}

.contact-bar-text a:hover {
  color: var(--secondary);
}

/* Contact Form */
.cryptonexa_contact-form-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.cryptonexa_contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.cryptonexa_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
select.form-input,
textarea.form-input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--background);
  color: var(--foreground);
}

.form-input:focus,
select.form-input:focus,
textarea.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.checkbox-text a {
  color: var(--primary);
}

.form-actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Success Message */
.success-message {
  background: #D1FAE5;
  border: 1px solid #10B981;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

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

.success-icon {
  width: 3rem;
  height: 3rem;
  color: #10B981;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #065F46;
}

.success-text {
  color: #047857;
}

/* Contact Methods */
.contact-methods {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.method-icon {
  margin-bottom: 1rem;
}

.method-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

/* Office Info */
.office-info {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.office-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.office-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.office-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--primary);
}

.detail-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.detail-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.office-image {
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 768px) {
  .office-content {
    grid-template-columns: 1fr;
  }
}

/* FAQ Page */
.faq-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
}

.question-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  flex: 1;
  margin-right: 1rem;
}

.question-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.question-toggle[aria-expanded="true"] {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.expanded {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

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

.contact-cta {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

/* Pricing Page */
.pricing-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.recommended {
  border-left-color: var(--secondary);
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  margin-bottom: 1.5rem;
  position: relative;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.pricing-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.recommended-badge {
  background: var(--secondary);
}

.badge-icon {
  width: 1rem;
  height: 1rem;
}

.pricing-content {
  flex: 1;
  margin-bottom: 2rem;
}

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

.pricing-features {
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--muted-foreground);
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

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

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

.pricing-benefits {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.pricing-faq {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

/* Portfolio Page */
.portfolio-showcase {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.portfolio-grid {
  display: grid;
  gap: 3rem;
}

.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

.portfolio-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.category-tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--muted);
  color: var(--muted-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

.outcomes-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.outcomes-list {
  list-style: none;
}

.outcomes-list li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.outcomes-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .portfolio-card {
    grid-template-columns: 1fr;
  }
}

.portfolio-stats {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.stat-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.stat-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

.testimonials {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.author-name {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.author-company {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Legal Content */
.legal-content {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  color: var(--foreground);
}

.legal-document h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  color: var(--foreground);
}

.legal-document h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--foreground);
}

.legal-document h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  color: var(--foreground);
}

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

.legal-document ul,
.legal-document ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-document li {
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.legal-document a {
  color: var(--primary);
}

.legal-document a:hover {
  color: var(--secondary);
}

.legal-document strong {
  font-weight: 600;
  color: var(--foreground);
}

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  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);
}

/* Footer - Light */
.footer {
  background: var(--muted);
  color: var(--foreground);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--primary);
}

.footer a:hover {
  color: var(--secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: var(--primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Cookie Banner and Modal */
.cryptonexa_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1500;
  padding: 1rem 0;
}

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

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

.cryptonexa_cookie-banner-text p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

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

.cryptonexa_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cryptonexa_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.cryptonexa_cookie-modal-content {
  background: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cryptonexa_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.cryptonexa_cookie-toggle-row input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
}

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

@media (max-width: 768px) {
  .cryptonexa_cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .cryptonexa_cookie-banner-actions {
    justify-content: center;
  }
  
  .cryptonexa_cookie-modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .cryptonexa_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Animation Classes */
.animate-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Animation delays for staggered effects */
.animate-item:nth-child(1) { transition-delay: 0.1s; }
.animate-item:nth-child(2) { transition-delay: 0.2s; }
.animate-item:nth-child(3) { transition-delay: 0.3s; }
.animate-item:nth-child(4) { transition-delay: 0.4s; }
.animate-item:nth-child(5) { transition-delay: 0.5s; }
.animate-item:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .cta-title,
  .newsletter-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* === 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 */
#cryptonexa_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#cryptonexa_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#cryptonexa_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
