:root {
  /* Primary Color Palette - Ocean Blue to Teal */
  --primary-50: #f0fdfa;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0d9488;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;

  /* Accent Colors */
  --accent-light: #67e8f9;
  --accent-dark: #0891b2;

  /* Neutral Colors */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-dark) 0%, var(--primary-500) 100%);
  --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

html {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--gray-300);
  background-color: var(--gray-900);
  overflow-x: hidden;
}

/* Custom Navbar Styling */
.navbar-custom {
  background: var(--gradient-dark) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-custom .navbar-nav .nav-link {
  color: var(--gray-300) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover {
  color: var(--primary-400) !important;
}

.navbar-custom .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none !important;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28203, 213, 225, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.knockly-logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  padding: 10rem 0 6rem 0; /* Consistent padding */
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem 0;
    text-align: center;
  }

  .section-dark,
  .section-darker {
    padding: 3rem 0;
  }

  .section-title.mb-5 {
    margin-bottom: 2rem !important;
  }

  #about .mb-5 {
    margin-bottom: 0 !important;
  }

  #contact .contact-form {
    padding: 2rem !important;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
  background-size: cover;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.hero-image {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

#landing-image {
  width: 100%;
  height: auto;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
}

.code-visual {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--primary-100);
  line-height: 1.6;
  text-align: left;
  z-index: 2;
  position: relative;
}

.code-line {
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: typewriter 0.5s ease-out forwards;
}

.code-line:nth-child(1) {
  animation-delay: 0.5s;
}
.code-line:nth-child(2) {
  animation-delay: 1s;
}
.code-line:nth-child(3) {
  animation-delay: 1.5s;
}
.code-line:nth-child(4) {
  animation-delay: 2s;
}
.code-line:nth-child(5) {
  animation-delay: 2.5s;
}
.code-line:nth-child(6) {
  animation-delay: 3s;
}
.code-line:nth-child(7) {
  animation-delay: 3.5s;
}

@keyframes typewriter {
  to {
    opacity: 1;
  }
}

.keyword {
  color: var(--accent-light);
}
.string {
  color: var(--primary-200);
}
.function {
  color: var(--primary-300);
}
.comment {
  color: var(--gray-300);
  font-style: italic;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #fff, var(--primary-100));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  color: var(--primary-50);
  line-height: 1.6;
}

/* Custom Buttons */
.btn-custom-primary {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  color: white !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.btn-custom-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-custom-primary:hover {
  background: rgba(51, 65, 85, 1) !important;
  border-color: rgba(148, 163, 184, 1) !important;
  box-shadow: 0 20px 50px rgba(51, 65, 85, 0.8) !important;
  color: white !important;
  transform: translateY(-5px) scale(1.05) !important;
  text-decoration: none !important;
}

.btn-custom-primary:hover::before {
  left: 100%;
}

.btn-custom-secondary {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 2px solid rgba(255, 255, 255, 1) !important;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  color: var(--gray-800) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-custom-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-custom-secondary:hover {
  background: rgba(255, 255, 255, 1) !important;
  border-color: var(--primary-500) !important;
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-5px) scale(1.05) !important;
  text-decoration: none !important;
}

.btn-custom-secondary:hover::before {
  left: 100%;
}

/* Section Styling */
.section-dark,
.section-darker {
  padding: 6rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section-dark,
  .section-darker {
    padding: 4rem 0;
  }
}

.section-dark {
  background: var(--gradient-dark);
}

.section-darker {
  background: var(--gray-900);
}

.section-dark::before,
.section-darker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(103, 232, 249, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  background-size: 100% 120%;
  background-position: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.3;
  padding-bottom: 0.1rem;
}

.section-title p {
  color: var(--gray-300);
  font-size: 1.125rem;
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  background: var(--gray-200);
  border-radius: 50px;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.toggle-switch input {
  display: none;
}

.toggle-option {
  position: relative;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  background: transparent;
  border: none;
  min-width: 100px;
  text-align: center;
  color: var(--gray-600);
}

.toggle-option.active {
  color: white;
}

.toggle-slider {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  width: calc(50% - 6px);
  background: var(--gradient-primary);
  border-radius: 50px;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.3);
}

.toggle-switch input:checked ~ .toggle-slider {
  transform: translateX(100%);
}

.save-badge {
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  margin-left: 0.5rem;
  font-weight: 600;
}

/* Pricing Cards */
.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-500);
  box-shadow: 0 20px 60px rgba(20, 184, 166, 0.2);
}

.pricing-card.popular {
  border-color: var(--primary-500);
  box-shadow: 0 10px 40px rgba(20, 184, 166, 0.2);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 15px 15px;
  font-size: 0.875rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.plan-description {
  color: var(--gray-300);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-period {
  color: var(--gray-400);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.plan-features li {
  color: var(--gray-300);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-400);
  font-weight: bold;
}

.plan-button {
  width: 100%;
  padding: 1rem 2rem;
  border: 2px solid var(--primary-600);
  border-radius: 50px;
  background: transparent;
  color: var(--primary-400);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.plan-button:hover {
  background: rgba(20, 184, 166, 0.1);
  border-color: var(--primary-400);
  color: var(--primary-400);
  transform: translateY(-2px);
  text-decoration: none;
}

.plan-button.primary {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.plan-button.primary:hover {
  background: var(--gradient-accent);
  box-shadow: 0 15px 40px rgba(20, 184, 166, 0.4);
  color: white;
}

/* Project Cards */
.project-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-500);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.1);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.project-description {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  padding: 0.3rem 0.75rem;
  background: rgba(20, 184, 166, 0.2);
  border-radius: 15px;
  font-size: 0.75rem;
  color: var(--primary-300);
}

.project-link {
  color: var(--primary-400);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  margin-right: 1rem;
}

.project-link:hover {
  color: var(--primary-300);
  text-decoration: none;
}

/* Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-500);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(20, 184, 166, 0.1);
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-400);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(20, 184, 166, 0.2);
  border-color: var(--primary-400);
  transform: scale(1.1);
}

.service-card:hover .service-icon i {
  color: var(--primary-300);
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-300);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.1);
}

.process-icon {
  width: 60px;
  height: 60px;
  background: rgba(20, 184, 166, 0.1);
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.process-icon i {
  font-size: 1.5rem;
  color: var(--primary-400);
  transition: all 0.3s ease;
}

.process-step:hover .process-icon {
  background: rgba(20, 184, 166, 0.2);
  border-color: var(--primary-400);
  transform: scale(1.1);
}

.process-step:hover .process-icon i {
  color: var(--primary-300);
}

.process-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* About Section */
.about-stats-inline {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.code-line.indent-1 {
  padding-left: 1rem;
}

.code-line.indent-2 {
  padding-left: 2rem;
}

.about-image {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(20, 184, 166, 0.1);
  border: 2px solid rgba(20, 184, 166, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--primary-400);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  background: rgba(20, 184, 166, 0.2);
  border-color: var(--primary-400);
  transform: scale(1.1);
}

.stat-item:hover .stat-icon i {
  color: var(--primary-300);
}

.stat-number-inline {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label-inline {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
}

/* FAQ Section */
.faq-container {
  max-width: 100%;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(20, 184, 166, 0.3);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-300);
}

.faq-question i {
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: var(--primary-400);
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-label {
  color: var(--gray-300);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  padding: 1rem;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-500);
  box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.25);
  color: #ffffff;
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  background: var(--gradient-accent);
  box-shadow: 0 15px 40px rgba(20, 184, 166, 0.4);
  color: white;
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: var(--gray-300);
  padding: 60px 0 30px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(103, 232, 249, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-400);
  text-decoration: none;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 1rem;
}

.social-icon:hover {
  background: rgba(20, 184, 166, 0.3);
  border-color: var(--primary-400);
  transform: translateY(-2px);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  color: var(--gray-400);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding-top: 80px;
  }

  .section-dark,
  .section-darker {
    padding: 75px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero p {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-image {
    height: 300px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .code-visual {
    font-size: 0.8rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .plan-price {
    font-size: 2.5rem;
  }

  .about-stats-inline {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-number-inline {
    font-size: 2rem;
  }

  .faq-question {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.5rem 1rem 1.5rem;
  }

  .about-content {
    text-align: center;
  }

  /* Mobile footer layout - Legal next to Company */
  .footer .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .footer .col-lg-6 {
    flex: 1 1 100%;
    margin-bottom: 2rem;
  }

  .footer .col-lg-2 {
    flex: 1 1 auto;
    width: auto;
    margin-right: 2rem;
  }

  .footer .col-lg-2:last-of-type {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-image {
    height: 250px;
    margin-bottom: 2rem;
  }

  .code-visual {
    font-size: 0.75rem;
  }

  .about-stats-inline {
    gap: 1rem;
  }

  /* Ensure Legal stays next to Company on small screens */
  .footer .col-lg-2 {
    flex: 1 1 calc(50% - 1rem);
    margin-right: 1rem;
  }

  .footer .col-lg-2:last-of-type {
    margin-right: 0;
  }
}

/* Active navigation link styles */
.navbar-custom .navbar-nav .nav-link.active {
  color: var(--primary-400) !important;
}

.navbar-custom .navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Enhanced active state with gradient background */
.navbar-custom .navbar-nav .nav-link.active {
  border-radius: 8px;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
}

.hidden {
  display: none !important;
}

/* Loading state for submit button */
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Animation for revealing elements on scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes for more complex animations if needed */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
