/* ==========================================================================
   CERANEXPORT.COM — UNDER CONSTRUCTION STYLESHEET
   Domain: ceranexport.com
   Language: English Only
   Theme: Soft, Continuous Background Slideshow & Glassmorphic Center Card
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --bg-dark: #070d1a;
  --bg-card: rgba(8, 16, 32, 0.84);
  --bg-card-border: rgba(255, 255, 255, 0.14);
  --bg-input: rgba(6, 12, 24, 0.9);

  --color-cyan: #00d2ff;
  --color-cyan-glow: rgba(0, 210, 255, 0.45);
  --color-blue: #2563eb;
  --color-amber: #f59e0b;
  --color-emerald: #10b981;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-dim: #94a3b8;

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 50px rgba(0, 210, 255, 0.12);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessible focus outline */
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

/* ==========================================================================
   Background Slideshow (Soft, Continuous, Rich Aesthetics)
   ========================================================================== */
.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background-color: #060c18;
}

.bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  visibility: hidden;
  /* Soft, visible yet non-jarring contrast and brightness */
  filter: brightness(0.68) contrast(1.05) saturate(1.18);
  transform: scale(1.0);
  transition: opacity 2.4s ease-in-out, visibility 2.4s ease-in-out, transform 9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
  z-index: 1;
}

/* Active Slide (Current front slide with slow zoom motion) */
.bg-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.08) translate(-1%, -0.5%);
  z-index: 2;
}

/* Previous Slide (Kept underneath while new slide fades in, preventing dark flashes) */
.bg-slide.prev {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transform: scale(1.08) translate(-1%, -0.5%);
}

/* Soft Cinematic Vignette Overlay */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  /* Gentle radial vignette: clear/soft in center, elegant dark gradient toward corners */
  background: radial-gradient(circle at 50% 50%, rgba(6, 12, 24, 0.3) 0%, rgba(6, 12, 24, 0.6) 70%, #060c18 100%),
              linear-gradient(180deg, rgba(6, 12, 24, 0.35) 0%, rgba(6, 12, 24, 0.75) 100%);
}

/* Subtle modern grid lines */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  background-image: linear-gradient(rgba(0, 210, 255, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 210, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
}

/* ==========================================================================
   Main Layout Frame & Glassmorphism Card
   ========================================================================== */
.construction-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Glassmorphic Centered Card */
.construction-card {
  width: 100%;
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.75rem);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition), border-color var(--transition);
}

.construction-card:hover {
  border-color: rgba(0, 210, 255, 0.32);
}

/* --- Domain Branding (Pure Typography - No Logo) --- */
.card-header {
  margin-bottom: 1.5rem;
}

.domain-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.3vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.domain-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.domain-ext {
  color: var(--color-cyan);
  text-shadow: 0 0 25px var(--color-cyan-glow);
}

/* --- Status Pill --- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-amber);
  margin-bottom: 2rem;
  user-select: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-amber);
  box-shadow: 0 0 10px var(--color-amber);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* --- Card Body --- */
.card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-heading {
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 3.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #00d2ff 65%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.description-text {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.description-text strong {
  color: #ffffff;
}

/* --- Notify Form --- */
.notify-form {
  width: 100%;
  max-width: 520px;
  margin-bottom: 2rem;
  text-align: left;
}

.notify-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  text-align: center;
}

.input-row {
  display: flex;
  gap: 0.6rem;
  width: 100%;
}

.input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  padding: 0 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input-wrapper:focus-within {
  border-color: var(--color-cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

.input-icon {
  color: var(--text-dim);
  flex-shrink: 0;
  margin-right: 0.6rem;
}

.input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  padding: 0.75rem 0;
}

.input-wrapper input::placeholder {
  color: var(--text-dim);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #00d2ff 0%, #0284c7 100%);
  color: #04101e;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
  box-shadow: 0 6px 22px rgba(0, 210, 255, 0.4);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
  text-align: center;
  transition: all var(--transition);
}

.form-feedback.success {
  color: var(--color-emerald);
}

.form-feedback.error {
  color: #f87171;
}

/* --- Direct Contact Box --- */
.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-cyan);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.contact-email:hover {
  color: #38bdf8;
  transform: translateY(-1px);
}

/* --- Footer & Slideshow Indicators --- */
.card-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.slideshow-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.35s ease;
}

.slide-dot.active {
  width: 24px;
  background: var(--color-cyan);
  box-shadow: 0 0 12px var(--color-cyan-glow);
}

.slide-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.copyright-text strong {
  color: var(--text-secondary);
}

/* --- Toast Alert --- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: rgba(11, 20, 38, 0.95);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  font-size: 0.88rem;
  max-width: 360px;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast.error .toast-icon {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

/* --- Mobile Responsiveness (Flawless on all screens) --- */
@media (max-width: 520px) {
  .construction-wrapper {
    padding: 1.25rem 0.85rem;
  }

  .construction-card {
    padding: 1.75rem 1.15rem;
    border-radius: 18px;
  }

  .input-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .btn-submit {
    width: 100%;
    padding: 0.85rem;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
