/* ==========================================================================
   Algabo Store Redirect Landing Page - Stylesheet
   Identity & Design System inspired by Algabo.com
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root {
  /* Brand Color Palette */
  --color-primary: #003B73;
  --color-primary-dark: #002852;
  --color-primary-light: #005691;
  --color-accent: #00A3E0;
  --color-accent-hover: #0082B5;
  --color-accent-light: #E6F6FD;
  --color-emerald: #10B981;
  
  /* Neutral Palette */
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-bg-light: #F8FAFC;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  
  /* Layout & Spacing */
  --font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 9999px;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 59, 115, 0.08), 0 8px 10px -6px rgba(0, 59, 115, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(0, 59, 115, 0.18);
  --shadow-glow: 0 0 25px rgba(0, 163, 224, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.8);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* --- Animated Background Effects --- */
.bg-decorations {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: floatBlob 18s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.35) 0%, rgba(0, 59, 115, 0.15) 70%, transparent 100%);
}

.blob-2 {
  bottom: -15%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  max-width: 650px;
  max-height: 650px;
  background: radial-gradient(circle, rgba(0, 86, 145, 0.25) 0%, rgba(0, 163, 224, 0.2) 70%, transparent 100%);
  animation-delay: -9s;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(0, 59, 115, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 40px) scale(1.08);
  }
  100% {
    transform: translate(-20px, -20px) scale(0.95);
  }
}

/* --- Main Layout Wrapper --- */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 2.5rem 1.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* --- Top Header --- */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.8s var(--transition-normal);
}

.brand-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.brand-logo-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* --- Main Hero Card --- */
.main-card {
  width: 100%;
  max-width: 680px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.9s var(--transition-normal) 0.1s both;
}

.main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-emerald) 100%);
}

/* Badge Notice */
.badge-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-accent-light);
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(0, 163, 224, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.25);
  animation: pulseDot 2s infinite;
}

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

/* Card Content Typography */
.card-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.card-title span {
  color: var(--color-accent);
  display: inline-block;
}

.card-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-url {
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(0, 59, 115, 0.06);
  padding: 0.15em 0.5em;
  border-radius: 6px;
  white-space: nowrap;
  word-break: normal;
}

/* --- Call To Action Section --- */
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.btn-primary-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 380px;
  padding: 1.15rem 2.25rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent) 100%);
  background-size: 200% auto;
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px -5px rgba(0, 59, 115, 0.35);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary-store:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(0, 163, 224, 0.45);
  color: var(--color-white);
}

.btn-primary-store:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform var(--transition-normal);
}

.btn-primary-store:hover .btn-icon {
  transform: translateX(5px);
}

.contact-notice-box {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 59, 115, 0.035);
  border: 1px solid rgba(0, 163, 224, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
}

.contact-notice-box a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-notice-box a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* --- Brand Features / Trust Indicators --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 680px;
  margin-top: 2.5rem;
  animation: fadeInUp 0.9s var(--transition-normal) 0.25s both;
}

.feature-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.6rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.feature-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --- Footer --- */
.footer {
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--color-primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.8;
}

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

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

/* --- Responsive Adjustments --- */
@media (max-width: 640px) {
  .page-wrapper {
    padding: 1.75rem 1rem;
  }

  .header {
    margin-bottom: 1.75rem;
  }

  .main-card {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }

  .badge-notice {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
  }

  .btn-primary-store {
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
  }

  .redirect-timer-box {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}
