/* =====================================================
   SWAN HYGIENICS - BRAND DESIGN SYSTEM & STYLESHEET
   Primary: #112E81 (Navy Blue)
   Accent:  #723EC3 (Modern Purple)
   Background: #FFFFFF / #F9F5FF -> #F3F6FD Gradient
===================================================== */

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

:root {
  --primary:       #112E81;
  --primary-mid:   #1a3fa0;
  --primary-light: #2554c7;
  --accent:        #723EC3;
  --accent-glow:   #9b6ee8;
  --accent-soft:   #ede5f9;
  --white:         #ffffff;
  --bg-start:      #F9F5FF;
  --bg-end:        #F3F6FD;
  --text-body:     #3a4767;
  --text-muted:    #6b7aab;
  --glass-bg:      rgba(255, 255, 255, 0.65);
  --glass-border:  rgba(255, 255, 255, 0.88);
  --shadow-soft:   0 8px 40px rgba(17, 46, 129, 0.10);
  --shadow-card:   0 4px 24px rgba(114, 62, 195, 0.10);
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-pill:   999px;
  --font:          'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: linear-gradient(150deg, var(--bg-start) 0%, var(--bg-end) 100%);
  color: var(--text-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* =====================================================
   BACKGROUND DECORATION & FABRIC WATERMARK
===================================================== */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-decor::before,
.bg-decor::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.bg-decor::before {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #c5aaff 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float1 18s ease-in-out infinite alternate;
}

.bg-decor::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #a8c4ff 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float2 22s ease-in-out infinite alternate;
}

.bg-blob-mid {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #d8f0ff 0%, transparent 70%);
  top: 40%;
  left: 30%;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  animation: float3 26s ease-in-out infinite alternate;
}

/* Non-Woven Fabric / Cotton Specks Watermark */
.fabric-watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image:
    radial-gradient(circle 18px at 12% 20%, var(--primary) 100%, transparent 100%),
    radial-gradient(circle 10px at 88% 15%, var(--accent) 100%, transparent 100%),
    radial-gradient(circle 24px at 55% 80%, var(--primary) 100%, transparent 100%),
    radial-gradient(circle 14px at 5%  70%, var(--accent) 100%, transparent 100%),
    radial-gradient(circle 20px at 93% 65%, var(--primary) 100%, transparent 100%),
    radial-gradient(circle 12px at 45% 10%, var(--primary) 100%, transparent 100%),
    radial-gradient(circle 16px at 75% 45%, var(--accent) 100%, transparent 100%);
  background-repeat: no-repeat;
}

@keyframes float1 { from { transform: translateY(0) scale(1); } to { transform: translateY(40px) scale(1.1); } }
@keyframes float2 { from { transform: translateY(0) scale(1); } to { transform: translateY(-30px) scale(1.08); } }
@keyframes float3 { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,-20px) scale(1.12); } }

/* =====================================================
   LAYOUT & CONTAINER
===================================================== */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 20px 60px;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =====================================================
   HEADER
===================================================== */
.site-header {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 24px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(114, 62, 195, 0.30);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.logo-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(114, 62, 195, 0.45);
}
.logo-icon svg {
  width: 26px;
  height: 26px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--primary);
}
.logo-text .brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.header-badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(114, 62, 195, 0.20);
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  width: 100%;
  max-width: 880px;
  text-align: center;
  padding: 50px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(114, 62, 195, 0.12) 0%, rgba(17, 46, 129, 0.08) 100%);
  border: 1px solid rgba(114, 62, 195, 0.22);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  animation: fadeSlideDown 0.7s ease both;
}
.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.65); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.7rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.5px;
  animation: fadeSlideUp 0.7s 0.1s ease both;
}
.hero h1 .gradient-word {
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Key Manufacturing Highlights Pills */
.hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  animation: fadeSlideUp 0.7s 0.18s ease both;
}
.highlight-pill {
  background: var(--white);
  border: 1.5px solid rgba(114, 62, 195, 0.20);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(17, 46, 129, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), border-color var(--transition);
}
.highlight-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  font-weight: 400;
  color: var(--text-body);
  max-width: 640px;
  line-height: 1.7;
  animation: fadeSlideUp 0.7s 0.25s ease both;
}

/* =====================================================
   COUNTDOWN TIMER
===================================================== */
.countdown-section {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeSlideUp 0.8s 0.35s ease both;
}

.countdown-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.count-box {
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-mid) 50%, #1c3e96 100%);
  border: 1px solid rgba(114, 62, 195, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 32px rgba(17, 46, 129, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.count-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(17, 46, 129, 0.28), 0 0 0 1px rgba(114, 62, 195, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.count-box::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  border-radius: 0 0 4px 4px;
}

.count-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(155, 110, 232, 0.12) 0%, transparent 65%);
}

.count-number {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(114, 62, 195, 0.5);
}

.count-unit {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.60);
  position: relative;
  z-index: 1;
}

/* =====================================================
   EMAIL SUBSCRIPTION FORM
===================================================== */
.notify-section {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeSlideUp 0.8s 0.5s ease both;
}

.notify-label {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.notify-desc {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.notify-form {
  display: flex;
  gap: 0;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.notify-form:focus-within {
  border-color: rgba(114, 62, 195, 0.45);
  box-shadow: var(--shadow-soft), 0 0 0 4px rgba(114, 62, 195, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#email-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--primary);
  outline: none;
  min-width: 0;
}
#email-input::placeholder {
  color: var(--text-muted);
}

#notify-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 4px 20px rgba(114, 62, 195, 0.40);
  position: relative;
  overflow: hidden;
}
#notify-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  border-radius: inherit;
}
#notify-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(114, 62, 195, 0.55);
  filter: brightness(1.08);
}
#notify-btn:active {
  transform: translateY(0);
}

/* PHP Alert / Confirmation Message */
.php-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(114, 62, 195, 0.08) 0%, rgba(17, 46, 129, 0.06) 100%);
  border: 1.5px solid rgba(114, 62, 195, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-top: 16px;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.php-alert .checkmark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.php-alert .checkmark svg {
  width: 16px;
  height: 16px;
}
.php-alert p {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}
.php-alert p span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.privacy-note {
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* =====================================================
   PRODUCTS & FABRICS SHOWCASE
===================================================== */
.products-section {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeSlideUp 0.8s 0.65s ease both;
}

.products-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.products-label::before,
.products-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114, 62, 195, 0.20), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px 26px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(114, 62, 195, 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(17, 46, 129, 0.14), 0 0 0 1.5px rgba(114, 62, 195, 0.22), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(114, 62, 195, 0.28);
}

.product-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #dde9ff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(114, 62, 195, 0.15);
  transition: transform var(--transition);
}
.product-card:hover .product-icon-wrap {
  transform: scale(1.10) rotate(-3deg);
}

.product-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.35;
}
.product-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.product-coming-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(114, 62, 195, 0.09);
  border: 1px solid rgba(114, 62, 195, 0.18);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* =====================================================
   TRUST STRIP
===================================================== */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 24px;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeSlideUp 0.8s 0.78s ease both;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.trust-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-soft), #dde9ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.trust-text {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  line-height: 1.3;
}
.trust-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  width: 100%;
  max-width: 860px;
  margin-top: 60px;
  border-top: 1px solid rgba(114, 62, 195, 0.12);
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeSlideUp 0.8s 0.9s ease both;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}
.social-btn:hover {
  background: var(--white);
  border-color: rgba(114, 62, 195, 0.30);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(114, 62, 195, 0.18);
  color: var(--accent);
}
.social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-contact a {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}
.footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-copy a:hover {
  color: var(--accent);
}

/* =====================================================
   SPACERS & ANIMATIONS
===================================================== */
.spacer { height: 48px; }

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes numberFlip {
  0%   { transform: translateY(-12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.flip {
  animation: numberFlip 0.35s ease both;
}

/* =====================================================
   RESPONSIVE MEDIA QUERIES
===================================================== */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .countdown-grid {
    gap: 10px;
  }
  .count-box {
    padding: 18px 8px 14px;
  }
  .trust-strip {
    gap: 20px;
  }
  .site-header {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .hero {
    padding: 32px 0 28px;
  }
  .notify-form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 10px;
  }
  #notify-btn {
    width: 100%;
  }
}
