/* CSS for ShippingBox Official Landing Page - Under Construction */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary-rgb: 10, 56, 133;      /* Deep Blue #0a3885 */
  --accent-rgb: 220, 38, 38;       /* Crimson Red #dc2626 */
  --cyan-rgb: 6, 182, 212;         /* Cyan #06b6d4 */
  
  --bg-color: #030712;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow-blue: rgba(10, 56, 133, 0.25);
  --glow-red: rgba(220, 38, 38, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Background Elements - Dynamic Ambient Glows */
.ambient-glows {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, transparent 70%);
  filter: blur(80px);
  animation: floatGlow 15s ease-in-out infinite alternate;
}

.glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  filter: blur(80px);
  animation: floatGlow 20s ease-in-out infinite alternate-reverse;
}

.glow-3 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.08) 0%, transparent 60%);
  filter: blur(100px);
}

/* Moving Cargo Routes in Background */
.routes-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

/* Container Structure */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  z-index: 10;
}

/* Header & Logo */
header {
  margin-bottom: 8px;
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(var(--primary-rgb), 0.4));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Pulsing ring around logo */
.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.15) 0%, transparent 70%);
  z-index: -1;
  animation: pulseLogo 3s infinite ease-in-out;
}

/* Glass Card Main Content */
.main-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 48px 40px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

/* Subtle corner light reflections */
.main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Badge "En construcción" */
.status-badge {
  align-self: center;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.3) 0%, rgba(var(--accent-rgb), 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981; /* bright green */
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
  animation: blinkDot 1.8s ease-in-out infinite;
}

/* Typography Details */
.title-section h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #60a5fa 10%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-red {
  background: linear-gradient(135deg, #f87171 10%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Countdown Clock */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 12px 0;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  min-width: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--cyan-rgb), 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.countdown-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  font-weight: 500;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.feature-card:nth-child(2) .feature-icon-wrapper { color: #f87171; } /* Red accent for speedy deliver */
.feature-card:nth-child(3) .feature-icon-wrapper { color: #34d399; }
.feature-card:nth-child(4) .feature-icon-wrapper { color: #fbbf24; }

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Call to Action & Interactive Forms */
.interaction-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.signup-form {
  display: flex;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 5px;
  transition: all 0.3s ease;
}

.signup-form:focus-within {
  border-color: rgba(var(--cyan-rgb), 0.5);
  box-shadow: 0 0 15px rgba(var(--cyan-rgb), 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.signup-input {
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  flex-grow: 1;
  font-family: 'Inter', sans-serif;
}

.signup-input:focus {
  outline: none;
}

.signup-input::placeholder {
  color: var(--text-muted);
}

.btn {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-cyan {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.btn-cyan:hover {
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}

/* Secondary CTA - WhatsApp Box */
.whatsapp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.whatsapp-cta p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulseButton 2s infinite;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.45);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Footer Section */
footer {
  margin-top: 16px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-info svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.15);
}

/* Form success animation container */
.success-msg {
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  animation: scaleIn 0.3s ease forwards;
}

/* SVG Animations in background */
.plane-svg {
  position: absolute;
  top: 15%;
  right: -100px;
  opacity: 0.08;
  z-index: -1;
  animation: flyPlane 35s linear infinite;
  pointer-events: none;
}

.ship-svg {
  position: absolute;
  bottom: 5%;
  left: -200px;
  opacity: 0.06;
  z-index: -1;
  animation: sailShip 50s linear infinite;
  pointer-events: none;
}

/* Keyframes Animations */
@keyframes floatGlow {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.1); }
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

@keyframes pulseLogo {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes flyPlane {
  0% { transform: translate(0, 0) rotate(-5deg); right: -100px; }
  50% { transform: translate(-50vw, -30px) rotate(-5deg); }
  100% { transform: translate(-120vw, -60px) rotate(-5deg); right: 100%; }
}

@keyframes sailShip {
  0% { transform: translate(0, 0); left: -200px; }
  100% { transform: translate(120vw, 0); left: 100%; }
}

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .main-card {
    padding: 32px 24px;
    border-radius: 20px;
    gap: 24px;
  }
  
  .countdown-container {
    gap: 8px;
  }
  
  .countdown-box {
    padding: 12px 8px;
    min-width: 70px;
  }
  
  .signup-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  
  .signup-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    width: 100%;
  }
  
  .signup-form:focus-within {
    background: transparent;
    box-shadow: none;
  }
  
  .signup-input:focus {
    border-color: rgba(var(--cyan-rgb), 0.5);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    border-radius: 12px;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .feature-card {
    padding: 18px 12px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-divider {
    display: none;
  }
}
