:root {
  --bg-primary: #050510;
  --bg-surface: #11111a;
  --bg-surface-light: #1a1a2e;
  --accent-primary: #6366F1;
  --accent-primary-hover: #4f46e5;
  --accent-secondary: #00F5C4;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.highlight {
  color: var(--accent-secondary);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.logo img {
  height: 120px !important;
  width: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .nav-links a.nav-item {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 245, 196, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
  }

  .nav-links a.nav-item:hover {
    color: var(--accent-secondary);
    border-color: rgba(0, 245, 196, 0.5);
    background: rgba(0, 245, 196, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 196, 0.2);
    transform: translateY(-1px);
  }
}

.nav-actions {
  justify-self: end;
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero {
  padding: 6rem 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}


/* --- MOBILE MENU & RESPONSIVENESS --- */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--accent-secondary);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--accent-secondary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 16, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  font-size: 3rem;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: var(--accent-secondary);
}


.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 80%;
}

.mobile-menu-item {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu-item:hover {
  color: var(--accent-secondary);
}

.mob-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
  }

  .navbar {
    grid-template-columns: 1fr auto;
    padding: 0 1.5rem;
  }

  .nav-links, .nav-contact-number, .nav-contact-btn {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-title img {
    width: 250px !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .hero-features span[style*="margin"] {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .pricing-grid-dynamic {
    padding: 0 1rem;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }
}




.hero-glow {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  will-change: transform;
  width: 80vw;
  height: 60vw;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, rgba(0, 245, 196, 0.05) 40%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Background arc effect */
.hero-arcs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.arc {
  position: absolute;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.arc-1 {
  width: 150vw;
  height: 150vw;
  border: 1px solid rgba(255, 255, 255, 0.15);
  top: 4rem;
  /* Below the navbar */
}

.arc-2 {
  width: 120vw;
  height: 120vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  top: 8rem;
  /* Around the badge */
}

.arc-glow {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 330deg, rgba(255, 255, 255, 0.8) 360deg) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spinArc 8s linear infinite;
  will-change: transform;
}

.arc-glow::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 8px 4px rgba(255, 255, 255, 0.5);
}

@keyframes spinArc {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  text-align: center;
}

.badge-animated {
  background: linear-gradient(to right,
      var(--accent-secondary) 20%,
      var(--accent-primary) 40%,
      var(--accent-secondary) 60%,
      #FFFFFF 80%,
      var(--accent-secondary) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  /* Removed animation: shine 3s linear infinite; for CPU performance */
  border: 1px solid rgba(0, 245, 196, 0.3);
  /* Match the green highlight */
  box-shadow: 0 0 10px rgba(0, 245, 196, 0.1);
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero-title {
  font-size: 3rem;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  color: var(--accent-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* Dashboard Mockup */
.dashboard-mockup {
  margin-top: 4rem;
  width: 100%;
  max-width: 1000px;
  background: #f8fafc;
  /* Light mode inside the card for contrast */
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(99, 102, 241, 0.15);
  color: #0f172a;
  border: 4px solid rgba(0, 245, 196, 0.3);
  /* Green glow effect border */
  border-bottom: none;
}

.mockup-header {
  background: #e2e8f0;
  padding: 1rem;
  display: flex;
  align-items: center;
}

.dots {
  display: flex;
  gap: 0.5rem;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dots span:nth-child(1) {
  background: #ef4444;
}

.dots span:nth-child(2) {
  background: #eab308;
}

.dots span:nth-child(3) {
  background: #22c55e;
}

.mockup-body {
  display: flex;
  height: 400px;
}

.mockup-sidebar {
  width: 200px;
  background: #1e293b;
  color: white;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.mockup-item.active {
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.mockup-content {
  flex: 1;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: #f1f5f9;
}

.mockup-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mockup-card h3 {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.big-number {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-top: 1rem;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--accent-primary);
  border-radius: 4px;
}

.trend.positive {
  color: var(--accent-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Features Section */
.features-section {
  padding: 6rem 5% 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* Application Features Section */
.app-features-section {
  padding: 8rem 5%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 8rem;
  max-width: 1300px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image-container {
  flex: 1.2;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 245, 196, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-surface);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-image-container:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 245, 196, 0.2);
  border-color: rgba(0, 245, 196, 0.3);
}

.feature-image-container img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.1);
}

.feature-content {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-content .badge {
  align-self: flex-start;
  margin-bottom: 0;
}

.feature-content h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 800;
  background: linear-gradient(to right, #fff, var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-bullet {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.feature-bullet-icon {
  width: 24px;
  height: 24px;
  background: rgba(0, 245, 196, 0.1);
  color: var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .feature-row, .feature-row:nth-child(even) {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }
  
  .feature-content {
    align-items: center;
  }
  
  .feature-content h2 {
    font-size: 2rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: 4rem 5%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-question .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 1rem;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* Pricing Section */
.pricing-section {
  padding: 8rem 5%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-container {
  max-width: 1200px;
  width: 100%;
}

.currency-toggle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.currency-label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.currency-toggle-segmented {
  display: flex;
  background: var(--bg-surface);
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  position: relative;
}

.currency-toggle-segmented input {
  display: none;
}

.currency-toggle-segmented label {
  padding: 0.5rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s ease;
  color: var(--text-secondary);
}

.currency-toggle-segmented input:checked+label {
  color: var(--bg-primary);
}

.toggle-slider {
  position: absolute;
  height: calc(100% - 0.6rem);
  width: calc(33.33% - 0.3rem);
  background: var(--accent-secondary);
  border-radius: 999px;
  top: 0.3rem;
  left: 0.3rem;
  transition: transform 0.3s ease;
}

#pr-usd:checked~.toggle-slider {
  transform: translateX(100%);
}

#pr-aud:checked~.toggle-slider {
  transform: translateX(200%);
}

.pricing-grid-dynamic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.pricing-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 245, 196, 0.1) 0%, transparent 70%);
  filter: blur(30px);
}

.billing-selectors {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.billing-radio {
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

.billing-radio input {
  display: none;
}

.billing-radio span {
  display: block;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.billing-radio input:checked+span {
  border-color: var(--accent-secondary);
  background: rgba(0, 245, 196, 0.05);
  color: var(--accent-secondary);
  box-shadow: 0 0 15px rgba(0, 245, 196, 0.1);
}

.price-display {
  margin: 2rem 0;
}

/* Footer */
.footer {
  padding: 2rem 5% 0.8rem;
  background: #030308;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(5, 5, 16, 0) 70%);
  filter: blur(40px);
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand .logo {
  justify-content: center;
  width: 100%;
  margin-bottom: 0.5rem;
}

.footer-brand .logo img {
  position: static !important;
  transform: none !important;
  height: 90px !important;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 2fr;
  }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.link-group a {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.link-group a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* Animations (Scroll Triggered) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.slide-section {
  opacity: 1;
  /* Match visible state by default for local file access */
  transform: translateY(0);
  transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dashboard Effects */
.dash-connector {
  position: absolute;
  top: -80px;
  /* drops down from above */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
  z-index: 3;
}

.dash-connector::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 8px white;
}

.dash-glow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 245, 196, 0.8) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.dash-glow-left {
  left: -80px;
}

.dash-glow-right {
  right: -80px;
}

/* Dashboard Mockup - Inside hero */
.slide-up {
  opacity: 1;
  /* Match visible state by default */
  transform: translateY(0) scale(1);
  transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

/* Contact Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 8, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.contact-modal-content {
  max-width: 500px;
  width: 90%;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2.5rem 2.5rem;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 245, 196, 0.05);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .contact-modal-content {
  transform: translateY(0);
}

.stylish-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.stylish-close:hover {
  color: var(--accent-secondary);
  transform: scale(1.1) rotate(90deg);
}

.contact-modal-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--text-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.contact-modal-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.input-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.input-group input,
.input-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-group textarea {
  height: 120px;
  resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 245, 196, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  font-weight: 700;
  background: var(--accent-secondary);
  color: #030308;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 245, 196, 0.2);
  filter: brightness(1.1);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success State */
.success-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 245, 196, 0.1);
  color: var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(0, 245, 196, 0.2);
}
