/* Import Base Styles */
@import url('/assets/styles.css');

/* Campaign-Specific Variables */
:root {
  --campaign-gradient: linear-gradient(135deg, #e8f4f8 0%, #f5fafb 100%);
  --card-shadow: 0 4px 16px rgba(63, 121, 157, 0.12);
  --hover-shadow: 0 8px 24px rgba(63, 121, 157, 0.18);
}

/* ========================================
   COLLABORATION FLAGSHIP SECTION
   ======================================== */

.collab-flagship {
  padding: 40px 0 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #e8f4f8 100%);
  position: relative;
  overflow: hidden;
}

.collab-flagship::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(111, 175, 181, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.collab-header {
  text-align: center;
  margin-bottom: 35px;
}

.collab-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 8px 24px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(63, 121, 157, 0.3);
}

.collab-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--primary-color);
  margin: 0 0 8px;
  font-weight: 900;
  line-height: 1.15;
}

.collab-subtitle {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: var(--secondary-color);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ========================================
   REGISTER SECTION
   ======================================== */

.register-section {
  padding: 50px 0;
  background: #fff;
}

.register-header {
  text-align: center;
  margin-bottom: 40px;
}

.register-header h2 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  color: var(--primary-color);
  margin: 0 0 12px;
  font-weight: 900;
}

.register-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin: 0;
}

.register-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.register-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.3s;
}

.info-card:hover {
  border-color: var(--secondary-color);
  transform: translateX(8px);
  box-shadow: var(--card-shadow);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.info-content p {
  margin: 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Campaign Form */
.campaign-form {
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(63, 121, 157, 0.1);
}

.form-consent {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 16px 0;
}

.form-consent a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 900px) {
  .register-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .register-info {
    order: 2;
  }

  .campaign-form {
    order: 1;
  }
}

/* Note: Reveal animation and form styles inherited from styles.css via @import */

/* ========================================
   CO-CREATION SHOWCASE SECTION
   ======================================== */

.co-creation-showcase {
  padding: 60px 0;
  background: #0a192f; /* Dark blue background */
  position: relative;
  overflow: hidden;
}

.co-creation-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(63, 121, 157, 0.3) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(111, 175, 181, 0.3) 0%, transparent 40%);
  animation: background-pan 20s linear infinite;
}

@keyframes background-pan {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.showcase-card {
  position: relative;
  background: rgba(13, 38, 62, 0.6);
  border: 1px solid rgba(63, 121, 157, 0.5);
  border-radius: 20px;
  padding: 32px;
  color: #e6f1ff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.showcase-card:hover {
  transform: perspective(1000px) rotateY(var(--rotateY, 0)) rotateX(var(--rotateX, 0)) scale3d(1.05, 1.05, 1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(111, 175, 181, 0.8);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(circle at var(--mouseX, 50%) var(--mouseY, 50%), rgba(111, 175, 181, 0.25) 0%, transparent 40%);
}

.showcase-card:hover .card-bg {
  opacity: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  transform: translateZ(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.expert-portrait-new {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--secondary-color);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.expert-portrait-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-new {
  width: 160px;
  height: 160px;
  margin-bottom: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 251, 0.9) 100%);
  border: 3px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  animation: product-glow 3s ease-in-out infinite;
}

.product-image-new::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 175, 181, 0.1) 0%, transparent 70%);
  z-index: 0;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes product-glow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 24px rgba(111, 175, 181, 0.3);
    transform: scale(1.02);
  }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.product-image-new img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.card-header {
  margin-bottom: 16px;
}

.card-subtitle-new {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.card-title-new {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.2;
}

.card-desc-new {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cdd6f4;
  max-width: 300px;
}

.showcase-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.plus-icon {
  font-size: 3rem;
  color: #fff;
  font-weight: 200;
  line-height: 1;
  animation: pulse-plus 2s infinite;
  z-index: 2;
  position: relative;
}

@keyframes pulse-plus {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.connector-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0.5;
  z-index: 1;
}

.connector-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 4s ease-in-out infinite;
}

@keyframes draw-line {
  0% { stroke-dashoffset: 1000; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1000; }
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px; /* Reduced gap for mobile */
  }
  .showcase-connector {
    transform: rotate(90deg);
    margin: -15px 0; /* Reduced margin */
  }
  .showcase-card {
    min-height: auto;
    padding: 24px; /* Adjusted padding for mobile */
  }
  .card-title-new {
    font-size: 1.4rem; /* Slightly smaller title for mobile */
  }
  /* Disable hover effects on touch devices for better performance */
  .showcase-card:hover {
    transform: none;
    box-shadow: none;
  }
  .showcase-card:hover .card-bg {
    opacity: 0;
  }
}

/* ========================================
   EVENT DETAILS SECTION
   ======================================== */

.event-details {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.detail-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.detail-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1;
}

.detail-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: #555;
}

.detail-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: bold;
}
