/* ===================================
   COLOCATION PAGE - MODERN STYLES
   Dark Theme with Animations
   =================================== */

:root {
  --colo-primary: #f68732;
  --colo-primary-hover: #f68732;
  --colo-secondary: #3b82f6;
  --colo-dark-bg: #0f1419;
  --colo-dark-card: #1a1f2e;
  --colo-dark-lighter: #252b3b;
  --colo-text-primary: #ffffff;
  --colo-text-secondary: #cbd5e1;
  --colo-text-muted: #94a3b8;
  --colo-success: #10b981;
  --colo-warning: #f59e0b;
  --colo-danger: #ef4444;
  --colo-border: #334155;
}

/* ===================================
   HERO SECTION
   =================================== */

.colo-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
}

.colo-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 107, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 50%
    );
  animation: bgPulse 20s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.colo-hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.colo-hero-content {
  z-index: 10;
}

.colo-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 50px;
  color: var(--colo-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease-out;
}

.colo-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--colo-text-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--colo-primary) 0%,
    var(--colo-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.colo-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--colo-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.colo-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.colo-btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.colo-btn.primary {
  background: var(--colo-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.colo-btn.primary:hover {
  background: var(--colo-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 0, 0.4);
}

.colo-btn.secondary {
  background: transparent;
  color: var(--colo-text-primary);
  border: 2px solid var(--colo-border);
}

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

.colo-hero-stats {
  display: flex;
  gap: 3rem;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--colo-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--colo-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.colo-hero-image {
  position: relative;
  z-index: 10;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.image-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 0, 0.2) 0%,
    transparent 70%
  );
  filter: blur(40px);
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.colo-hero-image img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   FEATURES SECTION
   =================================== */

.colo-features {
  padding: 6rem 0;
  background: var(--colo-dark-bg);
}

.colo-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.colo-container-small {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--colo-text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--colo-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--colo-dark-card);
  border: 1px solid var(--colo-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--colo-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-icon.orange {
  background: linear-gradient(135deg, #f68732 0%, #f68732 100%);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.feature-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.feature-icon.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.feature-icon.red {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.feature-icon.teal {
  background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--colo-text-primary);
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--colo-text-secondary);
  line-height: 1.7;
}

/* ===================================
   BENEFITS SECTION
   =================================== */

.colo-benefits {
  padding: 6rem 0;
  background: linear-gradient(
    180deg,
    var(--colo-dark-bg) 0%,
    var(--colo-dark-card) 100%
  );
}

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

.benefit-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--colo-border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-card[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--colo-primary) 0%,
    var(--colo-secondary) 100%
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--colo-primary);
  background: rgba(255, 107, 0, 0.05);
}

.benefit-number {
  font-size: 3rem;
  font-weight: 800;
  color: #f68732;
  line-height: 1;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--colo-text-primary);
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--colo-text-secondary);
  line-height: 1.7;
}

/* ===================================
   PRICING TABLE SECTION
   =================================== */

.colo-pricing {
  padding: 6rem 0;
  background: var(--colo-dark-bg);
}

.pricing-table-wrapper {
  overflow-x: auto;
  margin: 3rem 0;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--colo-dark-card);
  border-radius: 16px;
  overflow: hidden;
}

.pricing-table thead {
  background: linear-gradient(135deg, #1a1f2e 0%, #252b3b 100%);
}

.pricing-table th {
  padding: 2rem 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--colo-text-primary);
  border-bottom: 2px solid var(--colo-border);
}

.pricing-table th.feature-col {
  text-align: left;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--colo-text-muted);
}

.pricing-table th.featured {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 0, 0.2) 0%,
    rgba(59, 130, 246, 0.2) 100%
  );
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--colo-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-header {
  padding-top: 1.5rem;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--colo-primary);
}

.package-price span {
  font-size: 1rem;
  color: var(--colo-text-muted);
  font-weight: 400;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--colo-border);
  transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--colo-text-secondary);
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.pricing-table tbody td {
  padding: 1.5rem;
  text-align: center;
  color: var(--colo-text-secondary);
}

.pricing-table tbody td.featured {
  background: rgba(255, 107, 0, 0.05);
  font-weight: 600;
  color: var(--colo-text-primary);
}

.pricing-table tbody tr.cta-row td {
  padding: 2rem 1.5rem;
}

.table-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--colo-text-primary);
  border: 2px solid var(--colo-border);
}

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

.table-btn.primary {
  background: var(--colo-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.table-btn.primary:hover {
  background: var(--colo-primary-hover);
  box-shadow: 0 6px 30px rgba(255, 107, 0, 0.4);
}

.pricing-note {
  color: var(--colo-text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* ===================================
   FORM SECTION
   =================================== */

.colo-form-section {
  padding: 6rem 0;
  background: linear-gradient(
    180deg,
    var(--colo-dark-bg) 0%,
    var(--colo-dark-card) 100%
  );
}

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

.form-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--colo-text-primary);
  margin-bottom: 1rem;
}

.form-subtitle {
  font-size: 1.125rem;
  color: var(--colo-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.colo-form {
  background: var(--colo-dark-card);
  border: 1px solid var(--colo-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--colo-text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--colo-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--colo-text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--colo-primary);
  background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
}

.form-error {
  color: var(--colo-danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--colo-danger);
}

.form-group.error .form-error {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-checkbox label {
  color: var(--colo-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--colo-primary);
  text-decoration: none;
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 1.25rem;
  background: var(--colo-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.form-submit:hover:not(:disabled) {
  background: var(--colo-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 0, 0.4);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spinner {
  animation: spin 1s linear infinite;
}

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

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
  .colo-hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .colo-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .colo-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .colo-hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .colo-hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .colo-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .colo-hero-container {
    padding: 2rem 1rem;
  }

  .colo-hero-title {
    font-size: 2rem;
  }

  .colo-hero-subtitle {
    font-size: 1rem;
  }

  .colo-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .colo-btn {
    width: 100%;
    justify-content: center;
  }

  .colo-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-table-wrapper {
    border-radius: 8px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }

  .package-price {
    font-size: 1.75rem;
  }

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

  .colo-form {
    padding: 2rem 1.5rem;
  }

  .colo-features,
  .colo-benefits,
  .colo-pricing,
  .colo-form-section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .colo-hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pricing-table {
    font-size: 0.85rem;
  }

  .package-name {
    font-size: 1.125rem;
  }

  .package-price {
    font-size: 1.5rem;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}
