/* =============================================
   Art of Living Submission Portal
   Global Styles — style.css
   Developed by A.N.M. Adib Hasan — LOOPLN
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary:        #3447AA;
  --primary-light:  #4f63c8;
  --primary-dark:   #243080;
  --secondary:      #FBEAEB;
  --white:          #ffffff;
  --off-white:      #f8f9fb;
  --surface:        #ffffff;
  --border:         #e8eaf0;
  --border-soft:    #f0f2f8;
  --text-heading:   #0d0f1a;
  --text-body:      #3a3d52;
  --text-muted:     #8b8fa8;
  --text-light:     #b0b4cc;
  --error:          #d94040;
  --error-bg:       #fff5f5;
  --success:        #2a7a52;
  --success-bg:     #f0faf5;
  --warning:        #b45309;
  --shadow-sm:      0 1px 4px rgba(52, 71, 170, 0.06);
  --shadow-md:      0 4px 20px rgba(52, 71, 170, 0.10);
  --shadow-lg:      0 12px 40px rgba(52, 71, 170, 0.14);
  --shadow-card:    0 2px 12px rgba(13, 15, 26, 0.07);
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --transition:     0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --nav-height:     68px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 24px;
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img,
.nav-logo svg {
  height: 36px;
  width: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-nav-ghost {
  color: var(--text-body);
}

.btn-nav-ghost:hover {
  background: var(--off-white);
  color: var(--text-heading);
}

.btn-nav-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-nav-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 16px rgba(52, 71, 170, 0.28);
  transform: translateY(-1px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(52, 71, 170, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 8px 24px rgba(52, 71, 170, 0.35);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(52, 71, 170, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--off-white);
  color: var(--text-body);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--border-soft);
  color: var(--text-heading);
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-lg {
  height: 56px;
  padding: 0 36px;
  font-size: 16px;
}

/* --- Section Layout --- */
.section {
  padding: 96px 24px;
}

.section-narrow {
  padding: 72px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(160deg, #f8f9ff 0%, #ffffff 50%, var(--secondary) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -150px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: #a855f7;
  bottom: -100px;
  left: -100px;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 40%;
  left: 30%;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 71, 170, 0.08);
  border: 1px solid rgba(52, 71, 170, 0.15);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 22px;
}

.hero-heading span {
  color: var(--primary);
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border-soft);
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* --- LOOPLN Showcase Section --- */
.loopln-section {
  background: var(--text-heading);
  color: var(--white);
  padding: 80px 24px;
}

.loopln-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.loopln-logo-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loopln-logo-box {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 18px 28px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.loopln-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.loopln-fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
  width: fit-content;
}

.loopln-fb-link:hover {
  color: var(--white);
}

.loopln-fb-link svg {
  width: 18px;
  height: 18px;
}

.loopln-content {}

.loopln-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}

.loopln-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}

.loopln-powered {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}

.loopln-powered strong {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.loopln-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}

.loopln-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-loopln-primary {
  background: var(--white);
  color: var(--text-heading);
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-loopln-primary:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn-loopln-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-loopln-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* --- Footer --- */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-credit {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-credit a {
  color: var(--primary);
  font-weight: 500;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.footer-divider {
  margin: 0 8px;
  opacity: 0.4;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.fw-600 { font-weight: 600; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.animate-fade-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-fade {
  animation: fadeIn 0.5s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }
.delay-5 { animation-delay: 0.65s; }

/* --- Scroll Animation Setup --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .section {
    padding: 64px 20px;
  }
  .loopln-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav {
    padding: 0 20px;
  }
  .hero-stats {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .btn-lg {
    height: 50px;
    padding: 0 28px;
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 399px) {
  .nav {
    padding: 0 14px;
  }
  .nav-logo img,
  .nav-logo svg {
    height: 28px;
  }
  .btn-nav {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
  .nav-actions {
    gap: 6px;
  }
  .loopln-btns {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── LOOPLN logo fallback text (shown until real logo is placed) ── */
.loopln-logo-fallback {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}



/* =============================================
   LOOPLN Section — Murad Ahmed Co Developer
   Paste at the very bottom of CSS
   ============================================= */

.loopln-co-dev {
  margin: 10px 0 14px;
}

.loopln-co-name {
  margin: 0 0 8px !important;
}

.loopln-co-facebook {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.loopln-co-facebook:hover {
  color: var(--white);
  opacity: 0.88;
}

.loopln-co-facebook svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: currentColor;
  fill: currentColor;
}

@media (max-width: 768px) {
  .loopln-co-dev {
    margin: 10px 0 16px;
  }

  .loopln-co-facebook {
    font-size: 14px;
  }

  .loopln-co-facebook svg {
    width: 14px;
    height: 14px;
  }
}